Thiep Ha [Wed, 18 Oct 2017 01:51:04 +0000 (10:51 +0900)]
textpath: get the right size of text object
Recent change to use EINA_SIZE2D made the size be gotten incorrectly.
This corrects it.
Cedric Bail [Tue, 17 Oct 2017 23:14:26 +0000 (16:14 -0700)]
eina: use a stringshare to store the filename internally.
T6164
Cedric Bail [Tue, 17 Oct 2017 23:11:25 +0000 (16:11 -0700)]
eina: fix eina_hash_stringshared_new to actually compute the hash on the pointer.
Before this patch, the key would always be zero and the hash would solely
rely on the rbtree to be efficient. This improve the situation by using the pointer
as the key during hash computation.
Cedric Bail [Tue, 17 Oct 2017 23:09:57 +0000 (16:09 -0700)]
eina: refactor eina hash computation of key length and hash value.
Prince Kumar Dubey [Tue, 17 Oct 2017 18:03:10 +0000 (11:03 -0700)]
elementary: fix double assignment
Summary: local variable "bp" assigned twice unnecessarily. The duplicate assignment is removed.
Reviewers: raster, cedric, jpeg
Subscribers: jpeg, rajeshps
Differential Revision: https://phab.enlightenment.org/D5323
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Bowon Ryu [Tue, 17 Oct 2017 18:00:50 +0000 (11:00 -0700)]
eina: add missing documentation for quad.
Summary: This adds missing doxgen documentation for eina_quad.
Test Plan: API Doxygen Revision
Reviewers: cedric, jpeg, myoungwoon
Differential Revision: https://phab.enlightenment.org/D5330
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Bowon Ryu [Tue, 17 Oct 2017 17:56:12 +0000 (10:56 -0700)]
eina: add missing documentation for rectangle.
Summary: This adds missing doxgen documentation for eina_rectangle.
Test Plan: API Doxygen Revision
Reviewers: cedric, jpeg, myoungwoon
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D5331
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Bowon Ryu [Tue, 17 Oct 2017 17:54:15 +0000 (10:54 -0700)]
eina: fix doxygen typo for eina_thread.
Summary: fix typo.
Test Plan: API Doxygen Revision
Reviewers: cedric, jpeg, myoungwoon
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D5332
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Cedric Bail [Tue, 17 Oct 2017 17:51:05 +0000 (10:51 -0700)]
elementary: generic_value is to be replaced by any_value.
Cedric Bail [Tue, 17 Oct 2017 17:38:24 +0000 (10:38 -0700)]
elementary: add an exit_code to efl_exit as originally planned.
T6228
Marcel Hollerbach [Tue, 17 Oct 2017 15:49:48 +0000 (17:49 +0200)]
elm_interface_scrollable: fix bringing in of a focused item
you also need to calculate in the object position
Marcel Hollerbach [Tue, 17 Oct 2017 15:19:12 +0000 (17:19 +0200)]
elm_widget: print a error if there is no provider
Marcel Hollerbach [Tue, 17 Oct 2017 14:14:07 +0000 (16:14 +0200)]
elm_widget: also do not register if the top widget is not a win
this is currently quite a performance break, since that call is quite
heavy, lets see if we can optimize it later
Marcel Hollerbach [Tue, 17 Oct 2017 13:57:37 +0000 (15:57 +0200)]
elm_widget: only register if you have to
first step into the direction of making that more secure
Marcel Hollerbach [Tue, 17 Oct 2017 13:17:50 +0000 (15:17 +0200)]
elm_widget: move evaluation for registeration of widget
this is now earlier done, so we can reacted based on that
Shinwoo Kim [Tue, 17 Oct 2017 07:52:57 +0000 (16:52 +0900)]
elementary: remove documentation error
Lauro Moura [Tue, 17 Oct 2017 04:51:17 +0000 (13:51 +0900)]
eo: Use any_value in eina_types.eot
Reviewers: q66, jpeg
Subscribers: jenkins, cedric
Differential Revision: https://phab.enlightenment.org/D5328
Prince Kumar Dubey [Tue, 17 Oct 2017 04:45:17 +0000 (13:45 +0900)]
example: print format correction to avoid warning.
Reviewers: raster, cedric, jpeg
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5312
Jean-Philippe Andre [Mon, 16 Oct 2017 11:58:46 +0000 (20:58 +0900)]
frame: Implement content set/get/unset
Not a huge fan of my macro as it uses efl_part() where a direct call
could be possible, depending on the widget (win can, frame can't).
See D5241
Jean-Philippe Andre [Mon, 16 Oct 2017 04:33:52 +0000 (13:33 +0900)]
elm: Rename Elm.Activate to Efl.Ui.Activate
Note: This is an EO-only beta API.
Ref T5329
Amitesh Singh [Tue, 17 Oct 2017 06:45:50 +0000 (15:45 +0900)]
slider/progressbar: implement format_string of Efl.Ui.Format
remove the unit_format from Efl.Ui.Range.
SangHyeon Jade Lee [Tue, 17 Oct 2017 05:58:54 +0000 (14:58 +0900)]
fix typo space in include on eina_lock
remove space typo between #sharp and include about inline header
in eina_lock.h
Amitesh Singh [Tue, 17 Oct 2017 05:03:36 +0000 (14:03 +0900)]
efl_ui_format: change Eina.Strbug to @in type
Amitesh Singh [Tue, 17 Oct 2017 04:37:26 +0000 (13:37 +0900)]
efl_ui_format: fix the namings and docs
it is based on review comments by Gustavo and JP.
Derek Foreman [Mon, 16 Oct 2017 21:17:29 +0000 (16:17 -0500)]
ee_wayland: Don't use wrong window size
Borderless windows, such as internal windows, need to be the exact size
they're passed by a configure event.
Bowon Ryu [Mon, 16 Oct 2017 20:39:30 +0000 (13:39 -0700)]
eina: rename parameter for doxygen
Summary:
Some parameter's name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, rename that parameters.
Test Plan: API Doxygen Revision
Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho
Differential Revision: https://phab.enlightenment.org/D5327
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Prince Kumar Dubey [Mon, 16 Oct 2017 20:36:35 +0000 (13:36 -0700)]
efreet: putting local variable "data" under preprocessor flag "SLOPPY_SPEC" to avoid below warning, if "SLOPPY_SPEC" is disabled.
Reviewers: raster, cedric
Subscribers: jpeg, rajeshps
Differential Revision: https://phab.enlightenment.org/D5322
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Prince Kumar Dubey [Mon, 16 Oct 2017 20:36:09 +0000 (13:36 -0700)]
eina: fix warning if EINA_SAFETY_CHECKS is disabled
Summary:
Putting local variable "d" under preprocessor flag "EINA_SAFETY_CHECKS" to avoid below warning, if "EINA_SAFETY_CHECKS" is disabled.
1. local variable "d" is assigned but not used.
2. If warning 1 is resolved then variable "d" will be unused.
Reviewers: raster, cedric
Reviewed By: cedric
Subscribers: jpeg, rajeshps
Differential Revision: https://phab.enlightenment.org/D5321
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Prince Kumar Dubey [Mon, 16 Oct 2017 20:29:01 +0000 (13:29 -0700)]
ecore: removing assignment operation to avoid warning.
Summary: assignment to local variable "ret" has no meaning as it is not used after assignment. So, removing assignment operation to avoid warning.
Reviewers: raster, cedric
Subscribers: jpeg, rajeshps
Differential Revision: https://phab.enlightenment.org/D5303
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Subodh Kumar [Mon, 16 Oct 2017 20:28:08 +0000 (13:28 -0700)]
ecore_wayland: fix assigned value is never used.
Summary:
Fix assigned value is never used.
@fix
Reviewers: cedric
Subscribers: shilpasingh, jpeg
Differential Revision: https://phab.enlightenment.org/D5283
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Subodh Kumar [Mon, 16 Oct 2017 20:27:35 +0000 (13:27 -0700)]
edje_edit: duplicate assignment to variable.
Summary:
Avoid duplicate assignment to same variable.
@fix
Reviewers: cedric, jpeg
Reviewed By: cedric, jpeg
Subscribers: shilpasingh, jpeg
Differential Revision: https://phab.enlightenment.org/D5275
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Marcel Hollerbach [Sun, 15 Oct 2017 13:35:42 +0000 (15:35 +0200)]
elm_gengrid: implement item-content-focus
#finally
For now we focus the widgets of a item, the item content can be cycled
by tab / Ctrl + tab. up/down/right/left are for now handled by gengrid
and move the focused item (everything else feels super weird with
multiple contents in a item)
ref T6181
Marcel Hollerbach [Mon, 16 Oct 2017 15:19:42 +0000 (17:19 +0200)]
efl_ui_focus_composition: support beeing a pure logical composition
Marcel Hollerbach [Mon, 16 Oct 2017 14:43:32 +0000 (16:43 +0200)]
efl_ui_composition: flushing elements from outside!
Marcel Hollerbach [Mon, 16 Oct 2017 12:48:35 +0000 (14:48 +0200)]
elm_slider: do not eat all key down events
Amitesh Singh [Mon, 16 Oct 2017 06:24:06 +0000 (15:24 +0900)]
efl intf: Add format interface
Ref T6204
Marcel Hollerbach [Mon, 16 Oct 2017 07:55:53 +0000 (09:55 +0200)]
efl_ui_focus_manager_calc: maintain focus when focused element is
unregistered
this should fix T6216.
Marcel Hollerbach [Sun, 15 Oct 2017 17:44:35 +0000 (19:44 +0200)]
elm_toolbar: make the manager customisable
so the toolbar items can be registered correctly
Marcel Hollerbach [Sun, 15 Oct 2017 17:29:08 +0000 (19:29 +0200)]
elm_menu: implement provider_find to walk the parent relation
it turns out elm_menu is special, it doesnt use parent_obj of
elm_widget, it has his own parent field, which should be used.
Marcel Hollerbach [Sun, 15 Oct 2017 17:28:25 +0000 (19:28 +0200)]
efl_ui_bg: this does not handle focus
Marcel Hollerbach [Sun, 15 Oct 2017 15:44:18 +0000 (17:44 +0200)]
elm_toolbar: port to composition
Marcel Hollerbach [Sun, 15 Oct 2017 15:16:52 +0000 (17:16 +0200)]
elm_table: port to composition
Marcel Hollerbach [Sun, 15 Oct 2017 15:08:35 +0000 (17:08 +0200)]
elm_grid: port to composition
Marcel Hollerbach [Sun, 15 Oct 2017 14:55:08 +0000 (16:55 +0200)]
elm_box: port to composition
Marcel Hollerbach [Sun, 15 Oct 2017 14:02:39 +0000 (16:02 +0200)]
efl_ui_focus_composition: introduce dirty and prepare
this can be used in a container that has his own item management api,
Each item management call results in a dirty call, once we are called to
prepare for logical movement we can simply flush the order. So we reduce
the spam of order calls, which also safes runtime.
Marcel Hollerbach [Sun, 15 Oct 2017 13:30:08 +0000 (15:30 +0200)]
elm_widget: support logical parents that are not elm_widgets
Marcel Hollerbach [Sun, 15 Oct 2017 13:26:22 +0000 (15:26 +0200)]
elm_widget: do not cache the provider
if turns out that caching the provider here is a problem, since a parent
changing does not change the provided provider
Marcel Hollerbach [Sun, 15 Oct 2017 13:23:56 +0000 (15:23 +0200)]
elm_widget: also unregister if the logical parent changes
Carsten Haitzler (Rasterman) [Sun, 15 Oct 2017 23:42:13 +0000 (08:42 +0900)]
jp2k module - dont print ERR on llading if format wrong
this is normal - brute force trying loaders until one succeeds is
normal is etn doesnt help identify it or it fails the first
guess-by-extension. printing errors is not good as this is an ok and
EXPECTED error. slience!
@fix
Carsten Haitzler (Rasterman) [Sun, 15 Oct 2017 23:01:13 +0000 (08:01 +0900)]
evas gl generic/common - add more linking for gles mode to fix deb build
this should fix T6158
@fix
Hermet Park [Sat, 14 Oct 2017 15:03:51 +0000 (23:03 +0800)]
update author(hermet) email.
Daniel Kolesa [Fri, 13 Oct 2017 21:48:34 +0000 (23:48 +0200)]
eolian: fix setter generation for @auto functions
Because of a typo in generator source (and overlooked error in
tests) we were previously generating incorrect code for setters
with the @auto qualifier. This was brought up in D5306 and is
now fixed.
JinYong Park [Fri, 13 Oct 2017 21:02:31 +0000 (14:02 -0700)]
ecore_file: rename parameter for doxygen
Summary:
Some parameter's name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, rename that parameters.
Test Plan: API Doxygen Revision
Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D5313
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Cedric Bail [Fri, 13 Oct 2017 19:49:35 +0000 (12:49 -0700)]
eina: this was actually a used variable.
Cedric Bail [Fri, 13 Oct 2017 19:45:09 +0000 (12:45 -0700)]
evas: as we do not use the size, we should set it either.
Cedric Bail [Fri, 13 Oct 2017 19:43:56 +0000 (12:43 -0700)]
elementary: we actually do not use that variable.
Cedric Bail [Fri, 13 Oct 2017 19:43:02 +0000 (12:43 -0700)]
elementary: we actually do not use that object.
Cedric Bail [Fri, 13 Oct 2017 19:42:49 +0000 (12:42 -0700)]
elementary: remove unused variable.
Cedric Bail [Fri, 13 Oct 2017 19:36:08 +0000 (12:36 -0700)]
evas: mark parameter unused now that it is not necessary anymore.
JinYong Park [Fri, 13 Oct 2017 19:24:14 +0000 (12:24 -0700)]
ecore_ipc: rename parameters and annotations for doxygen
Summary:
Some parameters' name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, change it appropriately.
Test Plan: API Doxygen Revision
Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho
Differential Revision: https://phab.enlightenment.org/D5316
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Prince Kumar Dubey [Fri, 13 Oct 2017 19:14:20 +0000 (12:14 -0700)]
evas: to avoid warning unused variable and unnecessary assignment is removed.
Reviewers: raster, cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5305
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Prince Kumar Dubey [Fri, 13 Oct 2017 19:11:41 +0000 (12:11 -0700)]
efl: unused variable removed, removing local variable assignment which has no use at all.
Reviewers: raster, cedric
Reviewed By: cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5304
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Prince Kumar Dubey [Fri, 13 Oct 2017 19:09:08 +0000 (12:09 -0700)]
ecore_audio: unused variables are removed to fix warning.
Reviewers: raster, cedric
Reviewed By: cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5302
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Prince Kumar Dubey [Fri, 13 Oct 2017 19:08:24 +0000 (12:08 -0700)]
evas: parameter length is not used, so removing it. to fix static analyzer tool warning.
Reviewers: raster, cedric
Subscribers: jpeg, rajeshps
Differential Revision: https://phab.enlightenment.org/D5301
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Prince Kumar Dubey [Fri, 13 Oct 2017 19:07:25 +0000 (12:07 -0700)]
efl: unsigned int/long never be less than zero. Fixed.
Reviewers: raster, cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5300
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Prince Kumar Dubey [Fri, 13 Oct 2017 19:05:38 +0000 (12:05 -0700)]
ecore_evas: preprocessor flag "BUILD_ECORE_EVAS_SOFTWARE_GDI" is not closed properly, if not defined, leads to build break.
Reviewers: raster, cedric
Reviewed By: cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5299
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Prince Kumar Dubey [Fri, 13 Oct 2017 19:04:35 +0000 (12:04 -0700)]
edje: no case is defined for Preprocessor Flag "EDJE_EXTRA_MODULE_NAME". So removing it to avoid printf warning.
Reviewers: raster, cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5298
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Prince Kumar Dubey [Fri, 13 Oct 2017 19:03:52 +0000 (12:03 -0700)]
eina: uninitialization of array leads to unwanted outcome of "eina_strlcat"
Reviewers: raster, cedric, rajeshps
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5297
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Wonki Kim [Fri, 13 Oct 2017 19:00:59 +0000 (12:00 -0700)]
elmentary: fix a potential null pointer dereferencing in elm_box
Summary:
if 'evas_object_smart_data_get' return null somehow,
logic that dereference the smart data pointer will cause problems.
This patch prevent a potential bug in advance.
Reviewers: jpeg, woohyun, cedric
Differential Revision: https://phab.enlightenment.org/D5290
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Godly T.Alias [Fri, 13 Oct 2017 18:59:43 +0000 (11:59 -0700)]
evas: removing unwanted operation in interface create
Summary: Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
Reviewers: cedric, raster, rajeshps, prince.dubey
Reviewed By: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D5288
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Godly T.Alias [Fri, 13 Oct 2017 18:58:49 +0000 (11:58 -0700)]
evas: buffer is not used in the case where destination and source dimension is different
Summary: Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
Reviewers: cedric, raster, rajeshps, prince.dubey
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D5286
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Youngbok Shin [Fri, 13 Oct 2017 18:55:02 +0000 (11:55 -0700)]
edje_cc: fix a memory leak issue when edje_cc writes images
Summary:
If there is no given pathes for image files as parameter of edje_cc,
"img_dirs" will be NULL. Then, a local variable "load_err" is always
EVAS_LOAD_ERROR_NONE. Because of this, the "if" condition just after
EINA_LIST_FOREACH() will fail. It causes memory leak from "iw".
@fix
Test Plan: N/A
Reviewers: raster, cedric, jpeg, woohyun
Differential Revision: https://phab.enlightenment.org/D5285
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Bryce Harrington [Fri, 13 Oct 2017 18:51:52 +0000 (11:51 -0700)]
eina: spellfix comment in matrix code
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5280
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Bryce Harrington [Fri, 13 Oct 2017 18:47:56 +0000 (11:47 -0700)]
eina: document matrix3 API routines.
Summary: This adds missing doxygen documentation for eight matrix3 operations.
Reviewers: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5279
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Subodh Kumar [Fri, 13 Oct 2017 18:46:28 +0000 (11:46 -0700)]
eina: comparing unsigned integer with less than zero.
Summary: Unsigned integer should not be compared less than zero.
Test Plan: NA
Reviewers: cedric
Subscribers: shilpasingh, jpeg
Differential Revision: https://phab.enlightenment.org/D5274
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Vincent Torri [Mon, 9 Oct 2017 03:04:26 +0000 (05:04 +0200)]
evil: remove strrstr and ffs - not used in the EFL on Windows
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Jaehyun Cho [Fri, 13 Oct 2017 11:40:01 +0000 (20:40 +0900)]
efl_animation: Fix to set Efl_Event_Description for event animation
Any event represented by Efl_Event_Description can be registered for
event animation. (e.g. EFL_GFX_EVENT_SHOW, EFL_GFX_EVENT_HIDE, etc.)
Daniel Kolesa [Fri, 13 Oct 2017 13:18:01 +0000 (15:18 +0200)]
eolian gen: generate documentation for first object param if present
This prevents doxygen from emitting warnings.
Fixes T6186.
Marcel Hollerbach [Fri, 13 Oct 2017 09:09:56 +0000 (11:09 +0200)]
elm_toolbar: use prepare to get focus into the items again
Marcel Hollerbach [Fri, 13 Oct 2017 09:09:03 +0000 (11:09 +0200)]
efl_ui_focus_object: introduce prepare_logical
with this call a registered logical item could prepare itself for a
deeper traversal
Marcel Hollerbach [Thu, 12 Oct 2017 19:25:49 +0000 (21:25 +0200)]
efl_ui_focus: add parent_provider
thats just a little helper, where the logic to find and fetch the
provider is bound to the position in the widget tree, this means that
for example gengrid could change the way the logical parent is
evalulated. (For example to map the logical parent to a item)
Marcel Hollerbach [Thu, 12 Oct 2017 19:24:59 +0000 (21:24 +0200)]
efl_ui_focus_manager_calc: make sure to not access out of bounds mem
Amitesh Singh [Fri, 13 Oct 2017 07:10:31 +0000 (16:10 +0900)]
tests: eina strbuf - fix compilation
refer patch
2cf24eb30428fd56
Amitesh Singh [Fri, 13 Oct 2017 05:36:31 +0000 (14:36 +0900)]
eina: strbuf - Add strftime related functions
eina_strbuf_append_strftime()
eina_strbuf_insert_strftime()
eina_strbuf_prepend_strftime() - macro
We need these functions for implementing generic format function
interface especially for calander.
Ref T6204
Jaehyun Cho [Fri, 13 Oct 2017 06:01:24 +0000 (15:01 +0900)]
efl_animation: Fix shadowing local variable warning
Jean-Philippe Andre [Fri, 13 Oct 2017 05:29:15 +0000 (14:29 +0900)]
evas: Fix crash when object is not fully created
This fixes make check.
Jean-Philippe Andre [Fri, 13 Oct 2017 05:15:52 +0000 (14:15 +0900)]
evas: Fix C++ compilation
Efl.Animation and Efl.Canvas.Object need each other, and introduce a
cyclic dependency. Eolian doesn't complain... but C++ fails to compile,
as one header must be included before the other, and vice-versa.
Do we have other cyclic dependencies? I remember we lifted the
limitation in eolian itself, but can't remember exactly how it should be
handled...
Ping @q66 @felipealmeida
Jean-Philippe Andre [Fri, 13 Oct 2017 02:07:28 +0000 (11:07 +0900)]
edje: Fix make check
Oops. The API was tested.
See
19dff855194f2c4b411fc5d27b33d212ff26bcb0
Jean-Philippe Andre [Fri, 13 Oct 2017 01:54:54 +0000 (10:54 +0900)]
eo: Simplify debug_name_override
Simply pass in the strbuf and don't expect the callee to own it. This
makes things simpler and safer (it'll crash only if the callee frees
said strbuf, and shouldn't leak). efl_ebug_name is new in the upcoming
release, EFL 1.21.
Realised this after talking with Amitesh. Thanks.
See
999dbd9764426890c0e11841358f9219082b89b2
And
c4769ff8989bab2b745017b843f073e5737e91e0
Derek Foreman [Wed, 11 Oct 2017 20:45:11 +0000 (15:45 -0500)]
ecore_wl2: Synchronize state with surface commits
This is really several inseparable commits mashed together, as doing this
a piece at a time would introduce broken intermediate revisions.
Double buffer incoming "configure" state from the compositor so it's held
back during asynchronous render and processed at frame completion.
Hold off on certain requests if their API has been invoked during async
render.
This should fix a lot of races, cosmetic issues, issues where weston can
kill our clients for acking configure (or not) at bad times, etc.
Derek Foreman [Wed, 11 Oct 2017 20:39:26 +0000 (15:39 -0500)]
ecore_wl2: Don't overwrite saved geometry if switching fs to max
If we switch from fullscreen to maximized we need to keep the pre-fs
geometry around in case we ever unmaximize AND unfullscreen.
Derek Foreman [Wed, 11 Oct 2017 20:38:39 +0000 (15:38 -0500)]
ecore_wl2: Don't overwrite saved geometry if switching max to fs
If we switch from maximized to fullscreen we need to keep the pre-max
geometry around in case we ever unmaximize AND unfullscreen.
Derek Foreman [Wed, 11 Oct 2017 20:30:54 +0000 (15:30 -0500)]
ecore_wl2: Push out maximize set with a display flush
We want this request to get to the compositor as soon as possible.
Derek Foreman [Wed, 11 Oct 2017 20:26:29 +0000 (15:26 -0500)]
ecore_wl2: Push out fullscreen set with a display flush
We want this request to get to the compositor as soon as possible.
Derek Foreman [Wed, 11 Oct 2017 14:04:59 +0000 (09:04 -0500)]
wayland_dmabuf: Clean up unused variable
Pending is useless now that we use immediate buffer creation.
Derek Foreman [Wed, 11 Oct 2017 14:00:49 +0000 (09:00 -0500)]
wayland_dmabuf: Use create_immed
We've really always needed to do immediate creates. On a surface resize
there's no place to wait for the round trip for the new buffers to exist.
We've gotten away with this until now by good luck because we dispatch
wayland events during asynchronous render. However, with async render off
or if schedule happens in an unfortunate order, we can end up with
tearing.
Derek Foreman [Wed, 11 Oct 2017 13:58:41 +0000 (08:58 -0500)]
ecore_wl2: Bind dmabuf version 2
Version 2 allows for create_immed requets. No new events are added until
version 3, so this is a trivial update.
Derek Foreman [Thu, 5 Oct 2017 20:15:10 +0000 (15:15 -0500)]
ecore_wl2: Fix setting empty input regions
We should still update window->input_rect when the input region is empty.
Derek Foreman [Thu, 5 Oct 2017 19:56:58 +0000 (14:56 -0500)]
ecore_wl2: Fix setting empty opaque regions
We should still update window->opaque when the opaque region is empty.
Derek Foreman [Thu, 5 Oct 2017 19:07:26 +0000 (14:07 -0500)]
ecore_evas_wayland: Use ecore_wl2_false_commit to trigger frame callbacks
This will allow us to receive a tick without changing any other state.