Commit Graph

143 Commits

Author SHA1 Message Date
Viktor Kojouharov 06437b0e33 make the generated callback receive the thumb path and key
SVN revision: 40969
2009-06-08 15:29:52 +00:00
Gustavo Sverzut Barbieri b7d1bed838 start service by name requires one more parameter (flags).
The dbus api has a "flags" parameter that is now unused but may be in
future, it was missing and dbus was giving method mismatch.

I forgot to commit this but changed Ethumb_Client, then Viktor "fixed"
it by reverting such change. Now going back to my code and adding "0"
as flag.



SVN revision: 40968
2009-06-08 14:32:17 +00:00
Viktor Kojouharov e5ca756ffe fix the use of e_dbus_start_service_by_name
prevent id_count from being 0


SVN revision: 40963
2009-06-08 08:47:56 +00:00
Gustavo Sverzut Barbieri 19ebe43a04 start dbus service by its name if it's not up.
we still guess it was up and try to get its name, if not possible then
try to start it and then get is name.

another way to do it would be to always request start and just then
get its name and just then start to listen to NameOwnerChanged. But
the current way is good enough and should save some roundtrips for
good cases (server is up).



SVN revision: 40955
2009-06-07 21:20:37 +00:00
Gustavo Sverzut Barbieri 76d4b16942 move bit flags to end, use bitfield.
SVN revision: 40954
2009-06-07 20:47:28 +00:00
Rafael Antognolli aac69a080f Added ethumbd (ethumb).
ethumbd is a server waiting for requests of thumbnails via dbus. A client
library is also provided, avoiding dbus burocracy (and with an API similar
to ethumb).



SVN revision: 40899
2009-06-04 21:21:43 +00:00
Rafael Antognolli 4229b4654b Fixed segfault when no file is passed as argument to ethumb.
Other minor fixes:
 - fixed use fo eina safety checks;
 - _ethumb_build_absolute_path is used inside dir_set.



SVN revision: 40840
2009-05-26 20:33:58 +00:00
Rafael Antognolli c5ab8f1f8c Fix output file ethumb.pc when some optional modules are disabled.
SVN revision: 40839
2009-05-26 20:32:30 +00:00
Viktor Kojouharov f15e1185c1 make this plugin buildable again
SVN revision: 40746
2009-05-19 15:14:19 +00:00
Rafael Antognolli dead11c234 Oops! Fixed little mistake on ethumb_file_get().
SVN revision: 40743
2009-05-19 13:57:48 +00:00
Rafael Antognolli 053567b366 Changed Eina_Bool result -> Eina_Bool success (it makes more sense).
SVN revision: 40740
2009-05-19 13:18:51 +00:00
Rafael Antognolli 88d97839a1 Using Eina_Bool.
Changed int -> Eina_Bool where it makes sense.



