Commit Graph

197 Commits

Author SHA1 Message Date
Dan Sinclair bc35dd6189 - fix the package paths used in the test files. this makes 19/19 tests pass.
SVN revision: 34492
2008-05-07 03:04:12 +00:00
Dan Sinclair 4cbf818700 - efreet_icon_theme_list_get doesn't return themes without a name, fix test
case


SVN revision: 34491
2008-05-07 02:48:06 +00:00
Dan Sinclair 74b5878da7 - fix warnings
SVN revision: 34490
2008-05-07 02:16:50 +00:00
Cedric BAIL 14a01955ef Switch efreet_ini_parse to use mmap instead of fopen. Small speed improvements and little code cleanup.
FIXME: If people wonder we are loosing 50% of efreet time inside ecore_hash_* and ecore_string_*.


SVN revision: 34482
2008-05-06 15:56:40 +00:00
Carsten Haitzler 9e6e6a86e2 efreet segv maker removed. bad unescaping causing segvs! fixxored.
SVN revision: 34445
2008-05-03 09:25:43 +00:00
Sebastian Dransfeld b495b19470 formatting
SVN revision: 34212
2008-04-07 05:52:45 +00:00
Carsten Haitzler ec51ff71c6 1. stop doing unaligned memory accesses - htons() on a pointer to some
arbitrary point...
2. use int not long - long will be 64bit on 64bit platforms, but 32bit almost
everywhere (yes in theory it may not - but in practice, it won't - long
though will vary).


SVN revision: 34211
2008-04-06 23:02:54 +00:00
Dan Sinclair a81974fe1f - patch from Michael <sECuRE+e17 at twice-irc dot de> to fix possible mem
leak in efreet_desktop


SVN revision: 34050
2008-03-18 04:01:41 +00:00
Sebastian Dransfeld 0fdd25e671 TODO++
SVN revision: 33833
2008-02-24 19:20:08 +00:00
Sebastian Dransfeld 5fffd55830 Fix function to match callback prototype.
SVN revision: 33832
2008-02-24 19:14:14 +00:00
Sebastian Dransfeld cbe6386bc4 Fix callback to match changed function prototype.
SVN revision: 33831
2008-02-24 19:12:49 +00:00
Carsten Haitzler e6694ca7b4 fix doxy
SVN revision: 33798
2008-02-20 15:39:03 +00:00
Carsten Haitzler d522fc9e09 return the void pointer return val from the run cb - not just 1 or 0 :) a
superset here...


SVN revision: 33793
2008-02-20 04:10:02 +00:00
Sebastian Dransfeld 1683d650d4 A submenu needs real entries to be non empty.
SVN revision: 33513
2008-01-17 22:38:46 +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
Christopher Michael 6ebcae0ca6 Remove extra blank line.
SVN revision: 32965
2007-12-03 16:28:24 +00:00
Sebastian Dransfeld ae3b4b9d18 Store X- keys
SVN revision: 32836
2007-11-23 06:57:39 +00:00
Carsten Haitzler d9a541eade build it if spec is sloppy - which is it by default
SVN revision: 32731
2007-11-16 04:55:40 +00:00
Carsten Haitzler ff7e1f0a92 makes efreet more forgiving of bad .desktops. we spew out a warning though.
SVN revision: 32729
2007-11-16 02:35:01 +00:00
Carsten Haitzler eece802ba4 export those funcs! used by e.
SVN revision: 32350
2007-11-04 12:29:36 +00:00
Sebastian Dransfeld 3070ebe721 define EAPI
SVN revision: 32347
2007-11-04 11:19:55 +00:00
doursse c4a6c0dea6 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 and c++ compilers
 * 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 some hardcoded gcc compiler flags


SVN revision: 32346
2007-11-04 10:28:23 +00:00
Sebastian Dransfeld 50240194f5 Don't hide this function.
SVN revision: 32345
2007-11-04 10:16:02 +00:00
Sebastian Dransfeld d15dcd181c EAPI
SVN revision: 32339
2007-11-04 09:32:35 +00:00
Sebastian Dransfeld 193bdf421f Now that users of efreet_desktop must free their references, this is no
longer needed.


