Commit Graph

335 Commits

Author SHA1 Message Date
Cedric BAIL 3537f1033a Forgotten declaration.
SVN revision: 34628
2008-05-20 12:37:51 +00:00
Carsten Haitzler 42d1df4a86 obey the env var for dev warnings too
SVN revision: 34593
2008-05-17 03:19:38 +00:00
ningerso da305e5201 Rename another ecore_hash function.
SVN revision: 34506
2008-05-08 04:04:58 +00:00
ningerso db5c62df5d Rename functions to newer naming standard.
SVN revision: 34505
2008-05-08 04:01:01 +00:00
Cedric BAIL b08651afd0 Reduce number of call to malloc (by putting the string at the end of the Ecore_String struct).
SVN revision: 34498
2008-05-07 13:11:34 +00:00
Carsten Haitzler 21bfa5b0d6 gak! al the siginfo handlign was wrong. u'd get bogus siginfo data from
whatever child exited last - not the one u wanted, not to mention all other
signals. now there's a queue at least. 256 long. moight be a bit too long.


SVN revision: 34442
2008-05-03 08:15:16 +00:00
Carsten Haitzler 57ecfa2b1f This patch add the possibility to delay a timer and to know the
pending time before the next wake up.

They should not affect any current code using the timer.

--
Cedric BAIL


SVN revision: 34250
2008-04-11 23:39:55 +00:00
Peter Wehrfritz 7f9e3f4cfd remove dangerous casts
SVN revision: 34039
2008-03-16 23:05:50 +00:00
Carsten Haitzler 3dedc3559e allow to have sub-rpocessed controlled by parent if parent dies/segvs/kill
-9'd , ecore_exe'd children die too.


SVN revision: 33974
2008-03-10 06:44:32 +00:00
Carsten Haitzler 4a3d696dcf cedric's timer freeze code.
SVN revision: 33967
2008-03-09 15:56:17 +00:00
Carsten Haitzler 0cd91f89df valgrind complaint - valid one. fix.
SVN revision: 33891
2008-03-02 02:01:11 +00:00
Carsten Haitzler 9d31648720 revert pselect - breaks e init and entrance
SVN revision: 33829
2008-02-24 08:42:39 +00:00
Carsten Haitzler c31c2c50c3 use pselect - from lars. testing now in a wider audience.
SVN revision: 33827
2008-02-24 04:56:28 +00:00
Mike Frysinger 561eb3c20c move ecore_exe_{init,shutdown} win32 stubs to header
SVN revision: 33640
2008-01-28 11:20:57 +00:00
Peter Wehrfritz 3f672adf1b remove stupid semicolons
SVN revision: 33626
2008-01-26 14:41:34 +00:00
Mike Frysinger d62afbab1d fix debug-typo left over in previous commit
SVN revision: 33621
2008-01-26 10:12:20 +00:00
Mike Frysinger 4c62111e44 relegate _WIN32 ifdef mess to ecore_private.h
SVN revision: 33620
2008-01-26 10:11:48 +00:00
Mike Frysinger 184812f289 replace a lot of win32 ifdef hacks with autoconf checks
SVN revision: 33616
2008-01-26 05:40:53 +00:00
Peter Wehrfritz 2c87820492 add ECORE_CALLBACK_RENEW and ECORE_CALLBACK_CANCEL
SVN revision: 33612
2008-01-25 18:28:16 +00:00
Peter Wehrfritz 6a586399c2 typo and formating
SVN revision: 33611
2008-01-25 18:22:51 +00:00
Peter Wehrfritz 86d36b4563 add ecore_str_has_extension()
SVN revision: 33610
2008-01-25 18:10:46 +00:00
Sebastian Dransfeld 4113d5befa Remove unused variable.
SVN revision: 33461
2008-01-12 08:39:15 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Peter Wehrfritz 2909ac19e4 add ecore_list_merge() and ecore_dlist_merge()
SVN revision: 33401
2008-01-08 21:49:57 +00:00
doursse 4a6cc12b9c remove printf's. Sorry for the big commit, it was not intended to be done now, but it would have been in cvs anyway
SVN revision: 32810
2007-11-21 12:28:00 +00:00
doursse f5cc49bd44 forgot to add glew support in configure.in
SVN revision: 32809
2007-11-21 12:16:16 +00:00
Dan Sinclair 2a9de292d8 - Make sure we set the current pointer. If we don't and call _index_goto()
we'll get a segv


