Commit Graph

72 Commits

Author SHA1 Message Date
Carsten Haitzler b519c44c67 pager+thumb - speed up thumb generation and pager aspect
pager didnt reset aspect after setting min size. fixed. also improve
thumb generation by having no artifical delays. use idle enterer + job
wakeups instead. now thumbs appear almost instantly.

also remove initial pager popup on starup that is just not needed.

fixes T8314
@fix
2020-06-13 16:22:07 +01:00
Elyes HAOUAS cd5f79c814 tree-wide: get rid of trailing whitespace (part 4)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11823
2020-05-14 13:49:15 +02:00
Carsten Haitzler 98e8c8706d warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Mike Blumenkrantz 9a557876c2 use normal emotion function to determine playability of e_thumb files
ref 82f1b8a1c1
ref D4779
2018-01-22 14:16:26 -05:00
Carsten Haitzler 86532962b5 e thumb - extend extension that might have media metadata image thumbs 2017-04-17 12:07:53 +09:00
Al Poole 82f1b8a1c1 E -> Enlightenment_thumb -> Media -> Thumbnail Creation.
Summary:
E -> Enlightenment_thumb -> Media -> Thumbnail Creation.

@feature

Add thumbnail creation to ethumb rather than in the image loaders.
See:

https://www.enlightenment.org/ss/display.php?image=e-58e93eef5e8b58.22514685.jpg

Test Plan: View directory with mp4 video in efm and see thumbnail.

Reviewers: zmike!, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4779
2017-04-17 12:06:11 +09:00
Carsten Haitzler 8211a6f0e1 e thumb - fix alignment warning nuisance 2017-02-12 17:59:47 +09:00
Derek Foreman 73aecd73ab Replace all timer_add with timer_loop_add
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.

It would be really nice if I'm not wrong. :)

The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.

 #YOLO
2017-02-03 15:52:28 -06:00
Carsten Haitzler b55ce098bf e thumb - support signal emits and desk pan msgs for thumbs
this in theory allows pan desk thumbs to work... but hey ... they are
broken anyway... :)

@fix
2017-01-28 16:08:46 +09:00
Yomi 0dc33a5aeb Fix misspellings in E's files.
Summary: Fix misspellings and spaces in E's files.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2676
2015-06-16 16:10:21 -04:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
wonguk.jeong 82b813d915 generate thumbnail based on rotated image according to EXIF orientation tag
Summary:
jpeg image which has EXIF orientation meta data was not rotated properly in fm or preview.

@fix

Test Plan:
1. get in "efl/src/tests/evas/images/ in fm.
2. check whether Light_exif_*.jpg are properly rotated or not.

Reviewers: raster, zmike

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D1109
2014-07-03 10:48:51 -04:00
Mike Blumenkrantz 6dd98df0d6 remove all remaining efl version check defines 2014-03-13 11:55:29 -04:00
Mike Blumenkrantz f6ec2c6f60 set ecore_app_no_system_modules in various system utilities 2013-12-19 14:14:48 -05:00
Carsten Haitzler 8c9404a414 thumbnailing - revert "allow all" and rely on updated extn checks 2013-11-24 11:35:15 +09:00
Carsten Haitzler 7ccf40fc7b thumbs - add more mime types that can thumbnail and have e_thumb do it right 2013-11-22 18:26:21 +09:00
discomfitor 5ed22b70e7 if out an evas 1.8 function 2013-08-31 15:09:53 +01:00
Carsten Haitzler 3dc555a7cf fix warnings in build so new ones turn up and get fixed. 2013-07-15 11:45:19 +09:00
Carsten Haitzler 934e02b320 font previews in efm - in thumbnails and in efm preview 2013-07-02 14:24:16 +09:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz ae7ca9105f Hi,
here is a patch.

 1. free() already null-checks the passed argument, so it is not
    necessary to do 'if(x) free(x)'.

 2. Moved some '{free(x); x = NULL}' to E_FREE.

 3. In e_start_main.c, 'buf' is allocated with the size of the
    two arguments + '=', so we don't need to check for lenght;
    we should use sprintf().

 thanks
Maxime Villard


