Commit Graph

90 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 717c438a0e ephoto autotools overhaul.
* added Vincent recommended warnings (ie: -Wshadow) and also -Wextra;
 * uses ac_attribute.m4 to define __UNUSED__;
 * uses -Wl,--as-needed
 * uses -fvisibility=hidden by default, if supported
 * uses -ffunction-sections -fdata-sections + -Wl,--gc-sections
 * added gettext (not tested yet, but should work)
 * added quicklaunch support (not tested yet, but should work)
 * make it pass make distcheck

with the optimization flags, on my 32bits machine ephoto is amazingly
44Kb binary! Of course it loads super-fast even without quicklaunch,
amazing what we can do with 44kb binary + 188kb theme (mostly about
images I'm shipping in 128x128 + 256x256 + 512x512 and other images
that should be in elementary's theme).



SVN revision: 53293
2010-10-12 04:58:04 +00:00
Gustavo Sverzut Barbieri 770baf199e slideshow is back.
toolbars still missing, will return them back tomorrow.



SVN revision: 53281
2010-10-12 03:40:14 +00:00
Gustavo Sverzut Barbieri c0537216c5 load orient from jpeg, remove former code that was ifdef'ed.
maybe the code is complaining is complaining too loud of lack of exif,
we can change that later if required.

remove the rotation animation as the case 270->0 is too confusing! it
would need some logic to rotate 270->360 then make it 0.



SVN revision: 53254
2010-10-11 02:30:51 +00:00
Gustavo Sverzut Barbieri b44a686b53 one more day of work on ephoto, still not complete.
flow browser (why that name?!) is back, with the my traditional
combination of 255,0 in rgb colored buttons in edje.

tomorrow will work on slideshow and make it work.

NOTE: ProFUSION team will work on a solution to have elm_toolbar +
elm_menu to be good and provide what we have in eve/enjoy in a more
generic way without thousand lines of macros in EDC. The goal is to
have configurable implementation that would provide some UI on desktop
and another on embedded, also showing buttons as we have space, and
hidding them with an automatic "more" entry if there is no space for
all items. That should improve eve, enjoy, ephoto and possibly others.



SVN revision: 53250
2010-10-11 01:10:27 +00:00
Gustavo Sverzut Barbieri 47da8cd526 zoom actions, still barebones.
I was about to move to efenniht theme, but it will be some work I'd
not be able to finish in time... given that we'll have enjoy, eve,
envision and ephoto using the same things, it is time to consider a
better replicable solution.




SVN revision: 53240
2010-10-10 18:57:48 +00:00
Gustavo Sverzut Barbieri 9652a108bf ouch, refactor part 2 -- less is more, so get nothing ;-)
okay, still yet another partial code, it's far from ready, don't even
checkout until you're ready to code.

preferences, flow_browser, slideshow are temporarily gone.

still no toolbar in main window, layout redone using EXTERNAL... when
it go back, it will be in the same form as eve/enjoy.



SVN revision: 53238
2010-10-10 01:13:53 +00:00
Gustavo Sverzut Barbieri e21422bf65 ephoto core simplification - part 1 (UNFINISHED!!!!)
I'm rewriting parts of ephoto to simplify it, one of the things is to
avoid lots of nesting of layouts to get a simple preview
image.

So far just the thumb directory is done to the point it shows the
contents of a directory, it will do nothing on selection and
clicks. There is no toolbar either, as this is going to be replaced
later on.

EFL bugs so far:
 * eio_file_cancel() is not playing nice with ecore_pipe, with errors like: "ecore_pipe.c:517 _ecore_pipe_read() An unhandled error (ret: -1 errno: 9)occurred while reading from the pipe the length"

 * evas/edje map is broken WRT clipping! if I have map { on: 1;
   rotation.z: 10;} and this part is clipped to some other part, the
   clipper will be ignored!

