Jean-Philippe Andre [Mon, 9 May 2016 02:46:11 +0000 (11:46 +0900)]
Evas: Remove invalid code
Since Efl.Canvas.Image and Efl.Canvas.Scene3d inherit from
Evas.Image, the two CHECK(isa) can not be reached, and also the
cast from eo_data_scope_get() would be invalid (it should return
NULL as those classes have no private data).
Also, I believe the CHECK() for texture3d can not be reached
either since texture3d objects are not evas objects.
Ping @zmike
Dave Andreoli [Sun, 8 May 2016 20:34:26 +0000 (22:34 +0200)]
Improve elm standard icons test
* use a genlist to speedup and make use of group ability
* manually list the icons (otherwise old and deprecated icons show up)
NOTE: as always this expose a new genlist bug: just change the size
of the icons (with the radio button) and scroll the list...new realized
items get a wrong size.
Dave Andreoli [Sun, 8 May 2016 17:06:03 +0000 (19:06 +0200)]
FDO icons: more work on Places icons
Felipe Magno de Almeida [Sun, 8 May 2016 15:20:27 +0000 (12:20 -0300)]
elementary: Fix example compilation when compiling in another directory
Felipe Magno de Almeida [Sun, 8 May 2016 15:19:48 +0000 (12:19 -0300)]
eolian-cxx: Disable example and fix new naming standard
Fixed naming standard in some tests and disabled the callback test
while Ecore Eo API is still rapidly changing
Felipe Magno de Almeida [Sun, 8 May 2016 14:58:56 +0000 (11:58 -0300)]
evas: Disabled C++ example while Eo API is still rapidly changing
Dave Andreoli [Sun, 8 May 2016 12:23:30 +0000 (14:23 +0200)]
FDO icons: redesigned all the actions icons
Felipe Magno de Almeida [Fri, 6 May 2016 19:32:10 +0000 (16:32 -0300)]
eina: Fix memory leaks in promise
Dave Andreoli [Sat, 7 May 2016 14:55:40 +0000 (16:55 +0200)]
FDO icons: reenable all the new icons, this time in png format
#SecondTry
Dave Andreoli [Sat, 7 May 2016 13:31:54 +0000 (15:31 +0200)]
FDO icons: convert the Status ctx to png
Dave Andreoli [Sat, 7 May 2016 13:00:16 +0000 (15:00 +0200)]
FDO icons: convert the Actions ctx to png
Dave Andreoli [Sat, 7 May 2016 12:36:04 +0000 (14:36 +0200)]
FDO icons: convert the Categories ctx to png
Dave Andreoli [Sat, 7 May 2016 12:16:01 +0000 (14:16 +0200)]
FDO icons: convert the Emblems ctx to png
Dave Andreoli [Sat, 7 May 2016 12:00:48 +0000 (14:00 +0200)]
FDO icons: convert the Places ctx to png
Cedric BAIL [Sat, 7 May 2016 00:01:10 +0000 (17:01 -0700)]
evas: let's reuse what we know when possible to avoid more useless eo_data_scope_get.
Cedric BAIL [Fri, 6 May 2016 23:47:56 +0000 (16:47 -0700)]
edje: do not check against eet if strings where never allocated.
Cedric BAIL [Fri, 6 May 2016 23:47:07 +0000 (16:47 -0700)]
evas: cache result of eo_data_scope_get that are heavily used.
This alone save a good 3% time to our first frame being displayed.
Cedric BAIL [Fri, 6 May 2016 23:18:51 +0000 (16:18 -0700)]
edje: reduce memory usage by 57Kb.
If we do a copy of a string living in the object we are storing in the
same eina_hash, it is obviously better to use the direct pointer version.
Cedric BAIL [Fri, 6 May 2016 22:34:47 +0000 (15:34 -0700)]
ecore: add tests case for Efl.Loop.Fd.
Cedric BAIL [Fri, 6 May 2016 22:33:36 +0000 (15:33 -0700)]
ecore: add Efl.Loop.Fd.
This allow you to monitor fd and get notification using Eo events. I
have not implemented the buffered read as used by X. I think that if
this is useful, we should just do another class to handle bufferred fd.
Cedric BAIL [Fri, 6 May 2016 22:32:32 +0000 (15:32 -0700)]
ecore: update documentation of Efl.Timer.
I am wondering how this is going to affect our legacy API documentation
which has indeed a different lifecycle.
Derek Foreman [Fri, 6 May 2016 20:08:33 +0000 (15:08 -0500)]
ecore_drm: Fix off by 1000 in output rate calculation
This results in wayland wl_output modes having their refresh rates
1000x too high, which has the magical effect of making some native
Qt apps fail with a GTK error when Xwayland crashes on 32-bit systems.
@fix
Fixes T3587
Jean Guyomarc'h [Fri, 6 May 2016 20:12:39 +0000 (22:12 +0200)]
ecore_file: fix memory leak
@fix
Jean Guyomarc'h [Fri, 6 May 2016 20:11:51 +0000 (22:11 +0200)]
eina: fix typos in tmpstr doc
Jean Guyomarc'h [Wed, 4 May 2016 19:59:52 +0000 (21:59 +0200)]
ecore: don't use an unspecified amount of arguments
Jean Guyomarc'h [Wed, 13 Apr 2016 19:34:26 +0000 (21:34 +0200)]
ecore/getopt: slightly improve documentation
Jean Guyomarc'h [Mon, 11 Apr 2016 20:41:03 +0000 (22:41 +0200)]
ecore: fix typo in documentation of Ecore_Exe_Event_Del
Chris Michael [Fri, 6 May 2016 19:48:14 +0000 (15:48 -0400)]
efl: Make building Ecore_Wayland optional
This patch makes building Ecore_Wayland library disabled by default
but provides an option to enable it (if needed).
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Mike Blumenkrantz [Fri, 6 May 2016 19:43:01 +0000 (15:43 -0400)]
ecore-wl2: only print socket ERR messages when not attempting to reconnect
reduces spamming in logs
Mike Blumenkrantz [Fri, 6 May 2016 19:32:58 +0000 (15:32 -0400)]
eldbus: send exit/quit event upon disconnecting the session bus
if an application is connected to the session bus, being disconnected
should indicate that the session has been terminated and all applications
in that session should also be terminated
this ensures that no zombie processes will remain after the session bus dies
Felipe Magno de Almeida [Sun, 17 Apr 2016 18:47:33 +0000 (15:47 -0300)]
eina: Add progress notify callback feature for Promise Owners
Add a way for users of the promise owner to get notified when a
promise progress is registered. Also added a convenience composition
function that creates a promise which is fulfilled when another
promise has a progress notification.
Daniel Kolesa [Fri, 6 May 2016 11:56:16 +0000 (12:56 +0100)]
eolian: lift restriction on namespace/class name conflicts in library
This will allow us to name classes the same as namespaces.
Carsten Haitzler (Rasterman) [Fri, 6 May 2016 07:09:07 +0000 (16:09 +0900)]
Ecore.h wants efl_timer.eo.legacy.h so lets make sure it is there
so ensure it is generated AND installed. otherwise good luck building
anything against efl.
Yeshwanth Reddivari [Fri, 6 May 2016 05:53:17 +0000 (11:23 +0530)]
Toolbar: Use orientation interface APIs instead of horizontal set/get APIs
Test Plan: elementary_test
Reviewers: raster, jpeg, cedric, singh.amitesh
Reviewed By: singh.amitesh
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3890
Cedric Bail [Fri, 6 May 2016 04:55:43 +0000 (21:55 -0700)]
ecore: fix legacy use of double free scenario.
Cedric Bail [Fri, 6 May 2016 04:32:37 +0000 (21:32 -0700)]
Revert "ecore timer - fuix up segv storm that has crept in with frees"
This reverts commit
a13570c17c97bb9407c24bcf78ab28eaa4541ad9.
This doesn't really fix the problem which is hidden by eo capability to not
crash on bad unref. With legacy API you are allowed to do a ecore_timer_del
and also return EINA_FALSE. In that case you have a double eo_del (which is
luckily protected) and a double free (that is not). It does crash on the
double free, but the issue is a lifecycle issue. Will bring a better patch
for this.
Carsten Haitzler (Rasterman) [Fri, 6 May 2016 02:06:56 +0000 (11:06 +0900)]
ecore timer - fuix up segv storm that has crept in with frees
freeing already freed data, not clearing up pointers to freed data
once freed etc. etc. etc. - segv land. fix that up so we can use efl
again. :(
Cedric BAIL [Thu, 5 May 2016 23:18:39 +0000 (16:18 -0700)]
ecore: make efl.timer depend on efl.loop_user.
Cedric BAIL [Thu, 5 May 2016 23:18:18 +0000 (16:18 -0700)]
ecore: add an efl.loop_user class.
Cedric BAIL [Thu, 5 May 2016 21:18:27 +0000 (14:18 -0700)]
elementary: make clean, clean edj correctly.
Cedric BAIL [Thu, 5 May 2016 21:11:38 +0000 (14:11 -0700)]
elementary: add resulting edj to allow make dist to work on a clean directory.
Due to dependencies from elementary codegen on the edj files triggered by the
generation of .h and .c, we actually need to provide the edj as it would
otherwise to build edje_cc prior to any make dist.
As the edje file was added after in the git repository, you may have some
timestamp issue to fix before doing a make dist. Try touch on all codegen_example
files.
T3588
Dave Andreoli [Thu, 5 May 2016 21:17:46 +0000 (23:17 +0200)]
Disable the new svg icons for the moment :(
As explained in the ml we are hitting an issue with the svg loaders not included in efl
Dave Andreoli [Thu, 5 May 2016 20:41:09 +0000 (22:41 +0200)]
Fix distcheck wrt new fdo icons
distcheck is still not working for the lacks of the svg loader in efl
Dave Andreoli [Thu, 5 May 2016 18:44:07 +0000 (20:44 +0200)]
fdo icons: added Categories icons
this icons are blindly copyed from the RaveX/Faenza themes,
they are a bit alien in looks, I consider them as a
placeholder for some more eflish icons
Cedric BAIL [Thu, 5 May 2016 18:40:28 +0000 (11:40 -0700)]
po: update position in files.
Cedric BAIL [Thu, 5 May 2016 18:40:14 +0000 (11:40 -0700)]
elementary: unbreak make distcheck.
Cedric BAIL [Thu, 5 May 2016 18:39:59 +0000 (11:39 -0700)]
edje: unbreak EXTRA_DIST.
Dave Andreoli [Tue, 3 May 2016 18:07:04 +0000 (20:07 +0200)]
Elm icons: keep all old icons for compat
Dave Andreoli [Mon, 2 May 2016 21:41:17 +0000 (23:41 +0200)]
Add (quite) all the status icons
Dave Andreoli [Mon, 2 May 2016 18:13:33 +0000 (20:13 +0200)]
Add all the Action icons, and TODO placeholder for ALL FDO icon names.
I really don't like the look of those new icons, will improve them in a second step
Dave Andreoli [Sun, 1 May 2016 14:52:45 +0000 (16:52 +0200)]
Initial structure for a proper FDO compliant icon theme.
The idea here is to provide a "real" fdo icon theme along the icons in the elm edje theme.
To minimize file redundancy the icons are profided directly in a fdo structure and picked
in icon_fdo.edc. Also I'm using all the icons in svg format so that we don't need to provide
all the creazy sizes as per fdo spec.
More icons will comes in the next commits
Tom Hacohen [Thu, 5 May 2016 15:08:08 +0000 (16:08 +0100)]
Eo composite: change composite objects to not be tied to parent
This commit breaks behaviour!
Re-parenting no longer detaches composite objects, so watch out.
Now you can have an object be a composite object of an object although
it's not its child. This allows widgets to do things like having an
object as the child of a child object while still making it a composite
object to the main object.
With this change, composite objects don't keep a reference to the child,
but instead composite "bonds" are implicitly removed when either the
parent or the child are destructed.
Mike Blumenkrantz [Thu, 5 May 2016 14:45:59 +0000 (10:45 -0400)]
wayland: implement session recovery
add support for reconnecting wayland applications if the compositor dies
disconnect -> destroy gl ctx + image textures -> block rendering ->
reconnect -> create gl ctx -> create image textures -> unblock rendering ->
sprinkle special seasoning on top -> just like ma used to make
#SamsungFeatures
@feature
Mike Blumenkrantz [Thu, 5 May 2016 14:45:04 +0000 (10:45 -0400)]
evas: add internal functions for unsetting+regenerating image data
in the event that the global gl context changes, all engine image data
must be destroyed and then re-created in order to continue rendering
successfully
Mike Blumenkrantz [Thu, 5 May 2016 14:42:26 +0000 (10:42 -0400)]
wayland_egl: return immediately in eng_window_free() when null is passed
Mike Blumenkrantz [Thu, 5 May 2016 14:41:27 +0000 (10:41 -0400)]
wayland_egl: unset global egl context if used wl_display changes
as long as evas uses a global gl context any change to the wl_display
must trigger a full re-create on that context
Mike Blumenkrantz [Thu, 5 May 2016 14:38:31 +0000 (10:38 -0400)]
wayland_egl: ensure gl context destruction when unsetting wl_display
extra refcounting during setup in this case will prevent the context
destruction, leading to a dead gl context which is unable to render
Mike Blumenkrantz [Thu, 5 May 2016 14:35:18 +0000 (10:35 -0400)]
ecore-wl2: null out subsurface pointers after destroying them
Mike Blumenkrantz [Thu, 5 May 2016 14:33:28 +0000 (10:33 -0400)]
evas: add a few null checks for e->engine.data.output
this can be null if engine info has not yet been set or if engine info
has been unset, leading to engine crashes. instead of adding null checks in
every engine, better to add the checks to the originating functions
someone with time to kill should go through all the EAPI functions and
add more checks
Mike Blumenkrantz [Thu, 5 May 2016 14:31:54 +0000 (10:31 -0400)]
evas: move Evas_VG_Data struct to separate header
Mike Blumenkrantz [Thu, 5 May 2016 14:27:50 +0000 (10:27 -0400)]
evas: move Efl_Canvas_Polygon_Data struct to separate header
Felipe Magno de Almeida [Thu, 5 May 2016 00:13:48 +0000 (21:13 -0300)]
eolian-cxx: Added test for the removal of the .Base class requirement
Test creates class with the same name as the namespace of another class
Cedric BAIL [Wed, 4 May 2016 22:42:23 +0000 (15:42 -0700)]
ecore: add timeout promise test.
Cedric BAIL [Wed, 4 May 2016 22:41:37 +0000 (15:41 -0700)]
ecore: silence warning in job test.
Cedric BAIL [Wed, 4 May 2016 21:44:56 +0000 (14:44 -0700)]
ecore: add a timeout promise.
Cedric BAIL [Wed, 4 May 2016 20:37:39 +0000 (13:37 -0700)]
ecore: rework efl_timer to be a proper eo object emiting signal.
Cedric BAIL [Tue, 3 May 2016 23:20:29 +0000 (16:20 -0700)]
ecore: remove timer dump logic as Eo and clouseau should give us that info.
Cedric BAIL [Tue, 3 May 2016 21:43:23 +0000 (14:43 -0700)]
ecore: fix split built.
Cedric BAIL [Tue, 3 May 2016 21:42:20 +0000 (14:42 -0700)]
ecore: rename ecore_timer to efl_timer.
Chris Michael [Wed, 4 May 2016 15:40:29 +0000 (11:40 -0400)]
ecore-audio: Fix issue of improper deleting of ecore_job
This patch fixes a compiler warning where eo_del was being called on
an Ecore_Job.
ref
c1141c7b0b09b23c802b27d8c2c2bbe91919121b
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 4 May 2016 14:43:36 +0000 (10:43 -0400)]
elput: Add API function to set pointer position on a given seat
Small patch to add an API function that can be used to set the current
pointer position on a given seat name. This function (typically) will
be used inside an Ecore_Evas to "pointer warp".
@feature
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 4 May 2016 14:20:04 +0000 (10:20 -0400)]
elput: Add API function to get pointer position on a given seat
Small patch to add an API function that can be used to retrieve
current pointer position on a given seat name.
@feature
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Amitesh Singh [Wed, 4 May 2016 10:58:56 +0000 (16:28 +0530)]
elm_cnp: comment the debug macro
It was accidently enabled in
1bc9483a82bf18be3
Marcel Hollerbach [Wed, 4 May 2016 08:08:00 +0000 (10:08 +0200)]
eo: replace loop_get with object_find
Summary:
object_find is more generic, so other mechanisms can also reuse the
code.
The object itself has to support the function, so there is no need for
eo_isa which would have a negative performance impact.
The base class implementation calls interface_get on the parent, so a
override of the function can just call the super function to continue in
the recursion.
Test Plan: just run the eo test suite
Reviewers: raster, tasn, jpeg
Reviewed By: tasn, jpeg
Subscribers: felipealmeida, netstar, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3909
Ji-Youn Park [Wed, 4 May 2016 07:19:32 +0000 (15:49 +0830)]
elm_win: move elm_win_raise into eo again.
elm_win_raise is used not only x but also wayland.
so I modify doc and move again this api to eo.
Larry Jr [Tue, 3 May 2016 21:19:26 +0000 (18:19 -0300)]
Eio: fixed eio_model_test_monitor_add
fix filename comparison in the test for deleted file
Cedric BAIL [Tue, 3 May 2016 21:32:05 +0000 (14:32 -0700)]
ecore: silent warnings by directly freeing.
Cedric BAIL [Tue, 3 May 2016 20:31:16 +0000 (13:31 -0700)]
ecore: remove dead Ecore_Job eo object.
Larry Jr [Tue, 3 May 2016 19:21:29 +0000 (16:21 -0300)]
Eldbus: re-enable eldbus_tests_model by default
Larry Jr [Tue, 3 May 2016 19:15:07 +0000 (16:15 -0300)]
Eldbus: fixed eina_promise callback in eldbus test model
Derek Foreman [Tue, 3 May 2016 18:52:03 +0000 (13:52 -0500)]
ecore_wl2: Check return of wl_display_dispatch()
If the compositor crashes at just the right time this dispatch can fail
and result in a stuck app spinning in a tight loop. Fix it so we do a
proper shutdown in this case.
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Derek Foreman [Mon, 2 May 2016 19:29:47 +0000 (14:29 -0500)]
wayland_shm: Fix extra buffer allocation on client shutdown
On shutdown we need to set wl_surface to NULL to let the engine know
there's nothing to write to - however we've been setting up an entirely
new outbuf instead of just changing the old one.
Derek Foreman [Mon, 2 May 2016 19:26:09 +0000 (14:26 -0500)]
wayland_shm: Fix bad indenting
Derek Foreman [Wed, 27 Apr 2016 16:41:13 +0000 (11:41 -0500)]
wayland_shm: Fix dmabuf fallback to shm
The outbuf code should free the surface structure, not the dmabuf
abstraction or a use after free occurs on fallback.
Re-organize some code to make sure we don't rely on anything that may
have already been freed.
Add a wl_surface_commit() to keep the animation timer alive through
the fallback process.
Derek Foreman [Tue, 26 Apr 2016 15:46:46 +0000 (10:46 -0500)]
wayland_shm: Fix uninit variable
also make it an Eina_Bool
Cedric BAIL [Tue, 3 May 2016 18:18:06 +0000 (11:18 -0700)]
elementary: fix build with missing function.
Chris Michael [Tue, 3 May 2016 16:33:26 +0000 (12:33 -0400)]
ecore-wl2: Formatting
Minor formatting fix. No functional changes
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Tue, 3 May 2016 15:18:41 +0000 (11:18 -0400)]
ecore-evas-wayland: Remove include for old Ecore_Wayland library
This include is leftover from the porting to Ecore_Wl2. Remove
unused include for old Ecore_Wayland library
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Tue, 3 May 2016 12:35:48 +0000 (08:35 -0400)]
ecore-wayland: Deprecate Ecore_Wayland library
This patch deprecates the Ecore_Wayland library with a warning to not
use it. This (imo) is a better method of deprecation rather than
adding EINA_DEPRECATED to every function.
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Ji-Youn Park [Tue, 3 May 2016 10:14:03 +0000 (18:44 +0830)]
elm_win: move API related with backed engine to legacy
There are several elm_win apis releated with backed engine.
we need to move these kind of api form eo to legacy.
Stefan Schmidt [Tue, 3 May 2016 09:29:13 +0000 (11:29 +0200)]
tests: eio: re-enable eio test cases
Have been disabled with
0c76f82a. They pass here so re-enabling.
Tom Hacohen [Tue, 3 May 2016 08:53:43 +0000 (09:53 +0100)]
Eo define class: Don't force EWAPI for class_get().
Because we were forcing EWAPI in this macro, one couldn't create a class
that is "static" or even just private or the module. The symbol was
always exposed.
Since in C the attributes of a function are set based on the first
declaration, we don't need to specify any attributes in this macro and
we can just rely on them being specified in the declaration. So for
example, for class "foo":
foo.h:
EWAPI const Eo_Class *foo_class_get(...);
foo.c:
const Eo_Class *foo_class_get(...);
Would give the desired results, a class would be EWAPI. This is already
done automatically for all of the classes using Eolian. Because of the
lack of specifiers, the default visibility will now be the default
visibility based on compiler flags and settings.
Thanks to JP for reporting this issue.
This can potentially (but very unlikely) break things.
Thiep Ha [Tue, 3 May 2016 15:05:42 +0000 (15:05 +0000)]
elm entry: remove unused funtions
The _elm_entry_entry_paste is removed from elm_cnp.c.
It is unused now. We can remove it and related function.
Thiep Ha [Tue, 3 May 2016 14:58:10 +0000 (14:58 +0000)]
elm cnp/Wl: Remove duplicated data receive callback
If we do drag & drop and then do copy & paste, both _wl_selection_receive
and _wl_dnd_receive are called for one action (dnd or cnp). It is reduntdant.
We only need one data received callback to handle two cases dnd and cnp.
Thiep Ha [Tue, 3 May 2016 10:42:31 +0000 (10:42 +0000)]
ecore wayland: add selection type
We have copy & paste and drag & drop selection types, but we cannot
distinguish between these two types when requesters receive data
from data ready event.
This patch adds a new enum to help selection requesters distinguish
between two selection types and have suitable actions for each type.
Thiep Ha [Tue, 3 May 2016 10:41:00 +0000 (10:41 +0000)]
elm cnp/wl: add uri data type checking
When selection owner provides uri type (uri/text-list),
it should check if data is in correct format.
Thiep Ha [Tue, 3 May 2016 09:49:14 +0000 (09:49 +0000)]
elm cnp/Wl: set selection for all data types
Currently, not all selection data types are set.
This patch sets selection for all suitable types that we supported.
Thiep Ha [Tue, 3 May 2016 09:44:16 +0000 (09:44 +0000)]
elm cnp/Wl: Remove duplicated data send callback
If we do drag & drop and then do copy & paste, both _wl_selection_send
and _wl_dnd_send are called for one action (dnd or cnp). It is reduntdant.
We only need one callback to handle two cases dnd and cnp.
Thiep Ha [Tue, 3 May 2016 09:30:39 +0000 (09:30 +0000)]
elm dnd/wl: add types' notify handler
This patch adds notify handlers for types.
It provides different ways to handle different data types.
Thiep Ha [Tue, 3 May 2016 09:07:48 +0000 (09:07 +0000)]
elm dnd/wl: add type converters
we support different types for DnD, but there is no converters.
This patch adds converters for types, so that we can send
different data for different types.