Commit Graph

206 Commits

Author SHA1 Message Date
David Walter Seikel 24ff102f10 An idler task to fill in E_App data.
SVN revision: 26229
2006-09-30 07:46:55 +00:00
David Walter Seikel ed1a76e3bf More cache tweaking. The next step is to add the next major peice of the
cache puzzle.


SVN revision: 26228
2006-09-30 04:49:31 +00:00
David Walter Seikel 6354c81b8d Oops, and a DOH! or two.
SVN revision: 26222
2006-09-29 14:46:55 +00:00
David Walter Seikel f1eb386552 *Most places seem to assume that the instances are stored in the
original.  Made that all places now have the instances in the original.

Some time during today I managed to break the border matching, and
possibly other searching stuff.  Too tired to track it down tonight,
I'll fix it first thing in the morning.


SVN revision: 26220
2006-09-29 13:37:11 +00:00
David Walter Seikel d97e242d0f If the icon was hard coded into the Icon field of the .desktop file,
then we ignore the FDO theme and search algo.


SVN revision: 26218
2006-09-29 12:27:02 +00:00
David Walter Seikel 5f41757cf5 *Once an icon has been found, or found to not exist, save that info in
the E_App, update related aE_Apps, and send trigger change callbacks.

*Have all E_Apps stored in a hash of paths for faster lookup.

*Don't read in all the details of every app at startup, but do scan the
all directory so that we at least know the filenames.  Read in details
when needed.

*When searching the non path info of apps, read in data as needed.

Most app things should be faster now.  Some things may be slower, and
much more testing / tweaking will be done.


SVN revision: 26213
2006-09-29 08:55:39 +00:00
David Walter Seikel 287512fe73 Forgot one.
SVN revision: 26145
2006-09-25 15:19:09 +00:00
David Walter Seikel cbc5e0f577 Check if the icon theme is different when searching for icons. Keep
track of changes to the icon path in readiness for some cachin'.


SVN revision: 26144
2006-09-25 14:17:42 +00:00
sebastid 1251802479 Don't strdup homedir
SVN revision: 26026
2006-09-22 19:55:11 +00:00
David Walter Seikel d7ac058137 Part of a review of icon searching, to be completed on sunday.
SVN revision: 26025
2006-09-22 14:56:41 +00:00
David Walter Seikel f13f782689 Use the ecore_desktop instrumentation at useful points.
SVN revision: 26023
2006-09-22 10:12:32 +00:00
sebastid 867c5dd51f Don't check argv twice, one check should be for argc
SVN revision: 25981
2006-09-19 21:50:20 +00:00
David Walter Seikel 6243868e31 Fix seggie.
SVN revision: 25972
2006-09-19 04:07:25 +00:00
David Walter Seikel 7d4d4f4b72 This should fix the wrong icon in border bug.
SVN revision: 25967
2006-09-19 00:02:40 +00:00
David Walter Seikel 91feec363c *Put in some more refs/unrefs for E_Apps, maybe need more, maybe I went
overboard.

*Fix up E_App saving.

*More object checking.


SVN revision: 25965
2006-09-18 20:52:59 +00:00
David Walter Seikel 3e2608760e Maybe this is a bit saner. Maybe I should just give up and sleep.
SVN revision: 25901
2006-09-17 02:05:19 +00:00
David Walter Seikel 6bace96662 Tweak the E_App object reference counting. I think this is correct, but
I suspect the dir scanning in e_apps.c still needs an unref.


SVN revision: 25900
2006-09-17 00:13:52 +00:00
David Walter Seikel 326815ab80 typo--
SVN revision: 25899
2006-09-16 22:48:01 +00:00
David Walter Seikel be09428b9c *The icon theme checkbox now works.
*Clean things up a bit.


SVN revision: 25898
2006-09-16 20:59:40 +00:00
David Walter Seikel 4d8bb1d88c Show icons for applications in menus again.
SVN revision: 25896
2006-09-16 17:37:05 +00:00
David Walter Seikel 6064d537f9 *Saving E_Apps forces new ones into ~/.e/e/applications/all, and adds
them to the _e_apps_all list directly.

* No monitoring of ~/.e/e/applications/all, it should all be taken care
of internally.


SVN revision: 25880
2006-09-16 12:09:29 +00:00
David Walter Seikel 862404665c An experimental memory optimisation that seems to fix up the border
issues.  Changing the NO_APP_LIST define to 0 will put things back the
way they where.  This reuses a list that was sitting there doing
nothing, and avoids adding things onto it that where already there, thus
slowing down searches.


SVN revision: 25863
2006-09-15 21:46:25 +00:00
David Walter Seikel db2b722431 * There was still one cache left over, and it's needed for searching, so
search it and timestamp it.

* App dialog now does all its own .order file mangling.  This is
temporary until e_app is back up to scratch following the cachectomy.


SVN revision: 25857
2006-09-15 17:44:23 +00:00
David Walter Seikel ab40044e0e Eap caching code really removed this time. There may still be some
traces of it, I'll find them.  Everything complies and I've been running
this version.

