Jean-Philippe Andre [Thu, 22 Jun 2017 03:06:31 +0000 (12:06 +0900)]
eo: Improve invalid EO ID error message
This focus on the domain and ID bits is very confusing. Let's
keep it at the end of the message, and also try to guess whether
the object may have been deleted or simply doesn't belong to the
current thread.
Jean-Philippe Andre [Thu, 22 Jun 2017 02:47:42 +0000 (11:47 +0900)]
evas: Lower log level for animator tick cbs
This doesn't deserve to be INF, it's really low-level debug
information.
Amitesh Singh [Thu, 22 Jun 2017 02:11:50 +0000 (11:11 +0900)]
Efl.Ui.Slider: move legacy APIs at the bottom of the file.
Stefan Schmidt [Wed, 21 Jun 2017 16:16:05 +0000 (18:16 +0200)]
eina: make sure the eina_debug_private.h header is included into dist
This has been missing in the dist tarball and failed distcheck.
Daniel Hirt [Tue, 20 Jun 2017 12:34:14 +0000 (15:34 +0300)]
Canvas text: set 'changed' on the object when text is inserted
This fixes missed updates with the "Ui.Text" when text was inserted.
Daniel Hirt [Tue, 20 Jun 2017 12:33:09 +0000 (15:33 +0300)]
Ui text: defer region show to job
This moves the region-show logic to the proper update job where
cursors are also updated.
Daniel Hirt [Tue, 20 Jun 2017 12:31:08 +0000 (15:31 +0300)]
Ui text: fix cursor api call
This widget doesn't have a text part.
Daniel Hirt [Wed, 21 Jun 2017 07:47:08 +0000 (10:47 +0300)]
Canvas layout: fix part text cursor geometry port
Forgot to consider the edje object's offset when porting the code
to efl_part (see
98dad1a52b0c75c18191b069c87ebb6f493e74ca).
This fixes a few bugs, one of which is region_show for the scrollable
mode.
Jean-Philippe Andre [Wed, 21 Jun 2017 06:33:16 +0000 (15:33 +0900)]
slider: Fix slider legacy API
See
4e79dd0f02811a013b461d4839f14a48ee9b1c2f
That patch was absurd. Do not change the use of a legacy stable
API when you change an EO API. If you need to do that then there
is very clearly a problem in the patch.
This reverts the test case to use the legacy API (which in turn
calls the EO API anyway so both are tested).
Fixes T5587
Chris Michael [Tue, 20 Jun 2017 15:59:36 +0000 (11:59 -0400)]
ecore-wl2: Fix issue(s) of setting wrong event device
As we may have both a pointer and touch device on a given system, we
need to accurately set event->device when sending mouse move, wheel,
down, and up events. Previous code here would always try to find a
mouse device first which could potentially end up setting the wrong
event->device (if a touch device also existed).
This patch fixes the issue by comparing the window used for the event
to our focused windows (either mouse or touch) and setting the proper
event->device based on that.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Vincent Torri [Tue, 20 Jun 2017 05:29:24 +0000 (14:29 +0900)]
examples/elm: Use POSIX threads on Windows
Vincent Torri [Tue, 20 Jun 2017 05:19:13 +0000 (14:19 +0900)]
examples/net: Fix compilation on Windows
Vincent Torri [Tue, 20 Jun 2017 05:17:09 +0000 (14:17 +0900)]
examples/net: Fix compilation on Windows (no getline)
Thnaks @vtorri who authored this patch
Jean-Philippe Andre [Tue, 20 Jun 2017 05:16:40 +0000 (14:16 +0900)]
examples/net: Use PRIi64 where appropriate
Fixes a warning on Windows. Thanks @vtorri
Jean-Philippe Andre [Tue, 20 Jun 2017 05:09:57 +0000 (14:09 +0900)]
cxx examples: Fix button example 00
Text part API has changed.
Sanjeev BA [Mon, 19 Jun 2017 20:54:33 +0000 (13:54 -0700)]
Documentation for elm_code_widget_selection.
Reviewers: jpeg, ajwillia.ms
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4981
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Mon, 19 Jun 2017 20:51:13 +0000 (13:51 -0700)]
evas: batman use legacy API only.
smohanty [Mon, 19 Jun 2017 20:50:24 +0000 (13:50 -0700)]
evas/vg: Fixed the build issue in evas_vg_simple example
Reviewers: jpeg, vtorri
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4980
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Youngbok Shin [Mon, 19 Jun 2017 20:47:40 +0000 (13:47 -0700)]
evas: fix version info for evas_language_direction_get
Summary:
The patch was created for EFL 1.18. But, it was merged for EFL 1.20.
@fix
Test Plan: N/A
Reviewers: herdsman, jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D4968
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Lauro Moura [Mon, 5 Jun 2017 20:43:21 +0000 (17:43 -0300)]
js: Update after Eolian_Unit API change
Lauro Moura [Fri, 19 May 2017 00:23:58 +0000 (21:23 -0300)]
js: Update after many elm/efl.ui changes
- Win.Standard
- Photocam to Image.Zoomable rename
- Widget namespace changes (elm -> efl.ui)
- setText/setPartText changes (see
3eb649b18)
Daniel Hirt [Mon, 19 Jun 2017 06:49:19 +0000 (09:49 +0300)]
Evas text: fix test with Oriya script
We are not providing a font to test that specific script.
Commenting-out this test until we can find one with proper license.
This fixes the test suite fail case.
@fix
Daniel Hirt [Thu, 15 Jun 2017 10:37:17 +0000 (13:37 +0300)]
Efl text cursor: move around a few definitions
Need to handle this with special care as Efl.Text.Cursor is used in
some functions that are specific to Efl.Canvas.Text, was well as
functions in Efl.Text.Cursor interface.
Daniel Hirt [Thu, 15 Jun 2017 09:30:55 +0000 (12:30 +0300)]
Efl text format: change "halign" and "valign" to use enums
Value-based alignment (e.g. 0.5, 0.3 etc) isn't very practical.
Horizontal and vertical alignments will be assigned with enums
"left", "center", "right", "auto", "locale", for horizontal alignment,
and "top", "center" and "bottom" for vertical alignment.
This changes the previously added "halign" and "valign" properties.
Daniel Hirt [Sun, 18 Jun 2017 07:13:05 +0000 (10:13 +0300)]
Canvas text: fix default format feature
Now that we can set the default parameters, there's no need to push
another one when having a style tag.
This fixes T5585.
Woochan Lee [Mon, 19 Jun 2017 03:01:31 +0000 (12:01 +0900)]
test_multibuttonentry: Fix name of smart event for expand state changed.
Summary: There is no name of event for "shrink,state,changed"
Reviewers: jpeg, cedric, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4969
Woochan Lee [Mon, 19 Jun 2017 03:00:30 +0000 (12:00 +0900)]
multibuttonentry: Fix expand state changed callback called many times.
Summary:
The expand state changed callback has been called when layout property changed and other reason.
Even expand state is not changed.
So we need to check the current view state to call expand changed callback.
(We can't prevent calling the _shrink_mode_set() function. It needs to call the re-arrange internal items.)
Test Plan:
elemenatay_test - multibuttonentry.
Check the shrink, expand state.
Reviewers: jpeg, cedric, woohyun
Reviewed By: jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4970
Bryce Harrington [Mon, 19 Jun 2017 02:47:16 +0000 (11:47 +0900)]
ecore_evas: Document remaining new/get calls for misc. backends
Summary:
This completes the documentation for Ecore_Evas for all (non-deprecated)
APIs.
Note that ecore_evas_software_16_ddraw_new, ecore_evas_direct3d_new,
ecore_evas_gl_glew_new, and ecore_evas_sdl16_new are left undocumented
because while they're not declared as deprecated their implementations
are either missing or marked as obsolete or legacy. I suspect a few of
the remaining routines are likely also obsolete but I added
documentation anyway.
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4972
Jeeyong Um [Mon, 19 Jun 2017 04:19:30 +0000 (13:19 +0900)]
example: Add missing definition to invoke EO API
Felipe Magno de Almeida [Sun, 18 Jun 2017 23:01:55 +0000 (20:01 -0300)]
eolian-cxx: Add constructor with default argument
Fixes compilation error in clang. T5588
Andy Williams [Sun, 18 Jun 2017 15:13:44 +0000 (16:13 +0100)]
elementary: fix typos and warnings in my menu changes
Lauro Moura [Fri, 7 Apr 2017 16:54:55 +0000 (13:54 -0300)]
eolian: function pointers
First steps toward explicit function pointer support in eolian.
To declare a function pointer type, use the following syntax, similar to
a regular eolian method declaration.
function FunctionName {
params {
...
}
return: Return type
}
Felipe Magno de Almeida [Sun, 18 Jun 2017 14:30:00 +0000 (11:30 -0300)]
eolian-cxx: Fix C++ generation errors with handle opaque types
Andy Williams [Sat, 17 Jun 2017 17:00:34 +0000 (18:00 +0100)]
elementary: Balance menu operations with an open method
Andy Williams [Sat, 17 Jun 2017 16:59:40 +0000 (17:59 +0100)]
elm_code: Fix select-all column calculations
Sanjeev BA [Sat, 17 Jun 2017 16:16:24 +0000 (17:16 +0100)]
Add support for select all with ctrl-a
Summary: Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>
Test Plan: Test with edi.
Reviewers: ajwillia.ms, jpeg, cedric
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4971
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: add null checks for textblock stuff
this prevents a crash when starting verne but should be reverted when
a more appropriate fix can be put in place
ref T5585
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
theme: set NOGRAB on all border event rects when e22 signal received
these are used in signal bindings and it's possible that a "resize" rect
could be set to trigger a move operation
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
build: add flag to disable elua
build times are already insanely long, every little bit helps
@feature
Jean-Philippe Andre [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: Always send mouse,move after mouse,in to objects
Fixes T5582
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
ecore-drm2: add ecore_drm2_output_subpixel_get()
@feature
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
elput: remove keymap mmap+event
this was originally intended to allow some code to be moved out of the
compositor, but the idea turned out to be unfeasible since multiple
display backends need to be supported and not all related components
will provide similar functionality
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: store current pointer state to dummy seat data if seat detaches
ensure the pointer state is maintained when devices are removed and added
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: create dummy seat data for wl/drm outputs, store some pointer data
with async device init, it's possible for mouse in/out/move events to be added
by an application before the pointer devices are created. these are independent
of devices, so store the state and apply when pointer devices are added
fix T5531
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: change _evas_pointer_data_add() to return created pointer data
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: redo Evas_Pointer_Data/Seat to be inlist-based
simplify many internal lookups of pointer data and make hierarchy reflect
logical device hierarchy
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
ecore-evas: block buffer canvas events during deletion
internal evas is destroyed before engine delete function is called,
so do not refeed events received during this time
@fix
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
efreet: don't raise ERR on empty file in efreet_xml_new()
this is not an error, there is nothing to parse
@fix
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: only feed canvas out/in when changing default pointer if pointer is in
ref
6775b23212305c957f4447c708053585f361bb86
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
ecore-evas: use pointer device with mouse move events instead of seat
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: add seat-based focus interceptor
@feature
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: unify more complex conditional clauses in evas_events.c
no functional changes
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: unify complex repeated conditional clauses in evas_events.c
this code is unreadable
no functional changes
Carsten Haitzler (Rasterman) [Fri, 16 Jun 2017 09:40:44 +0000 (18:40 +0900)]
readme - fix docs url.
Amitesh Singh [Fri, 16 Jun 2017 07:14:37 +0000 (16:14 +0900)]
Efl.Ui.Progressbar: rename data get macros.
Amitesh Singh [Fri, 16 Jun 2017 07:11:42 +0000 (16:11 +0900)]
Efl.Ui.Check: rename data get macros
Amitesh Singh [Fri, 16 Jun 2017 07:07:27 +0000 (16:07 +0900)]
Efl.Ui.Slider: rename data get macros
Chris Michael [Thu, 15 Jun 2017 17:09:34 +0000 (13:09 -0400)]
Revert "ecore-wl2: Add API to support setting window stack mode"
This commit reverts support for added API functions inside Ecore_Wl2
to support setting window stacking mode as per IRC discussion with
Cedric
This reverts commit
1359fc9e5feb7e2f9b0cdf10b25af43a6437b93b.
Chris Michael [Thu, 15 Jun 2017 17:08:39 +0000 (13:08 -0400)]
Revert "ecore-evas-wayland: Add support for setting window stack mode"
This commit reverts support for setting window stacking mode from
ecore_evas_wayland as per IRC dicussion with cedric
This reverts commit
a3cf0d3a54f54cccfb48dc2234dada147c30f419.
Chris Michael [Thu, 15 Jun 2017 15:39:27 +0000 (11:39 -0400)]
ecore-evas-wayland: Add support for setting window stack mode
This patch adds support for updating ecore_wl2_window stack mode when
the ecore_evas_layer_set is called.
"#divergence"
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 15 Jun 2017 15:34:50 +0000 (11:34 -0400)]
ecore-wl2: Add API to support setting window stack mode
Small patch to add support for setting stack mode on a given window
"#divergence"
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 15 Jun 2017 15:07:48 +0000 (11:07 -0400)]
ecore-wl2: Add API to get/set if a window is in floating mode
Small patch to add API functions which allow getting/setting if a
window is in floating mode
"#divergence"
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 15 Jun 2017 14:53:08 +0000 (10:53 -0400)]
ecore-wl2: Add API to set window role
Small patch to add support for setting a window role on a given window
"#divergence"
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 15 Jun 2017 14:42:28 +0000 (10:42 -0400)]
ecore-evas-wayland: Add support for focus_skip_set
This patch adds support for ecore_evas_focus_skip_set in the wayland
engine.
"#divergence"
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 15 Jun 2017 14:35:45 +0000 (10:35 -0400)]
ecore-wl2: Add API to get if a window should ignore focus events
Small patch to add an API function which can be used to find out if a
given window is set to skip focus events.
"#divergence"
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 15 Jun 2017 14:32:25 +0000 (10:32 -0400)]
ecore-wl2: Add API to set if a window should skip focus
Small patch to add an API function which can be called to set if a
window should skip focus.
"#divergence"
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Jaehyun Cho [Thu, 15 Jun 2017 12:40:51 +0000 (21:40 +0900)]
elm_panes: Refactoring of focus_next
To handle ELM_FOCUS_UP/DOWN/RIGHT/LEFT in focus_next, refactoring is
done.
Jean-Philippe Andre [Thu, 15 Jun 2017 11:26:54 +0000 (20:26 +0900)]
evas: Fix mouse events in inlined windows
There is a mismatch between seat & pointer.
See @zmike's comments in T5515. Having both seat and pointer
devices as different devices leads to these kinds of issues.
Really annoying.
Ref T5515
Jean-Philippe Andre [Thu, 15 Jun 2017 10:49:44 +0000 (19:49 +0900)]
evas: Fix compilation with DDD_DO
This enables some insane debugging for input events inside evas.
Also, declutter the code by always providing the "spaces" variable.
Obviously this is not enabled :)
Jihoon Kim [Thu, 15 Jun 2017 10:07:34 +0000 (19:07 +0900)]
ecore_imf: fix wrong doxygen
Jean-Philippe Andre [Thu, 15 Jun 2017 08:54:45 +0000 (17:54 +0900)]
evas: Fix crash when window can not be created
Example, without any running wayland compositor:
ELM_DISPLAY=wl runsomeapp
elm_win runs efl_constructor() during finalize() which is wrong
and leads to this kind of inconsistencies. Urgh.
Jean-Philippe Andre [Thu, 15 Jun 2017 08:32:59 +0000 (17:32 +0900)]
cnp: Fix copy & paste in inwin inside wayland
Scenario:
ELM_DISPLAY=wl elementary_test -to "Window Inline"
Copy & paste some stuff between entries inside the inwins and
also in a standard window.
Jean-Philippe Andre [Thu, 15 Jun 2017 07:34:22 +0000 (16:34 +0900)]
cnp: Avoid CRI message about wayland in X
Test scenario:
elementary_test -to "Window Inline"
Click on an entry, select some text (maybe with the keyboard)
There was a CRI message inside _ecore_evas_interface_get because
ecore_evas_wayland2_window_get() was called on an X11 ecore_evas
(not wayland).
The function was supposed to return NULL here.
Jean-Philippe Andre [Thu, 15 Jun 2017 02:12:00 +0000 (11:12 +0900)]
widget: Move mirrored_automatic to Efl.Ui.Base
This is, unlike what some of the documentation says, a public
API on elm_object. Let's place it along mirrored for consistency,
even if edje object will not implement it.
Ref T5363
Jean-Philippe Andre [Thu, 15 Jun 2017 01:38:33 +0000 (10:38 +0900)]
win: Implement Efl.Canvas device & seat get
By name or id
Vincent Torri [Thu, 15 Jun 2017 06:58:05 +0000 (15:58 +0900)]
elm+evas - windows - fix alt+f4 to work without losing alt key
fixes T5581
Youngbok Shin [Tue, 13 Jun 2017 10:15:12 +0000 (13:15 +0300)]
evas textblock: add align=locale option to respect locale's direction
Summary:
There are many requests to add a new feature for handling horizontal align
according to current locale. For example, in RTL locale setting,
users want to see right aligned text for every list's item.
Even if some of list's items only contain LTR characters!
It is useful for the needs.
@feature
Test Plan: N/A
Reviewers: herdsman, tasn, woohyun, raster, cedric
Reviewed By: herdsman, raster
Subscribers: z-wony, jpeg
Differential Revision: https://phab.enlightenment.org/D4664
Amitesh Singh [Thu, 15 Jun 2017 04:52:54 +0000 (13:52 +0900)]
efl.ui.slider: rename data members related to interval apis
no change in functionality. It improves the code readbility.
ref T5361
Amitesh Singh [Thu, 15 Jun 2017 04:29:51 +0000 (13:29 +0900)]
intf: range: rename unit_format to range_unit_format
ref T5361
Amitesh Singh [Thu, 15 Jun 2017 03:00:45 +0000 (12:00 +0900)]
slider: remove range APIs
move this api into range intf and rename it
to interval
ref T5361
Amitesh Singh [Thu, 15 Jun 2017 01:31:25 +0000 (10:31 +0900)]
intf: rename progress to range
This is more appropriate name especially on slider widget.
ref T5361
Andrii Kroitor [Thu, 15 Jun 2017 03:17:39 +0000 (12:17 +0900)]
examples: fix ecore_exe_child example to work properly on Windows
Summary: ecore_main_fd_handler_add is not working on Windows
Reviewers: vtorri, raster
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4470
Jean-Philippe Andre [Thu, 15 Jun 2017 01:16:53 +0000 (10:16 +0900)]
elm: Fix make check (change in atspi role of MBE)
See
da5ba14664b71f19afc3359f36ff11442012d19a
Ref D4925
Bryce Harrington [Thu, 15 Jun 2017 01:09:30 +0000 (10:09 +0900)]
ecore_evas: Document the drm and gl drm window constructors
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4965
Jean-Philippe Andre [Thu, 15 Jun 2017 00:56:59 +0000 (09:56 +0900)]
evas: Disable calls to evas_device_class_set
After finalize, the type of an input device can not be changed.
So, deprecate the function and prevent anything from happening
unless we're inside efl_add().
Ref T5515
Jean-Philippe Andre [Wed, 14 Jun 2017 11:17:29 +0000 (20:17 +0900)]
widget: Make cursor_add/del internal
This API is meant to be used internally to elm, not from outside.
The public API only exposes part_cursor_set on layout, and a series
of cursor EAPIs.
Bryce Harrington [Wed, 14 Jun 2017 21:27:15 +0000 (14:27 -0700)]
ector: document ector_glsym_set
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4964
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Bryce Harrington [Wed, 14 Jun 2017 21:26:26 +0000 (14:26 -0700)]
ecore_evas: document client leader routines
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4963
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Youngbok Shin [Wed, 14 Jun 2017 21:24:04 +0000 (14:24 -0700)]
edje: add efl_version property
Summary:
efl_version will be used to figure out which version of EFL lib
is used to develop a edje file.
If there is no property of efl_version, it will be 1.19 as default.
This feature is needed to fix T5548.
Example:
efl_version: 1 20
@feature
Test Plan: N/A
Reviewers: cedric, jpeg, herdsman, zmike, raster
Reviewed By: cedric
Maniphest Tasks: T5548
Differential Revision: https://phab.enlightenment.org/D4961
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 14 Jun 2017 21:17:18 +0000 (14:17 -0700)]
evas: forgotten unecessary initialization.
Cedric BAIL [Wed, 14 Jun 2017 19:42:25 +0000 (12:42 -0700)]
evas: use Eina_List instead of Eina_CList for event grabber.
Eina_Clist can actually change the pointer in the cell next bypassing
the CoW infrastructure leading to trouble. Considering the case here,
using the optimization of Eina_Clist is not necessary and if performance
issue arise, can be fixed by using a dichotomic search when removing
data. I don't think it is necessary to add this complexity without
a real life case.
Cedric BAIL [Wed, 14 Jun 2017 19:20:36 +0000 (12:20 -0700)]
evas: allow list for _evas_event_object_list_in_get utility function.
Andy Williams [Wed, 14 Jun 2017 18:38:43 +0000 (19:38 +0100)]
elm_code: Fix make check
The tests were using some code that became somewhat invalid, adjusting tests
Cedric BAIL [Wed, 14 Jun 2017 17:00:04 +0000 (10:00 -0700)]
evas: actually free the cow allocated memory.
Cedric BAIL [Tue, 13 Jun 2017 16:36:33 +0000 (09:36 -0700)]
Revert "Revert "evas: put events related pointer into a cow to reduce evas_object fat.""
This reverts commit
f9d3219c1739d7abea16fecd92fcc0981ddf801c.
Carsten Haitzler (Rasterman) [Wed, 14 Jun 2017 08:11:59 +0000 (17:11 +0900)]
evas xpm loader - remove tabs and clean up formatting
just non-code changes here...
Carsten Haitzler (Rasterman) [Wed, 14 Jun 2017 07:51:08 +0000 (16:51 +0900)]
evas xpm loader - remove the rgb txt file db loading and compile in
so modern systems seem to have abandoned rgb.txt files. this leads to
us breaking the loading of xpm files tha use color names ... i added
the rgbt.txt from vim but that didn't seem to help... odd... so to just
stop adding path after path to load... ship our own. we could ship the
file... but then we'd still have to load and parse it... every time we
look up a color. so i munged the data with awk and now we compile it
in. it should consume the same space the rgb.txt does in the shared lib
binary. if not read it shouldn't be paged in. it should end up cheaper
than our floaing of the file and mmaping it when xpm module is
loaded/initted... so either way more efficient, uses a little less ram
(12306 bytes vs 17780 for the rgb.txt) ... and bonus - dont have
an extenral out-of-code data blob to find, manage install etc...
this means we should load xpms with colornames correctly again on
systems without an rgb.txt provided by x11 ... which seems to be the
common case now. :(
@fix
Carsten Haitzler (Rasterman) [Wed, 14 Jun 2017 06:13:18 +0000 (15:13 +0900)]
test suite - evas - fix xpm ref image - it was badly broken...
since rgb.txt has seemingly disappeared from systems we didnt parse
colornames (missing the colorname db entirely) and the test image was
generated using a broken missing rgb.txt thus colors were wrong. a
recent fix made evas find colornames again...
Jean-Philippe Andre [Wed, 14 Jun 2017 07:47:51 +0000 (16:47 +0900)]
tests: Remove invalid call to elm_run
Nothing is supposed to happen here. Just exit after running
the checks. Don't wait for something to happen until eternity...
Jean-Philippe Andre [Wed, 14 Jun 2017 06:07:28 +0000 (15:07 +0900)]
tests: Fix eina_thread_queue test case 5 & 6
ecore_test_ecore_thread_eina_thread_queue_t6 failed often for me.
eina_thread_queue_wait() was returning NULL.
I believe this is because the test case ended abruptly without
waiting for the threads to finish. Indeed, both threads tried
hard to reach 10000 messages but it didn't make sense for them
both to reach this value, only one would end there.
This patch adds an exit message sent by thread 1 to the two other
threads, and all threads are waited upon using a single semaphore.
Note: This also renames some functions to match their test case
number.
@raster