Commit Graph

127 Commits

Author SHA1 Message Date
Stephen Houston 8e54c29d39 Make sure to reset the window title back to the directory path when returning from single image to the grid.
SVN revision: 64708
2011-11-03 17:09:06 +00:00
Boris Faure 798b2577bc ephoto: s!e,desktop,background!e/desktop/background!
SVN revision: 60883
2011-06-30 19:25:21 +00:00
Stephen Houston f403c0d731 Add edje viewing capabilities.
SVN revision: 60875
2011-06-30 16:04:18 +00:00
Stephen Houston 765a8244ba Whoops! Make it compile :)
SVN revision: 60776
2011-06-28 22:37:15 +00:00
Stephen Houston 962910db6b Commit the version of Ephoto that has always been the most working and preferred. I will bugfix this version and release it. Any of thousands of rewrites I love to do will have to come for another version somewhere well done the road. Lets just take this and make it solid and release it. Shout out to cedric, bluebugs, captainigloo, k-s, otavio, and any others who contributed to this version.
SVN revision: 60775
2011-06-28 22:26:16 +00:00
Stephen Houston bfa68a6151 Really make it the root directory...
SVN revision: 60003
2011-06-06 19:23:57 +00:00
Stephen Houston 4ed9b65e6a Use the e fileman favorites as the root directory for now until I decide how I wan't to implement Ephoto's own virtual
directory. e's fileman favorites are stored in $HOME/.e/e/fileman/favorites ... you can add a directory to your favorites by 
symlinking it to .e/e/fileman/favorites/


SVN revision: 60002
2011-06-06 19:17:08 +00:00
Stephen Houston bb239f8685 Ephoto/Single/View: Add keyboard navigation of images in singleview.. home = first image.. end = last image.. left and right arrow keys navigate previous and forward.. I've noticed that for some reason.. some images don't zoom fit correctly, therefore, left/right keyboard nav is not working in those rare instances because the scroller is grabbing the key events.. I'm searching for an answer.
SVN revision: 59570
2011-05-22 00:00:58 +00:00
Stephen Houston 6d7f1def6e Single browser should be black, also, center images in the single browser.
SVN revision: 59534
2011-05-19 12:47:07 +00:00
Stephen Houston 4b8960b931 Ephoto: Add in the new changes k-s and I have been working on.
SVN revision: 59474
2011-05-17 20:02:53 +00:00
Stephen Houston 8de29d0358 Ephoto: Make changes to the flow brower, its a smoother flow now, and has a genlist that matches up with the flow browser. Interesting :)
SVN revision: 58077
2011-03-24 21:25:51 +00:00
titan ae03e70576 Okay. Ephoto back to normal. Move along.
SVN revision: 57560
2011-03-07 22:31:11 +00:00
titan 169813a679 Do not update if you are not willing to expect a different ephoto.. This is a very temporary test that won't work right for most.
SVN revision: 57559
2011-03-07 22:02:12 +00:00
titan 004acaf9f8 Ephoto/Images: Sort images so they are in alphabetical order. This seems to be a good solution as it doesn't seem to slow down Ephoto much at all.
SVN revision: 57520
2011-03-04 21:50:07 +00:00
titan 8f8f25942e Whoops. Left out some key bindings.
SVN revision: 57443
2011-03-01 06:24:30 +00:00
titan f95dca17df Make the flow browser follow the same code and styles as the rest of the code.
SVN revision: 57442
2011-03-01 06:11:44 +00:00
titan 7a11918ac3 Fix a lot of things in ephoto.. reuse some older code but in a good way. Add in a single image browser. Use externals(ugh, but its faster for some reason?)
SVN revision: 57313
2011-02-24 22:26:47 +00:00
titan 362047fe24 Speed up the ephoto thumb browser by a lot... Thanks k-s for some old cold that helped :)
SVN revision: 57227
2011-02-22 01:55:08 +00:00
titan 62f630e67c Fix title
SVN revision: 57174
2011-02-19 20:53:16 +00:00
titan 48d7093b5e Add slideshow back into ephoto. Works pretty well for now.
SVN revision: 57039
2011-02-14 21:16:13 +00:00
titan 30cbc75689 Ephoto now uses the currently selected image in the thumb view as the center of the flow view when view flow is clicked. Also double clicking an image in the thumb view will take you to the flow view and use that image as the center of the flow view.
SVN revision: 57002
2011-02-14 03:04:20 +00:00
titan 4ef79b29a5 Fix the current directory when one hasn't been provided.
SVN revision: 56943
2011-02-11 00:09:33 +00:00
titan b9432f30d6 Add the ability to change directories. Also add some 3D mapping to the flow... Please tell me your thoughts? It works great with small images... but as current right now the flow is very slow with large images(even without the mapping)... Does anyone have a solution for this?
SVN revision: 56941
2011-02-10 23:41:02 +00:00
titan 6a5164fae8 Whoops get the number we are strcmping right.
SVN revision: 56682
2011-02-03 19:30:59 +00:00
titan 2f49f3359f Whoops bad idea. Efreet is crazy right now. Go back to strncasecmp.
SVN revision: 56681
2011-02-03 19:26:56 +00:00
titan c24ccdf03e Use efreet to determine if its an image or not.
SVN revision: 56680
2011-02-03 19:18:36 +00:00
titan 71086703b5 Simplify extension matching. Should fix a segfault.
SVN revision: 56678
2011-02-03 18:58:20 +00:00
titan c478bfdeee Clean up a lot of ephoto.. Things that weren't necessary, things that are no longer necessary, etc... Add a true flow view that is a work in progress. Currently ephoto will only open images in the current working directory or in a directory supplied in an argument when started, but this will change when directory stuff is added back in. This gives ephoto more direction and provides a solid base to move forward from. Also, yes, I removed edje externals and I am not using them. There are multiple reasons for this that are all of my opinion and if you would like to discuss it, see me on irc or send out a mail on the list.
SVN revision: 56640
2011-02-01 21:44:38 +00:00
Viktor Kojouharov a9a783385d Move the entry list building to the main file, since it is used by both the thumb and flow views.
Inform the relevant parties when the list starts and stops getting populated, and when an entry is created, via ecore events.
Remove the pending path stuff from the thumb browser, as it is not for it.
Remove the ability to set the currently viewed file by path alone, always rely on an entry.
Correctly set the disable states on the navigation toolbar buttons when starting ephoto directly in flow mode


