Commit Graph

198 Commits

Author SHA1 Message Date
ChunEon Park fbc66f1e6b ephoto - Elm_Gengrid_Item -> Elm_Object_Item
SVN revision: 67617
2012-01-31 00:58:19 +00:00
Daniel Juyung Seo 93997044cd ephoto ephoto.h: Removed unused variable. Build warning--
SVN revision: 67255
2012-01-17 00:02:18 +00:00
Cedric BAIL c528efcbd4 ephoto: there is an API to know if a file could be displayed by Evas.
SVN revision: 66757
2012-01-02 14:36:18 +00:00
Stephen Houston f403c0d731 Add edje viewing capabilities.
SVN revision: 60875
2011-06-30 16:04:18 +00:00
Stephen Houston 249383b134 Add in some other image formats (cedric/bluebugs.. can you please add back in the psd support? I'm sorry it got lost) Also make the label in single browser an entry(disabled for now)... It keeps the look consistent and will have a purpose soon.
SVN revision: 60835
2011-06-29 19:49:24 +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 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
Cedric BAIL 7143debdaa ephoto: add psd support to ephoto.
SVN revision: 58877
2011-04-24 20:23:38 +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 1547ddaa81 Ephoto: General cleanups.
SVN revision: 57775
2011-03-15 20:09:37 +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 ac899f9de4 Allow proper rotations and do proper rotations. This is temporary until edje or evas does them correctly.
SVN revision: 57532
2011-03-05 18:36:08 +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 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 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 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
Cedric BAIL edd9068f2b * eina: remove dirent so apps don't rely on non portable code.
SVN revision: 54103
2010-11-02 15:11:05 +00:00
Tiago Rezende Campos Falcao 0072df5d63 If use Ethumb_Client, include it
SVN revision: 53462
2010-10-15 17:40:03 +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 8756234b66 comment this as it seems to not play well with threads.
probably this is an eina issue with last optimizations from cedric,
but I'm commenting these out for now. (if efreet_mime is no-go from
threads, must remove it from enjoy as well).