Sorry, but I couldn't finish it now, trying to do it later today and
tomorrow. I still need to add the elm_genlist_item_prepend(),
elm_genlist_item_insert_before() and elm_genlist_item_insert_after()
to get the sorted insert to work.



SVN revision: 53237
2010-10-09 19:13:35 +00:00
Gustavo Sverzut Barbieri 20df19562f use noframe style... yeah! get ride of that annoying border inside the border!
SVN revision: 53222
2010-10-08 23:18:41 +00:00
Gustavo Sverzut Barbieri 840b2e8574 faster and better: png or jpeg, crop.
if source file is a jpeg, then speed up and generate thumbnails in
format "JPEG" that are smaller and faster to load.

also define the aspect to be cropped rather than keep aspect as we're
showing the images in a fixed square. The aspect one would be good if
we did not use a grid, rather a flow layout.



SVN revision: 53218
2010-10-08 23:03:22 +00:00
Gustavo Sverzut Barbieri e3a1481bb9 what about generating thumbnails that match the expected view size?
now generating thumbnails at 128, 256 and 512, the generation is
delayed to avoid unnecessary work for ethumbd.



SVN revision: 53217
2010-10-08 22:48:12 +00:00
Nicolas Aguirre 4da0ca1b85 The second patch fixes on bug related to an invalid memory access that was
causing segmentation fault in my computer (valgrind was complaining
about it too).

patch from Otávio Pontes.



SVN revision: 52898
2010-09-29 17:09:42 +00:00
Viktor Kojouharov ca05627df0 Preferences dialog. Users can change the slideshow parameters, and tell ephoto to start from the last remembered dir, if it was started with no arguments
SVN revision: 52464
2010-09-19 15:30:36 +00:00
Viktor Kojouharov 1dcf8aef39 always save the config on exit
SVN revision: 52236
2010-09-14 07:02:04 +00:00
Viktor Kojouharov cdb8b51c3f eet configuration. only stores the slider value for now. eina log domain macros
SVN revision: 52201
2010-09-13 22:24:59 +00:00
Nicolas Aguirre 368ed28cce remove debug messages and formatting
SVN revision: 52194
2010-09-13 17:36:16 +00:00
Nicolas Aguirre bd1ed51ead Add a callback when a new directory is selected : "directory,changed".
SVN revision: 52193
2010-09-13 17:02:32 +00:00
Nicolas Aguirre ea18ee503b Use evas_smart objects for flow and thumb browsers, we can now use them as regular evas smart objects with evas_object_show/del/hide ...
SVN revision: 52192
2010-09-13 16:40:33 +00:00
Nicolas Aguirre a13304ff1d Change ephoto to use an edje layout instead of elm boxes.
SVN revision: 52191
2010-09-13 16:29:39 +00:00
Cedric BAIL fc3497295d * ephoto: no need to destroy window at that point.
SVN revision: 52137
2010-09-10 12:30:59 +00:00
titan f1a200c4c3 Add the ability to specify a directory or file to run ephoto with.
SVN revision: 50176
2010-07-10 21:52:14 +00:00
titan 47bd2c282e Use structures in eina_hash. Per k-s's suggestion/request ;) Props to Mike Blumenkrantz for teaching the ways of eina like Yoda taught Luke the ways of the force.
SVN revision: 50121
2010-07-08 04:25:28 +00:00
titan fa09a70bf8 Add the ability to show the selected image if view large is pressed and an image is selected and add the ability to double click an image to view it large. Also formatting.
SVN revision: 50051
2010-07-05 22:58:16 +00:00
titan c334b2ab20 Add a flow browser. It can be accessed by clicking View Large from the toolbar. It is functional for viewing your images at high resolutions.
SVN revision: 50048
2010-07-05 21:07:53 +00:00
titan 83b038d947 eina_stringshare instead of strdup. Slider now works for thumb size!
SVN revision: 50008
2010-07-03 04:42:22 +00:00
titan 6926304983 Use elm_layout for the images. Use a hash to keep a match of files and their corresponding thumb_path.
SVN revision: 50005
2010-07-02 21:35:51 +00:00
titan 1218856b51 This is a rework of ephoto using mostly elementary. It is very basic and doesn't have much functionality at all, but that will come soon enough. Feel free to install it and run it in a directory of photos/images to get an idea of the direction and provide feedback/ideas.
SVN revision: 49973
2010-07-01 18:49:22 +00:00
titan f07fc8b156 Remove old ephoto
SVN revision: 49972
2010-07-01 18:38:05 +00:00
titan c50aa91d93 Add ecore_getopt to support options for ephoto. Thanks to PrinceAMD for the patch.
SVN revision: 43085
2009-10-14 21:17:34 +00:00
titan 4e6e38a200 Add slideshow functionality, still needs some work.
SVN revision: 43064
2009-10-13 23:46:47 +00:00
titan a8a0794777 Add fullscreen support.
SVN revision: 42985
2009-10-09 21:04:04 +00:00
titan b05ae06991 Fix maximize completely.
SVN revision: 42881
2009-10-05 00:38:45 +00:00
titan 4b8e6cd326 Get maximize working.
SVN revision: 42880
2009-10-04 23:31:31 +00:00
titan 14c1ecfdd6 More reverts.
SVN revision: 42848
2009-10-01 22:44:19 +00:00
titan 2f9546e05c Minor fixes.
SVN revision: 42843
2009-10-01 21:27:27 +00:00
titan 9236d613b9 Fix a bug on resizing.
SVN revision: 42838
2009-10-01 17:45:35 +00:00
titan ca69fd3fe2 add a flow browser
SVN revision: 42827
2009-10-01 04:54:48 +00:00
titan b6e4815e66 Evas/Edje Ephoto. Needs a lot of work. Run it in a directory where there are images to see the small amount of progress. Good things to come!
SVN revision: 42723
2009-09-26 18:11:38 +00:00
titan e972923902 Remove old ephoto.
SVN revision: 42722
2009-09-26 18:04:22 +00:00
titan b71d5906a1 Put in the rewritten code. A lot of things still needing to be done, but
its a good start.


