Commit Graph

48590 Commits

Author SHA1 Message Date
Subhransu Mohanty 698135b8e4 edje: add svg support to parse and store a svg file as a vector object in .edj.
Summary:
This is the svg loader which will parse the svg file and store it in a intermediate structure.
It provides the helper function to get EET descriptor to save the structure into eet file.

NOTE: Not all svg attributes are handled yet. but most common attributes are handled .

Reviewers: Hermet, cedric

Subscribers: Hermet, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3868

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-06-08 11:18:20 -07:00
Vitalii Vorobiov 3563457307 edje_edit: add missed part and description initializations
@fix
2016-06-08 19:01:03 +03:00
Felipe Magno de Almeida 343b88a735 eolian-cxx: Fix some C++ quirks that makes clang warn about 2016-06-08 12:55:19 -03:00
Felipe Magno de Almeida f683efd2c1 eolian-cxx: Fix generation of some primitive types
Fix translation of primitive types for C++ binding
2016-06-08 12:19:15 -03:00
Daniel Kolesa b87c4f6de8 eolian: refine the ref system to suit more cases
Now references are first class (but still restricted to one level). Unlike
pointers they only mark the type instead of introducing a whole new type.
2016-06-08 15:49:09 +01:00
Jean-Philippe Andre 08e189805d elput: Fix build of tests out of tree 2016-06-08 19:25:25 +09:00
Yeshwanth Reddivari a1b0fb2c9f elm video: implement player interface
Reviewers: raster, cedric, jpeg, singh.amitesh

Reviewed By: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D4021
2016-06-08 14:47:26 +05:30
Jean-Philippe Andre 62c5ebc784 Efl: Add screen_ prefix to all Efl.Screen apis
This will resolve conflicts between Gfx.size and Screen.size.
2016-06-08 17:25:06 +09:00
Jean-Philippe Andre 5542d6dc48 Efl: Add hint_ prefix to all size hints
This covers:
- base
- step
- aspect

The prefix hint_ is useful for bindings, and does not change
the generated C API.
2016-06-08 17:20:44 +09:00
Jean-Philippe Andre 7872690e73 Efl: Move evas size hints to Efl.Gfx.Size.Hint
This includes:
- align
- min (now content_min)
- request
- max
- padding (now margin)
- weight

This does NOT include:
- display mode (compress, expand... a hint used by naviframe only).
2016-06-08 17:10:07 +09:00
Jean-Philippe Andre cfa739fbf6 win: Implement aspect control with Efl.Gfx.Size.Hint
This changes the API from a double to int, int.
Still not sure which API variant is the best (int,int or double).
2016-06-08 17:09:01 +09:00
Jean-Philippe Andre f88750c7ba win: Remove inexisting EAPI definitions from legacy 2016-06-08 15:34:57 +09:00
Jean-Philippe Andre 7d5811a99a Evas: Move aspect ratio to Efl.Gfx.Size.Hint
Problem:
- edje aspect ratio is defined by 1 enum and 2 double (min, max)
- window aspect ratio is defined by only 1 double
- evas object aspect ratio is defined by 1 enum and 2 ints (w, h)

Which one is the best interface? Are min/max a better option?

Also, not sure how to call the enum...
2016-06-08 15:14:11 +09:00
Jean-Philippe Andre c5663ddb84 win: Forward render_post events from evas to window
To do: optimize event forward when no one is listening.
2016-06-08 13:59:08 +09:00
Jean-Philippe Andre e3160da0f7 Evas: EO-ify Evas_Event_Render_Post
As Efl.Gfx.Event.Render_Post.
To be implemented by Efl.Ui.Window
2016-06-08 13:59:08 +09:00
Ji-Youn Park 41aa19447c efl_ui_win: Disable legacy for name and type set
Those are only valid during eo_add, before finalize.
Both of these are constructors.
Add again jp's code.
2016-06-08 09:01:53 +08:30
Ji-Youn Park 54f88b0368 efl_ui_win: Add back title_set as text.set
add jp's code again.
2016-06-08 08:56:39 +08:30
Cedric Bail 122f5eb3a4 elementary: switch to legacy API for tests. 2016-06-07 16:29:53 -07:00
Jean Guyomarc'h f55cb6649d edje: fix unused variable when gettext is disabled 2016-06-07 22:21:33 +02:00
Jean Guyomarc'h f53a739e0e ecore_cocoa: simplify clipboard functions naming
ecore_cocoa_selection_clipboard_xxxx() have been renamed into
ecore_cocoa_clipboard_xxxx() and they have nothing to do with
selection, only with clipboard.

