Commit Graph

47 Commits

Author SHA1 Message Date
Carsten Haitzler b592a9176f 1. fix thumb to not use preload thread - i spotted bugs. concurrency ones.
2. also write a sort id (harmless - doesnt affect anything). useful for...
sorting.




SVN revision: 40166
2009-04-18 13:52:24 +00:00
Carsten Haitzler cbe9342be3 for e_thumb.. use preload!
SVN revision: 39866
2009-04-05 03:49:16 +00:00
Carsten Haitzler 0c41ae041e move internal binaries to subdir - patch from albin
SVN revision: 38414
2009-01-02 01:08:14 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Sebastian Dransfeld 8e1c36d005 - nice config for thumbnailing. Needs config dialog.
- event for theme change.


SVN revision: 29381
2007-04-05 17:20:09 +00:00
Sebastian Dransfeld b150b36b93 Formatting.
SVN revision: 29008
2007-03-24 12:55:30 +00:00
Carsten Haitzler b2a0abb8eb a lot of patches - also my work on moving the IO stuff in e_fm to a slave
process to stop e from ever "locking up". this unfortunately breaks the other
source stuff and thus breaks the app editor config dialogs and anything using
fm2 for .desktop stuff from the e applications/all repo. i am doing this as i
expect this to go away with efreet anyway so not too much of an issue. not
all fm operatiosn work currently - note. so beware. it can view files though :)


SVN revision: 28528
2007-03-02 17:00:20 +00:00
rephorm 71fcf80be5 add e_thumb_icon_rethumb() - allows re-thumbing after changing e.g. the size to thumb at
use rethumb in desk preview


SVN revision: 26679
2006-10-18 03:31:45 +00:00
sebastid 02d2993d17 strdup -> evas_stringshare
SVN revision: 24266
2006-07-28 11:27:59 +00:00
Carsten Haitzler 10ffed6545 now THIS is cute -watch the thumbnails wobble when generated... or found
cached... most fun! let the power of edje be known! :)


SVN revision: 24150
2006-07-23 21:19:04 +00:00
Carsten Haitzler b9acc42122 bad raster! no coockie! fix segv - thanks valgrind
SVN revision: 24146
2006-07-23 14:05:39 +00:00
Carsten Haitzler 01efbd7683 and some major refinements of efm - the selector code - well its in e_test.c
is pretty much almost perfectly working. i have fixed up some e_thumb stuff
and allowed e_thumb to be more responsive and skip items that are known to be
"generated" and bring them ahead in the list of things to thumb - so kind of
a priority skiplist - process what it KNOWS will be already done first
quickly and leave the slower stuff until later. efm is fairly well refined
now - as above. the test selector works nicely. also added an almost-sha1
generator - use sha1 sums of the path for thumbs - less likelihood of
collisions. the prolbme is given the small size of the input data... it's
hard to do well - but anyway :)


SVN revision: 24128
2006-07-22 21:48:24 +00:00
sebastid d4aa3c882f Cleanup
SVN revision: 23993
2006-07-17 19:02:42 +00:00
Carsten Haitzler 0d57bcd376 shutdown thumbs properly
delat killing slave thumbnailers for 1 second after all thumbs pending are
finished (in case more get added soon)


SVN revision: 23755
2006-07-08 13:53:55 +00:00
Carsten Haitzler 71f3865361 slightly more responsive timer and reset object id's once there are none
around :)


SVN revision: 23754
2006-07-08 13:30:18 +00:00
Carsten Haitzler 2bf3acac8b actually see the delete req in the thumbnailer
SVN revision: 23753
2006-07-08 13:12:42 +00:00
Carsten Haitzler 50063cad9c new thumbnailer system. works a bit more like epsilon - launches a
special-purpose executable and hands off workd to do via ipc (well the exe
connects back to e's ipc port actually but either way - same thing). it can
actually launch any numebr of thumbnailers - the default is 2, but this means
it can make full use of smp systems. i need to make this # of thumbnailers
configurable and add a config dialog for it. this does mean thew bg/theme
etc. dialogs pop up much faster as they dont load all the thumbs to start -
its farmed off and ipc tells us when they are ready (and if already generated
- thats pretty damn fast). :) anyway - now thumbnailing works reliably
(thoguh i think the queue handling isnt quite that good - well when it comes
to interacting with efm... but i'll check into that later. dont worry though
- it does actually generate all the thumbs - it just may be busy generating
ones you don't see while it catches up).


SVN revision: 23750
2006-07-08 09:18:04 +00:00
Carsten Haitzler 12f620b919 formatting and kiwis thumbnailer fix - not entirely fixed tho
SVN revision: 23728
2006-07-06 06:16:21 +00:00
Carsten Haitzler 734e41b598 part of mmap/eet changes patch
SVN revision: 23414
2006-06-13 10:20:31 +00:00
Christopher Michael f4814dc96d Add thumbnailing for init screens :) (Thanks CodeWarrior)
Make Startup config dialog use static thumbnails in list now.


