Carsten Haitzler (Rasterman) [Mon, 23 May 2016 02:15:53 +0000 (11:15 +0900)]
eo - now ref and unref objects on each eo call to keep things safe
so... i got this ... callback calls callback calls something calls
callback that deletes the original object at the top so when it comes
back ... things die as the object was destructed. in removing eo_do()
we removed the ref/unrefs that went with it. so this uses the
_EO_API_BEFORE_HOOK and _EO_API_AFTER_HOOK to call exposed "internal"
public functions _eo_real_ref() and _eo_real_unref().
this fixes a new segv i've noticed in several e dialogs where hitting
close does the above via callbacks and closes the window etc.
Carsten Haitzler (Rasterman) [Sun, 22 May 2016 08:18:33 +0000 (17:18 +0900)]
ecore-con tests - remove WRONG connect check
sothe ecore-con tests were calling ecore_con_server_connected_get()
every time a server was created on a NUL server object. WTF? this is
pointless. testing if an api returns tre on being connected on an
invalid object? all it does is create lots of eo noise. remove so we
can see the real errors in the output.
@fix
Carsten Haitzler (Rasterman) [Sun, 22 May 2016 08:03:26 +0000 (17:03 +0900)]
ecore-con - simplify down to a single libc resolver
Summary:
this removes the cares/ares based resolver and the compiled-in dns.c
resolver, modified the getaddrinfo based resolver to use threads not
forking (almost halving its size) and now makes that the only resolver
we have. getaddrinfo handles ipv6 and ipv4 (according to docs). this
simplifies code paths, drops code size of the efl tree by about 11k
lines of code, makes it easier to test and more robust to future
changes with ip resolving as it now just relies on libc. we won't have
coverity complaints on dns.c imported code anymore to fix and don't
have tokeep up with bugfixes/security from the upstream imported code.
this means we use a single resolver on all platforms (windows, mac,
linux) as opposed to before where cares was used for windows, and
dns.c on linux/mac. oh and the forking original was broken since our
move to eo too. so it couldnt even compile if enabled, letalone work.
so fix bug with missing /etc/resolv.conf that dns.c couldn't cope
with, fix testability, fix maintainability and reduce efl codebase size.
this fixes T3668
@fix
@improve
Subscribers: cedric, seoz, jpeg
Maniphest Tasks: T3668
Differential Revision: https://phab.enlightenment.org/D3971
Felipe Magno de Almeida [Mon, 23 May 2016 20:34:50 +0000 (17:34 -0300)]
eolian-cxx: Fix generation of complex types in C++ binding
Fixed generation of complex types in C++ binding, with tests. This
problem came after the removal of the pointer types for top-level
complex types.
Felipe Magno de Almeida [Mon, 23 May 2016 15:33:37 +0000 (12:33 -0300)]
eolian-cxx: Add test for list and array complex types
Felipe Magno de Almeida [Mon, 23 May 2016 18:58:11 +0000 (15:58 -0300)]
eolian: Allow promises to have a second type
Promises can have a second type, which is the progress type
Felipe Magno de Almeida [Mon, 23 May 2016 15:01:30 +0000 (12:01 -0300)]
c++: Reorganized C++ binding generation
Moved all generation to a single Makefile_Cxx.am file instead of
throughout the whole project. And fixed C++ generation on Elementary
after elm merge.
Dave Andreoli [Mon, 23 May 2016 17:46:59 +0000 (19:46 +0200)]
Slideshow: Fix doc to reflect the real behaviour of the widget.
Tom Hacohen [Mon, 23 May 2016 16:11:47 +0000 (17:11 +0100)]
Eo override: Fix compilation issues.
I thought I compiled, but it seems that @q66 managed to distract
me and I thought wrong and didn't actually. Oh well, fixed now.
Thanks to @zmike for letting me know.
Tom Hacohen [Mon, 23 May 2016 15:48:19 +0000 (16:48 +0100)]
Eo override: Document class.
Daniel Kolesa [Mon, 23 May 2016 15:15:04 +0000 (16:15 +0100)]
eo: FIXME for wref_del so I don't forget
Daniel Kolesa [Mon, 23 May 2016 14:41:28 +0000 (15:41 +0100)]
eolian: remove pointers from complex and class types
Complex types (i.e. list, array, hash, accessor etc.) now do not require
pointers with them anymore (the pointer is implied) and the same goes for
class handles. Eolian now explicitly disallows creating pointers to these
as well. This is the first part of the work to remove pointers from Eolian
completely, with the goal of simplifying the DSL (higher level) and therefore
making it easier for bindings (as well as easier API usage).
@feature
Ji-Youn Park [Mon, 23 May 2016 11:14:54 +0000 (19:44 +0830)]
elm_win: add elm_win_indcator_type and elm_win_indicator_enabled into window's eo.
elm_window will be changed to control layout related with conformant.
remove opacity and overlap mode and add type set.
Daniel Kolesa [Mon, 23 May 2016 09:49:42 +0000 (10:49 +0100)]
eolian: handle invalid keywords correctly
Before this Eolian segfaulted when an invalid keyword was used.
Fixes T3672.
Tom Hacohen [Mon, 23 May 2016 07:36:08 +0000 (08:36 +0100)]
Eo: Fix wrong allocation.
We weren't allocating the correct amount. Oops.
CID 1355594.
Nicolas Aguirre [Sun, 22 May 2016 21:38:22 +0000 (23:38 +0200)]
evas: gl_common add define for missing EGL_WAYLAND_Y_INVERTED_WL
Dave Andreoli [Sun, 22 May 2016 11:25:21 +0000 (13:25 +0200)]
FDO icons: better icons for zoom-*
Dave Andreoli [Sat, 21 May 2016 16:54:11 +0000 (18:54 +0200)]
FDO icons: added all the Devices icons
Vincent Torri [Sat, 21 May 2016 14:40:31 +0000 (10:40 -0400)]
Efreet test: fix warning on Windows
Summary:
comp.h is redefining some macros on Windows. So just rename all the macros
with the TANGO prefix
Test Plan: compilatioN
Reviewers: cedric, jpeg, zmike
Differential Revision: https://phab.enlightenment.org/D3968
Carsten Haitzler (Rasterman) [Sat, 21 May 2016 14:37:07 +0000 (23:37 +0900)]
eina vector - fix indenting and 80 col overflow in inline header
Carsten Haitzler (Rasterman) [Sat, 21 May 2016 14:35:12 +0000 (23:35 +0900)]
eina vector inline header - replace last equal with approx macro
rthis replaces double a == double b with a macro that keeps a close
enough range using epsilon (which is the error range for a dobule).
this fixes T3245
Andy Williams [Sat, 21 May 2016 09:14:45 +0000 (10:14 +0100)]
elementary: Add correct icon fallback for fdo icons
Fixes missing app icons (and others) when using elementary icon theme.
This is required to comply with the fdo icon spec.
Now that we have a fuller icon theme in elementary it's not intrusive
Andy Williams [Sat, 21 May 2016 08:54:42 +0000 (09:54 +0100)]
elementary: Icon config don't disable elements
Use some smarter logic to make elementary vs fdo selection mutually exclusive
Derek Foreman [Fri, 20 May 2016 20:24:28 +0000 (15:24 -0500)]
gl_drm: switch to GLERRV macro for error reporting
eglGetError() is actually somewhat heavy, so hide it behind the GLERRV
macro which compiles out the test by default.
Derek Foreman [Fri, 20 May 2016 20:23:19 +0000 (15:23 -0500)]
gl_drm: Fix silly run time warning for wayland dmabuf
DMABuf buffers destroy their glimage in the unbind callback, so it's
usually already gone for the free callback.
Now we test if we actually need to destroy anything.
Also, switch to GLERRV macro for error reporting - it saves us the heavy
eglGetError() unless we've built it in intentionally.
Mike Blumenkrantz [Fri, 20 May 2016 20:10:28 +0000 (16:10 -0400)]
elm_win: define EFL_TEAMWORK_VERSION in all cases
Mike Blumenkrantz [Fri, 20 May 2016 18:04:21 +0000 (14:04 -0400)]
elm_win: implement v2 of teamwork api using window-based display protocol
this adds support for wayland and makes teamwork integration trivial for any
application
@feature
Daniel Kolesa [Fri, 20 May 2016 16:14:38 +0000 (17:14 +0100)]
eolian: add warnings for class/complex types with pointers (with env var)
Chris Michael [Fri, 20 May 2016 15:28:48 +0000 (11:28 -0400)]
elput: Check return of calibration_get_default_matrix function
We should be checking the return value when we try to get the default
matrix calibration for an input device so we can fail properly
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Tom Hacohen [Fri, 20 May 2016 15:22:48 +0000 (16:22 +0100)]
Edje cc out: Make list removal slightly more efficient.
Tom Hacohen [Fri, 20 May 2016 15:20:41 +0000 (16:20 +0100)]
Edje cc: Rename shadowing variables.
Chris Michael [Fri, 20 May 2016 15:17:01 +0000 (11:17 -0400)]
elput: Don't calculate pointer constraints twice
As constraints for pointer movement are already handled in the
function which sends the pointer motion event, there is no need to
handle them inside the function which gets pointer position.
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Tom Hacohen [Fri, 20 May 2016 15:16:14 +0000 (16:16 +0100)]
Eo: Fix compilation for people using GCC.
Apparently you can't cast when initializing static consts, even if
the cast is to the same type. This commit splits the macro used
so we have an additional one that casts and thus works with
eo_override().
Carsten Haitzler (Rasterman) [Fri, 20 May 2016 12:43:46 +0000 (21:43 +0900)]
evas 3d - fix mesh savers/loaders to not leave memory unset
i've been gettign persistent evas test suite suite failures ffor a
while. annoying as i can't get 100% pass anymore. it's due to segv's
in evas test suite thanks to chunks of uninitialized memory in the
mesh loaders/saver code.
this fixes that
@fix
Carsten Haitzler (Rasterman) [Fri, 20 May 2016 11:55:48 +0000 (20:55 +0900)]
fix warnings about double/float comparisons in eina vector
this should fix T3245
this is basicall where we go double a == double b and due to precision
issues this may not always be right, but this means that the
equivalent now checks for "really close values" rather than perfectly
exact.
@fix
Tom Hacohen [Fri, 20 May 2016 10:47:32 +0000 (11:47 +0100)]
Eo super: Validate class in eo_super instead of call_reslove.
This is more correct and fixes a segfault that occurs when eo_id is
disabled.
Tom Hacohen [Fri, 20 May 2016 10:39:36 +0000 (11:39 +0100)]
Eo tests: Fix compilation warnings with eoid disabled.
Tom Hacohen [Thu, 19 May 2016 10:33:17 +0000 (11:33 +0100)]
Eo: Implement eo_override() to enable overriding functions of objects.
This change lets you override the functions of objects so that those
functions will be called instead of the functions of the class. This
lets you change objects on the fly and makes using the delegate pattern
easier (no need to create a class every time anymore).
You can see the newly added tests (in this commit) for usage examples.
@feature
Tom Hacohen [Thu, 19 May 2016 10:27:41 +0000 (11:27 +0100)]
Eo: Improve error message when overriding functions.
Tom Hacohen [Wed, 18 May 2016 17:12:39 +0000 (18:12 +0100)]
Eo: Reorganise the vtable in classes and add pointer from objects.
This is the first step towards supporting eo_override().
More details about eo_override() to follow.
Tom Hacohen [Thu, 19 May 2016 10:48:36 +0000 (11:48 +0100)]
Eo: Remove useless test.
We no longer have a call stack, so there's no need to have
this test.
Cedric Bail [Fri, 20 May 2016 09:25:48 +0000 (02:25 -0700)]
ecore: promise for timeout and job are clearly never optional, so return them.
Daniel Kolesa [Thu, 19 May 2016 15:57:12 +0000 (16:57 +0100)]
eolian: enable incorrect property doc warnings with env var
This adds env var EOLIAN_PROPERTY_DOC_WARN which enables extra
warnings for properties that don't have a general doc but have
getter/setter doc. This will eventually become an error and
will be enabled by default. For now it's too verbose.
Chris Michael [Thu, 19 May 2016 13:12:29 +0000 (09:12 -0400)]
ecore-wl2: Minor formatting fix
NB: No functional changes, just making this readable for me
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 19 May 2016 12:43:32 +0000 (08:43 -0400)]
evas-vg: Don't fetch parent if we are not going to use it
Essentially, this removes a compiler warning wrt 'parent' being set
but not used.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Subhransu Mohanty [Thu, 19 May 2016 08:55:06 +0000 (01:55 -0700)]
evas: propagate the change to child when object is a vector graphic container
Summary: let me know whats your thought
Reviewers: Hermet, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3893
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Jee-Yong Um [Thu, 19 May 2016 08:45:02 +0000 (01:45 -0700)]
elementary: remove elm_mapbuf_eo.h target from Makefile.am
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3953
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Jee-Yong Um [Thu, 19 May 2016 08:42:14 +0000 (01:42 -0700)]
LazEDC: introduce simple external param syntax
Summary:
EXTERNAL parts can have parameters, and its form is like the next.
params.string: "param_name" "param_value";
This patch will shorten above line by the next syntax.
params.param_name: "param_value";
The type of param will be determined by the type of inserted value.
Reviewers: cedric, raster, Hermet
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3958
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Subhransu Mohanty [Thu, 19 May 2016 08:39:44 +0000 (01:39 -0700)]
evas: changed the interpolate() implementaion
Reviewers: Hermet, cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3960
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Subhransu Mohanty [Thu, 19 May 2016 08:36:33 +0000 (01:36 -0700)]
evas: fix the ref issue of newly created object in shape_dup() function
Summary:
There are couple of issue.
By adding the gradient to both parent container as well as to the shape. when we dupe the container it copies twice.
Usually we create one gradient and set it to multiple shape , in that case when we call dupe() function it is going to make a separate copy for each of the shape.
The patch fixes 1st issue. for 2nd one we need to maybe change the way we implemented dupe function
Reviewers: Hermet, cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3961
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Ji-Youn Park [Thu, 19 May 2016 08:49:40 +0000 (17:19 +0830)]
elm_win: add elm_win_indcator_overlap mode into window's eo.
elm_window will be changed to control layout related with conformant.
one of features is overlap between indicator and layout.
Stefan Schmidt [Thu, 19 May 2016 07:19:06 +0000 (09:19 +0200)]
examples: emotion: adapt to name change from obj to object
In commit
75a53ece1007d927b8f0b6c5d3f269726afb9108 obj was changed to object.
As one can claerly see though make examples have not been run to verify this
change. Catch up in examples with this rename.
Jaehwan Kim [Thu, 19 May 2016 02:13:04 +0000 (11:13 +0900)]
sclae : add the feature for rounding off
Add the feature for rounding off to the nearest in ELM_SCALE_SIZE
macro. It makes to be more close to calculated value.
Chris Michael [Wed, 18 May 2016 20:42:59 +0000 (16:42 -0400)]
efl: Define if systemd version >= 209
Elput conditionally requires this to choose proper codepath wrt systemd-logind
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Jean Guyomarc'h [Wed, 18 May 2016 20:25:49 +0000 (22:25 +0200)]
edje: fix condition scope
Commit
3faf3f3fc converted an eo_do() into two functions.
However the eo_do() was implicitely enclosed within an if,
which after conversion led to the if coverting only one
of these functions instead of both.
Pointed out by GCC's -Wmisleading-indentation.
Chris Michael [Wed, 18 May 2016 20:08:06 +0000 (16:08 -0400)]
ecore-wl2: Minor formatting fixes
NB: No function changes, just formatting
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Jean Guyomarc'h [Wed, 18 May 2016 19:55:24 +0000 (21:55 +0200)]
ignores: eo_suite_add_fallback
Jean Guyomarc'h [Wed, 18 May 2016 19:27:58 +0000 (21:27 +0200)]
efl: fix misleading indentation
GCC's -Wmisleading-indentation is complaining...
It is a warning flag introduced in GCC 6.x, and
is enabled by -Wall.
Jean Guyomarc'h [Wed, 18 May 2016 19:29:02 +0000 (21:29 +0200)]
eina: add missing header guards
Chris Michael [Wed, 18 May 2016 19:20:25 +0000 (15:20 -0400)]
ecore-evas: Fix Makefile to not include Ecore_Wayland
Ecore_Wayland is deprecated for 1.18 so this should have been removed
during that commit. Fell through the cracks sadly
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 18 May 2016 19:19:29 +0000 (15:19 -0400)]
elementary: Add missing EINA_UNUSED for unused parameter
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Derek Foreman [Wed, 18 May 2016 15:27:32 +0000 (10:27 -0500)]
software_generic: Add wayland dmabuf native surface support
Derek Foreman [Tue, 17 May 2016 18:43:31 +0000 (13:43 -0500)]
gl_drm: Add wayland dmabuf native surface support
Derek Foreman [Tue, 17 May 2016 18:42:32 +0000 (13:42 -0500)]
evas: Add wayland dmabuf native surface type
Add the structures required for supporting dmabuf native surfaces
Derek Foreman [Mon, 16 May 2016 21:47:05 +0000 (16:47 -0500)]
software_generic: Call native surface free callbacks
In the near future this will prevent leaking native surface data for
wayland dmabuf buffers.
Derek Foreman [Thu, 5 May 2016 20:48:16 +0000 (15:48 -0500)]
wayland_shm: Attempt to create mmappable dmabuf objects
To composite from dmabuf buffers without GL we need to be able to mmap them
in the compositor - create the buffers in a way that makes that possible.
Derek Foreman [Thu, 5 May 2016 16:48:42 +0000 (11:48 -0500)]
wayland_shm: Fix dmabuf failed allocation handling
We frequently attempt to generate multiple buffers before any come back
as failed - the orphaned buffers need to be handled more carefully.
Felipe Magno de Almeida [Tue, 17 May 2016 09:22:42 +0000 (11:22 +0200)]
js fixes
Cedric Bail [Wed, 18 May 2016 15:17:36 +0000 (08:17 -0700)]
eo: for consistency use object like all our API.
Carsten Haitzler (Rasterman) [Wed, 18 May 2016 14:02:09 +0000 (23:02 +0900)]
eo datarefcount - only use in debug mode
Taehyub Kim [Wed, 18 May 2016 12:55:35 +0000 (21:55 +0900)]
elc_popup: add escape key binding
Summary:
There are no methods to close the popup with key down.
So I added the escape key binding to close the popup with escape key.
Test Plan:
1. patch this code
2. delete /home/{user}/.elementary to refresh the config value
3. launch elementary_test -to "popup"
4. click one example of the list and press escape key
5. see closing the popup
Reviewers: cedric, raster, jpeg, Jaehyun_Cho, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D3876
Conflicts:
src/lib/elementary/elm_priv.h
Tom Hacohen [Wed, 18 May 2016 12:29:45 +0000 (13:29 +0100)]
Eo: Fix singleton pattern and add a test to make sure it works.
Stefan Schmidt [Wed, 18 May 2016 10:31:52 +0000 (12:31 +0200)]
examples: elementary: remove unused variable
Stefan Schmidt [Wed, 18 May 2016 10:29:06 +0000 (12:29 +0200)]
examples: evas: remove unused variable
pi is never used here. Actually for such cases we should use M_PI anyway.
Stefan Schmidt [Wed, 18 May 2016 10:16:23 +0000 (12:16 +0200)]
examples: evas: build evas-3d-fog example
So far this file has only been in our tree but the example has not been build.
Stefan Schmidt [Wed, 18 May 2016 09:34:21 +0000 (11:34 +0200)]
examples: ecore: add all needed files to SOURCES to make sure they are distributed
This worked in-tree but never landed in a distribution tarball and thus the
examples build form such a tarball would fail.
Stefan Schmidt [Wed, 18 May 2016 09:16:46 +0000 (11:16 +0200)]
examples: evas: add all needed files to SOURCES to make sure they are distributed
This worked in-tree but never landed in a distribution tarball and thus the
examples build form such a tarball would fail.
Yeshwanth Reddivari [Wed, 18 May 2016 09:33:53 +0000 (18:33 +0900)]
Index : Use orientation interface APIs instead of horizontal set/get APIs
Test Plan: elementary_test
Reviewers: singh.amitesh, jpeg, cedric, raster, Hermet
Subscribers: Hermet
Differential Revision: https://phab.enlightenment.org/D3954
Yeshwanth Reddivari [Wed, 18 May 2016 09:31:48 +0000 (18:31 +0900)]
index: Avoid SIGSEV in elm_index_item_sorted_insert
Summary:
Avoid SIGSEV in elm_index_item_sorted_insert when cmp_data_func returns >=0
After deleting eo_item and making it NULL in above case, view(it) is created which resulted in crash.
Test Plan: elementary_test -to 'index 2'
Reviewers: singh.amitesh, jpeg, cedric, raster, Hermet
Reviewed By: Hermet
Subscribers: Hermet
Differential Revision: https://phab.enlightenment.org/D3956
Cedric Bail [Wed, 18 May 2016 08:56:21 +0000 (01:56 -0700)]
efl: change name of animator,tick event in C.
Cedric Bail [Wed, 18 May 2016 08:56:06 +0000 (01:56 -0700)]
eo: fix borked test.
Jee-Yong Um [Wed, 18 May 2016 08:56:12 +0000 (17:56 +0900)]
elm_list: perform a null check before accessing its member
Summary:
In inline function _elm_list_item_free, null check is performed
after accessing its member.
@fix
Reviewers: cedric, Hermet
Reviewed By: Hermet
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3955
Tom Hacohen [Wed, 18 May 2016 08:55:03 +0000 (09:55 +0100)]
Eo cxx: remove leftover usage of eo_del().
Hermet Park [Wed, 18 May 2016 08:53:05 +0000 (17:53 +0900)]
elementary/colorselector: apply scale factor.
Some parts of ui have scale factor, but some don't
Apply scale factor to whole parts for working properly.
Jihoon Kim [Wed, 18 May 2016 06:20:05 +0000 (15:20 +0900)]
ecore_imf: Add multiline hint in input hint
@feature
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:51:52 +0000 (01:51 +0900)]
eina test suite vector - make correctness range 2x as big
make correctness rand 2 * DBL_EPSILON due to compilers, fastmath and
being a little inaccurate sometimes at the bottom end of precision.
@fix
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:39:45 +0000 (01:39 +0900)]
ecore audio test - improve samples for ecore audio test
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:05:20 +0000 (01:05 +0900)]
ecore wl2 - remove warning with unused goto label
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:02:37 +0000 (01:02 +0900)]
efl - key/data/value/obj attach to eo objects - make these properties
the key data now is a property so they come out in bindings really
nicely like:
obj.key_data["blah"] = x;
x = obj.key_data["blah"];
etc.
Daniel Kolesa [Tue, 17 May 2016 16:14:47 +0000 (17:14 +0100)]
eolian: add event_prefix and have classes follow that or eo_prefix by default
Previously events used to use class name as a prefix and ignored eo_prefix
when specified. This is no longer the case. Events follow eo_prefix by default
now. In order to get around this for classes where this is undesirable, a new
field event_prefix was added which takes priority over eo_prefix. If neither
is specified, class name is used like previously.
@feature
Amitesh Singh [Tue, 17 May 2016 15:00:03 +0000 (00:00 +0900)]
Panes: Use orientation interface APIs instead of horizontal set/get APIs
Differential Revision: https://phab.enlightenment.org/D3919
Tom Hacohen [Tue, 17 May 2016 15:08:28 +0000 (16:08 +0100)]
Eo: Remove eo_del() and make eo_unref() the replacement.
We used to have eo_del() as the mirrored action to eo_add(). No longer,
now you just always eo_unref() to delete an object. This change makes it
so the reference of the parent is shared with the reference the
programmer has. So eo_parent_set(obj, NULL) can free an object, and so
does eo_unref() (even if there is a parent).
This means Eo no longer complains if you have a parent during deletion.
Tom Hacohen [Tue, 17 May 2016 15:00:13 +0000 (16:00 +0100)]
Eo name: Rename Eo.Base.id to Eo.Base.name.
This is there to reduce confusion with Eo_Id and also the name
is just better.
Cedric Bail [Tue, 17 May 2016 14:38:36 +0000 (07:38 -0700)]
ecore: do not create another main loop object
So ecore main loop does restart everything with an main loop shutdown
and init when it detect a bad fd. This can happen if you del a fd after
you have destroyed it. Something terminology is doing (and should be
legal), but that then ended up with a main loop with no event handler
registered and the process was looking like stuck with nothing happening.
Shuhrat Dehkanov [Tue, 17 May 2016 12:36:59 +0000 (14:36 +0200)]
docs: progressbar: correct minor typos
Reviewers: q66, stefan_schmidt
Subscribers: cedric, seoz, jpeg
Differential Revision: https://phab.enlightenment.org/D3950
perepelits.m [Tue, 17 May 2016 12:21:39 +0000 (05:21 -0700)]
edje: attaching viewport of camera to the image part
Summary:
According to D3710 new field "camera" in edc was added for IMAGE parts.
It is the name of the CAMERA part to set its viewport as a source of image if no image name is given.
Reviewers: raster, Hermet, cedric
Reviewed By: cedric
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D3777
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Cedric Bail [Tue, 17 May 2016 12:16:27 +0000 (05:16 -0700)]
elementary: mapbuf is legacy for now and should be automatic in the future.
Tom Hacohen [Tue, 17 May 2016 09:29:14 +0000 (10:29 +0100)]
Eo: Rename an internal function to reduce confusion.
@raster added eo_id_get() which was confusing because we already had
_eo_id_get() that was used internally.
Tom Hacohen [Tue, 17 May 2016 09:25:31 +0000 (10:25 +0100)]
Eo children: Make children tracking an inlist instead of a list.
This saves us a pointer in every eo object and a pointer indirection
when accessing children.
Tom Hacohen [Tue, 17 May 2016 08:39:12 +0000 (09:39 +0100)]
Eo: change refcount to short from int.
A short is more than enough for reference counting.