SVN revision: 39034
2009-02-16 03:26:10 +00:00
titan 560f86f207 Remove the old ephoto in order to get ready for some rewriting to take
its place


SVN revision: 39033
2009-02-16 03:22:23 +00:00
titan 00320aef4c Add many changes, some functional, some not. Added back a file system
image viewing tab, done various cleanups/work. I basically wanted to get
what I had into the repository and keep up the work on the new stuff and
get the changes going.


SVN revision: 36339
2008-09-30 05:39:25 +00:00
titan 20edb14dbe Change from Freebox to Freebox_mvc.. update to work with fill policy changes
SVN revision: 34826
2008-06-14 21:35:01 +00:00
titan c7e5687565 A lot of fixes and changes.. still needs a bit of work.. got some bugs to fixes. Wanted to get what I have in to cvs.
SVN revision: 34222
2008-04-08 22:39:00 +00:00
Eric Schuele 0fd9b2ff93 warnings--
SVN revision: 32317
2007-11-03 03:02:40 +00:00
titan e5b8c1cea9 More cleanups and work. Also the About window now looks much better thanks to an image from tokyo.
SVN revision: 31715
2007-09-14 18:23:38 +00:00
titan 369fd1a164 Several cleanups, changes. The browser is now in its own window.
SVN revision: 31714
2007-09-14 18:02:27 +00:00
Peter Wehrfritz 32f813ff0d *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
titan a9aea24c95 Make the slider fixed size, and aligned to the right.
SVN revision: 30306
2007-06-10 21:11:29 +00:00
titan b04e087457 Fix the slider when dealing with albums.
SVN revision: 30287
2007-06-09 16:04:10 +00:00
titan 82d1aff4ea Various cleanups and fixes.
SVN revision: 30188
2007-06-01 21:46:19 +00:00