Daniel Kolesa
26bd9e8d46
Fixed generation of dist tarball in ethumb.
...
SVN revision: 41576
15 years ago
Daniel Kolesa
1ef8e96d05
Add data/images/border-0.jpg in ethumb to EXTRA_DIST so it will be included when creating tarballs.
...
SVN revision: 41462
15 years ago
Daniel Kolesa
b58ac165cf
Fix build of ethumb on some machines..
...
SVN revision: 41457
15 years ago
Gustavo Sverzut Barbieri
37d5bd6ead
add item to fix callback type names and remove done items.
...
SVN revision: 41402
15 years ago
Gustavo Sverzut Barbieri
980d778e39
ethumbd_client.
...
do the same as ethumb, but uses ethumbd for doing it. Yet another
sample on ethumb usage.
SVN revision: 41401
15 years ago
Gustavo Sverzut Barbieri
7acfd6d648
fix theme/frame parsing to not leak and be simpler.
...
we don't need to allocate memory, copy, modify and free (free was
missing!), we can just give stringshare the length to use.
SVN revision: 41398
15 years ago
Gustavo Sverzut Barbieri
6aa85b1cf9
indent.
...
SVN revision: 41397
15 years ago
Gustavo Sverzut Barbieri
df0ea7a123
public header files should include global headers, not local.
...
SVN revision: 41395
15 years ago
Gustavo Sverzut Barbieri
386972f2f0
match API rename, it's module flush now.
...
SVN revision: 41394
15 years ago
Rafael Antognolli
ffe70c5e07
Fix some memory handling issues:
...
* Ethumb_Client now calls free_data on clear() and queue_remove().
* disconnect() doesn't call clear() anymore.
* disconnect() free pending calls correctly.
SVN revision: 41377
15 years ago
Gustavo Sverzut Barbieri
658d39dac8
emotion supports mov, make template edje more efficient.
...
* add .mov as supported extension.
* disable mouse events and smooth scale, hint scale as dynamic.
SVN revision: 41375
15 years ago
Gustavo Sverzut Barbieri
ebcc27e426
improve tool usage.
...
-Q, -V, -D: change debug levels, always forget about EINA_ERROR_LEVEL :-P
print message with status, if it failed, was generated or already exists.
SVN revision: 41374
15 years ago
Gustavo Sverzut Barbieri
2d2dfb7485
improve debug support on module loading.
...
SVN revision: 41373
15 years ago
Gustavo Sverzut Barbieri
51e81f52ef
fix symbol visibility in plugins.
...
ethumb_plugin_get() must be visible, _module_init/shutdown do not.
also add some __UNUSED__ attribute to shut up -Wextra
SVN revision: 41372
15 years ago
Gustavo Sverzut Barbieri
b803f43e91
Export EAPI otherwise plugins will not get symbols.
...
SVN revision: 41371
15 years ago
Gustavo Sverzut Barbieri
473f5ea563
remove -Wextra warnings.
...
SVN revision: 41370
15 years ago
Gustavo Sverzut Barbieri
2051b9b76c
svn:ignore + TODO
...
SVN revision: 41348
15 years ago
Gustavo Sverzut Barbieri
c6b4e69225
zero pointers before failing.
...
SVN revision: 41347
15 years ago
Rafael Antognolli
0e694f4e18
Fix ethumb file URI generation.
...
It's now escaping invalid chars to its hex representation.
SVN revision: 41345
15 years ago
Rafael Antognolli
26a3abe8ef
Making ethumb_client_connect always call the connected_cb.
...
Now the callback is called even when it fails to create a get_name_owner
request.
SVN revision: 41323
15 years ago
Rafael Antognolli
31fc2b0dfa
Added support to creating animated thumbnails from videos.
...
These thumbnails are generated using an edje template. Each thumbnail is
an edje file, that has a group called "movie/thumb"
The thumbnail can be animated by receiving a signal "animate" or "animate_loop"
(the last one being a loop animation that calls itself when finished), and
the animate_loop program can be stopped by receiving a signal "animate_stop".
The transition time is set based on the time of the animation (that is set
by the call ethumb_video_time_set()).
SVN revision: 41322
15 years ago
Rafael Antognolli
2dd7e38b96
Changing boolean flags to Eina_Bool.
...
SVN revision: 41321
15 years ago
Rafael Antognolli
8106bf6d44
Added ETHUMB_THUMB_EET as a format flag.
...
SVN revision: 41289
15 years ago
Rafael Antognolli
6a060751f8
Providing more API to plugins.
...
- Now it's possible to access the ecore_evas used to generate the
thumbnails (and use functions like ecore_evas_buffer_pixels_get() ont it);
- Functions to calculate aspect and fill area using the aspect ratio as
argument are also provided.
SVN revision: 41288
15 years ago
Rafael Antognolli
116c7d3266
Fixed wrong usage of dbus.
...
This was also the problem causing ethumb generated callback on the client
library always return with success=1 (see ticket #337 ).
SVN revision: 41287
15 years ago
Rafael Antognolli
f9b765ec1c
Added support to set quality and compress level.
...
SVN revision: 41286
15 years ago
Rafael Antognolli
5dc0fa41ef
Added support to free_data callbacks.
...
Some functions that require callbacks and data passed to them now can
receive a free_data callback as argument too.
SVN revision: 41285
15 years ago
Rafael Antognolli
8f9dc79021
Fixed wrong usage of eina_list_remove_list on Ethumb_Client.
...
SVN revision: 41284
15 years ago
Viktor Kojouharov
fca7b4aa43
return -1 on error instead
...
SVN revision: 40971
15 years ago
Viktor Kojouharov
06437b0e33
make the generated callback receive the thumb path and key
...
SVN revision: 40969
15 years ago
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
15 years ago
Viktor Kojouharov
e5ca756ffe
fix the use of e_dbus_start_service_by_name
...
prevent id_count from being 0
SVN revision: 40963
15 years ago
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
15 years ago
Gustavo Sverzut Barbieri
76d4b16942
move bit flags to end, use bitfield.
...
SVN revision: 40954
15 years ago
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
15 years ago
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
15 years ago
Rafael Antognolli
c5ab8f1f8c
Fix output file ethumb.pc when some optional modules are disabled.
...
SVN revision: 40839
15 years ago
Viktor Kojouharov
f15e1185c1
make this plugin buildable again
...
SVN revision: 40746
15 years ago
Rafael Antognolli
dead11c234
Oops! Fixed little mistake on ethumb_file_get().
...
SVN revision: 40743
15 years ago
Rafael Antognolli
053567b366
Changed Eina_Bool result -> Eina_Bool success (it makes more sense).
...
SVN revision: 40740
15 years ago
Rafael Antognolli
88d97839a1
Using Eina_Bool.
...
Changed int -> Eina_Bool where it makes sense.
SVN revision: 40739
15 years ago
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
15 years ago
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
15 years ago
Rafael Antognolli
539a4b1013
Fixed frame_set().
...
No frame structure is created anymore when NULL is passed as argument.
SVN revision: 40732
15 years ago
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
15 years ago
Rafael Antognolli
dfb8599530
Added some missing getters to ethumb API.
...
SVN revision: 40730
15 years ago
Daniel Kolesa
07ec7509a9
Fixed debian stuff everywhere.
...
SVN revision: 40505
15 years ago
Rodrigo Cesar Lopes Belem
a7c514da2b
Added libtool as Build-Depends to everything that uses
...
DEB_CONFIGURE_SCRIPT := ./autogen.sh
SVN revision: 40500
15 years ago
Rafael Antognolli
af073a4524
Now plugins are loaded using eina_module.
...
SVN revision: 40387
15 years ago
Viktor Kojouharov
85a494e86c
fix the macro
...
SVN revision: 40356
15 years ago