Daniel Hirt [Wed, 5 Oct 2016 14:10:14 +0000 (17:10 +0300)]
Canvas text: add annotation_positions_get method
We need a method that allows us to place the cursors at the start and end of an
annotation. This is required for things like getting the geometry of a range.
@feature
Daniel Hirt [Wed, 5 Oct 2016 14:10:06 +0000 (17:10 +0300)]
Efl canvas text: fix api doc a bit
Daniel Hirt [Wed, 5 Oct 2016 14:09:59 +0000 (17:09 +0300)]
Canvas text cursor: add simple_geometry_get method
The ported geometry_get was actually the legacy simple_geometry_get.
For getting simple geometries like selection this was enough, but I forgot that
we also need to query more complex geometries e.g. links.
This is required to implement link anchors in Ui Text.
Now geometry_get and simple_geometry_get are the same as their legacy
counterparts.
@feature
Daniel Hirt [Wed, 5 Oct 2016 14:09:53 +0000 (17:09 +0300)]
Ui text: update all decorations on resize
Daniel Hirt [Wed, 5 Oct 2016 14:09:46 +0000 (17:09 +0300)]
Ui text: port atspi implementation
Jean-Philippe Andre [Wed, 5 Oct 2016 07:27:46 +0000 (16:27 +0900)]
eina: Fix compilation with clang
It's not because the bug with __builtin_prefetch is inside
clang/llvm that we must break the build for people who prefer it
over gcc. As soon as a non-broken version is out, the ifdef must
be either removed (and ask people to update their clang install)
or add a version check based on __clang_xxx__.
Compilation tested with clang 3.8.1 and gcc 6.2.1.
Jaehyun Cho [Tue, 4 Oct 2016 06:50:42 +0000 (15:50 +0900)]
naviframe: Add "push,finished" and "pop,finished" smart callbacks.
"push,finished" and "pop,finished" smart callbacks are added to notice
when push and pop operation is finished.
New smart callback signals are added as follows.
"push,finished,item,activated" : Called when item push is finished and
void *event_info in smart callback is activated item (new item).
"push,finished,item,deactivated" : Called when item push is finished and
void *event_info in smart callback is deactivated item (current item).
"pop,finished,item,activated" : Called when item pop is finished and
void *event_info in smart callback is activated item (previous item).
"pop,finished,item,deactivated" : Called when item pop is finished and
void *event_info in smart callback is deactivated item (current item).
Jaehyun Cho [Wed, 5 Oct 2016 08:30:42 +0000 (17:30 +0900)]
naviframe: Fix to show/hide item view.
Naviframe item view did not become visible if top item view is deleted
by elm_object_item_del().
To resolve this problem, program for "elm,state,visible" is fixed and
"elm,state,invisible" is added.
Jaehyun Cho [Wed, 5 Oct 2016 05:12:44 +0000 (14:12 +0900)]
naviframe: Remove redundant programs.
The redundant programs emit duplicate signals incorrectly.
Jaehyun Cho [Tue, 4 Oct 2016 09:55:06 +0000 (18:55 +0900)]
naviframe: Fix to reset pushing flag of pushed item.
If multiple items are pushed, then pushing flag of the pushed item is
not reset.
To resolve this problem, pushing flag of the pushed item is reset.
Subhransu Mohanty [Wed, 5 Oct 2016 02:07:11 +0000 (11:07 +0900)]
evas/vg: renamed the legacy vg shape apis
Reviewers: Hermet, cedric, jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4284
Derek Foreman [Tue, 4 Oct 2016 19:29:36 +0000 (14:29 -0500)]
eina_cpu: Fix arm build
commit
e2875cefc49768f919919fbfa478f81570168688 accidentally removed
some unrelated headers needed for testing ARM NEON support on linux.
Chris Michael [Tue, 4 Oct 2016 13:41:53 +0000 (09:41 -0400)]
evas-software-x11: Remove unused variable and mark unused parameters
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Jee-Yong Um [Tue, 4 Oct 2016 12:08:17 +0000 (21:08 +0900)]
ecore_file/ipc: clean up documentation
Summary: move comment from c source to header and adjust ingroup relationship
Reviewers: cedric, jpeg, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D4328
Al Poole [Tue, 4 Oct 2016 06:01:40 +0000 (15:01 +0900)]
eio - put in fix by disabling some fallback code
as per https://phab.enlightenment.org/T4619
fixes 4619
@fix
Carsten Haitzler (Rasterman) [Mon, 3 Oct 2016 15:10:29 +0000 (00:10 +0900)]
ecore_x - remove ecore_x_vsync tool as it isnt enabled or used runtime
so ecore_x_vsync as a tool uses glx for nvidia drivers plut "wait for
vblank" extensions to try vsync "sync". the problem is this is flakey
because the drivers may or may not continue vsyncing after screen off
or syspend/resume or vt changes and all the workarounds dont seem to
be reliable, so since this causes this to be disabled, no point
keeping all the code and build stuff around, so remove this "unused
junk" we have in the tree.
Vitalii Vorobiov [Mon, 3 Oct 2016 17:07:13 +0000 (20:07 +0300)]
Edje_Edit: add forgotten part_item_index API into header
It was already implemented but looks like forgotten to be added into
Edje_Edit header, so we got banch of unused and unavailable API
@fix
Carsten Haitzler (Rasterman) [Sun, 2 Oct 2016 03:05:07 +0000 (12:05 +0900)]
eina_list prefetch macros - handle misstyped list ptr by casting
so it seems enlightenment someqhere uses a void * as a list per for
EINA_LIST_FREE ... so do some casing of that type to handle such badness
Jean Guyomarc'h [Sat, 1 Oct 2016 19:26:16 +0000 (21:26 +0200)]
tests: oops, remove invalid trailing slash
Jean Guyomarc'h [Sat, 1 Oct 2016 19:09:54 +0000 (21:09 +0200)]
tests: add missing symbols
make check failed on OSX (clang) because of missing symbols.
Jean Guyomarc'h [Sat, 1 Oct 2016 15:32:13 +0000 (17:32 +0200)]
tests: check for the presence of clock_gettime()
macOS Sierra provides clock_gettime().
Instead of testing for the Mach kernel to re-implement clock_gettime(),
let first check that clock_gettime() is not already declared. Older OSX
versions will have the Mach-only fallback.
@fix
Jean Guyomarc'h [Sat, 1 Oct 2016 15:29:24 +0000 (17:29 +0200)]
tests: mimic POSIX API in clock_gettime()
Let the clock_gettime() re-implementation have the same signature than
its POSIX definition.
Jean Guyomarc'h [Sat, 1 Oct 2016 13:09:37 +0000 (15:09 +0200)]
eina: fix macos spinlocks and upgrade API to sierra
Carsten Haitzler (Rasterman) [Sat, 1 Oct 2016 14:37:34 +0000 (23:37 +0900)]
eo - eo ptr lookup - do some prefetches to get some micro-speedups
prefetching a bit helps.. a bit like 0.2% or so... but it does help. :)
Carsten Haitzler (Rasterman) [Sat, 1 Oct 2016 08:51:25 +0000 (17:51 +0900)]
eina list - make use of prefetch for minor speedups
i see a speedup of about 8% over a series of list walking and freeing
functions given this change. it's a small speedup but still not too
shabby just for some prefetches thrown in. ymmv depending on memory
subsystem, memory speed itself, cpu and architecture.
@optimize
Carsten Haitzler (Rasterman) [Sat, 1 Oct 2016 06:36:00 +0000 (15:36 +0900)]
eina - add prefetch macros to map to compiler builtins if they exist
this allows you to portably use prefetch compiler builtins. this adds
EINA_PREFETCH(), EINA_PREFETCH_WRITE(), EINA_PREFETCH_NOCACHE() and
EINA_PREFETCH_NOCACHE_WRITE() macros to do this that are "nothing" if
your compiler doesnt support it. of course it also requires your
compielr compile instructions for your architecture and it can only do
so if the architecture it compiles for has these instructions, so be
aware.
@feat
Guilherme Iscaro [Thu, 29 Sep 2016 20:51:14 +0000 (17:51 -0300)]
Evas_Device: Fix API name.
Summary:
It should be evas_device_add_full() in order to follow the EFL
name pattern.
Reviewers: DaveMDS, bdilly
Reviewed By: DaveMDS, bdilly
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4325
Felipe Magno de Almeida [Thu, 29 Sep 2016 16:12:09 +0000 (13:12 -0300)]
efl: Update Efl.Model to use new Efl_Promise and Efl_Future
Replaced all Eina_Promise_Owner and Eina_Promise with Efl_Promise and
Efl_Future.
Carsten Haitzler (Rasterman) [Thu, 29 Sep 2016 06:29:34 +0000 (15:29 +0900)]
eo - goto-ify a chunk iof code moving debug printfs out of hot paths
this moves a lot of error case handling into goto's so the code gets
out of the hot path and this should help expecially since variou
smacros do things like:
do { char buf[256]; sprintf(buf, fmt, ptr); _eo_pointer_error(buf); } while (0)
_Efl_Class *klass; \
do { \
klass = _eo_class_pointer_get(klass_id); \
if (!klass) { \
_EO_POINTER_ERR("Class (%p) is an invalid ref.", klass_id); \
return ret; \
} \
} while (0)
so putting quite a chunk of code inside a rare "if this errors"
handler that will cause l1 cache misses and this we don't want, thus
moving stuff in eo core out of hot paths to cut down on overhead. yes
it might not be pretty but it's kind of the right thing at such a core
level of efl. this also does the same to the eo base class as this is
also going to be relatively hot given it's the core of every other
object.
Carsten Haitzler (Rasterman) [Thu, 29 Sep 2016 05:14:43 +0000 (14:14 +0900)]
eo - fix error case lock not unlocking with shared objects from coverity
this fixes CID 1363294
Carsten Haitzler (Rasterman) [Thu, 29 Sep 2016 02:36:03 +0000 (11:36 +0900)]
eo - remove pointless if found by coverity
fix CID 1363295
Carsten Haitzler (Rasterman) [Thu, 29 Sep 2016 00:50:02 +0000 (09:50 +0900)]
eo - silence coverit "leak" on eo init if eoid table tls alloc fails
creating a new tls for the eoid table should just never fail so this
is moot anyway, but it silences CID 1362735
Amitesh Singh [Thu, 29 Sep 2016 04:59:58 +0000 (10:29 +0530)]
elm: nstate - cleanup edje signal cb
@fix
Bruno Dilly [Wed, 28 Sep 2016 21:23:05 +0000 (18:23 -0300)]
elementary: refactor elm_atspi_bridge function
In order to avoid the following build warning:
lib/elementary/elm_atspi_bridge.c: In function
‘_children_changed_signal_send’:
lib/elementary/elm_atspi_bridge.c:3971:4: warning: ‘idx’ may
be used uninitialized in this function [-Wmaybe-uninitialized]
_bridge_signal_send(data, event->object, ATSPI_DBUS_INTERFACE_EVENT_OBJECT
A little refactoring was done to function _children_changed_signal_send.
Actually I wasn't able to see a codepath to use idx unintialized,
but this way is more clear and avoid compiler possible confusion.
Bruno Dilly [Wed, 28 Sep 2016 01:54:58 +0000 (22:54 -0300)]
examples/elementary: drop generated.h from SOURCES
Remove codegen_example_generated.h from codegen_example_SOURCES
and let it only on nodist_codegen_example_SOURCES and
on BUILT_SOURCES.
Also add dependency between codegen_example.c
and codegen_example_generated.h since it's required
to compile.
Avoid the following build error:
CODEGEN codegen_example_generated.c
codegen_example.c:26:39: fatal error: codegen_example_generated.h:
No such file or directory
compilation terminated.
Makefile:4960: recipe for target 'codegen_example.o' failed
Bruno Dilly [Tue, 27 Sep 2016 22:17:12 +0000 (19:17 -0300)]
examples/ecore: add example suffix to ecore_evas_vnc
Make its name similar to all the other example
files on this folder.
Bruno Dilly [Tue, 27 Sep 2016 21:29:43 +0000 (18:29 -0300)]
configure: show if vnc server was enabled or not
So we can see by configure log if it should be working =)
Bruno Dilly [Tue, 27 Sep 2016 21:17:07 +0000 (18:17 -0300)]
examples/ecore: fix vnc example build
Fix missing dependency.
Get rid of the following error:
/usr/bin/ld: ecore_evas_vnc.o: undefined reference
to symbol 'ECORE_EVENT_MOUSE_BUTTON_UP'
src/lib/ecore_input/.libs/libecore_input.so.1: error adding symbols:
DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:2306: recipe for target 'ecore_evas_vnc' failed
Stefan Schmidt [Wed, 28 Sep 2016 12:33:18 +0000 (14:33 +0200)]
data: elm: images: fix double data file definitions leading to races
For a while now I had strange races during make install on Jenkins where some
image files either already existed or chmod was called on files not there yet.
It took some digging but it turns out commit
8dcd5207cc61e604efc942a62137bdeda4060aa0 broke this as a side effect. The black
magic that already installed the files JP refers to is sitting in
data/Makefile.am. It is plain autofoo stuff and just includes the images
Makefile to get the list of files.
JP was correct though that the glayer files have not been installed into the
correct subdir. Fixing this as well here.
Youngbok Shin [Wed, 28 Sep 2016 06:49:23 +0000 (15:49 +0900)]
edje_cc: don't warn when image attributes are missing in inherit_only group
Summary:
The inherit_only groups could be used for template of other groups.
So, even if it has image part, it dose not need to have image attributes.
@fix
Test Plan: N/A
Reviewers: cedric, conr2d, jpeg, raster
Reviewed By: raster
Differential Revision: https://phab.enlightenment.org/D4322
Carsten Haitzler (Rasterman) [Wed, 28 Sep 2016 06:29:04 +0000 (15:29 +0900)]
update gitignore to ignore eo_dbug output script from .in file
Subhransu Mohanty [Wed, 28 Sep 2016 06:28:27 +0000 (15:28 +0900)]
ector: make the ector objects as shared object after eo changes.
As ector objects are acessed by draw thread we need to create it as
shared object in order to access it from other thread.
Note: there is some performance lag...
Summary: make ector object as shared eo object to acess from other thread.
Reviewers: cedric, jpeg, raster
Reviewed By: jpeg, raster
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4319
Jean Guyomarc'h [Wed, 28 Sep 2016 06:12:03 +0000 (08:12 +0200)]
elementary: remove unused part in segmentcontrol theme
The empty ("") state was never used, and is actually just an alias to
the "default" state, so let's just remove it.
Jean Guyomarc'h [Wed, 28 Sep 2016 06:10:13 +0000 (08:10 +0200)]
elementary: fix invalid state in segmentcontrol
This fixes runtime errors such as:
ERR<29027>:edje lib/edje/edje_calc.c:756 _edje_part_description_apply()
Cannot find description "normal" in part "text2" from group
"elm/segment_control/item/default". Fallback to default description.
The "normal" (non-existant) state corresponds to a disabled state,
which is provided by the "default" state.
Jaehwan Kim [Wed, 28 Sep 2016 05:47:26 +0000 (14:47 +0900)]
edje_program: add NULL checking
Carsten Haitzler (Rasterman) [Wed, 28 Sep 2016 04:25:26 +0000 (13:25 +0900)]
eo id and shared domain objects - do locking properly and better
so there were a few issues. one we had a spinlokc on the eoid table
for shared objects AND then had a mutex for accessing those objects
(released on return from any eo function). BUT this missed some funcs
like eo_ref, eo_unref and so on in eo.c ... oops. so fixed. but then i
realized there was a race condition. we locked the eoid table then
unlocked with our pointer THEN locked the sharted object mutex ...
then unlocked it. that was a race condtion gap. so we should share the
same lock anyway - if it's a shared object, grab the shared object
mutex then do a lookup and if the lookup does not fail, KEEP the lock
until it is released by the return from eo function or by some special
macro/funcs that released a matching lock. since its a recursive lock
this is all fine. as its also a universal single lock for all objects
we just need the eoid to know if it's shared and needs locking based
on the domain bits. so now do this locking properly with just a single
mutex, not both a spinlock and mutex and keep the lock around until
totally done with the object. this plugs the race condition holes and
goes from 1 spinlock lock and unlock then a mutex lock and unlokc to
just a single mutex lock and unlock. this means shared objects are
actually truly safe across threads and only have the overhead of a
single recursive mutex to lock and unlock in every api call.
Cedric BAIL [Tue, 27 Sep 2016 17:54:09 +0000 (10:54 -0700)]
elementary: fix copy & paste error, thanks Dave.
Mike Blumenkrantz [Tue, 27 Sep 2016 14:50:55 +0000 (10:50 -0400)]
elm: rename globally used variable 'ret' to prevent shadow warnings
please do not do this.
Youngbok Shin [Tue, 27 Sep 2016 12:50:04 +0000 (08:50 -0400)]
ecore_evas_wayland: Add NULL checking for surface
Summary: Need to NULL check before using surface like other cases.
Test Plan: N/A
Reviewers: jpeg, raster, ManMower, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D4301
JEONGHYUN YUN [Tue, 27 Sep 2016 08:11:03 +0000 (17:11 +0900)]
elm_panel : Fix bug with set scrollable panel orient.
Summary:
1. Fix wrong logic of ELM_PANEL_ORIENT_RIGHT case in _state_sync.
2. Move pre calc function in anim_cb to sizing_eval function.
This code have caused problem that scrollable panel is not animated during drawer open and close.
3. Maintain content size ratio when orient is changed.
4. Freeze scroller when orient is changed.
This code will need to change orientation when drawer opened.
Reviewers: cedric, eunue
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4320
Carsten Haitzler (Rasterman) [Tue, 27 Sep 2016 07:08:20 +0000 (16:08 +0900)]
evas sw x11 - disable the loop begin/end that deadlocks evas
this is quick to get evas working again. this disables part of
7e2d700d06ff970d68ae208d59bca76f6ea07467 that creates deadlocks. this
thread waits on mainloop. mainloop waits on this render thread. BOOM.
deadlock.
Jean Guyomarc'h [Tue, 27 Sep 2016 06:20:20 +0000 (08:20 +0200)]
ecore_cocoa: upgrade API to macOS Sierra
Since macOS 10.12, several enumarations have been deprecated in favor of
new ones, with more meaningful ones, which are defined in SDK 10.12.
Carsten Haitzler (Rasterman) [Tue, 27 Sep 2016 04:45:03 +0000 (13:45 +0900)]
efl configure - show that systemd is enabled by default
Amitesh Singh [Tue, 27 Sep 2016 05:24:37 +0000 (10:54 +0530)]
autotools: correct the configure help for systemd
by default, systemd on linux is enabled. mention this in help
Bruno Dilly [Tue, 27 Sep 2016 01:07:13 +0000 (22:07 -0300)]
Merge branch 'devs/iscaro/ecore_evas_vnc_multiseat'
This series adds the Ecore_Evas multi-seat VNC support
using the software X11 backend.
This implementation tries to mimic the Wayland's multi-seat support.
This series also introduces two new kinds of EFL events, which are:
* EFL_CANVAS_EVENT_DEVICE_ADDED - Which is emitted every
time an Evas_Device is created.
* EFL_CANVAS_EVENT_DEVICE_REMOVED - Which is emmited every
time an Evas_Device is removed/deleted.
The new events are useful when one wants to monitor how many
and what kind of devices are connected to the system.
Patches by iscaro.
Differential Revision: https://phab.enlightenment.org/D4295
@feature
Guilherme Iscaro [Thu, 15 Sep 2016 22:57:02 +0000 (19:57 -0300)]
Examples: Add an Ecore Evas VNC example.
This commit adds an Ecore_Evas examples that can be used to test
the VNC multi-seat support.
Guilherme Iscaro [Tue, 20 Sep 2016 17:00:06 +0000 (14:00 -0300)]
Ecore_Evas_X: Dispatch Ecore_Events for VNC clients.
This patch adds the support for Ecore events from a remove
VNC client. Every time it happens a VNC mouse move/click/wheel or a
VNC keyboard event an Ecore event event will be created and dispatched.
Guilherme Iscaro [Tue, 20 Sep 2016 16:57:49 +0000 (13:57 -0300)]
Ecore_Input: Add Efl_Input_Device in Ecore_Events structs.
The Efl_Input_Device will contain the device which originated the event,
this will be useful for dealing with multi-seat environment. When the device
is NULL it means that the event originated from the default seat.
Guilherme Iscaro [Wed, 21 Sep 2016 16:52:57 +0000 (13:52 -0300)]
Ecore_Evas_X: Add VNC draw support.
This patch adds the support to draw the X11 screen contents to
all remove VNC clients.
Guilherme Iscaro [Wed, 21 Sep 2016 16:46:17 +0000 (13:46 -0300)]
Evas Software X11: Add a callback that informs the current screen content pixels.
This is necessary in order to implement a VNC server. Using this
callback the VNC server will be able to draw the current screen to the
VNC clients.
Guilherme Iscaro [Tue, 20 Sep 2016 17:49:57 +0000 (14:49 -0300)]
Evas_Device: Use efl_del() in evas_device_del().
The Evas_Input_Device should be have its parent set to NULL, otherwise
Eo might complain.
@fix
Guilherme Iscaro [Tue, 20 Sep 2016 15:10:08 +0000 (12:10 -0300)]
Evas_Device: Add a new event for added and removed devices.
This commits adds two event types for EFL_CANVAS. Every time
a device is added or removed the matching event will be emitted.
Guilherme Iscaro [Tue, 20 Sep 2016 16:44:23 +0000 (13:44 -0300)]
Evas_Device: Add evas_device_full_add() API.
This will make it simpler to add a Evas_Device with its fields already set.
Guilherme Iscaro [Tue, 20 Sep 2016 16:41:58 +0000 (13:41 -0300)]
Evas_Common: Fix typo.
@fix
Guilherme Iscaro [Tue, 20 Sep 2016 16:40:31 +0000 (13:40 -0300)]
Efl_Input_Device: Implement efl_input_device_parent_set().
This commits moves the parent_set implementation where it should be.
Carsten Haitzler (Rasterman) [Tue, 27 Sep 2016 00:09:21 +0000 (09:09 +0900)]
po - update
Carsten Haitzler (Rasterman) [Tue, 27 Sep 2016 00:08:24 +0000 (09:08 +0900)]
efl - fix build to build multip.edj from the right edc source
the makefile was wrong making multip.edj for the multitouch test in
elm the wrong src thus breaking the crosshairs. this fixes that again
so the test is right.
@fix
Cedric BAIL [Mon, 26 Sep 2016 23:35:52 +0000 (16:35 -0700)]
ecore: add a prototype ecore_thread helper with Efl_Promise/Efl_Future coupled.
Shilpa Singh [Mon, 26 Sep 2016 21:28:09 +0000 (14:28 -0700)]
elm_atspi_bridge: Active descendant changed signal not sent issue fix.
Summary:
Active descendant changed signal send function checks for wrong object,
hence always returns with out actually sending signal.
The state is set to pd->object_broadcast_mask and not
pd->object_children_broadcast_mask in _set_broadcast_flag function.
Test Plan:
Send the active descandant changed signal from any widget, but signal
is not sent.
Reviewers: kimcinoo, lukasz.stanislawski, cedric
Reviewed By: cedric
Subscribers: jpeg, govi, rajeshps
Differential Revision: https://phab.enlightenment.org/D4318
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Mon, 26 Sep 2016 21:26:17 +0000 (14:26 -0700)]
elementary: set the extension on the extension, not the overlay !
@fix
This is a port of D4317
Chris Michael [Mon, 26 Sep 2016 18:01:15 +0000 (14:01 -0400)]
elementary: Fix potential resource leak
If we fail to allocate memory for savedtypes.types here, then the
"known" array would end up leaking. Defer creation of 'known' array
until after savedtypes.types is allocated, this way we don't leak.
Fixes CID1363216
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Tom Hacohen [Mon, 26 Sep 2016 13:50:08 +0000 (14:50 +0100)]
Ecore promise: Renamed shadow variable.
Please everyone, use -Wshadow and fix your damn wranings.
Youngbok Shin [Mon, 26 Sep 2016 13:03:45 +0000 (16:03 +0300)]
elementary entry: send a signal to edje for notifying scrollable mode
Summary:
If entry edje should be changed according to scrollable mode,
the signal will be used. The following signals are added.
"elm,scroll,enable"
"elm,scroll,disable"
Test Plan: N/A
Reviewers: raster, tasn, herdsman, cedric
Subscribers: minkyu, jpeg, akanad, z-wony, Blackmole
Differential Revision: https://phab.enlightenment.org/D4254
Marcel Hollerbach [Mon, 26 Sep 2016 09:44:47 +0000 (11:44 +0200)]
ecore_wl2: fix array overflow
fixes CID 1363215
Marcel Hollerbach [Mon, 26 Sep 2016 09:41:12 +0000 (11:41 +0200)]
ecore_wl2: support parallel receiving of different mimetypes
The mimetypes are now populated with the event and the data.
This also fixes CID 1363217
Marcel Hollerbach [Mon, 26 Sep 2016 09:29:12 +0000 (11:29 +0200)]
ecore_wl2: fix null dereference issue
if we dont get the userdata of a offer something in the protocol went
very very bad, we should not emit there a error, just return.
Also if we are getting a null offer we should dereference the nulled out
offer object.
This fixes CID 1363214
Jaehyun Cho [Mon, 26 Sep 2016 09:08:41 +0000 (18:08 +0900)]
elm_config: Remove unnecessary NULL check.
Since _config_load() is called and _elm_config is not initialized, NULL
check for _elm_config is not necessary.
The unnecessary NULL check causes false alarm because _elm_config is not
checked in other cases.
Jee-Yong Um [Mon, 26 Sep 2016 06:04:15 +0000 (15:04 +0900)]
eina_matrix/quad: clean up documentation
Summary: adjust grouping to show reference correctly
Reviewers: Hermet, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4313
Carsten Haitzler (Rasterman) [Mon, 26 Sep 2016 00:16:21 +0000 (09:16 +0900)]
eo ptr indir - handle unlock on error with shared eoids correctly
this fixes the error handling for shared objects which would fail to
unlock on lookup error.
Andy Williams [Sun, 25 Sep 2016 16:21:40 +0000 (17:21 +0100)]
elm: Update toolbar test to show fix
Andy Williams [Sun, 25 Sep 2016 14:57:08 +0000 (15:57 +0100)]
elm_toolbar: Show icons in icon only mode
When passing NULL as label the icon would get hidden.
@fix
Carsten Haitzler (Rasterman) [Sun, 25 Sep 2016 14:50:53 +0000 (23:50 +0900)]
efreet - fix command generation by fixing string buffer expansion
so by chance i discovered efreet is doing bad things(tm) when
expanding/appending to string buffers to generate commands based off
desktop files. the string append basically was buggy, so fixed it by
making it a lot simpler and more obvious and now reliable.
@fix
Daniel Zaoui [Sun, 25 Sep 2016 10:11:32 +0000 (13:11 +0300)]
Emotion: modify the playback finish behavior as before
The callbacks are never invoked due to sd->play equal to 0. The
function _emotion_decode_stop is called before and resets this field.
Before the change to Efl.Canvas.Video, sd->play was not checked.
Marcel Hollerbach [Sat, 24 Sep 2016 17:01:37 +0000 (19:01 +0200)]
ecore_wl2: utilize the event window_ids
if a dnd operation enters a surface the window_id is clear, so a offer
is always specific to a window. If we have a source we try to fetch the
id from the focus/prevfocus or keyboardfocus.
This fixes dropping into a efl app which never got focus before.
Marcel Hollerbach [Fri, 23 Sep 2016 20:00:11 +0000 (22:00 +0200)]
elm_cnp: handle format of a drop correctly
the format can also be the result of mutliple or´ed values.
The new code now also uses the same mimetypes to format type relation
than the selection code.
This fixes dragging onto a container with multiple formats.
Spotted by ApBBB while dragging from ephoto to terminology.
This also fixes T3320
Carsten Haitzler (Rasterman) [Sat, 24 Sep 2016 06:12:09 +0000 (15:12 +0900)]
eo op resolv - do micro optimization to move init to goto blob
as per other recent benchmarking, moving rearely run code (in this
case code to init the op etc.) out of the l1 cacheline prefetch inot a
blob of code at the end of the function where we goto and goto back
again should provide decent-ish speedups for the resolv cache in
avoding this code. yes it makes the code less pretty to read but at
this really low level hot path ... evil things must happen to get the
speed we want/need.
Vitor Sousa [Fri, 23 Sep 2016 14:32:46 +0000 (11:32 -0300)]
eio model: use empty mime type when efreet is unable to determine it
FIX T4502
@fix
Stephen Houston [Fri, 23 Sep 2016 14:38:15 +0000 (09:38 -0500)]
Add updated drop part for the new pager gadget. This will be required for the new pager to work.
Chris Michael [Fri, 23 Sep 2016 12:53:32 +0000 (08:53 -0400)]
ecore-drm2: Use Atomic State to enable/disable an output
If Atomic Modesetting is supported, we can use that to enable/disable
a given output.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 23 Sep 2016 12:51:35 +0000 (08:51 -0400)]
ecore-drm2: Remove useless if check for atomic_modeset flag
As we always set this flag in the drm2_fb_flip function, having this
check here is now pointless.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Fri, 23 Sep 2016 11:10:16 +0000 (20:10 +0900)]
edje signal emits - enable DBG for being able to debug edj files
this would allow all emits from embryo script or otherwise to be seen
and debugged via eina-log.
Marcel Hollerbach [Fri, 23 Sep 2016 10:03:07 +0000 (12:03 +0200)]
AUTHORS: add myself to the authors file
Marcel Hollerbach [Fri, 23 Sep 2016 08:45:03 +0000 (10:45 +0200)]
elm_cnp: refactor selection_get callbacks
before the format was not passed correctly, now the format is passed
correctly to the callback.
Also if a dnd operation was started while a cnp receive call was
going on (this happend because weston-editor failed to close the fd, so
EOF was never sent), then elm_cnp would behave wrong, since the
requestwidget, action, format would be different.
Marcel Hollerbach [Thu, 22 Sep 2016 19:35:20 +0000 (21:35 +0200)]
ecore_wl2: add more documentation on ecore_wl2 cnp/dnd api
Marcel Hollerbach [Thu, 22 Sep 2016 19:22:51 +0000 (21:22 +0200)]
elm_cnp: handle actions probebly
ecore_wl2 passes the action which should be performed, this action is
now converted and passed to the action of the elm callback.
Marcel Hollerbach [Thu, 22 Sep 2016 07:13:48 +0000 (09:13 +0200)]
ecore_wl2: introduce offer api
This commits adds api to deal with wayland offers.
It also ports elm_cnp to use the new api.
The selection_get and dnd_drag_get calls are replaced by simply receive
data from the offer.
The Offer object is now also emitted in every Enter,Motion,Drop and
Leave event, so a potential user can prefetch data and display it.
To finish a dnd operation positiv, the user has to call the finish call
before the offer is destroyed
Marcel Hollerbach [Thu, 22 Sep 2016 07:26:02 +0000 (09:26 +0200)]
ecore_wl2: save action of data source in seperated field
the drag.source is only available if the drag is happing inside the same
client.
So for the case there are two efl apps (A,B) , where A started the dnd and
the B is currently entered by the dnd, then A has the data source, and B
has the offer, if B sets a action on the offer A tried to set it on a
field which does not exist there, this fixes that. It saves the action
to a undepended field.
Thiep Ha [Fri, 23 Sep 2016 08:51:37 +0000 (17:51 +0900)]
text/entry: add more key controls for os x
In OS X, cmd-c,v, ... keys are used instead of ctrl-c,v...,
this patch adapts these key handlings.
Thiep Ha [Fri, 23 Sep 2016 08:49:34 +0000 (17:49 +0900)]
ecore_cocoa: quit application with key
In OS X, cmd-q is used to quit application,
this patch adds that feature.
Jean-Philippe Andre [Fri, 23 Sep 2016 08:28:57 +0000 (17:28 +0900)]
evas_fb: Avoid invalid dereference
If buf->priv.fb.fb was NULL the function would have crashed. So
buf->priv.fb.fb can't be NULL. I'm keeping the if(buf->priv.fb.fb)
anyway, but not sure the else case is valid.
Thanks @jiin.moon for the report.