Since the API is not stable yet, I can change it.
2016-06-07 22:20:31 +02:00
Jean Guyomarc'h 7ada74abcd ecore_cocoa: move the default cursor definition out of the enum
This makes the code more explicit and less awkward.
2016-06-07 22:20:10 +02:00
Jean Guyomarc'h 7b29dff87e ecore_cocoa: improve documentation 2016-06-07 22:20:06 +02:00
Chris Michael d0826aacb7 elementary: Remove set but unused variable
This variable looks like it may be used in the future, but for now
just causes additional compiler warnings so comment it out for now.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-07 13:37:53 -04:00
Chris Michael 0a93ff051f ecore-wl2: Support wl_seat_listener version 4
This patch adds support for wl_seat_listener version 4 (which is used
in wayland 1.11). We do not actually make use of the seat callback for
name yet, but when the rest of multi-seat issues are sorted, we may
need this.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-07 13:36:18 -04:00
Chris Michael 09fc4e7b68 Revert "elput: Missing pointer initialization."
Reverting this as the initialization of char *s was already set to
NULL in a previous patch, so the 'if (s)' check here is pointless
really as 'man 3 free' says passing NULL to free() is ok.

This reverts commit ad2e21b023.
2016-06-07 12:09:20 -04:00
Vitalii Vorobiov a0eb98db3b edje_edit: text style should be able to set into NULL
@fix
2016-06-07 17:59:15 +03:00
Ji-Youn Park 8cf9ee67bd efl_ui_win: rename elm_win to efl_ui_win 2016-06-07 23:11:48 +08:30
Daniel Kolesa 1637c21a76 eolian: support @ref on returns
This adds basic support for @ref on return types.
2016-06-07 15:26:09 +01:00
Vitalii Vorobiov 96f6ca336d edje_edit: fix copy&paste type for map functions which should return int
zplane and focal actually returns int, not Eina_Bool

@fix
2016-06-07 16:58:10 +03:00
Benjamin Jacobs ad2e21b023 elput: Missing pointer initialization.
Summary:
Calling free() on an uninitialized pointer leads to crash, that can occurs
when sd_session_get_seat fails.
Fixes T3785.

Reviewers: devilhorns

Subscribers: cedric, jpeg

Maniphest Tasks: T3785

Differential Revision: https://phab.enlightenment.org/D4015

@fix
2016-06-07 09:43:01 -04:00
Jean-Philippe Andre 05732c7472 Evas: Fix propagation of key events
UP/DOWN arrows were having effects on both focus and entry cursor
moves. This was due to an invalid propagation of the changes to
event_flags (on_hold).

Fixes T3845
2016-06-07 21:48:48 +09:00
Stefan Schmidt 2471d962ed examples: ecore: do not try to install files which are not available
The ecore_audio examples have been disabled and now do not compile right now.
But as they are disabled they never land in the tarball and thus we error out
with files not aviavle for install. Found by the OpenSUSE build service. Thanks
Simotek for reporting.

