Subhransu Mohanty [Thu, 9 Jun 2016 04:26:33 +0000 (13:26 +0900)]
edje : fix the typo in svg loader.
Reviewers: SanghyeonLee, cedric, jpeg
Reviewed By: jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4027
Cedric BAIL [Wed, 8 Jun 2016 22:00:30 +0000 (15:00 -0700)]
edje: unamed part are completely legit as long as no program try to interact with them.
Sungtaek Hong [Wed, 8 Jun 2016 21:06:33 +0000 (14:06 -0700)]
elmentary: trigger selected event when mouse is up in index.
Summary:
- selected callback should be called when the user releases a mouse button
and selects an item.
Reviewers: cedric, jpeg, Hermet, woohyun
Subscribers: conr2d, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4022
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Oleksandr Shcherbina [Wed, 8 Jun 2016 20:58:28 +0000 (13:58 -0700)]
evas: fix possible memory leaks in e3d_drawable_texture_rendered_pixels_get
Summary:
@fix
CID: 1356243, 1356242, 1356242, 1356242
Reviewers: cedric, Hermet, raster
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4011
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Shilpa Singh [Wed, 8 Jun 2016 20:48:07 +0000 (13:48 -0700)]
elementary: add implementation for elm_multibuttonentry_item_selected_get API
Summary:
Added definition for item_selected_get API
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
@fix
Test Plan: select an item, call item_selected_get API to check status of the item
Reviewers: cedric, CHAN
Reviewed By: CHAN
Subscribers: CHAN, rajeshps, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3999
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 8 Jun 2016 20:47:19 +0000 (13:47 -0700)]
elementary: cleanup event handler setup for hoversel.
Jee-Yong Um [Wed, 8 Jun 2016 20:24:35 +0000 (13:24 -0700)]
elementary: rearrange hoversel when its parent is resized
Summary:
Hoversel will be rearranged when its parent is resized.
This patch was written by @godlytalias on tizen side.
Reviewers: cedric
Subscribers: jpeg, godlytalias
Differential Revision: https://phab.enlightenment.org/D4025
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Subhransu Mohanty [Wed, 8 Jun 2016 18:26:07 +0000 (11:26 -0700)]
edje: add new svg part to edc
Reviewers: Hermet, cedric
Reviewed By: cedric
Subscribers: jpeg, cedric, Hermet
Differential Revision: https://phab.enlightenment.org/D3894
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 8 Jun 2016 17:47:17 +0000 (10:47 -0700)]
edje: little bit of refactoring, more needed.
Subhransu Mohanty [Wed, 8 Jun 2016 17:26:38 +0000 (10:26 -0700)]
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>
Vitalii Vorobiov [Wed, 8 Jun 2016 15:47:19 +0000 (18:47 +0300)]
edje_edit: add missed part and description initializations
@fix
Felipe Magno de Almeida [Wed, 8 Jun 2016 15:55:19 +0000 (12:55 -0300)]
eolian-cxx: Fix some C++ quirks that makes clang warn about
Felipe Magno de Almeida [Wed, 8 Jun 2016 15:19:15 +0000 (12:19 -0300)]
eolian-cxx: Fix generation of some primitive types
Fix translation of primitive types for C++ binding
Daniel Kolesa [Wed, 8 Jun 2016 14:49:09 +0000 (15:49 +0100)]
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.
Jean-Philippe Andre [Wed, 8 Jun 2016 10:24:34 +0000 (19:24 +0900)]
elput: Fix build of tests out of tree
Yeshwanth Reddivari [Wed, 8 Jun 2016 09:16:11 +0000 (14:46 +0530)]
elm video: implement player interface
Reviewers: raster, cedric, jpeg, singh.amitesh
Reviewed By: singh.amitesh
Differential Revision: https://phab.enlightenment.org/D4021
Jean-Philippe Andre [Wed, 8 Jun 2016 08:25:06 +0000 (17:25 +0900)]
Efl: Add screen_ prefix to all Efl.Screen apis
This will resolve conflicts between Gfx.size and Screen.size.
Jean-Philippe Andre [Wed, 8 Jun 2016 08:19:17 +0000 (17:19 +0900)]
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.
Jean-Philippe Andre [Wed, 8 Jun 2016 07:09:38 +0000 (16:09 +0900)]
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).
Jean-Philippe Andre [Wed, 8 Jun 2016 06:24:08 +0000 (15:24 +0900)]
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).
Jean-Philippe Andre [Wed, 8 Jun 2016 06:25:12 +0000 (15:25 +0900)]
win: Remove inexisting EAPI definitions from legacy
Jean-Philippe Andre [Wed, 8 Jun 2016 05:56:51 +0000 (14:56 +0900)]
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...
Jean-Philippe Andre [Wed, 8 Jun 2016 04:55:21 +0000 (13:55 +0900)]
win: Forward render_post events from evas to window
To do: optimize event forward when no one is listening.
Jean-Philippe Andre [Wed, 8 Jun 2016 04:45:38 +0000 (13:45 +0900)]
Evas: EO-ify Evas_Event_Render_Post
As Efl.Gfx.Event.Render_Post.
To be implemented by Efl.Ui.Window
Ji-Youn Park [Wed, 8 Jun 2016 00:31:00 +0000 (09:01 +0830)]
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.
Ji-Youn Park [Wed, 8 Jun 2016 00:26:39 +0000 (08:56 +0830)]
efl_ui_win: Add back title_set as text.set
add jp's code again.
Cedric Bail [Tue, 7 Jun 2016 23:29:32 +0000 (16:29 -0700)]
elementary: switch to legacy API for tests.
Jean Guyomarc'h [Tue, 7 Jun 2016 17:29:29 +0000 (19:29 +0200)]
edje: fix unused variable when gettext is disabled
Jean Guyomarc'h [Tue, 7 Jun 2016 19:42:46 +0000 (21:42 +0200)]
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.
Jean Guyomarc'h [Tue, 7 Jun 2016 19:08:08 +0000 (21:08 +0200)]
ecore_cocoa: move the default cursor definition out of the enum
This makes the code more explicit and less awkward.
Jean Guyomarc'h [Tue, 7 Jun 2016 19:04:25 +0000 (21:04 +0200)]
ecore_cocoa: improve documentation
Chris Michael [Tue, 7 Jun 2016 17:37:53 +0000 (13:37 -0400)]
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>
Chris Michael [Tue, 7 Jun 2016 17:36:18 +0000 (13:36 -0400)]
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>
Chris Michael [Tue, 7 Jun 2016 16:09:20 +0000 (12:09 -0400)]
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
ad2e21b02399c02a748bb8b8ab0dc10f85e6662d.
Vitalii Vorobiov [Tue, 7 Jun 2016 14:56:40 +0000 (17:56 +0300)]
edje_edit: text style should be able to set into NULL
@fix
Ji-Youn Park [Tue, 7 Jun 2016 14:41:48 +0000 (23:11 +0830)]
efl_ui_win: rename elm_win to efl_ui_win
Daniel Kolesa [Tue, 7 Jun 2016 13:59:36 +0000 (14:59 +0100)]
eolian: support @ref on returns
This adds basic support for @ref on return types.
Vitalii Vorobiov [Tue, 7 Jun 2016 13:57:02 +0000 (16:57 +0300)]
edje_edit: fix copy&paste type for map functions which should return int
zplane and focal actually returns int, not Eina_Bool
@fix
Benjamin Jacobs [Tue, 7 Jun 2016 13:42:49 +0000 (09:42 -0400)]
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
Jean-Philippe Andre [Tue, 7 Jun 2016 12:46:54 +0000 (21:46 +0900)]
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
Stefan Schmidt [Tue, 7 Jun 2016 12:13:30 +0000 (14:13 +0200)]
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.
Stefan Schmidt [Tue, 7 Jun 2016 09:56:29 +0000 (11:56 +0200)]
examples: eio: update gitignore for new binaries
Stefan Schmidt [Tue, 7 Jun 2016 09:56:07 +0000 (11:56 +0200)]
examples: evas: update gitignore for new binary
Chris Michael [Tue, 7 Jun 2016 12:04:10 +0000 (08:04 -0400)]
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>
Chris Michael [Tue, 7 Jun 2016 11:58:19 +0000 (07:58 -0400)]
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>
Jean-Philippe Andre [Tue, 7 Jun 2016 11:36:40 +0000 (20:36 +0900)]
elm_win: Disable legacy for name and type set
Those are only valid during eo_add, before finalize.
Both of these are constructors.
Hermet Park [Tue, 7 Jun 2016 10:50:50 +0000 (19:50 +0900)]
Revert "Revert "Revert "Revert "elm ctxpopup: fix auto_hide mode to work correctly""""
This reverts commit
95620c6b60643a2326d73141e64447385c28e6e5.
Revert again, because this obviously fixes a bug...
Hermet Park [Tue, 7 Jun 2016 10:39:00 +0000 (19:39 +0900)]
Revert "Revert "Revert "elm ctxpopup: fix auto_hide mode to work correctly"""
This reverts commit
0907217be5cf68a377e0ceacf776535acdc38531.
append comment there.
Hermet Park [Tue, 7 Jun 2016 10:33:36 +0000 (19:33 +0900)]
Revert "Revert "elm ctxpopup: fix auto_hide mode to work correctly""
This reverts commit
5ddc7c36f9ed3b995b43c31eab3fdf4d27db74df.
Hermet Park [Tue, 7 Jun 2016 10:10:50 +0000 (19:10 +0900)]
Revert "elm ctxpopup: fix auto_hide mode to work correctly"
This reverts commit
a428e1e7125f28e41532c659b9e31a8ff0bb5d11.
please don't accept patches if the discussion hasn't been finalizied between a submitter and the reviewers.
Stefan Schmidt [Tue, 7 Jun 2016 09:04:25 +0000 (11:04 +0200)]
po: follow file rename for elm_flip to efl_ui_flip change
Jean-Philippe Andre [Tue, 7 Jun 2016 08:43:45 +0000 (17:43 +0900)]
elm_win: Add back title_set as text.set
Title and name are two different things.
See
466d9fbaf1319db4df9d576bdbe196f2557f6.
Taehyub Kim [Tue, 7 Jun 2016 08:19:15 +0000 (17:19 +0900)]
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
Jean-Philippe Andre [Tue, 7 Jun 2016 07:25:45 +0000 (16:25 +0900)]
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.
Jean-Philippe Andre [Tue, 7 Jun 2016 06:27:07 +0000 (15:27 +0900)]
ecore_wl2: Fix uninitialized fields in function array
Ping @devilhorns
Jean-Philippe Andre [Tue, 7 Jun 2016 06:11:27 +0000 (15:11 +0900)]
wl_shm: Fix uninitialized warning
warning: variable 'surf' is used uninitialized whenever 'if' condition
is true [-Wsometimes-uninitialized]
Jean-Philippe Andre [Tue, 7 Jun 2016 06:10:28 +0000 (15:10 +0900)]
gl_drm: Fix shadow warning
Jean-Philippe Andre [Tue, 7 Jun 2016 06:03:45 +0000 (15:03 +0900)]
eio: Fix build for windows
dllimport vs dllexport problem due to invalid include order.
Thanks @vtorri for the report
See
1ba06bb6429d6199714
Jean-Philippe Andre [Tue, 7 Jun 2016 05:35:02 +0000 (14:35 +0900)]
tests: Fix previous patch (forgot to amend changes)
Jean-Philippe Andre [Tue, 7 Jun 2016 05:05:41 +0000 (14:05 +0900)]
elm_test: Fix potential crash and garbage printf
Benjamin Jacobs [Tue, 7 Jun 2016 04:58:13 +0000 (13:58 +0900)]
gl_x11: Working GLES2 fallback.
Summary:
Disables GLES3 support when it cannot be determined that it is
available. Prevents to repeatly request a (missing) gles3 support and
fail.
Fixes T3795.
Reviewers: jpeg
Subscribers: cedric, jpeg
Maniphest Tasks: T3795
Differential Revision: https://phab.enlightenment.org/D4014
Jean-Philippe Andre [Tue, 7 Jun 2016 04:52:15 +0000 (13:52 +0900)]
tests: Fix fake event test (avoid ERR)
An event object was deleted carelessly.
Jean-Philippe Andre [Tue, 7 Jun 2016 04:44:30 +0000 (13:44 +0900)]
Evas: Fix compilation for Windows
Fixes T3783
Jean-Philippe Andre [Tue, 7 Jun 2016 04:06:03 +0000 (13:06 +0900)]
Efl.Ui.Flip: Fix compilation outside EFL
After a previous patch, compilation of apps would fail
as the include order was invalid. Efl_Ui_Flip_Mode was
defined after the typedef using it unless EO APIs were
enabled.
Jean-Philippe Andre [Tue, 7 Jun 2016 01:39:31 +0000 (10:39 +0900)]
elm: Don't install private headers
Thanks tom for the report.
Subhransu Mohanty [Mon, 6 Jun 2016 23:50:26 +0000 (16:50 -0700)]
efl_ui_flip: renamed elm_flip to efl_ui_flip and updated the eo class
Reviewers: woohyun, raster, jpeg, cedric
Reviewed By: jpeg, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3933
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Shilpa Singh [Mon, 6 Jun 2016 23:47:03 +0000 (16:47 -0700)]
elementary/colorselector: use layout instead of edje object for components.
Summary:
Issue: As edje object is used instead of layout for components mode, the content widgets like buttons are added as
subobject of colorselector hence when we unset the edje object on mode change the buttons still remain subobject of colorselector causing issues when all subobjects of colorselector is queried(sub objects are queried during atspi mode).
Soln: Use layout instead of edje object.
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
@fix
Test Plan: Change the mode to Palette mode and access the children of colorselector.
Reviewers: Hermet, cedric
Subscribers: govi, rajeshps, kimcinoo, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3987
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Shilpa Singh [Mon, 6 Jun 2016 23:42:27 +0000 (16:42 -0700)]
elementary/colorselector: colornames updated with spaces.
Summary:
Colornames updated with spaces so that any TTS engine
can read them out in an understandable manner.
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
@fix
Test Plan:
Enable ATSPI mode
Tap colors and listen to colorname's
Reviewers: cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D3997
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Minkyu Kang [Mon, 6 Jun 2016 23:41:41 +0000 (16:41 -0700)]
elementary/tooltip: adjust the coordinate if tooltip was located out of screen
Summary:
When reconfigure the tooltip as orient, the tooltip can located out of screen.
This patch will adjust the coordinate so that can be seen whole tooltip.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewers: cedric, Hermet
Subscribers: seoz, jpeg
Differential Revision: https://phab.enlightenment.org/D4007
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Oleksandr Shcherbina [Mon, 6 Jun 2016 23:40:23 +0000 (16:40 -0700)]
evas: fix typo in description of the engine functions.
Reviewers: Hermet, raster, cedric
Reviewed By: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4010
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Oleksandr Shcherbina [Mon, 6 Jun 2016 23:39:38 +0000 (16:39 -0700)]
evas: fix order binding attributes to gl.
Summary:
In same cases(devices) can lead to mix up attributes in shaders.
@fix
Reviewers: cedric, Hermet, raster
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4012
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Benjamin Jacobs [Mon, 6 Jun 2016 23:33:54 +0000 (16:33 -0700)]
evas: button_mask as unsigned, UB fixes.
Summary:
* pointer.button is DATA32 which is unsigned, so this changes the
definition of pointer_button_down_mask accordingly.
* Avoids UB in mask generation:
lib/evas/canvas/evas_events.c:1348:37: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4019
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Mon, 6 Jun 2016 23:28:52 +0000 (16:28 -0700)]
ecore: make sure lifecycle of Efl.Loop.Fd is correct.
Cedric BAIL [Mon, 6 Jun 2016 23:19:55 +0000 (16:19 -0700)]
ecore: properly reset fd handler when parent get deleted.
Andy Williams [Mon, 6 Jun 2016 22:59:52 +0000 (23:59 +0100)]
elementary: Fix elm_code theme lookup and use correct naming
Cedric BAIL [Mon, 6 Jun 2016 21:59:36 +0000 (14:59 -0700)]
ecore: add a tests that ensure we do implement lifecycle correctly.
Cedric BAIL [Mon, 6 Jun 2016 21:59:06 +0000 (14:59 -0700)]
ecore: migrate ecore_timer lifecycle to rely cleanly on Eo lifecycle.
Jean Guyomarc'h [Mon, 6 Jun 2016 21:40:29 +0000 (23:40 +0200)]
eina: ensure resource destruction on failure
In case of failure within eina_lock_new() (posix), a
pthread_mutexattr_t would have been left in an initialized state,
without any deinitialization being called.
Consequences would have been implementation defined.
Benjamin Jacobs [Mon, 6 Jun 2016 19:46:00 +0000 (15:46 -0400)]
ecore-xcb: Fix XCB to be usable again
Summary:
Well mostly, it seems there is an issue with multi-key events and
enlightenment. Let's merge this first before opening a ticket.
Reviewers: devilhorns
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4017
@fix
Cedric BAIL [Mon, 6 Jun 2016 19:11:07 +0000 (12:11 -0700)]
elementary: export symbol used by tests suite.
Benjamin Jacobs [Mon, 6 Jun 2016 18:23:09 +0000 (11:23 -0700)]
eina_thread.c: fix include guard.
DragonFlyBSD has pthread_setname_np but no pthread_setaffinity_np;
we still need to include pthread_np though.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Benjamin Jacobs [Mon, 6 Jun 2016 18:20:37 +0000 (11:20 -0700)]
eio: fix pointer comparison.
Fix a warning on dragonfly.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Benjamin Jacobs [Mon, 6 Jun 2016 18:18:25 +0000 (11:18 -0700)]
ecore_audio: uncondionally include libgen.h.
Basically everyone should have it. If not, maybe we should consider
to test the value of _POSIX_C_SOURCE before testing platform specific
defines, or adding a feature check.
Fixes the following warning on DragonFlyBSD:
lib/ecore_audio/ecore_audio_obj_out_pulse.c:282:60: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
class_vars.context = pa_context_new(class_vars.api, basename(argv[0]));
^
lib/ecore_audio/ecore_audio_obj_out_pulse.c:282:60: warning: passing argument 2 of 'pa_context_new' makes pointer from integer without a cast [-Wint-conversion]
In file included from /usr/local/include/pulse/pulseaudio.h:29:0,
from lib/ecore_audio/ecore_audio_private.h:17,
from lib/ecore_audio/ecore_audio_obj_out_pulse.c:18:
/usr/local/include/pulse/context.h:172:13: note: expected 'const char *' but argument is of type 'int'
pa_context *pa_context_new(pa_mainloop_api *mainloop, const char *name);
^
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Benjamin Jacobs [Mon, 6 Jun 2016 18:16:44 +0000 (11:16 -0700)]
ecore_time.c: do not mess with the representation of clockid_t.
Clockid_t should be used as an opaque type. Some platform might want
to (and even do, e.g. DragonFlyBSD) declare clockid_t as an unsigned.
On such platform, testing the sign of clockid_t is never false, and
assigning it a negative value is an UB, which makes this code unlikely to
work as intended. Fixes black window on dragonfly!
Thanks to gcc for spotting this.
CC lib/ecore/lib_ecore_libecore_la-ecore_time.lo
In file included from ../src/lib/eina/Eina.h:215:0,
from lib/ecore/Ecore.h:304,
from lib/ecore/ecore_time.c:18:
lib/ecore/ecore_time.c: In function 'ecore_time_get':
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Benjamin Jacobs [Mon, 6 Jun 2016 18:14:55 +0000 (11:14 -0700)]
ecore_signal.c: factoring out the platform test to improve readability.
Turns out there is no PRI?SIGATOMIC in the C99 standard. Work around
that by deducing the effective integer type by comparing the
SIG_ATOMIC_MAX with integers *MAX.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Chris Michael [Mon, 6 Jun 2016 18:53:35 +0000 (14:53 -0400)]
elput: Fix crash whem sd_session_get_seat fails
If systemd fails to give us a valid session id, then any further calls
to get a seat from that session are going to fail. As such, check for
a valid seat return from systemd before calling any systemd functions
which require session id.
Fixes T3785
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Cedric BAIL [Mon, 6 Jun 2016 18:00:54 +0000 (11:00 -0700)]
eio: remove eio_model that should already be part of Eio.h.
Vitalii Vorobiov [Mon, 6 Jun 2016 17:46:14 +0000 (20:46 +0300)]
edje_edit: fix map API (light, perspective, rotation)
it should be possible to set light or perspective to NULL
and return -1 when nothing is set
also ability to send NULL point to store rotation
@fix
Jean Guyomarc'h [Mon, 6 Jun 2016 17:30:07 +0000 (19:30 +0200)]
elementary: fix definition of external symbols
Introduced by elm_code. Broke the build (link) Mac OS X.
Daniel Kolesa [Mon, 6 Jun 2016 15:15:14 +0000 (16:15 +0100)]
eolian: we don't support unnamed structs/enums, so don't check
Daniel Kolesa [Mon, 6 Jun 2016 14:50:15 +0000 (15:50 +0100)]
eolian: remove the c_type_named_get APIs
These have inconsistent behavior and are generally unnecessary, so I'm
removing them. Use the c_type_get funcs instead.
Daniel Kolesa [Mon, 6 Jun 2016 14:22:56 +0000 (15:22 +0100)]
eolian: add a new references system to help replace pointers
It's now possible to mark struct fields and function params as "references",
which causes them to become pointers in C (in bindings, they become whatever
is necessary). They're not a part of the type and are much more restricted
than pointers, allowing bindings to be easier. This system will be gradually
utilized and expanded as required.
@feature
Stefan Schmidt [Mon, 6 Jun 2016 13:18:46 +0000 (15:18 +0200)]
examples: eio: remove unused variable
Stefan Schmidt [Mon, 6 Jun 2016 13:16:36 +0000 (15:16 +0200)]
examples: eio: mark unused parameter as such
Really shutting up warnings here to see what else the compiler has to say.
Stefan Schmidt [Mon, 6 Jun 2016 12:49:33 +0000 (14:49 +0200)]
tests: evas: remove unused variable
We set it but never going to use it afterwards. We already tests the
efl_gfx_buffer_colorspace_get() elsewhere in this tests so we can ignore it
for now until we need it and bring it back together with a user.
Andy Williams [Mon, 6 Jun 2016 13:14:24 +0000 (14:14 +0100)]
elementary_code: Fix test failures post-merge
Looks like some were legitimate failures that were not being caught
in the previous setup
Andy Williams [Sun, 5 Jun 2016 23:01:34 +0000 (00:01 +0100)]
elementary_code: Use correct theme file post-merge
Tom Hacohen [Sun, 5 Jun 2016 10:12:13 +0000 (11:12 +0100)]
Merge elm code, a code editing widget into the efl
It was decided to merge this and mark the code as BETA for now.
It's currently being used by EDI and should also be used by enventor and etc.
Stefan Schmidt [Mon, 6 Jun 2016 12:17:07 +0000 (14:17 +0200)]
benchmark: remove unused variable
Looks like this was forgotten during some re-factoring of the code.
Stefan Schmidt [Mon, 6 Jun 2016 12:16:28 +0000 (14:16 +0200)]
benchmark: mark parameter as unused to ignore compile warning