SVN revision: 54541
2010-11-14 01:51:16 +00:00
titan c589ea128f Make sure to leave fullscreen mode when exiting the slideshow.
SVN revision: 53838
2010-10-24 19:10:20 +00:00
Tiago Rezende Campos Falcao 99aa09f9db Remove focus hard management.
Delay windows show to after criation and show of sub-objects. So, when
show windows, it give focus correctly.

SVN revision: 53736
2010-10-21 19:21:13 +00:00
Tiago Rezende Campos Falcao 40b9a71963 Fix focus in flow mode.
You only can give focus to visible objects, hidden objects are
unfocusable.

SVN revision: 53655
2010-10-20 12:08:42 +00:00
Tiago Rezende Campos Falcao ef5dd761e0 Elm_Layout isn't broken
SVN revision: 53463
2010-10-15 17:40:07 +00:00
Gustavo Sverzut Barbieri dae342bc7d damn async things, they're always more complex than what you want.
in few cases we could quickly change directories and views would still
be populating, then they could access dt->entry
(ephoto_directory_thumb.c), so we need notifiers to know it is gone
and not mess with it any further.

Then ephoto_entry_free_listener_add() is born, added it to
flow_browser and slideshow for the sake of it... it shouldn't be
needed.



SVN revision: 53341
2010-10-13 06:11:06 +00:00
Gustavo Sverzut Barbieri feba790912 some less valgrind errors.
I guess I've spotted the main problem with eio usage, will commit in
another revision.



SVN revision: 53335
2010-10-13 03:24:22 +00:00
Gustavo Sverzut Barbieri f5e062c676 handle no parameter without previous directory.
SVN revision: 53321
2010-10-12 23:46:36 +00:00
Gustavo Sverzut Barbieri 81d47b1344 ephoto is mostly ready again!
Well, at least that was what I had time and stamina to do. Please join
the development with your ideas and requirements.

The toolbar is now placed on top, because default.edc (from
elementary) says so. We better use elementary's profile to define the
theme to use, and a theme could have it at the bottom (mobiles?).

I've added all options to toolbar, which makes it very wide on single
image viewer. We'll later introduce toolbar item "visibility priority"
to auto-hide items and add a "More" menu if the elementary's profile
says so, other options will be to make it scrollable (as it is now).

EXIF rotation support is not right in my opinion. We're using map to
rotate, but it is not doing fine, as I said in another bug. We should
have code to request evas to load the image rotated, then we re-load
the image and it should work better (need to check how that would work
with region load from JPEG, used by elm_photocam).

Preferences are out as I ran out of time.



SVN revision: 53319
2010-10-12 22:54:20 +00:00
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