[ 2172s] /home/abuild/rpmbuild/BUILD/efl-1.17.99.47400/install-sh: ecore_audio_custom.c does not
exist.
2016-06-07 14:20:17 +02:00
Stefan Schmidt bf688aeadc examples: eio: update gitignore for new binaries 2016-06-07 14:20:17 +02:00
Stefan Schmidt 28252fa576 examples: evas: update gitignore for new binary 2016-06-07 14:20:16 +02:00
Chris Michael d48c95f158 efl: Bump required wayland version
This makes our wayland libraries require newest wayland release of 1.11

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-07 08:04:10 -04:00
Chris Michael 7d18eb8dac elementary: Remove unused variable
Gcc says that 'model' is unused here, so comment it out

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-07 07:58:19 -04:00
Jean-Philippe Andre 1aceb3bc19 elm_win: Disable legacy for name and type set
Those are only valid during eo_add, before finalize.
Both of these are constructors.
2016-06-07 20:42:46 +09:00
Hermet Park b49785c6c4 Revert "Revert "Revert "Revert "elm ctxpopup: fix auto_hide mode to work correctly""""
This reverts commit 95620c6b60.

Revert again, because this obviously fixes a bug...
2016-06-07 19:50:50 +09:00
Hermet Park 95620c6b60 Revert "Revert "Revert "elm ctxpopup: fix auto_hide mode to work correctly"""
This reverts commit 0907217be5.

append comment there.
2016-06-07 19:39:00 +09:00
Hermet Park 0907217be5 Revert "Revert "elm ctxpopup: fix auto_hide mode to work correctly""
This reverts commit 5ddc7c36f9.
2016-06-07 19:33:36 +09:00
Hermet Park 5ddc7c36f9 Revert "elm ctxpopup: fix auto_hide mode to work correctly"
This reverts commit a428e1e712.

please don't accept patches if the discussion hasn't been finalizied between a submitter and the reviewers.
2016-06-07 19:10:50 +09:00
Stefan Schmidt 9b170a2602 po: follow file rename for elm_flip to efl_ui_flip change 2016-06-07 11:26:51 +02:00
Jean-Philippe Andre 6581885128 elm_win: Add back title_set as text.set
Title and name are two different things.
See 466d9fbaf1.
2016-06-07 17:49:00 +09:00
Taehyub Kim a428e1e712 elm ctxpopup: fix auto_hide mode to work correctly
@fix

Summary: fixx auto_hide mode to work correctly

Test Plan:
1. launch elementary_test - ctxpopup
2. click normal ctxpopup and auto_hide ctxpopup sample
3. check the auto_hide function whether it is work well or not

Reviewers: Jaehyun_Cho, raster, jpeg, cedric, singh.amitesh, DaveMDS, Hermet

Reviewed By: DaveMDS

Differential Revision: https://phab.enlightenment.org/D3967
2016-06-07 17:19:15 +09:00
Jean-Philippe Andre f3b625e547 pdf: Fix build with poppler >= 0.40
This disables PDF load if poppler >= 0.40 (current is 0.42 on
my machine). Those image loaders definitely should be explicitely
enabled or disabled, not enabled based on the system.
2016-06-07 16:29:13 +09:00
Jean-Philippe Andre a6fe58364a ecore_wl2: Fix uninitialized fields in function array
Ping @devilhorns
2016-06-07 16:15:41 +09:00
Jean-Philippe Andre 0e17dc79b3 wl_shm: Fix uninitialized warning
warning: variable 'surf' is used uninitialized whenever 'if' condition
is true [-Wsometimes-uninitialized]
2016-06-07 15:11:27 +09:00
Jean-Philippe Andre ecc1d5dfaf gl_drm: Fix shadow warning 2016-06-07 15:10:28 +09:00
Jean-Philippe Andre ba85c4eff9 eio: Fix build for windows
dllimport vs dllexport problem due to invalid include order.
Thanks @vtorri for the report

See 1ba06bb642
2016-06-07 15:09:07 +09:00
Jean-Philippe Andre 4095ec4f1a tests: Fix previous patch (forgot to amend changes) 2016-06-07 14:35:02 +09:00