Jean-Philippe Andre [Thu, 22 Dec 2016 01:42:10 +0000 (10:42 +0900)]
box: Fix bad floating point comparison
This led to a completely invalid layout when using the Ui.Box
widget. Clearly the patch hasn't been thought through and tested
properly.
No comment.
Fixes
dc022d602d3e7d396137bb6bfb290e70880d89dd
Jean-Philippe Andre [Wed, 21 Dec 2016 09:09:15 +0000 (18:09 +0900)]
edje_cc: Redefine STRDUP with eina
Jaehwan Kim [Thu, 22 Dec 2016 01:16:32 +0000 (10:16 +0900)]
edje_pick: include the resources that is only used.
When it pick any groups, it just includes the resources that is used
in those groups.
Bruno Dilly [Thu, 22 Dec 2016 01:04:48 +0000 (23:04 -0200)]
Merge branch 'devs/bdilly/edje_multiseat_filter'
This series add support to filter events per seat
on edje parts.
With the flag allowed_seats the developer may choose which
seats are allowed to input each part.
Also it adds functions to embryo to set/unset focus, since
it's relevant when writting multiseat applications with
dynamic seats (not fixed number of seats). Seats are
optional arguments on such functions.
Reviewed By: iscaro
Differential Revision: https://phab.enlightenment.org/D4499
@feature
Bruno Dilly [Fri, 9 Dec 2016 21:50:33 +0000 (19:50 -0200)]
examples/edje: add seat filtering example
4 widgets:
* seat1 only
* seat2 only
* seat1 + seat2
* any seat
Bruno Dilly [Wed, 7 Dec 2016 23:10:34 +0000 (21:10 -0200)]
edje: support filtering allowed seats per part
collections.group.parts.part.allowed_seats keeps a list
of seat names to be used for events filter.
So when evas devices of seat type are added, filters
may be applied for each part.
If no seat is listed, every seat may interact with such
part.
Bruno Dilly [Wed, 14 Dec 2016 05:02:00 +0000 (03:02 -0200)]
edje: clean erroneous documentation
Not implemented functions
Bruno Dilly [Wed, 14 Dec 2016 04:58:53 +0000 (02:58 -0200)]
edje: add function on embryo to control focus
Add set_focus(part_id) and unset_focus().
Both functions accept an optional argument "seat_name".
If not provided default seat will be assumed.
Bruno Dilly [Wed, 14 Dec 2016 04:55:59 +0000 (02:55 -0200)]
edje: refactor _edje_program_run for FOCUS_SET action
Improve code readability and avoid code repetition.
Cedric BAIL [Thu, 22 Dec 2016 00:38:16 +0000 (16:38 -0800)]
eina: try slight improvement of eina tests suite.
Still need to go through individual test to improve them.
Cedric BAIL [Thu, 22 Dec 2016 00:24:20 +0000 (16:24 -0800)]
efl: add helper to run tests suite under valgrind.
Cedric BAIL [Thu, 22 Dec 2016 00:23:44 +0000 (16:23 -0800)]
efl: improve help displayed by each tests suite.
Cedric BAIL [Wed, 21 Dec 2016 19:35:01 +0000 (11:35 -0800)]
eldbus: always run the main loop.
Now that future result are always delayed, we always need to run
the main loop to collect them.
Cedric BAIL [Wed, 21 Dec 2016 19:33:10 +0000 (11:33 -0800)]
ecore: we need to process future and promise before the internal start loop.
Chris Michael [Wed, 21 Dec 2016 18:18:02 +0000 (13:18 -0500)]
evas: don't use float comparison for integers
As derek pointed out, 'stride' here is an integer so does not need a
float comparison, so just use a simple integer comparison.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Wed, 21 Dec 2016 18:01:32 +0000 (19:01 +0100)]
eolian: fix doc tests to match generation output
Daniel Kolesa [Wed, 21 Dec 2016 14:12:58 +0000 (15:12 +0100)]
eolian gen: fix enum member reference generation
Daniel Kolesa [Wed, 21 Dec 2016 14:07:46 +0000 (15:07 +0100)]
edje object: fix doc refs for part_external_param_type
Daniel Kolesa [Wed, 21 Dec 2016 13:41:05 +0000 (14:41 +0100)]
edje object: return EDJE_EXTERNAL_PARAM_TYPE_MAX properly
The getter of part_external_type should return this enum value
on error. Thanks Artem Popov for original fix, which however
involved using an integer value directly instead of the less
error-prone enum (see D4502).
Stefan Schmidt [Wed, 21 Dec 2016 09:42:34 +0000 (10:42 +0100)]
Revert "build: enable -Wfloat-equal for compiling"
This reverts commit
25792d64165ad4f5f647a36f087af2d2206a6618.
100 patches later the build output is still noisy with all these warnings.
I'm happy to see this warnings added to the default CFLAGS once the current
warnings have been dealt with.
Enable this warning in the local CFLAGS, get the current warnings fixed,
add it to the efl default flags to make the warning prominent for newly added
code.
Carsten Haitzler (Rasterman) [Wed, 21 Dec 2016 08:58:38 +0000 (17:58 +0900)]
evas gl engine - fix loading of pager backgrounds in e again...
fixes recent commitby jpeg
Carsten Haitzler (Rasterman) [Wed, 21 Dec 2016 06:37:47 +0000 (15:37 +0900)]
eina freeq - add ability to set freeval and add a final freeval
this allows environment variables to set the byte falue to fill a
freeq item added to the queue and then another item to actually fill
memory with just before the free function so memory content difference
will tell you if its inside the free queue or already freed from it
completely. if you set tyhe freed value to 0 this will not fill with a
value just before free and leave the value as-is determined by the
first fill pattern value.
Carsten Haitzler (Rasterman) [Wed, 21 Dec 2016 01:06:32 +0000 (10:06 +0900)]
eina freeq - add explicit bypass on/off env var controls
this fixes T5032
Jean-Philippe Andre [Tue, 20 Dec 2016 08:07:50 +0000 (17:07 +0900)]
evas: Try to fix compilation with EGLAttrib
Jean-Philippe Andre [Tue, 20 Dec 2016 08:56:09 +0000 (17:56 +0900)]
evas: Fix image save with GL engine and orientation
This fixes evas_object_image_save after changing the orientation
of an image in the GL engine. In SW engine the pixel data is rotated
in memory, so things worked fine from the beginning. In GL we may
have to go through loops and hoops in order to rotate and fetch the
data from the GL texture.
This should fix ce45d44.
Jean-Philippe Andre [Tue, 20 Dec 2016 10:00:10 +0000 (19:00 +0900)]
ecore_evas_convert: Fix crazy use of objects from a thread
I did that originally to implement a slightly nice way for
Ctrl+C to work. But it was clearly a hack (as mentioned in
the comments), and stopped working since domains were
introduced.
Should we rename this standalone tool as "efl_image_convert",
or even just "efl_convert"?
Woochan Lee [Wed, 21 Dec 2016 00:08:42 +0000 (16:08 -0800)]
elmentary: prevent crash in multibuttonentry.
Summary: Do Null checking to prevent crash, if 'elm_object_text_get()' return NULL here.
Reviewers: Hermet, woohyun, jpeg, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4501
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jee-Yong Um [Wed, 21 Dec 2016 00:06:20 +0000 (16:06 -0800)]
doxygen: remove reference warnings.
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4503
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Marcel Hollerbach [Wed, 21 Dec 2016 00:04:29 +0000 (16:04 -0800)]
eina: add api for assessing the relative position of two rectangles
Summary:
the api returns if a rectangle is positioned above/below/right or left
of a other rectangle.
Code which does simular things are part of verne and e, i think its a good idea to provide api for that.
Test Plan: Just run the test suite
Reviewers: raster, jpeg, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D4489
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 21 Dec 2016 00:03:11 +0000 (16:03 -0800)]
edje: fix float comparison warning in vector loading logic.
Hum, there is no use of our fixed point infrastructure for vector.
Cedric BAIL [Wed, 21 Dec 2016 00:02:02 +0000 (16:02 -0800)]
edje: fix float comparison warning in edje programs.
Cedric BAIL [Wed, 21 Dec 2016 00:01:01 +0000 (16:01 -0800)]
edje: fix float comparison warning in edje text logic.
Cedric BAIL [Wed, 21 Dec 2016 00:00:26 +0000 (16:00 -0800)]
edje: fix float comparison warning in edje edit logic.
Cedric BAIL [Wed, 21 Dec 2016 00:00:05 +0000 (16:00 -0800)]
edje: fix float comparison warning in edje callback code.
Cedric BAIL [Tue, 20 Dec 2016 23:59:46 +0000 (15:59 -0800)]
edje: fix float comparison warning in edje calc.
Cedric BAIL [Tue, 20 Dec 2016 23:58:48 +0000 (15:58 -0800)]
edje: fix float comparison warning in Box Layout logic.
Cedric BAIL [Tue, 20 Dec 2016 23:47:57 +0000 (15:47 -0800)]
edje: fix float comparison warning in edje_cc.
Cedric BAIL [Tue, 20 Dec 2016 23:47:31 +0000 (15:47 -0800)]
edje: fix float comparison warning in edje_external_inspector.
Cedric BAIL [Tue, 20 Dec 2016 23:47:06 +0000 (15:47 -0800)]
edje: fix float comparison warning in edje SVG loader.
Cedric BAIL [Tue, 20 Dec 2016 23:46:43 +0000 (15:46 -0800)]
edje: fix float comparison warning in edje_pick.
Cedric BAIL [Wed, 21 Dec 2016 00:01:28 +0000 (16:01 -0800)]
edje: add infrastructure to test value.
Cedric BAIL [Tue, 20 Dec 2016 23:44:51 +0000 (15:44 -0800)]
elementary: fix float comparison warning in player.
Cedric BAIL [Tue, 20 Dec 2016 23:44:32 +0000 (15:44 -0800)]
elementary: fix float comparison warning in popup.
Cedric BAIL [Tue, 20 Dec 2016 23:42:00 +0000 (15:42 -0800)]
elementary: fix float comparison warning in multi button entry.
Cedric BAIL [Tue, 20 Dec 2016 23:41:41 +0000 (15:41 -0800)]
elementary: fix float comparison warning in action slider.
Cedric BAIL [Tue, 20 Dec 2016 23:41:23 +0000 (15:41 -0800)]
elementary: fix float comparison warning in c&p.
Cedric BAIL [Tue, 20 Dec 2016 23:39:35 +0000 (15:39 -0800)]
elementary: fix float comparison warning in button.
Cedric BAIL [Tue, 20 Dec 2016 23:39:08 +0000 (15:39 -0800)]
elementary: fix float comparison warning for panes.
Cedric BAIL [Tue, 20 Dec 2016 23:17:01 +0000 (15:17 -0800)]
elementary: fix float comparison warning in map.
Cedric BAIL [Tue, 20 Dec 2016 23:16:17 +0000 (15:16 -0800)]
elementary: fix float warning in scroller.
Cedric BAIL [Tue, 20 Dec 2016 23:15:51 +0000 (15:15 -0800)]
elementary: fix float comparison warning in thumb.
Cedric BAIL [Tue, 20 Dec 2016 23:14:14 +0000 (15:14 -0800)]
elementary: fix float warning in progressbar.
Cedric BAIL [Tue, 20 Dec 2016 23:12:33 +0000 (15:12 -0800)]
elementary: fix float warning in Efl.Ui.Image.
Cedric BAIL [Tue, 20 Dec 2016 23:10:54 +0000 (15:10 -0800)]
elementary: fix float comparison warning in photocam.
Cedric BAIL [Tue, 20 Dec 2016 22:58:57 +0000 (14:58 -0800)]
elementary: fix float warning in Efl.Ui.Box_Layout.
Cedric BAIL [Tue, 20 Dec 2016 22:55:21 +0000 (14:55 -0800)]
elementary: fix float comparison warning in flip page test.
Cedric BAIL [Tue, 20 Dec 2016 22:54:59 +0000 (14:54 -0800)]
elementary: fix float comparison warning in bg test.
Cedric BAIL [Tue, 20 Dec 2016 22:53:32 +0000 (14:53 -0800)]
evas_cserve2: fix float comparison warning.
Cedric BAIL [Tue, 20 Dec 2016 22:52:53 +0000 (14:52 -0800)]
ethumb: fix float comparison warning.
Cedric BAIL [Tue, 20 Dec 2016 18:22:37 +0000 (10:22 -0800)]
ecore_input_evas: fix float comparison warning.
Cedric BAIL [Tue, 20 Dec 2016 18:21:02 +0000 (10:21 -0800)]
triangulator: fix float comparison warning.
Cedric BAIL [Tue, 20 Dec 2016 18:04:54 +0000 (10:04 -0800)]
evas: fix proper operator ordering with parentheses.
Cedric BAIL [Tue, 20 Dec 2016 17:40:03 +0000 (09:40 -0800)]
efl: in read only case this might get uninitialized.
Bruno Dilly [Tue, 20 Dec 2016 20:35:14 +0000 (18:35 -0200)]
Merge branch 'devs/iscaro/ecore_evas_cursor'
This series add new APIs to get the pointer position and set the
pointer icon by device
Patches by Guilherme Iscaro <iscaro@profusion.mobi>
Reviewed By: bdilly, jpeg, zmike
Differential Revision: https://phab.enlightenment.org/D4450
Guilherme Iscaro [Fri, 2 Dec 2016 19:17:53 +0000 (17:17 -0200)]
Ecore Evas: Add a new cursor example.
This example sets the cursor image of each available mouse and
report its position every one second.
Guilherme Iscaro [Wed, 30 Nov 2016 15:29:19 +0000 (13:29 -0200)]
Ecore Evas: Add support for multiple mouse positions.
Since it's possible to have more than one mouse, Ecore Evas
must take into account the position of all mouses and update them
correctly.
Guilherme Iscaro [Tue, 22 Nov 2016 18:14:03 +0000 (16:14 -0200)]
Ecore Evas: Add support to set cursor icon per mouse device.
Since Ecore Evas now supports multiple mouses new APIs were added
in order to be able to set the cursor image to any device.
Guilherme Iscaro [Mon, 21 Nov 2016 19:05:18 +0000 (17:05 -0200)]
Ecore Evas VNC: Add support for ecore_evas_pointer_device_xy_get().
This commit adds the support to fetch the mouse position of a VNC
client.
Guilherme Iscaro [Mon, 21 Nov 2016 17:57:05 +0000 (15:57 -0200)]
Ecore Wl2: Add ecore_wl2_window_pointer_device_xy_get() API.
This commit adds a Wayland specific function to fetch a mouse
position.
Guilherme Iscaro [Mon, 21 Nov 2016 17:11:08 +0000 (15:11 -0200)]
Ecore Evas: Add API to set/get the pointer position per device.
Since Ecore Evas now support multiple mouse devices new APIs were
added in order to fetch the mouse position.
Felipe Magno de Almeida [Tue, 20 Dec 2016 18:55:59 +0000 (15:55 -0300)]
eolian-cxx: Add std::move to member variable initialization
CID 1361231
Felipe Magno de Almeida [Tue, 20 Dec 2016 18:50:18 +0000 (15:50 -0300)]
eolian-cxx: Make class_definition lambda's catch parameter by const-reference
CID 1361230
CID 1361234
Felipe Magno de Almeida [Tue, 20 Dec 2016 18:33:57 +0000 (15:33 -0300)]
eina-cxx: Add visit_unsafe to eina::variant and make ~variant possibly noexcept
visit_unsafe member function visits the variant but assumes the
pre-condition that the variant is not empty. This avoids the
possibility of throwing an exception when the destructors
of the types used in variant are also guaranteed to be
noexcept.
CID 1367508
Felipe Magno de Almeida [Tue, 20 Dec 2016 18:26:35 +0000 (15:26 -0300)]
eina-cxx: Add move constructor and move assignment operator for eina::variant
CID 1362797
Derek Foreman [Tue, 20 Dec 2016 16:24:50 +0000 (10:24 -0600)]
headers: update copyright
Chris Michael [Tue, 20 Dec 2016 16:27:18 +0000 (11:27 -0500)]
embryo: Fix typo in float comparison 'fix'
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 16:26:10 +0000 (11:26 -0500)]
Revert "ethumb: remove float comparison warnings"
This broke building and needs to be fixed differently
This reverts commit
8120572d08ef39a6f3a1a1cff0be912fa469c85d.
Chris Michael [Tue, 20 Dec 2016 16:20:43 +0000 (11:20 -0500)]
embryo: Fix typo
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 16:16:59 +0000 (11:16 -0500)]
ethumb: remove float comparison warnings
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Derek Foreman [Tue, 20 Dec 2016 15:34:07 +0000 (09:34 -0600)]
evas engines: Use EGLImageKHR instead of EGLImage
If someone's trying to build efl git with 2.5 year old EGL headers they get
a break on missing EGLImage...
We should probably consider keeping an up to date copy of the EGL headers
in efl. There may be someone out there with even older headers.
Chris Michael [Tue, 20 Dec 2016 16:13:40 +0000 (11:13 -0500)]
emotion: remove float comparison warnings
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 16:03:50 +0000 (11:03 -0500)]
embryo: remove float comparison warnings
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 16:01:27 +0000 (11:01 -0500)]
efreet: remove float comparison warnings
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:59:55 +0000 (10:59 -0500)]
ector: remove float comparison warnings
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:55:08 +0000 (10:55 -0500)]
evas: remove float comparison warnings from evas_object_image
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:30:04 +0000 (10:30 -0500)]
ecore-fb: remove float comparison warnings for ecore_fb_li
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:28:39 +0000 (10:28 -0500)]
ecore-evas: remove float comparison warnings for ecore_evas.c
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:25:01 +0000 (10:25 -0500)]
evas: remove float comparison warnings for evas_filter_mixin
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:23:12 +0000 (10:23 -0500)]
evas: remove float comparison warnings for evas_convert_color
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:22:22 +0000 (10:22 -0500)]
evas: remove float comparison warnings for evas_canvas3d_primitive
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:21:16 +0000 (10:21 -0500)]
evas: remove float comparison warnings for evas_canvas3d_mesh
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:17:47 +0000 (10:17 -0500)]
evas: remove float comparison warnings for evas_canvas3d_scene
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:16:35 +0000 (10:16 -0500)]
evas: remove float comparison warnings for evas_canvas3d_node
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:08:14 +0000 (10:08 -0500)]
evas: remove float comparison warnings for evas_cs2_client
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:06:44 +0000 (10:06 -0500)]
evas: remove float comparison warnings for evas_cache2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:05:48 +0000 (10:05 -0500)]
evas: remove float comparison warnings for evas_cache_image
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:03:32 +0000 (10:03 -0500)]
evas: remove float comparison warnings for evas_object_textgrid
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:02:48 +0000 (10:02 -0500)]
evas: remove float comparison warnings for efl_canvas_image
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 15:02:36 +0000 (10:02 -0500)]
evas: remove float comparison warnings for efl_input_pointer
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 20 Dec 2016 14:47:57 +0000 (09:47 -0500)]
evas: remove float comparison warnings for evas_map
Signed-off-by: Chris Michael <cp.michael@samsung.com>