Commit Graph

91 Commits

Author SHA1 Message Date
Koichi Murase 2e5e0a5b67 *.{h,c}: do not use the C reserved identifiers for tag names 2022-03-07 07:45:57 +09:00
Boris Faure cd4c168e3b
media: have media_src_type_get() use extn api 2021-09-13 23:30:09 +02:00
Carsten Haitzler 0195e9b861 smart objects - remember to free smart data
fix leak
@fix
2021-03-18 11:21:38 +00:00
Boris Faure 93da3f87b7
theme: have only one theme_apply function
No more one about theming an elm_layout, nor using only the default theme.
Also, be able to chose which color scheme to use
2020-10-18 22:35:27 +02:00
Boris Faure 9f2f8464f3
Fix typos
Summary: Fix some typos.

Differential Revision: https://phab.enlightenment.org/D12032
2020-07-05 20:19:59 +02:00
Boris Faure ab35c9b7dd
mv utils.{c,h} theme.{c,h} 2020-06-23 12:48:27 +02:00
Boris Faure 0b48853597
reduce scope of variables 2020-04-17 23:09:07 +02:00
Boris Faure 2259519d10
video: no need to force emotion engine anymore 2020-04-12 16:59:43 +02:00
Boris Faure a5aaeefc18
remove condition on if (X) eina_stringshare_del(X) 2019-11-29 23:31:14 +01:00
Boris Faure 9ce403d29b media: remove useless condition 2019-10-20 18:32:35 +02:00
Boris Faure 259722a3f3 move link_is_* to termiolink.c 2019-09-15 17:47:07 +02:00
Boris Faure e7cbae77e1 media/win: allow fallback to xdg-open after user interaction
Closes T7504
2018-12-17 21:53:01 +01:00
Boris Faure 1ac204da91 media: only popup known media types through special escape codes. Closes T7504
Those media files are opened within Terminology and not through an
external component, thus reducing the attack surface.
It is still possible to disable Terminology's escape codes in the
settings panel.
2018-12-16 11:36:15 +01:00
Boris Faure dad9e0db58 remove compatibility #ifs to work with EFL < 1.16 2018-03-13 18:58:41 +01:00
Boris Faure 6f1a2dd452 constify 2017-07-06 21:37:56 +02:00
Marcel Hollerbach bdc77fdaee media: fix previous commit
I am sorry for the noice, i added a wrong "!" there
2016-10-09 17:46:32 +02:00
Marcel Hollerbach b2fe5145d9 media: try to search for a icon theme which provides the given icon
This fixes cases where a icon theme is found but, but the given icon
name is not found in the theme. So we are also testing for the
availablility of the icon name.
2016-10-09 17:17:57 +02:00
Boris Faure 76f1bf4342 prefix EINA_UNUSED parameters with an underscore
and fix related issues
2016-10-05 22:00:22 +02:00
Boris Faure 6f898d5ebe fix typop no longer working for still images. Add some error messages
Thanks to dassify for noticing
2015-09-04 20:30:29 +02:00
Boris Faure 5c9d98cf22 add error handlers on textblocks. Should fix T2672 2015-08-23 16:41:15 +02:00
Chris Michael c328ba006e terminology: Use proper event structure for mouse up callback
Summary: When catching evas mouse up callbacks, we should be using the
Evas_Event_Mouse_Up structure for the event

@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-30 15:22:20 -04:00
Boris Faure 76e9ae6481 do an HTTP HEAD to get media type when poping media 2015-02-21 11:40:10 +01:00
Boris Faure 6762578ace do only once ecore_con_(url_)init/shutdown() 2015-02-21 11:40:10 +01:00
Boris Faure cc87372941 keep hotfix for efl < 1.13 2014-11-29 21:59:00 +01:00
Wonguk Jeong 709f3172c6 media: remove hotfix for dnd with media with space
Previously, path was delivered without uri decoding.
Now, since it is fixed by D1384 in elm_cnp, remove the hotfix.

@fix
2014-11-29 15:39:57 +01:00
tantSinnister eea3338a43 Fix for the file URI on FreeBSD.
On FreeBSD terminology complains about media_add() can not decode
'folder' and '/usr/home/xyz/1.png'.

This could be fixed by changing the URI from "file:%s" to "file://%s"
2014-11-23 17:17:03 +01:00
Boris Faure 57cace69d2 fix CID 1249476: Logically dead code 2014-10-25 19:16:19 +02:00
Boris Faure 2568c50a40 set media type as an enum 2014-10-15 21:44:58 +02:00
Wonguk Jeong 6c8af4f82c media: fix replay on stop bug in tycat
even if stop button in media control has been clicked, media is not stopped but is replayed in tycat

