Daniel Zaoui [Fri, 2 Jun 2017 09:12:00 +0000 (12:12 +0300)]
Rename opcodes for a better readability
Daniel Zaoui [Fri, 27 Jan 2017 10:14:42 +0000 (12:14 +0200)]
Eo: add APIs to walk over classes and objects
These APIs are needed by Clouseau to get a list of classes and objects.
Daniel Zaoui [Thu, 1 Jun 2017 16:59:40 +0000 (19:59 +0300)]
Remove alloca of potential big size
Daniel Zaoui [Wed, 31 May 2017 22:14:37 +0000 (01:14 +0300)]
Bt: Remove special handling for mainloop
Daniel Zaoui [Tue, 30 May 2017 13:04:24 +0000 (16:04 +0300)]
Fix Coverity issues
Daniel Zaoui [Tue, 30 May 2017 11:14:59 +0000 (14:14 +0300)]
Remove thread management
The handling to forward requests is let to the callbacks.
Daniel Zaoui [Sat, 27 May 2017 20:08:36 +0000 (23:08 +0300)]
Use better names for daemon operations
Daniel Zaoui [Sat, 27 May 2017 19:03:11 +0000 (22:03 +0300)]
Remove old evlog code from efl_debugd
Daniel Zaoui [Sat, 27 May 2017 18:58:13 +0000 (21:58 +0300)]
Fix connection closing
The client structure was not deleted when the connected application was
suddenly terminated (ctrl-c).
It was not happening before, so I suspect TCP and UNIX sockets behave
differently on this matter.
Daniel Zaoui [Sat, 27 May 2017 17:46:29 +0000 (20:46 +0300)]
Add Clouseau loading at the init of the application
Daniel Zaoui [Sat, 27 May 2017 17:45:12 +0000 (20:45 +0300)]
Removes modules feature
Daniel Zaoui [Sat, 27 May 2017 17:44:50 +0000 (20:44 +0300)]
Fix daemon issues
Daniel Zaoui [Sat, 27 May 2017 17:44:19 +0000 (20:44 +0300)]
Add prints to efl_debugd
Daniel Zaoui [Fri, 26 May 2017 05:52:52 +0000 (08:52 +0300)]
Init the communication with the daemon from the debug thread
Daniel Zaoui [Thu, 25 May 2017 10:26:41 +0000 (13:26 +0300)]
Replace shell remote connection with localhost TCP connection
Daniel Zaoui [Thu, 25 May 2017 08:10:53 +0000 (11:10 +0300)]
Remove _session variable as it is not needed anymore
Daniel Zaoui [Fri, 19 May 2017 05:59:56 +0000 (08:59 +0300)]
Add data to opcode registration callback
Daniel Zaoui [Fri, 19 May 2017 05:59:51 +0000 (08:59 +0300)]
Add API to get/set data to session
Daniel Zaoui [Fri, 19 May 2017 05:56:54 +0000 (08:56 +0300)]
Add API to get the session dispatcher
Daniel Zaoui [Tue, 16 May 2017 07:16:22 +0000 (10:16 +0300)]
Clean code and add comments
Daniel Zaoui [Wed, 10 May 2017 08:57:07 +0000 (11:57 +0300)]
Adapt bt stuff to Eina Debug signal infras
Daniel Zaoui [Tue, 9 May 2017 08:02:16 +0000 (11:02 +0300)]
Move internals constants to private h file
Daniel Zaoui [Tue, 9 May 2017 07:36:15 +0000 (10:36 +0300)]
Fix Coverity issues
Daniel Zaoui [Mon, 8 May 2017 19:26:44 +0000 (22:26 +0300)]
Add a better support of timers
Now, the timers are handled in one dedicated thread. Multiple timers are
supported.
Daniel Zaoui [Thu, 4 May 2017 07:17:05 +0000 (10:17 +0300)]
Add shell remote connection
This feature is essential to debug remote applications.
Daniel Zaoui [Wed, 26 Apr 2017 05:16:45 +0000 (08:16 +0300)]
Fix typo
Daniel Zaoui [Wed, 15 Mar 2017 20:44:02 +0000 (22:44 +0200)]
Free packet buffer outside of the dispatcher
Daniel Zaoui [Mon, 6 Mar 2017 07:22:02 +0000 (09:22 +0200)]
Close file descriptor when the session is terminated
Daniel Zaoui [Sun, 27 Nov 2016 05:48:10 +0000 (07:48 +0200)]
First patch of the Eina Debug layer rewriting
Eina Debug is a new layer aimed for EFL debugging. It offers scalability
by allowing registration of operations not specific to EFL core.
The protocol is simple and the APIs try to provide as much
functionalities/freedom as possible.
Shilpa Singh [Sat, 3 Jun 2017 08:28:30 +0000 (17:28 +0900)]
elm_colorselector: Improve ATSPI support
Summary:
Item: state_set_get, name, actions api added
Widget: children_get api added.
Test Plan:
In Accessibility mode, on item tap, color name should be read out,
and if the color is a selected color, state also should be read out.
Reviewers: kimcinoo
Subscribers: cedric, jpeg, govi, rajeshps
Differential Revision: https://phab.enlightenment.org/D4934
Cedric BAIL [Fri, 2 Jun 2017 23:27:02 +0000 (16:27 -0700)]
ecore: simplify usage of poller by giving 3 class of event on the main loop object.
The internal logic should be improved further in the future to synchronize itself
with loop wake up whenever possible (Especially true for the high frequency poller).
Cedric BAIL [Fri, 2 Jun 2017 22:38:25 +0000 (15:38 -0700)]
ecore: poller will be legacy only.
Bryce Harrington [Fri, 2 Jun 2017 23:06:31 +0000 (19:06 -0400)]
ecore-imf-wayland: Check xkb_keysym_to_utf8
Summary:
Coverity reports an error "Calling "xkb_keysym_to_utf8" without checking
return value (as is done elsewhere 4 out of 5 times)."
fixes: cid1375673
Reviewers: zmike
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4936
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
ecore-audio: unset DISPLAY conditionally before processing pulse events
in some cases, pulse events trigger spawning another pulse instance, and
the environment at this time is used to determine whether to attempt an
x11 connection
fix T2599
@fix
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
elput: send extra pointer motion event on first button press after resume
ensure state is reapplied by other components
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
elput: move pointer coords into seat struct
@fix
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
elput: ref evas devices in event structs
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
evas: simplify seat-getting during key event dispatch
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
ecore-evas: directly get the seat device instead of the parent
no functional changes
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
evas: redo pointer data to be per-seat instead of per-device
pointer devices are grouped into seats, and it is the seat which has
states related to canvas coordinates
@fix
ref
484dae76e675318a579e90ac05d4371acc1f8891
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
efl_input_device: do not free list when freeing children iterator
disappoint.jpg
@fix
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
ee drm: null elput device pointer when deleting device
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
elput: add refcounting for seats/devices
ensure lifetimes persist through events
@fix
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
evas: don't crash in _evas_default_output_get() if no outputs exist
@fix
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ecore-wl2: change safety null check to regular null check on surface create
this is a normal case during async init
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ee engines: update engines for per-seat cursor objects
ref
5856d3b52f6124ad5b4cfe47b21f28ab6f380002
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ee wayland: only handle events for ee with matching display object
ensure apps with multiple client connections don't mix events from different
connections
@fix
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
elput: add null checks for xkb compose pointers
somehow these can fail to be created
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ecore-wl2: add null checks for xkb compose pointers
somehow these can fail to be created
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ecore-wl2: do not unref non-matching input device upon removal
this is how you avoid crashing
@fix
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ecore-evas: redo per-device cursor internals to be per-seat
seats have cursors, pointer devices do not.
@fix
fix T5531
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
Felipe Magno de Almeida [Wed, 31 May 2017 19:32:20 +0000 (16:32 -0300)]
eolian-cxx: Fixed compilation error after Eolian_Unit type introduction
Derek Foreman [Fri, 2 Jun 2017 19:19:39 +0000 (14:19 -0500)]
ecore_evas_drm: Send a spurious pageflip when showing a canvas
This is a quick and harmless hack to make sure we don't come back to a
dead compositor on a vc switch.
A proper fix will follow eventually, I promise.
Really. Would I lie?
Derek Foreman [Fri, 2 Jun 2017 18:19:58 +0000 (13:19 -0500)]
ecore_drm2: Don't try to disable all devices when session deactivates
We get this callback after we've lost the drm device to logind, so
deactivating stuff here will just generate a lot of ERR messages
and break our internal book-keeping.
Instead, we just turn on DPMS on session activation instead of trying
to go through the output enable path (that will bail if it's already
enabled)
This could potentially result in a display that's enabled and DPMS
off being switched back on during session activation - if that's a real
problem we can restore the previous dpms state instead...
@fix T5483
Derek Foreman [Fri, 2 Jun 2017 16:39:34 +0000 (11:39 -0500)]
ecore_drm2: Fix dpms shutdown while disabling outputs
We need to set output->enabled to disabled *after* dpms takes place or set
it to enabled *before* dpms takes place. We can't just set it at the
start of the function or one of enable/disable will hit the dpms path
with a disabled display.
Derek Foreman [Fri, 2 Jun 2017 16:38:01 +0000 (11:38 -0500)]
ecore_drm2: Properly release buffers on output disable
Give back all buffers, and do it through the release mechanism that can
fire a callback into the engine.
Previously we just leaked one and left the rest.
Derek Foreman [Fri, 2 Jun 2017 16:36:51 +0000 (11:36 -0500)]
ecore_drm2: Rename _release_buffer and make it private instead of static
Other files in ecore_drm2 need to release buffers too.
Amitesh Singh [Fri, 2 Jun 2017 01:45:25 +0000 (10:45 +0900)]
Efl.Ui.Image.Zoomable: implement Ui.Image.icon property
@feature
JinYong Park [Fri, 2 Jun 2017 07:25:11 +0000 (16:25 +0900)]
popup: fix object_mirrored_set didn't work
Summary:
object_mirroed_set as opposed to config_mirrored_set doesn't work with
popup. This patch broadcasts a change on 'mirrored' to internal notify,
main layout, scroller and action area layout to make API work.
@fix
Reviewers: singh.amitesh, jpeg, conr2d, cedric, raster
Reviewed By: conr2d
Subscribers: herb
Differential Revision: https://phab.enlightenment.org/D4900
Stefan Schmidt [Thu, 1 Jun 2017 13:16:47 +0000 (15:16 +0200)]
examples: edje: make sure we use the edje_object_language_set legacy API
The EO based edje_obj_language_set API is now longer available since a
rework of this API. Also make sure a used parameter is not marked as
unused.
Stefan Schmidt [Wed, 31 May 2017 15:56:56 +0000 (17:56 +0200)]
docs: efl_text_style: add docs for various style related enums
Stefan Schmidt [Wed, 31 May 2017 15:41:37 +0000 (17:41 +0200)]
docs: efl_font_format: add docs for Efl.Text.Format.Wrap enum
Stefan Schmidt [Wed, 31 May 2017 15:30:28 +0000 (17:30 +0200)]
docs: efl_text_font: add docs for font width and slant enums
Stefan Schmidt [Wed, 31 May 2017 15:19:57 +0000 (17:19 +0200)]
docs: efl_text_font: add docs for font weight enum
Who comes up with font weight names like extrabold or black? :)
Stefan Schmidt [Wed, 31 May 2017 15:19:24 +0000 (17:19 +0200)]
docs: elm: add description for external Elm.Glob.Match_Flags
Stefan Schmidt [Wed, 31 May 2017 15:08:38 +0000 (17:08 +0200)]
elm: move Elm.Glob.Match_Flags extern into a single place
Since this was moved into the two genlist and gengrid files I get
redefinition warnings during the build and when generating the docs
eolian actually errors out on me and stops parsing.
SangHyeon Lee [Fri, 2 Jun 2017 01:32:04 +0000 (10:32 +0900)]
elm_gen : apply Elm_Theme_Apply enum return types for theme_object_get of item view.
elm_widget_theme_object_get now return Elm_Theme_Apply enum not bools.
only ELM_THEME_APPLY_FAILED case, need to re-apply default item edje.
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Jihoon Kim [Wed, 31 May 2017 09:23:32 +0000 (18:23 +0900)]
ecore_imf: Add commit content event callback
COMMIT_CONTENT is called when the input method commits content such as an image.
Change-Id: Idf238dc9b27811999b1ee733eeba2318d57e54f1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Derek Foreman [Wed, 31 May 2017 19:16:36 +0000 (14:16 -0500)]
elput: Fix logind session object path
We're supposed to query the path for a session id instead of just
making up the string ourselves.
Fixes all input devices being dead after a vc switch for some users.
Amitesh Singh [Mon, 29 May 2017 08:59:35 +0000 (17:59 +0900)]
Efl.Ui.Image.Zoomable: inherit from Efl.Ui.Image
jiin.moon [Wed, 31 May 2017 10:01:03 +0000 (19:01 +0900)]
elm_image: Fix previous image visible issue
Summary: Previous image still visible when elm_image_file_set has wrong file path.
Test Plan: self
Reviewers: jpeg, jypark, singh.amitesh
Reviewed By: singh.amitesh
Subscribers: singh.amitesh, minkyu, cedric
Differential Revision: https://phab.enlightenment.org/D4888
Jean-Philippe Andre [Wed, 31 May 2017 09:33:11 +0000 (18:33 +0900)]
edje: Move some functions to Efl.Ui.Base (EO)
This introduces the new interface Efl.Ui.Base, intended to
share some APIs between Edje and Elm:
- mirrored (rtl)
- language
- scale
base_scale remains in Edje.Object for now. I don't think it
applies to generic widgets.
The new interface uses eo prefix "efl_ui". It could be renamed
as Efl.Ui (no Base), or anything else. As always, I'm open to
propositions!
Ref T5315
Jean-Philippe Andre [Wed, 31 May 2017 08:58:14 +0000 (17:58 +0900)]
interfaces: Remove display_mode from EO size hints
This size hint is only used by naviframe, which is not part of
our EO widgets. I also believe it might be an even more confusing
hint than the others.
I kept the typedef as is in Evas_Legacy.h in case an app is
written using EFL_GFX_ instead of EVAS_...
Jean-Philippe Andre [Wed, 31 May 2017 08:03:26 +0000 (17:03 +0900)]
edje: Reshuffle a bit edje_object.eo
This changes a few method names:
- freeze -> calc_freeze
- thaw -> calc_thaw
- update_hints -> calc_update_hints
Otherwise this is mostly about reshuffling the EO file itself
and changing documentation.
Ref T5315
Jean-Philippe Andre [Wed, 31 May 2017 07:20:54 +0000 (16:20 +0900)]
edje: Rename "data" to "group_data" for EO
Still not happy with the name. I'm trying to avoid a name
clash between other "data" elements in the object. This is
the EDC group "data item".
Ref T5315
Jean-Philippe Andre [Wed, 31 May 2017 08:46:21 +0000 (17:46 +0900)]
drm: Fix build warning (invalid enum type)
Jean-Philippe Andre [Wed, 31 May 2017 02:33:33 +0000 (11:33 +0900)]
edje: Revert build fix and make "internal" eo public
Those classes are simply badly named, and I've come to realize since
that part class definitions are not internal, but instead they are
part of the public API. They are required for documentation, casting,
etc... I will rename them to "part" instead of "internal" later.
Since the headers are included in Edje_Eo.h not installing them
broke the build of any external app. Sorry for the mess!
This reverts
665856027d85802a29ede6f005674a8294df60fe
Ref T5306
Jean-Philippe Andre [Wed, 31 May 2017 02:20:40 +0000 (11:20 +0900)]
edje: Remove external param_set from EO
As Dave pointed out, those are meant for internal use by Edje and
the plugins implementation, rather than for apps. This removes
ugly and complex code. Makes me happy :)
Note that I've kept the composition for now. We can remove it
as efl_content_get() must work on the part handle anyway. But it
can be used as a quick solution.
Jean-Philippe Andre [Tue, 30 May 2017 14:52:22 +0000 (23:52 +0900)]
test: Cleanup timer when window is closed
This avoids confusing ERR messages in efl_part().
Jean-Philippe Andre [Tue, 30 May 2017 14:13:02 +0000 (23:13 +0900)]
edje: Move part drag APIs to efl_part
This moves all part_drag APIs to legacy and implements them for
EO using efl_part(). All parts now support these APIs, even if
they are not draggable. Making this more fine grained would
probably be much extra work for little gain.
This creates a new interface Efl.Ui.Drag.
Jean-Philippe Andre [Tue, 30 May 2017 13:38:13 +0000 (22:38 +0900)]
edje: Improve reference doc for part drag APIs
JinYong Park [Wed, 31 May 2017 04:12:59 +0000 (13:12 +0900)]
popup: remove previous object when setting new content
Summary:
Other widgets remove previous object when setting new content, but popup does
nothing for the part whose name is "default".
content_unset can be used to keep previous content object, so content_set
(especially with NULL) should be able to delete previous content object
for uniformity of the entire widgets.
@fix
Reviewers: jpeg, singh.amitesh, cedric, raster, conr2d
Reviewed By: conr2d
Subscribers: minkyu, herb
Differential Revision: https://phab.enlightenment.org/D4885
Cedric BAIL [Tue, 30 May 2017 21:03:31 +0000 (14:03 -0700)]
edje: temporary build fix.
Currently Edje_Eo.h does use all the internal eo file for part.
This should be fixed soon, but in the mean time we need a usable tree.
Chris Michael [Tue, 30 May 2017 19:57:07 +0000 (15:57 -0400)]
ecore-drm2: Don't free output plane states if not using atomic
If atomic support is not enabled (kernel or env var), then we will not
be filling output plane_states, so no need to free them (if non-atomic).
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 30 May 2017 19:56:51 +0000 (15:56 -0400)]
ecore-drm2: Minor formatting fix
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Tue, 30 May 2017 15:18:31 +0000 (17:18 +0200)]
eolian: add new unit API
The idea of units (as in translation units) is to encapsulate a single
parser pass into a structure to prevent leakage of data from other
passes (therefore catching error cases that couldn't be caught before).
The internals of the unit system are currently not implemented, this
batch merely switches all the relevant APIs to use units as well as
updates various things that use those APIs; implementation will come
afterwards.
@feature
Daniel Kolesa [Tue, 30 May 2017 14:42:26 +0000 (16:42 +0200)]
eolian: silence a unused warning temporarily
Daniel Kolesa [Tue, 30 May 2017 14:09:59 +0000 (16:09 +0200)]
docgen: stub out units so the generator works again
Daniel Kolesa [Fri, 26 May 2017 13:09:49 +0000 (15:09 +0200)]
eolian: use unit in typedecl c_type_get
Daniel Kolesa [Fri, 26 May 2017 13:04:49 +0000 (15:04 +0200)]
eolian: pass unit in internal type serialization
Daniel Kolesa [Fri, 26 May 2017 13:01:00 +0000 (15:01 +0200)]
eolian: doc token ref resolver now takes unit
Daniel Kolesa [Fri, 26 May 2017 12:52:44 +0000 (14:52 +0200)]
eolian: type_class_get takes unit
Daniel Kolesa [Thu, 25 May 2017 14:18:10 +0000 (16:18 +0200)]
eolian: expr eval APIs now take units
Daniel Kolesa [Thu, 25 May 2017 14:10:29 +0000 (16:10 +0200)]
eolian: more expr system unit updates
Daniel Kolesa [Thu, 25 May 2017 14:07:48 +0000 (16:07 +0200)]
eolian: pass unit around in expr eval
Daniel Kolesa [Thu, 25 May 2017 13:20:12 +0000 (15:20 +0200)]
eolian: update lua bindings with new unit apis
Daniel Kolesa [Thu, 25 May 2017 13:18:57 +0000 (15:18 +0200)]
eolian: use unit in all getters for typedecls
Daniel Kolesa [Thu, 25 May 2017 13:17:29 +0000 (15:17 +0200)]
eolian: use units in by_file getters for typedecls
Daniel Kolesa [Thu, 25 May 2017 13:15:04 +0000 (15:15 +0200)]
eolian: pass unit to enum get by name