SVN revision: 81364
2012-12-19 14:20:34 +00:00
Mike Blumenkrantz c162da2523 fix annoying warning
SVN revision: 76813
2012-09-18 11:55:59 +00:00
Mike Blumenkrantz b041db3c1a make this operate the same but be slightly less confusing
SVN revision: 76812
2012-09-18 11:54:38 +00:00
Mike Blumenkrantz a5713023e5 only create thumbs for files evas has loaders for
ticket #1520


SVN revision: 76739
2012-09-17 07:32:13 +00:00
Mike Blumenkrantz 85c099e91e cleanup ethumb on failures
SVN revision: 76738
2012-09-17 07:28:31 +00:00
Mike Blumenkrantz 228b5a4701 outdent e_thumb so it's readable
SVN revision: 76737
2012-09-17 07:23:19 +00:00
Mike Blumenkrantz 36c7e47745 formatting
SVN revision: 72948
2012-06-27 13:30:40 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Cedric BAIL 38a0812f51 e: bug fix for thumbnail.
SVN revision: 71579
2012-05-31 10:23:48 +00:00
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +00:00
Christopher Michael ec75c4700b E: e_thumb: Fix 'ignored return value' of nice.
SVN revision: 59602
2011-05-22 17:09:16 +00:00
Mike Blumenkrantz 76b1e1805f someone is using an editor that has tabs. stop it.
ecrustified.


SVN revision: 55702
2010-12-22 22:36:13 +00:00
Christopher Michael e2c4d23e38 Add Unused.
SVN revision: 51371
2010-08-18 22:23:26 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael 11182365d3 Formatting.
SVN revision: 50370
2010-07-19 19:06:09 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Sebastian Dransfeld f67a69f161 Fix compiler warnings
SVN revision: 45183
2010-01-15 12:01:40 +00:00
Vincent Torri 7c1f80aefe declare alloca where needed and make it portable
SVN revision: 44544
2009-12-18 13:52:23 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Carsten Haitzler 4ebb2f6385 -lm -- and printf--
SVN revision: 40168
2009-04-18 13:53:23 +00:00
Carsten Haitzler b592a9176f 1. fix thumb to not use preload thread - i spotted bugs. concurrency ones.
2. also write a sort id (harmless - doesnt affect anything). useful for...
sorting.




SVN revision: 40166
2009-04-18 13:52:24 +00:00
Gustavo Sverzut Barbieri e0040cefb9 major cleanup of path creation to $DATADIR and $HOME/.e/e
This cleanup replaces snprintf() usage with specific calls, they have
the benefit of being cleaner (so easier to grep), typing less and also
marginal speed up compared to the other (specially concat_static),
although those are rarely used in critical paths.

I'm testing it for some time and seems to not break anything, but let
me know of any problem. If you can review the patch and try to spot
incorrect names, please do.




SVN revision: 40014
2009-04-13 14:56:38 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Carsten Haitzler 0ff940b389 improve thumbnailer response
SVN revision: 29529
2007-04-15 07:13:11 +00:00
Sebastian Dransfeld db3d2fe4c3 Remove printf's
SVN revision: 29382
2007-04-05 17:22:02 +00:00
Sebastian Dransfeld 8e1c36d005 - nice config for thumbnailing. Needs config dialog.
- event for theme change.


SVN revision: 29381
2007-04-05 17:20:09 +00:00
Sebastian Dransfeld a5dd53e01c Remove old code.
SVN revision: 29004
2007-03-24 11:29:12 +00:00
Sebastian Dransfeld 5dbae21510 Remove old code.
SVN revision: 28994
2007-03-24 09:38:46 +00:00
Carsten Haitzler b2a0abb8eb a lot of patches - also my work on moving the IO stuff in e_fm to a slave
process to stop e from ever "locking up". this unfortunately breaks the other
source stuff and thus breaks the app editor config dialogs and anything using
fm2 for .desktop stuff from the e applications/all repo. i am doing this as i
expect this to go away with efreet anyway so not too much of an issue. not
all fm operatiosn work currently - note. so beware. it can view files though :)


SVN revision: 28528
2007-03-02 17:00:20 +00:00