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
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
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
If we used such a large border with small item sizes, the content size
would be zero and thus icons did turn invisible. Limit that to 16x16.
"thumbs" in group will say how many thumbnails are desired, instead of
hardcoding it to 3.
countless code simplifications.
SVN revision: 53207
* fix a bit of coding style (damn, it's totally off with SVN coding style!)
* save basename to avoid calculating it over and over again.
* ignore hidden files and folders (those that start with ".")
* rename "top" to "Up" as we just go one level.
* add TODO that requires adding eio_file_ls_direct()... the current
version is not that useful, we really could use dirent, basename
and lengths while filtering.
* add TODO to speed up matches of JPG, PNG, and like... these will
account for most of the files we browse, thus they should be fast
and not rely on efreet (which may not be that good to use from
threads... if it is, then it's more expensive as we need to lock)
SVN revision: 53198
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
Author: Otavio Pontes <otavio@profusion.mobi>
Date: Mon Sep 27 11:32:34 2010 -0300
Fixing some bugs in image exibition.
Using photocan to show png files in flow browser and using elm_image
instead of elm_bg to display thumbs in thumb_browser. elm_bg was
creating a strange border in images with white(or transparent)
background.
SVN revision: 52902
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
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
SVN revision: 51487