Daniel Kolesa [Thu, 26 May 2016 13:36:41 +0000 (14:36 +0100)]
eolian: add core infra to support builtin strings and void pointers
Daniel Kolesa [Thu, 26 May 2016 13:17:07 +0000 (14:17 +0100)]
eolian: put ownable checks into its own func
Chris Michael [Thu, 26 May 2016 12:42:38 +0000 (08:42 -0400)]
elput: Minor formatting fixes
NB: No functional changes, just cleanup of formatting
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Jean-Philippe Andre [Thu, 26 May 2016 11:53:53 +0000 (20:53 +0900)]
Evas: Fix compilation warning
Missing initializers. Damn C and {0}.
I could also have used GCC's {} form.
Jean-Philippe Andre [Thu, 26 May 2016 11:08:04 +0000 (20:08 +0900)]
Evas GL: Fix compilation warning, use func pointer
GLES 3 support should be a runtime-only requirement, so
no direct call to a GLES3 function should appear in evas.
Use our dlsym() pointer instead.
Jean-Philippe Andre [Thu, 26 May 2016 05:06:52 +0000 (14:06 +0900)]
Elm Layout: Make box & table part proxies temporary
efl_part returns short lived objects, let's make them
die after each function call.
Jean-Philippe Andre [Thu, 26 May 2016 02:54:30 +0000 (11:54 +0900)]
Elm.Layout: Fix BOX and TABLE usage with efl_part
Thanks Dave for the report. This was work in progress...
Jean-Philippe Andre [Tue, 24 May 2016 11:40:18 +0000 (20:40 +0900)]
Efl: Remove part name in Efl.Container (use Efl.Part)
This touches Edje and also Elementary where part names are used.
This commit blew up in size since now all content part APIs
(get, set, unset) require to use Efl.Part instead.
This is a big refactoring commit, but no logic should
have been changed. Fingers crossed.
Jean-Philippe Andre [Thu, 26 May 2016 09:30:35 +0000 (18:30 +0900)]
Evas GL common: Simplify GLPIPES... trying to prevent a crash
An unknown crash happened in glDrawArrays() where color_ptr is
a non-reachable pointer that looks like a valid malloc() zone.
Unreproducible issue. I can only hope this patch doesn't actually
break anything.
This cleans up rectangle and line in particular, that were not
using common code to use GLPIPES. I honestly couldn't find a
problem though.
Jiwon Kim [Thu, 26 May 2016 08:19:34 +0000 (17:19 +0900)]
Elm entry: fix returning wrong focus region
Summary:
In on_focus_region function,
entry returns relative x,y position from edje object.
It should be calculated from elm object's position.
@fix
Test Plan:
1. $elementary_test "Entry on Page Scroll"
2. click under button
3. click upper text in entry
4. page should not be scrolled
Reviewers: tasn, cedric, woohyun, Hermet, herdsman, raster
Subscribers: Blackmole, id213sin, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3923
Ji-Youn Park [Thu, 26 May 2016 08:18:02 +0000 (16:48 +0830)]
elm_win: remove elm_win_conformant_set/get from eo
conformant set api give information to enlighten ment, this window
need to know the change of conformant size.
but in the future, window have to section background and forground.
if user set layout as content of background part, the layout size is
not changed by clipborad or keybord.
if user set layout as content of forground part of window, the layout size
is changed by clipboard or keyboard state.
and the window notify to the enlightenment it has interest soft input's state
automatically, without users api call
Ji-Youn Park [Thu, 26 May 2016 08:09:32 +0000 (16:39 +0830)]
elm_image: fix build break
Jaeun Choi [Thu, 12 May 2016 04:25:13 +0000 (13:25 +0900)]
Elm_image: implement 'scale_type' and 'scalable' property related functions
This patch implements the functions related to new eo properties
added in
a5a44b0104c7302b9e3ca2925d28b3212206c714
Ji-Youn Park [Thu, 26 May 2016 07:02:58 +0000 (15:32 +0830)]
elm_win: remove elm_win_keyboard_win_set/get from eo.
this api is not used by wayland side.
and this kind of API can be implemented name set or class set api.
Carsten Haitzler (Rasterman) [Thu, 26 May 2016 04:03:01 +0000 (13:03 +0900)]
eina test suite - ooops reenable tests
accidentally snukc in commented disables in test suite as i was
hunting why eina test suite crashes while dealing with feedback on my
compare fixes etc.
Carsten Haitzler (Rasterman) [Thu, 26 May 2016 03:49:58 +0000 (12:49 +0900)]
efl - new cmp "fix" code - remove one duplicated cmp
Vincent Torri [Thu, 26 May 2016 03:27:31 +0000 (12:27 +0900)]
Fix addition of Evil library in .pc files
Summary: lib/evil/libevil.la was added to .pc files, which broke the use of the EFL pc files
Test Plan: compilation
Reviewers: cedric, jpeg, zmike, raster
Reviewed By: raster
Differential Revision: https://phab.enlightenment.org/D3983
Carsten Haitzler (Rasterman) [Thu, 26 May 2016 03:17:07 +0000 (12:17 +0900)]
efl - fix many bounds over/underflow where we use int for ptr cmp
this addresses more things brought up in comments in
fixes T3638 commentd
@fix
Lauro Moura [Tue, 12 Apr 2016 19:00:23 +0000 (16:00 -0300)]
eio: Adds Eo-based Eio API
The legacy Eio_File factory functions are replaced by an Eo object
called Eo_Job that return promises wrapping the async file operations.
With this commit, the legacy Eio callbacks are replaced by the following
Eo/Promises counterparts :
* Done_Cb -> Promise then success callback
* Error_Cb -> Promise then error callback
* Main_Cb -> Promise progress callback
* Filter_Cb -> Job object event (more below)
Events are used to deliver and get the filter data. To differentiate
between the named and direct versions, they come in "filter,direct" and
"filter,name" versions.
Monitors were wrapped inside a new class Eo_Sentry.
The user creates a sentry object and adds monitoring targets to it,
listening to events on it.
The sentry event info is composed of two strings. The source string
is the path being monitored, i.e. the one passed to eio_sentry_add, and
the trigger string is the path that actually triggered the event, e.g.
a new file created in a monitored directory.
Felipe Magno de Almeida [Wed, 25 May 2016 21:14:29 +0000 (18:14 -0300)]
eina: Add promise parameter to then calllbacks
Added promise parameter to then callbacks so callbacks can steal
ownership of the value from the promise.
Lauro Moura [Mon, 25 Apr 2016 21:02:05 +0000 (18:02 -0300)]
eio: Call correct function to cleanup Eio_File.
The Eio functions operating on Eina_Files were just freeing
the Eio_File pointer on completion instead of calling eio_file_free
to unregister the thread.
Carsten Haitzler (Rasterman) [Thu, 26 May 2016 00:28:23 +0000 (09:28 +0900)]
eina hash - fix stringshare key comparison function
this fixes T3638
@fix
a note... thanks so much to aerodynamik for spotting this. i'm rather
surprised coverity didn't spot this... unless someone said to "shut up
coverity you're wrong" and they should not have.
i also might have expected compilers to spot this too... and add a
warning.
anyway ... this was a seriously subtle bug that could have caused all
kinds of havoc in efl. keys that are different may be compared to be
the same. it could get ordering wrong and sorting thus maybe insert
keys that cannot be found anymore and oh so much more besides.
Chris Michael [Wed, 25 May 2016 19:03:15 +0000 (15:03 -0400)]
elput: Fix formatting
NB: No functional changes, just making this readable
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Mike Blumenkrantz [Wed, 25 May 2016 16:54:25 +0000 (12:54 -0400)]
elput: use physical name of seat when finding existing seats
"seat0" is used as the default internal name, and this is a physical name.
using the logical name causes mismatches and allows devices to function
in unintended ways
Mike Blumenkrantz [Wed, 25 May 2016 16:49:44 +0000 (12:49 -0400)]
elput: further simplify device internals
'window' and pointer max w/h attributes are set for a manager object,
so let the attributes stay there. this also resolves issues where devices
created at a later point would fail to be initialized with these attributes
Mike Blumenkrantz [Tue, 24 May 2016 20:14:41 +0000 (16:14 -0400)]
elput: change some functions and internal flags to enable async input setup
this sets attributes on the Elput_Manager struct so that devices created at
a later point can then have relevant attributes applied to them
Mike Blumenkrantz [Tue, 24 May 2016 20:11:20 +0000 (16:11 -0400)]
elput: define and implement an async device opening interface for libinput
this adds an overly-complex method of removing blocking dbus calls from libinput's
synchronous device initialization architecture. libinput was clearly never meant
to be used in this way, but we're doing it anyway because we're efl.
#SamsungFeatures
Mike Blumenkrantz [Tue, 24 May 2016 20:18:26 +0000 (16:18 -0400)]
elput: remove 'sync' param from device management
unnecessarily complicates code
Carsten Haitzler (Rasterman) [Wed, 25 May 2016 08:34:24 +0000 (17:34 +0900)]
Revert "eo - now ref and unref objects on each eo call to keep things safe"
This reverts commit
4044fe650469d6b5910b62692236487630d8db9a.
Amitesh Singh [Wed, 25 May 2016 07:10:10 +0000 (12:40 +0530)]
slider: no need to destroy & create popups again
already theme_apply() instantiates popups
Amitesh Singh [Wed, 25 May 2016 06:15:10 +0000 (11:45 +0530)]
slider: theme - fix warnings
Fixes warnings related to "disabled" & "disabled_visible" states
not present in respective parts.
@fix
Jean-Philippe Andre [Wed, 25 May 2016 05:48:35 +0000 (14:48 +0900)]
fileselector button: Move EO APIs to legacy
Jean-Philippe Andre [Wed, 25 May 2016 02:56:59 +0000 (11:56 +0900)]
fileselector entry: Move EO API to legacy
Jean-Philippe Andre [Tue, 24 May 2016 12:44:27 +0000 (21:44 +0900)]
Edje: Remove impossible code
With EO we can't possibly call an EO function
with NULL.
Amitesh Singh [Wed, 25 May 2016 05:03:53 +0000 (10:33 +0530)]
slider: move range as a group in theme
Most of the used cases would be slider without range, hence move
range feature to a new theme.
"elm/slider/range/../.."
Carsten Haitzler (Rasterman) [Wed, 25 May 2016 02:45:16 +0000 (11:45 +0900)]
evas - use actual smart bounding box not obj geometry for render incl
render inclusion has bene used smart geom not bounding box from actual
objects for inclusion in rendering. use the bounding box to be correct.
@fix
Mike Blumenkrantz [Tue, 24 May 2016 20:00:45 +0000 (16:00 -0400)]
eldbus: divide dbus call timeouts by 1000 to convert from milliseconds
@fix
Vincent Torri [Tue, 24 May 2016 19:46:45 +0000 (15:46 -0400)]
Fix The name of the pc file for Ecore_Win32
Summary: With the current detection, ecore_win32.pc was used. Fix this to use ecore-win32.pc
Test Plan: compilation
Reviewers: cedric, jpeg, zmike
Differential Revision: https://phab.enlightenment.org/D3980
Tom Hacohen [Tue, 24 May 2016 18:14:59 +0000 (19:14 +0100)]
Eo: Fix issue of too many unrefs in some cases.
This problem was that because the refcount is now shared between the
parent and the programmer in some cases we would get a double unref. An
example way of triggering it is creating a button and putting it in a
box. The box has a callback registered that when the button is deleted
it would delete itself too. The problem is that the delete callback is
called the button is removed from the box thus causing the box to unref
it again (because of the parent), although the refcount was already
accounted for.
There is another more convoluted scenario that I have yet to fix.
Thanks to raster for reporting.
Tom Hacohen [Tue, 24 May 2016 18:14:21 +0000 (19:14 +0100)]
Eo: use internal unref function intsead of public one.
This is a micro optimisation that doesn't really matetr, but since
we already have the actual eo object, we may as well use it.
Dave Andreoli [Tue, 24 May 2016 18:21:19 +0000 (20:21 +0200)]
Fix crazy indentation. no functional changes.
* keep on a single line if it fits 80 cols
* align to opening braces in functions
Daniel Kolesa [Tue, 24 May 2016 14:22:25 +0000 (15:22 +0100)]
eolian: replace Eina.Value with generic_value usage
Chris Michael [Tue, 24 May 2016 13:19:04 +0000 (09:19 -0400)]
elput: Add API function to set left-handed device
This commit adds an API function which Enlightenment can call in order
to set an input device to be "left-handed". Mainly used for a mouse
pointer, but not specific to pointers.
@feature
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Daniel Kolesa [Tue, 24 May 2016 10:48:44 +0000 (11:48 +0100)]
eolian: add support for warning when pointer type is found (with env var)
Jean-Philippe Andre [Tue, 24 May 2016 09:14:05 +0000 (18:14 +0900)]
Edje: Test proxy objects more
This tests that a cached object is not reused invalidly if
it was ref'ed.
Jean-Philippe Andre [Tue, 24 May 2016 07:43:15 +0000 (16:43 +0900)]
Edje: cache proxy objects (1 slot only)
Also, fix calls to a proxy obj from a proxy function.
Jean-Philippe Andre [Tue, 24 May 2016 05:49:58 +0000 (14:49 +0900)]
Edje: fix test case (switch to efl_part)
Jean-Philippe Andre [Tue, 24 May 2016 07:00:33 +0000 (16:00 +0900)]
Edje: Auto-unref proxy objects after calls
Jean-Philippe ANDRE [Wed, 18 May 2016 18:20:09 +0000 (03:20 +0900)]
Efl: Add Efl.Part and switch to it
This should now fix the part API usage once and for all.
EFL should have no part name in any of its APIs beyond
the Efl.Part interface.
Part proxy objects (may be real objects) have a lifetime
of only one function call, in a fashion similar to eo_super.
@feature
Stefan Schmidt [Tue, 24 May 2016 09:13:28 +0000 (11:13 +0200)]
eolian-cxx: ship new complex.eo file in dist
Stefan Schmidt [Tue, 24 May 2016 08:47:22 +0000 (10:47 +0200)]
build: cxx bindings: make sure we ship needed headers in distribution
Ecore.hh and eina_workarounds.hh have not been shipped in the dist and thus
failed the build.
Stefan Schmidt [Tue, 24 May 2016 08:16:06 +0000 (10:16 +0200)]
build: cxx binding: fix typo in file path to be cleaned
SangHyeon Lee [Tue, 24 May 2016 05:11:07 +0000 (14:11 +0900)]
genlist: process message before restricted calc for get proper size of text and content visibled
Summary:
genlist text_get and content_get send signal for visibled or re-arrange
it's part on edc.
this singal may need to be processed before calculating item edc for
proper result.
we cannot call one only one time in realized function, because, size
must calculated before the realized callback, and user can send
customized signal in their realized callback which also need to be
processed.
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
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>