SVN revision: 53339
2010-10-13 05:23:31 +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 ad73446df7 support more exif orientation modes.
Raster, this exposes some problems with map as well. At least flipping
seems to not work properly sometimes. In my case I just use Shift+[ to
flip horizontally and it does not work.



SVN revision: 53312
2010-10-12 18:16:42 +00:00
Gustavo Sverzut Barbieri d74d0ff7c9 alt-up for thumb browser, make orient get visible outside.
I tried to apply the orient rotation using map on the elm_photo, but
it does not work :-( If you know how to fix it, take a look.



SVN revision: 53311
2010-10-12 17:26:23 +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 5064e7bf6e remember_directory is not an option anymore.
useless to have it as an option as user may already override with
command line what to show.



SVN revision: 53283
2010-10-12 03:44:17 +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 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 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 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
Gustavo Sverzut Barbieri e434b9aaee refactor, improve sizing of icons.
use super-duper-nice edje features to choose image based on the
current object size and provide icons at 128, 256 and 512 so we're
always high quality.



SVN revision: 53212
2010-10-08 21:43:57 +00:00
Nicolas Aguirre 53a83a021f Apply Otavio Pontes patch about displaying directories and modify it to display thumbnails when photos are present into this directory.
Author: Otavio Pontes <otavio@profusion.mobi>
Date:   Mon Sep 27 15:26:55 2010 -0300

    Displaying directories in thumb browser
    
    It is possible also to open an directory to see images in it.




SVN revision: 52994
2010-10-03 09:50:00 +00:00
Viktor Kojouharov 1a73a71d36 add an option to sort the images before displaying them.
SVN revision: 52989
2010-10-03 00:13:02 +00:00
Otavio Pontes ad063ce60e From: Otavio Pontes <otavio@profusion.mobi>
Date: Thu, 23 Sep 2010 16:39:58 -0300
Subject: [PATCH 4/5] Adding new keyboard shortcuts to ephoto.
To: otavio@profusion.mobi

Also adds:
 - zoom in/out function to flow_browser and buttons in toolbar
for zoom and rotation.
 - Fullscreen mode to slideshow.



SVN revision: 52899
2010-09-29 17:34:35 +00:00
Viktor Kojouharov d9c7cfd80e add the external editor support (currently by pressing "e" in the flow browser)
SVN revision: 52820
2010-09-27 22:02:10 +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 35c4b294bd optional libexif support.
initial rotation support with edje map (the swallow still needs to be refitted in the available space after the rotation)



SVN revision: 52238
2010-09-14 08:35:42 +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 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
titan 82f69119b6 Add slideshow to ephoto.. It uses elm_slideshow, and this is likely temporary, because in the f uture I am going to do some more extensive slideshow stuff. I'm not happy with this, it seems pretty slow on transitions(I'll take a look at speeding things up), but it will do for now.
SVN revision: 50569
2010-07-28 02:06:03 +00:00
Cedric BAIL e2c35a285b * ephoto: use eio to simplify and make a small nice example.
SVN revision: 50432
2010-07-22 16:15:16 +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 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 12c68013d8 Remove ephoto_thumb.c and use elm_bg.
SVN revision: 50012
2010-07-03 17:00:58 +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
Cedric BAIL c3a1174a41 * ephoto: properly remove Ecore_Data.
SVN revision: 47494
2010-03-26 16:09:24 +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 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 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 55caff88a1 Changes, especially to the single view
SVN revision: 39065
2009-02-18 00:10:56 +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
titan 369fd1a164 Several cleanups, changes. The browser is now in its own window.
SVN revision: 31714
2007-09-14 18:02:27 +00:00
titan e7b86f6890 Whoops, your going to need this to make the thumb seeker work!
SVN revision: 30172
2007-05-31 07:15:52 +00:00
titan dc54fae6a0 Add a new file that separates out dialogs. This is cleaner. Cleanup some code.
Ephoto will now open with its file system in the current working directory!


SVN revision: 30170
2007-05-31 06:02:36 +00:00
titan 66031123a5 Sepia works pretty well now, I do believe. Added a contrast formula based on
imlib2, and soon to add a brightness one.


SVN revision: 30068
2007-05-24 19:27:07 +00:00
titan 046f7d8274 Fix black and white conversion with alpha.
Add the beginnings of sepia conversion, it does not work quite right yet
though, need to work on constrast and brightness functions to get it
working perfectly.


SVN revision: 30060
2007-05-23 22:02:56 +00:00
titan 3997b3374c Ephoto can now convert images to black and white. The filter is under
the
advanced tools in the edit view.


SVN revision: 30055
2007-05-22 23:04:02 +00:00
titan 96ac239a6d Cleanup
SVN revision: 30033
2007-05-19 16:59:09 +00:00
titan cd77e7fcf7 Add blur/sharpen options to ephoto!!!!!
SVN revision: 29955
2007-05-11 22:49:31 +00:00
titan 88061e3b04 Add saving images. This works now, but not extensively. *WARNING* Does not carry over exif yet.
SVN revision: 29899
2007-05-07 02:12:27 +00:00
titan 17eec468f4 Cleanups, move exif button out of edit view and into toolbar, start album work.
SVN revision: 29745
2007-04-28 04:12:24 +00:00
titan 9cebf1809d Small changes, including sizes, etc. Also now we can switch the images when the tabs on the browser switch.
SVN revision: 29737
2007-04-27 05:55:37 +00:00
titan 4fbb26010d Add some more stuff to ephoto including directory viewing now.
The old edit view has become single view, and there is a completely
new edit view that is much more editing specific.


SVN revision: 29592
2007-04-19 03:17:11 +00:00
titan bb4d112681 Add edit tools back. I really need a better design.
SVN revision: 29235
2007-03-30 02:47:16 +00:00
titan 9c788c1691 More abstraction. This makes things easier and faster.
SVN revision: 29234
2007-03-30 00:45:12 +00:00
titan 8dc67a437d Tone things down a bit. Clicking a image in normal view or list view now
lets you view that image in the single view. Exif has been temporarily
moved.


SVN revision: 29218
2007-03-29 00:24:16 +00:00
titan af70959233 Misplaced #endif
SVN revision: 29216
2007-03-28 20:22:48 +00:00
titan ea1e0cfdb6 Remove unused pointer from the structure, and it doesn't need to be freed anymore.
SVN revision: 28848
2007-03-21 10:43:23 +00:00
titan 68212d2937 Update ephoto to the new api changes.
SVN revision: 28847
2007-03-21 10:40:27 +00:00
titan 594787580b Make libexif an optional requirement now. You do not have to have it to use ephoto.
SVN revision: 28763
2007-03-16 04:34:22 +00:00
titan 34cf1d26e4 Slideshow now works.
SVN revision: 28686
2007-03-13 07:35:09 +00:00
titan 6309d5623d Make some changes to layout to make it seem more modular. Also change the toolbar to use image buttons.
SVN revision: 28648
2007-03-11 01:14:47 +00:00
titan e069912a1c Some cleanup and preparation for additions of dialogs, and text styles.
SVN revision: 28471
2007-02-25 04:30:57 +00:00
titan 191c7a52f7 Cleanups.. try to use const char * more.
SVN revision: 28431
2007-02-22 04:06:31 +00:00
titan d6430b211d Miscellaneous cleanups, add tooltips, add selecting for list view.
SVN revision: 28419
2007-02-21 07:06:54 +00:00
titan 6502da7a5a Miscellaneous cleanups
SVN revision: 28399
2007-02-20 03:45:58 +00:00
titan 3abc870213 Add editing tools!
SVN revision: 28386
2007-02-18 01:02:43 +00:00
titan c0fd818dbd This is the new ephoto. It has been completely redone from the old one,
looks nothing like the old one, and works nothing like the old one.
It now displays images by using albums, and it focuses much more on
image manipulating/editing/viewing than the other did. Slideshows will
still be available. Exif data can also be viewed now. Currently to add
albums/images or remove them and such you have to use the command line.
Looks at ephoto -h for more information. IF you have a ~/.ephoto directory,
it needs to be rm -rf for the new stuff to work! You can get a idea of the
new ephoto looks like in this ss: www.ecoding.org/files/images/Ephoto_New.png


SVN revision: 28371
2007-02-15 10:20:21 +00:00