From 1573ce03ca9cab7f97c51990c7d8c09a5abdc519 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Thu, 17 Sep 2009 06:19:01 +0000 Subject: [PATCH] todo... SVN revision: 42542 --- legacy/ethumb/TODO | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/legacy/ethumb/TODO b/legacy/ethumb/TODO index 3270ef7c1a..6a6dde2e2c 100644 --- a/legacy/ethumb/TODO +++ b/legacy/ethumb/TODO @@ -1,10 +1,34 @@ * documentation (based on python bindings) - * Ethumb - * Ethumb_Client + * Ethumb (adapt most bits based on Ethumb_Client) + * Ethumb_Client (mostly done) + * finish ethumb_client tutorial * memory handling: * zero pointer parameters before failing on SAFETY macros (file_get, etc) + * ethumb_object: + smart object (ethumb_object_add())that given a file_set() will + automatically use Ethumb_Client to check if thumbnail exists or + generate a new one, do evas_object_image_preload() and then show + the object. + + To save memory and avoid thousands of Ethumb_Client, this should be + shared among all Evas_Object that take a reference when object is + created, releasing the reference after thumbnail is generated. When + the last user releases it, start a timer to disconnect in X seconds + (5-10 seconds is good enough). + + Similar to Ethumb_Client, it should expose all Ethumb properties, + they would be cached locally and on smart_calculate() they should + be dispatched to server for a new thumbnail if source file pat set. + + * elm_thumbnail: + using ethumb_object, this can be based on E17 ethumb object that + uses edje and can have the theme set, so on load a nice animation + can happen, animate a throbber while it generates, etc. It may + return ethumb_object (Evas_Object) if user wants to set fancy + parameters. + * unit tests, be them in C or Python, covering: * thumbnail generation respect parameters (size, format...) * respect fdo standards (hash, location, etc, uri with spaces...)