Commit Graph

223 Commits

Author SHA1 Message Date
Carsten Haitzler 6cdcfe352a leak--
SVN revision: 26448
2006-10-09 15:11:41 +00:00
Carsten Haitzler 8798dba1bf and clever borders are back
SVN revision: 26425
2006-10-08 13:38:42 +00:00
Carsten Haitzler 85269715de eap support... gone.
SVN revision: 26423
2006-10-08 13:13:55 +00:00
David Walter Seikel cea94153ed *Add some more explenation of the border find algo.
*Pack the fm properly so it handles dialog resizes properly.


SVN revision: 26350
2006-10-05 08:35:30 +00:00
David Walter Seikel 00dbaa6935 Rationalise the icon code a bit.
SVN revision: 26333
2006-10-03 15:51:58 +00:00
David Walter Seikel 1fe93eb23f Finish and turn on the new e_app_border_find code. You can now
optionally turn on old, new, or both for testing purposes using #if's at
the top of the source, but only the new version is turned on by default.
The question is, is an average 0.00007 seconds border find time worth
the memory hit versus an average 0.003 seconds?  Keeping in mind that if
you have the pager module running, it adds two border finds, and taskbar
adds thirty for some strange reason.  As a bonus e_app_exe_find is also
much quicker.


SVN revision: 26327
2006-10-03 12:56:00 +00:00
David Walter Seikel 02f0991015 The new border finding code is almost complete, but it works well.
Still #if'ed out for now.  Try it if you want.  Note, #if'ing it in will
run it AS WELL as the old code and print the times taken, so that
comparisons can be made.  The new code is the first time reported.


SVN revision: 26323
2006-10-03 10:13:07 +00:00
David Walter Seikel ae9fe98e89 Create the data structures to be used by the new border searcher. Still
need to actually use them, but it's all #if'ed out until it's finished.


SVN revision: 26304
2006-10-02 15:39:30 +00:00
David Walter Seikel 9f56b0c370 *Document my thinking on how to speed up border searches.
*No need to split the E_App->exe on a space during border searches, it's
already split now.


SVN revision: 26298
2006-10-02 11:00:13 +00:00
David Walter Seikel 5549b2000c Remove no longer needed code that had been #if'ed out anyway.
SVN revision: 26294
2006-10-02 07:08:20 +00:00
David Walter Seikel 93c3b25d67 Nuke _e_apps_repositories after discussion with raster. There was only
ever one thing in the list, and it made the code more complex.


SVN revision: 26292
2006-10-02 06:55:23 +00:00
David Walter Seikel d34318fae3 *Idle icon scanning, but it's nsot ready yet, so it's #if'ed out.
*Minor cache tweaks.

*Bit more instrumentation so I can see what the cache code is doing.


SVN revision: 26281
2006-10-01 18:34:54 +00:00
David Walter Seikel 81b6ffd4a2 A little bit of clean up and some refactoring. Now every e_app_new() is
checked to see if it's in a repository, and a reference is returned if
it is.  Looks like this fixes that E_App free problem.


SVN revision: 26275
2006-10-01 12:34:57 +00:00
David Walter Seikel 141085acc4 Minor tweaks and clean ups.
SVN revision: 26272
2006-10-01 09:45:24 +00:00
David Walter Seikel 50bb66fe29 *Only put the E_App in the hash after it has passed all tests.
Thanks to metrics for helping to debug this.

*It's not a white space argument between raster and I, it's an arguement
between our respective editors.  His is the only editor that can handle
odd number of spaces indentation, mine keeps trying to convert it to 4
or 8 character tabs.  Sorry for the noisy white space stuff in this commit.


SVN revision: 26241
2006-09-30 16:59:17 +00:00
Carsten Haitzler 899a2c009f 1. jose's premul patches for evas
2. fixes to patches to re-enable smooth scale again
3. fixes to make txtblock colors work
4. fixes to edje for premul + grad api changes
5. fixes to ecore to work in premul space
6. fixes to e17 for premul space
7. fixes to emotion for premul
8. rebuild of .edj files as premul requires themes to be rebuilt
9. removed unused fils from cvs (eap and old img files)


SVN revision: 26235
2006-09-30 10:16:24 +00:00
Carsten Haitzler cc673bba74 hunting a nasty bug - FIXME in there with comments. this fixes it so e starts
anyway


SVN revision: 26232
2006-09-30 09:09:18 +00:00
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