SVN revision: 31865
2007-09-29 13:24:31 +00:00
Sebastian Dransfeld ee2d0762f4 Check for data size. Should be done throught the whole function!
SVN revision: 31723
2007-09-15 09:51:19 +00:00
Sebastian Dransfeld fdd316902d Temporarily fix SEGV when deleting .desktop files from disk.
SVN revision: 31717
2007-09-14 23:15:41 +00:00
Sebastian Dransfeld 9506bc06df Revert erronous changes.
SVN revision: 31716
2007-09-14 22:22:29 +00:00
doursse 6a7494bba7 remove trailing spaces
SVN revision: 31638
2007-09-06 16:15:10 +00:00
doursse 5209a42671 in efreet_ini_parse:
* move the opening of the file after the creation of the hash table and
  return it on failure
* return NULL when the hash table can not be created
* add the binary flag when opening a file for compatibility with Windows

in efreet_new, return NULL when efreet_ini_parse returns NULL (mem alloc
failure)


SVN revision: 31637
2007-09-06 16:05:35 +00:00
Nicholas Hughart 0ca23c712f Newline
SVN revision: 31630
2007-09-05 22:27:01 +00:00
Nicholas Hughart f6ce8ff6ad Add missing lib link for efreet_mime
SVN revision: 31628
2007-09-05 22:24:13 +00:00
Peter Wehrfritz 9ed7b18db2 ecore_list_remove_last -> ecore_list_last_remove
SVN revision: 31410
2007-08-19 19:36:53 +00:00
Sebastian Dransfeld 8e3509c4e0 Add recently used icon cache.
SVN revision: 31316
2007-08-15 05:33:04 +00:00
Sebastian Dransfeld f619a05536 Fix const warnings.
SVN revision: 31293
2007-08-13 05:36:03 +00:00
Sebastian Dransfeld b9c551c57d formatting
SVN revision: 31292
2007-08-13 05:33:26 +00:00
Sebastian Dransfeld b3e01bb957 Formatting
SVN revision: 31271
2007-08-12 19:28:02 +00:00
Sebastian Dransfeld 399d1a5c1b Formatting.
SVN revision: 31269
2007-08-12 19:18:16 +00:00
Carsten Haitzler 2f35dd7ab3 only check ext.. if there is one!
SVN revision: 31265
2007-08-12 11:14:56 +00:00
Carsten Haitzler 6b0688752a and for the picky - there's less copies for tolowoer. i also saw some BAD BAD
leaks. bad! alloc pointer but not freeing them! also fixed up #include of
alloca.h if needed.


SVN revision: 31260
2007-08-12 10:00:02 +00:00
Carsten Haitzler 492e5f9644 externsion checks should be case-insensitve.
SVN revision: 31245
2007-08-11 13:20:16 +00:00
Sebastian Dransfeld d2db2be7df more ref/free work.
SVN revision: 30998
2007-07-26 22:04:16 +00:00
Sebastian Dransfeld df7fa7571a Only need to assign ->desktop when ->directory exists.
SVN revision: 30997
2007-07-26 21:43:43 +00:00
Sebastian Dransfeld f5a9f79140 More ref/free work.
SVN revision: 30995
2007-07-26 19:14:41 +00:00
Sebastian Dransfeld 2c191f2cae efreet_desktop_free after efreet_desktop_get
SVN revision: 30989
2007-07-26 11:40:04 +00:00
Sebastian Dransfeld c233e2af8b Return NULL if file does not exist.
SVN revision: 30988
2007-07-26 11:37:23 +00:00
Sebastian Dransfeld 3b116f3a2b Remove the icon cache.
This means that users of efreet_icon_list_find, efreet_icon_path_find and
efreet_icon_find must clean up after themselves!


SVN revision: 30986
2007-07-26 11:30:10 +00:00
Sebastian Dransfeld 4142475b16 All pointers aquired with efreet_desktop_get should be free'd with
efreet_desktop_free now.


SVN revision: 30982
2007-07-26 10:20:24 +00:00
Peter Wehrfritz cd20fbc9d9 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Dan Sinclair 6d48fb4e38 - efreet_init will call efreet_icon_init so there is no reason to do the
call again


SVN revision: 30905
2007-07-19 14:56:35 +00:00