SVN revision: 23181
2006-06-05 11:48:26 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
David Walter Seikel fe96145090 More ecore_exe naming break'n'fix. Should be all done now.
SVN revision: 19832
2006-01-15 11:27:19 +00:00
Carsten Haitzler 52abf0c9be sharpies patch.
SVN revision: 19817
2006-01-15 07:11:02 +00:00
David Walter Seikel f102024cfa Minor API breakage and fixage.
SVN revision: 19757
2006-01-13 06:38:44 +00:00
sebastid 1a57f7d02b The evas object isn't always created.
SVN revision: 19606
2006-01-07 13:21:35 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
codewarrior 6121b94137 - misc checks
- add theme selector (basic mode only) from Chady


SVN revision: 19148
2005-12-19 14:42:43 +00:00
codewarrior 3be597c032 - remove trailing slash, thanks kiwi
SVN revision: 18912
2005-12-08 11:16:47 +00:00
codewarrior 485c1f48b3 - dont forget to close the eet file.
SVN revision: 18908
2005-12-08 08:03:58 +00:00
codewarrior df7bb0110d - add method to fetch a thumb's width and height without having to decode the pixels.
SVN revision: 18906
2005-12-08 07:55:10 +00:00
codewarrior 97cc78cdb0 - make e_thumb fork internally
- add queue / dequeue calls to e_thumb
- change e_icon_layout to e_icon_grid
- add e_icon_canvas which will eventually allow for free icon placement and optimized scrolling using a tiles principle
- add new calls to e_widget_image
- add new bg selector (broken because of a segv on cancel press, needs fixing)

NOTES:
- bg selector needs fixing.
- efm still needs work, will segv if you scroll while files are generated
- other efm bugs exist so I would advise that you dont use it atm
- if we dont need e_icon_grid (strict grid layout) we should remove it.


SVN revision: 18593
2005-11-22 09:27:25 +00:00
Carsten Haitzler 9314e43b46 kind of bring fileman icons into some semblance of working
SVN revision: 18284
2005-11-04 17:02:42 +00:00
codewarrior 8451bbda11 - being icon overhaul
- icons look bad for now, until everthing is fixed.


SVN revision: 18262
2005-11-04 03:33:23 +00:00
codewarrior 7261913daa - fix warnings
SVN revision: 18164
2005-10-31 09:31:05 +00:00
sebastid 38679d522c Move assoc to e_fileman_file
SVN revision: 17823
2005-10-23 15:18:47 +00:00
sebastid 4330e780bb stat elements are only 32 bits.
remove unused variables.
pass right pointer to evas_object_image_alpha_get()


SVN revision: 17820
2005-10-23 15:07:56 +00:00
codewarrior db9415d454 - getting the alpha from the image isnt working.
SVN revision: 17813
2005-10-23 13:56:27 +00:00
codewarrior b66db644f1 - modularize e_fm_file thumb determination scheme
- add thumb functions for:
  * e17 themes (thanks Chady)
  * e17 bg files
  * eap
  * jpg/png
- add scrolling support (must be calculated, currently is absolute)


SVN revision: 17776
2005-10-22 17:02:37 +00:00
codewarrior 718a3eaafc - fix eap thumbnailing
SVN revision: 17730
2005-10-21 09:52:46 +00:00
Carsten Haitzler 88e7e4a849 if image fails to load - give up.
SVN revision: 17729
2005-10-21 09:25:23 +00:00
Carsten Haitzler 1394b400d5 close the eet
SVN revision: 17719
2005-10-21 03:35:14 +00:00
Carsten Haitzler 621a0fdd30 generate thumbs vaguely efficiently withotu eating up all ram and generating
billions of processes :)


SVN revision: 17708
2005-10-20 15:07:45 +00:00
codewarrior 61e8c0d0c4 - added e_fileman_icon
- added e_fileman_file
- fixed scrolling
- fixed several bugs / segvs
- disabled some features: xdnd, menu operations


SVN revision: 17706
2005-10-20 13:08:51 +00:00
codewarrior b2041f65b5 - move init / shutdown calls to their proper locations
- disable _e_fileman_reconf_cb for now as its looping infinitely


SVN revision: 17680
2005-10-19 12:17:42 +00:00
codewarrior a00681842c - add e_thumb, rip code from efm into its own file, can thumbnail images and eaps for now and stores to eet.
- remove all thumb code from efm and use e_thumb
- fixme: first time startup bug for efm is still there (if the thumbnailer hasnt been used, still debugging )


SVN revision: 17668
2005-10-18 23:03:36 +00:00