Fixes T1560
2014-09-15 12:01:22 +02:00
Boris Faure ae24098f73 fix dnd with media with spaces. Closes T1586
The path is url encoded without the prefix "file:".
2014-09-02 21:18:24 +02:00
Boris Faure 34979f1ce4 get rid of Eina_Bool in bitfields 2014-08-28 21:04:00 +02:00
Wonguk Jeong bce172cc87 media: audio visualization support (phase 1)
support audio visualization for typop, tycat
This is just first phase with hard coded type (EMOTION_VIS_LIBVISUAL_INFINITE)

TODO:
1. configurable visualizing type in option
2. hide visualizing option if it is not supported.
   (it's currently supported with "gstreamer" engine)
2014-08-21 20:32:58 +02:00
Wonguk Jeong a49265e609 media: fix inaccessible media control problem in typop
Fixes T1545
2014-08-18 18:48:58 +02:00
Wonguk Jeong 23ee76e572 media: raise media control above selection event obj
Fixes T1454
2014-08-18 17:56:58 +02:00
Boris Faure 9a66d33438 should have removed that comment 2014-07-26 17:09:20 +02:00
Boris Faure 38c5f1d4ec clip media controls. Cf T1369 2014-07-26 16:51:14 +02:00
Boris Faure 06bdb882db gettextify m*.c 2014-07-26 11:37:26 +02:00
Wonguk Jeong b14042aa49 media: improve media control pos/vol slider
Summary:
currently, pos/vol could be changed by using only knob not slider area.
use slider area as event source, and control knob internally.

Fixes T1440

Test Plan: terminology -> tycat video file -> try to control pos/vol by clicking slider area

Reviewers: billiob

Subscribers: seoz

Maniphest Tasks: T1440

Differential Revision: https://phab.enlightenment.org/D1219
2014-07-23 07:07:01 +09:00
Cedric BAIL f39f25598d evas: enable support for exif on all image type. 2014-06-29 13:43:01 +02:00
wonguk.jeong 9307b77b96 media: support rotation by metadata
Summary:
if we drag & drop jpeg image with orientation information in exif metadata, the image was not properly rotated.

with D1082, D1084, you could see properly rotated image

fixes T1357

Test Plan: terminology -> drag and drop jpeg image with orientation metadata in exif -> check whether the image is rotated properly or not

Reviewers: billiob, raster

Reviewed By: billiob

CC: seoz

Maniphest Tasks: T1357

Differential Revision: https://phab.enlightenment.org/D1085
2014-06-24 21:41:47 +02:00
Wonguk Jeong e717b71589 terminology: restore movie play state when the media block is reactivated.
Summary:
first phase to resolve T1075
With D786, the paused video would be in paused state even if the media block is reactivated.

But the problem is....
every backend except "gstreamer1" doesn't show any image on screen when the video is loaded in paused state. (it's working perfectly with gstreamer1)
maybe the root cause is that frame decoding is never happened yet.
This need to be investigated, in the next phase (maybe in emotion or emotion modules?)

@fix

Test Plan: terminology -> tycat -> pause video -> page down enought until the video block is deactivated -> page up -> check whether the video is in paused state or not

Reviewers: raster, billiob

CC: seoz

Maniphest Tasks: T1075

Differential Revision: https://phab.enlightenment.org/D787
2014-04-24 18:10:29 +09:00
Boris Faure 839ac5b8d5 get rid of dumb youtube detection. Closes T1122
This almost never works… and just annoys me whenever I want to click on a
youtube link.
2014-03-23 23:22:06 +01:00
Carsten Haitzler c8f20f9312 update url handling to detect yourupe-dl output url streams 2014-01-21 22:27:10 +09:00
Boris Faure 30392f23a9 s/__UNUSED__/EINA_UNUSED/g 2013-08-27 15:36:50 +02:00
Boris Faure 2429f7d3ad remove some warnings 2013-08-27 15:23:49 +02:00
Carsten Haitzler a9e84188ce dont filter based on ethumb client handle. 2013-08-27 17:18:42 +09:00
Carsten Haitzler 38d468fc61 remove warngings 2013-07-30 20:19:07 +09:00
Cedric Bail 15d9eb0924 terminology: we did rename generic backend to vlc as it is its real name. 2013-07-16 09:58:28 +09:00
Carsten Haitzler a64c9c01e3 handle gif loop none and loop count 0 vs actual loop counts (or -1) 2013-07-06 12:53:46 +09:00
Carsten Haitzler e4f5a04068 don't request ethumb again when it dies unless we have a queue 2013-07-04 08:39:43 +09:00