SVN revision: 32769
2007-11-19 04:15:26 +00:00
Gustavo Sverzut Barbieri f58535fcf4 Add void.
SVN revision: 32708
2007-11-15 15:44:30 +00:00
Gustavo Sverzut Barbieri 78840e0091 Cleanup ecore_path_group_new() and update ecore_path_group_available() API.
SVN revision: 32577
2007-11-11 17:08:20 +00:00
Peter Wehrfritz a64803dea8 *API CHANGE*
- Use Ecore_Path_Group instead of the group id
- remove the name


SVN revision: 32410
2007-11-06 16:58:12 +00:00
Sebastian Dransfeld 09926c9094 Return 0 on error.
SVN revision: 32353
2007-11-04 13:13:02 +00:00
doursse be1229247a autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32338
2007-11-04 09:29:20 +00:00
doursse 16dadb4847 fix potential segfault
SVN revision: 32297
2007-11-02 11:55:27 +00:00
Peter Wehrfritz 6513f67cad typo
SVN revision: 32173
2007-10-27 16:22:10 +00:00
doursse 11a9e3d87b add ecore_fps_debug feature on Windows. Btw, if someone knows how to use it, I would be glad to know
SVN revision: 32171
2007-10-27 10:58:00 +00:00
doursse ee8e817b1c simplify the code of ecore_time_get() on Windows
SVN revision: 32170
2007-10-27 10:24:52 +00:00
Brett Nash 06e02b3f6b Vincent Torri pointed out that char bitfields are undefined in C89... and he
is correct.


SVN revision: 32160
2007-10-25 05:55:07 +00:00
Brett Nash 3a4c71f293 Don't use unportable 1-bit bitfields.
SVN revision: 32159
2007-10-25 05:26:03 +00:00
doursse b6ca8e692a for Windows, use dll as extension of shared lib
SVN revision: 31896
2007-09-30 18:16:42 +00:00
doursse a8ebdc324c * port ecore_plugin to windows
* add comments after some #endif
 * speed up the compilation on windows
 * remove some trailing spaces in ecore_path.c


SVN revision: 31890
2007-09-30 15:24:51 +00:00
doursse e8452e7b4e revert, my bad
SVN revision: 31838
2007-09-28 15:27:44 +00:00
doursse ce6f933d50 return -1 if group is not valid
SVN revision: 31837
2007-09-28 15:25:50 +00:00
Carsten Haitzler e043668721 add comment.
SVN revision: 31752
2007-09-17 23:13:59 +00:00
Peter Wehrfritz 97dc553840 add #defines for ecore_dlist_first() and ecore_dlist_last()
SVN revision: 31641
2007-09-06 22:06:32 +00:00
Peter Wehrfritz 10a798bc88 don't leak
SVN revision: 31620
2007-09-05 09:46:56 +00:00
Peter Wehrfritz b2ec7dd266 *API BREAK*
rename ecore_plugin_call() to ecore_plugin_symbol_get()
add a version argument to ecore_plugin_load(); it makes it possible to have different versions for the interface. NULL gives you the old behaivor


SVN revision: 31616
2007-09-04 18:23:47 +00:00
Peter Wehrfritz 1078f34211 - implement ecore_plugin_available_get()
- fix ecore_path_group_new()


SVN revision: 31602
2007-09-02 17:54:16 +00:00
Peter Wehrfritz d770cd618e NULL is a valid value, it's actually the default
SVN revision: 31600
2007-09-02 17:44:38 +00:00
Peter Wehrfritz fbf7aaa1fb add constness
SVN revision: 31596
2007-09-02 12:21:00 +00:00
doursse b50328b469 fix ecore_evas_engine_type_supported_get and ecore_time_get on windows
SVN revision: 31552
2007-08-27 10:20:12 +00:00