Commit Graph

354 Commits

Author SHA1 Message Date
Cedric BAIL 02bf306fdd Remove macro provided by Eina.
SVN revision: 36863
2008-10-20 16:34:59 +00:00
Chidambar Zinnoury e917baaacd Add eina init and shutdown to ecore init and shutdown.
Please, let me log in using Entrance! :D


SVN revision: 36726
2008-10-16 20:33:05 +00:00
Cedric BAIL 1774413b17 Remove ecore_strings and switch to eina_stringshare.
SVN revision: 36675
2008-10-15 14:45:53 +00:00
Cedric BAIL 3d49d88a32 Make ecore depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36622
2008-10-13 15:59:19 +00:00
Cedric BAIL 3a2ab6069d When the list is NULL, it's empty.
SVN revision: 36542
2008-10-09 10:21:16 +00:00
Peter Wehrfritz 19106de2a1 warnings--
SVN revision: 36457
2008-10-05 18:33:35 +00:00
Sebastian Dransfeld 44b8d52797 Why was this twice?
SVN revision: 35717
2008-08-28 15:36:22 +00:00
Jaime Thomas 67ce8bcabc Missing header
SVN revision: 35639
2008-08-24 05:20:40 +00:00
Peter Wehrfritz dcd3a0139c we need the typedef of size_t
SVN revision: 35635
2008-08-23 22:50:01 +00:00
Sebastian Dransfeld 4e147fe66f Add missing header
SVN revision: 35494
2008-08-14 21:05:07 +00:00
Carsten Haitzler 98623a9077 add new ecore_Exe control calls (interrupt and quit) and dont ertror dialog
on all exits of apps (sigint/quit/.term can be ignored i think).


SVN revision: 35246
2008-07-29 22:07:19 +00:00
Peter Wehrfritz 2ab5747a80 prevent degenerated hash values with 64bit pointer
SVN revision: 35146
2008-07-17 22:58:28 +00:00
doursse f372541271 minor header inclusion fixes for vc++
SVN revision: 34800
2008-06-11 20:36:35 +00:00
doursse d2c2490440 add guards around config.h
SVN revision: 34783
2008-06-09 18:16:24 +00:00
Carsten Haitzler 28bb3a6a08 ok - see comments with idle-enter.
SVN revision: 34779
2008-06-09 12:15:34 +00:00
Peter Wehrfritz 14042818cc move ecore_plugin_available_get() to ecore_plugin.c
SVN revision: 34697
2008-05-30 10:18:04 +00:00
Carsten Haitzler 43821d36e4 * add efreet garbage data check
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now


SVN revision: 34689
2008-05-29 02:00:04 +00:00
doursse 479741fef0 remove ecore_pipe declarations and some trailing spaces
SVN revision: 34672
2008-05-26 05:31:20 +00:00
doursse cc0ca9325e integration of evil in ecore. It's compiling on windows and my ubuntu. The commit is big, please report any problem
SVN revision: 34671
2008-05-26 05:16:34 +00:00
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