SVN revision: 40739
2009-05-19 12:26:31 +00:00
Rafael Antognolli 16c574df94 finished callback is always called now.
The ethumb_generate() function now just returns 0 if there is already a
generation in progress (and in that case, the callback isn't called).



SVN revision: 40738
2009-05-19 11:58:29 +00:00
Rafael Antognolli bfabdd2404 Fixed some API errors:
- added 'const' to many functions;
 - changed ethumb_thumb_path_get() so that now it returns the key;



SVN revision: 40737
2009-05-19 11:54:35 +00:00
Rafael Antognolli 539a4b1013 Fixed frame_set().
No frame structure is created anymore when NULL is passed as argument.



SVN revision: 40732
2009-05-18 21:38:20 +00:00
Rafael Antognolli 1f644476f9 Some fixes:
- freeing plugins eina_array;
 - avoid accessing swallowed object if no edje frame is defined;
 - thumb_path_set() fixed;



SVN revision: 40731
2009-05-18 21:37:09 +00:00
Rafael Antognolli dfb8599530 Added some missing getters to ethumb API.
SVN revision: 40730
2009-05-18 21:26:56 +00:00
Daniel Kolesa 07ec7509a9 Fixed debian stuff everywhere.
SVN revision: 40505
2009-05-04 17:36:48 +00:00
Rodrigo Cesar Lopes Belem a7c514da2b Added libtool as Build-Depends to everything that uses
DEB_CONFIGURE_SCRIPT := ./autogen.sh

SVN revision: 40500
2009-05-03 14:32:23 +00:00
Rafael Antognolli af073a4524 Now plugins are loaded using eina_module.
SVN revision: 40387
2009-04-25 21:48:49 +00:00
Viktor Kojouharov 85a494e86c fix the macro
SVN revision: 40356
2009-04-24 21:02:40 +00:00
Viktor Kojouharov 619def6ea5 ethumb_file_get and some cleanup
SVN revision: 40352
2009-04-24 18:53:11 +00:00
Luis Felipe Strano Moraes 93d9e9a8b6 Fix typo causing build failure in ethumb when epdf was not present.
SVN revision: 40348
2009-04-24 16:21:49 +00:00
Rafael Antognolli b9cd220600 Added function ethumb_exists() and some API change.
SVN revision: 40282
2009-04-21 23:11:37 +00:00
Rafael Antognolli 44b8efd6ba Changed Ethumb_Thumb_Size -> Ethumb_Thumb_FDO_Size.
SVN revision: 40281
2009-04-21 23:10:04 +00:00
Rafael Antognolli 8511aa2bd9 There is no more Ethumb_File.
Now the file path and thumbnail path are stored in the Ethumb structure.



SVN revision: 40280
2009-04-21 23:08:17 +00:00
Rafael Antognolli e4035bc52f Removed some structures from Ethumb.h and put them in ethumb_private.h.
SVN revision: 40279
2009-04-21 23:06:57 +00:00
Rafael Antognolli 15276b648e Some fixes on the emotion plugin.
SVN revision: 40278
2009-04-21 23:05:06 +00:00
Rafael Antognolli 939afcb3ea Added epdf plugin.
Err... maybe I forgot to svn add some files in my previous commit...



SVN revision: 40277
2009-04-21 23:03:50 +00:00
Daniel Kolesa 4a2d186b02 Updated Standards-Version
SVN revision: 40228
2009-04-19 16:28:48 +00:00
Rafael Antognolli 89b7a6be80 Added support to plugins.
Now it's possible to implement new plugins that generate thumbnails
from file formats that evas doesn't.



SVN revision: 40156
2009-04-17 23:33:45 +00:00
Rafael Antognolli 59ac58e4ca Fixed a possible segfault when file doesn't exists.
SVN revision: 40155
2009-04-17 23:31:41 +00:00
Rafael Antognolli a95c0b221f Now ethumb read from and saves to eet files.
SVN revision: 40050
2009-04-14 19:14:08 +00:00
Daniel Kolesa cd8dd91b01 Updated debian stuff(grew Standards-Version, updated python-ecore rules file)
SVN revision: 40043
2009-04-14 17:21:19 +00:00
Rafael Antognolli 2fd36557a0 Some string optimizations.
- changed some eina_stringshare_add() to eina_stringshare_ref();
- changed some eina_stringshare_add() to eina_stringshare_replace();
- removed other eina_stringshare_add() to use static strings.



SVN revision: 40032
2009-04-13 22:34:13 +00:00
Rafael Antognolli 4656f047a3 Oops! Some mistakes on ethumb_init().
SVN revision: 40031
2009-04-13 22:32:49 +00:00
Rafael Antognolli a665bf48d7 Added use of eina_stringshare_replace().
SVN revision: 40030
2009-04-13 22:30:32 +00:00
Rafael Antognolli 524343cce6 Added EINA_SAFETY_*.
Also some additional checks were done to avoid segv.



SVN revision: 40029
2009-04-13 22:29:39 +00:00
Rafael Antognolli 46984aaf5d Replaced fprintf() and fputs() by EINA_ERROR_PERR().
SVN revision: 40028
2009-04-13 22:26:23 +00:00
Rafael Antognolli 85db59b8cf Changed bin/ethumb to use Ecore_Getopt.
SVN revision: 40027
2009-04-13 22:25:09 +00:00
Rafael Antognolli 491cd50ce6 Fixing cropped thumbnails generation.
The fill x and y coordinates were wrong.



SVN revision: 40026
2009-04-13 22:23:49 +00:00
Daniel Kolesa 748a702511 Debianized image-viewer and ethumb.
SVN revision: 39920
2009-04-10 08:52:27 +00:00
Rafael Antognolli 258cfee990 ethumb - Thumbnailing Library
New library to generate thumbnails.
There are still some important features to be implemented, like
client-server framework, edje thumbnails and a plugin API to integrate
it with emotion and like.

Please, send comments.



SVN revision: 39805
2009-03-30 21:22:52 +00:00