I still feel there are some bugs out there that where hidden by the
existance of the cache.  Time to stomp those before hiding them again
with the new cache code.


SVN revision: 25838
2006-09-14 15:16:27 +00:00
David Walter Seikel 1e85cc6bf8 Add the rest of the info from .eaps.
SVN revision: 25815
2006-09-13 13:51:39 +00:00
David Walter Seikel bc154d06b8 Fix a typo I thought I had already fixed. Some more clean up.
SVN revision: 25753
2006-09-11 21:37:18 +00:00
Carsten Haitzler 4413a33c7d might want to free strings that are strdup'd
SVN revision: 25687
2006-09-10 10:34:17 +00:00
Carsten Haitzler 04d99e3df8 main menu cleanups.
sys actions check error/status etc. logout implemented, and used. need to
have status for reboot/halt and for suspend and hibernate.


SVN revision: 25656
2006-09-09 07:00:14 +00:00
David Walter Seikel bd51254720 Put the exe and it's parameters back together when needed.
SVN revision: 25575
2006-09-07 08:53:09 +00:00
Carsten Haitzler f5de58485b a few patches from emails. :) emails will be coming.. when i flush my mush.
SVN revision: 25533
2006-09-06 12:09:53 +00:00
David Walter Seikel d99ec4f550 Reenable the old eap caching code. It appears that with the caching
enabled, there is always one reference to each E_App (the one in the
cache), and that hides some sloppiness in the object reference counting.
So that everybody can continue to use E without crashing all the time,
this is turned back on pending a reveiw.


SVN revision: 25510
2006-09-06 04:48:11 +00:00
Carsten Haitzler c2a232bf45 get app from border now - no more zillions of params. also use wm command to
match


SVN revision: 25493
2006-09-05 14:44:28 +00:00
David Walter Seikel a93bd075a7 E_App caching removed as per TODO, pending a rewrite. Only #if'ed out so
that raster can tell if I cut too much or too little.


SVN revision: 25491
2006-09-05 13:42:19 +00:00
Carsten Haitzler a291156ef2 todo updates cleanups, clarifications - a segv i see here on rare occasions.
comment out the free.


SVN revision: 25489
2006-09-05 10:52:51 +00:00
David Walter Seikel 9907c1ba2b Dont try to run it if there is no exe.
SVN revision: 25455
2006-09-04 19:57:22 +00:00
David Walter Seikel 945b34dc21 No more (null) menus.
SVN revision: 25448
2006-09-04 15:21:15 +00:00
David Walter Seikel afff2a80d7 Remove already done FIXME's.
SVN revision: 25440
2006-09-04 11:50:23 +00:00
David Walter Seikel 46c1cf8e57 Remove printfs and clean up after debugging with raster.
SVN revision: 25421
2006-09-03 17:23:43 +00:00
Carsten Haitzler efb4f3e327 working on fav icons
SVN revision: 25417
2006-09-03 15:57:13 +00:00
David Walter Seikel f1589cd360 Save new apps as .desktops, and also save new images.
SVN revision: 25405
2006-09-03 12:43:08 +00:00
David Walter Seikel 5a1799c941 Icons back in menus again.
SVN revision: 25401
2006-09-03 11:32:13 +00:00
David Walter Seikel adafa0c6a6 Take care of border internal app icons too.
SVN revision: 25359
2006-09-02 13:29:59 +00:00
David Walter Seikel 9b37ece08c module.desktop almost working, but e_module_dialog_show has issues with
it.  Probably something silly.


SVN revision: 25346
2006-09-02 11:58:53 +00:00
David Walter Seikel fbd37bb027 More icon tweaking. I have started to simplify and rationalise this as
it was starting to get silly.  Searching the icon class in the wm theme
first, then searching fdo icon themes sometimes ends up with a less
specific icon.  Menus make life tricky, as things are deferred there,
but not enough to avoid delays.  Lots more tweaking to come, but this
commit should result in more icons on menus.


SVN revision: 25324
2006-09-02 04:20:10 +00:00
David Walter Seikel 3ab8e8f86b No need to search for the icon if we already have it.
SVN revision: 25298
2006-09-01 15:06:30 +00:00
David Walter Seikel 2c403e3e62 Since raster added the ability for fm2 to delete from within .order
files that are displayed as a virtual folder, there is no need for the
all apps app deletion buttons and code.

If you are still having issues with deleting apps, take it up with raster.


SVN revision: 25274
2006-09-01 09:26:55 +00:00
David Walter Seikel d3de4f4e95 Beginning to drag all the basic "show this icon for this app" code
together in one place to make it easy to keep it consistant.


SVN revision: 25273
2006-09-01 09:01:52 +00:00
David Walter Seikel 52bdc649e9 Use .desktop saving.
SVN revision: 25245
2006-08-31 12:11:20 +00:00
David Walter Seikel e8b4bace60 Er, and trim the excess.
SVN revision: 25233
2006-08-31 02:27:05 +00:00
David Walter Seikel 59379bbb49 Make app deleting work. Sometimes the crude method is the best.
SVN revision: 25232
2006-08-31 02:21:00 +00:00