Commit Graph

47215 Commits

Author SHA1 Message Date
SangHyeon Lee 782f28e9a1 genlist : fix content cache issue by content_get
Summary:
genlist content_get sometimes work weird after reusable_content_get pushed.
cached content is shown even content_get function is not exist or
return NULL.
now cache check item_class instead of item style string.

Test Plan: check genlist cache in elementary_test

Reviewers: Hermet, cedric, raster

Subscribers: Jaehyun_Cho, jpeg

Differential Revision: https://phab.enlightenment.org/D3921

Conflicts:
	src/lib/elementary/elm_genlist.c
2016-05-12 07:12:18 +09:00
Mike Blumenkrantz 42e459b364 ecore-evas: set some properties even if engine function doesn't exist
elm uses these flags internally, so failing to set them even if the
windowing system doesn't support the operation can still cause apps to
behave differently

ref 723d4ca8c9
2016-05-11 15:37:28 -04:00
Mike Blumenkrantz 723d4ca8c9 ecore-evas: call application-set focus functions if no engine functions exist
in the case where an engine has no real concept of focus (eg. drm), no engine
functions will be implemented, resulting in calls to focus_set having no effect.
this leads to elm/applications being unable to receive the callbacks they expect
when calls to the overall api are made, resulting in focus being broken

probably this should also be done for the rest of the api functions too

@fix
2016-05-11 13:32:11 -04:00
Ji-Youn Park 27495fe670 edje_callbacks: fix click signal emitting even though mouse event was cancelled
even though each part want to get the signal regardless of ON_HOLD,
click signal should not emmitted if event flag is set to ON_HOLD.
ON_HOLD means this event is useless, so up event with ON_HOLD flag cannot source of clicked signal.

@fix
2016-05-11 22:14:27 +08:30
Tom Hacohen fdf23b2dac Efl vg/ector: Fix namespacing to use . and not _. 2016-05-11 13:21:29 +01:00
Tom Hacohen d64f2fdd43 Efl vg: Remove the no longer needed .Base hack. 2016-05-11 13:13:27 +01:00
Tom Hacohen 70b5f3875e Efl network: Remove the no longer needed .Base hack. 2016-05-11 13:00:57 +01:00
Tom Hacohen 28a2d34ae2 Ector generic: Remove .Generic and .Base (hack no longer needed). 2016-05-11 12:57:55 +01:00
Tom Hacohen 1c0ec6788f Ector renderer cairo: Remove the no longer needed .Base hack. 2016-05-11 12:57:55 +01:00
Tom Hacohen 9f15b9fbe7 Ector renderer gl: Remove the no longer needed .Base hack. 2016-05-11 12:57:55 +01:00
Tom Hacohen 718033886a Ector renderer software: Remove the no longer needed .Base hack. 2016-05-11 12:57:55 +01:00
Thiep Ha e7805d97b6 elm cnp: simplify data preparer
Use eina_strbuf to simplify the data preparer for uri.
This helps remove the complex for loop and also
reduce the memory allocated for uri array.
This also removes redundant checking.
2016-05-11 18:00:19 +09:00
Stefan Schmidt 3256a60282 tests: eio: make sure we cleanup eio_test_xattr_set correctly
We missed tmpstr_del and shutting down eina here. This test segfaults from
time to time on Jenkins. Not sure this was the actual cause but better clean
it up anyway.
2016-05-11 10:17:11 +02:00
Thiep Ha 3e2e5b6111 elm win: change to use legacy api for cocoa engine
Some APIs are move from eo to legacy as in ab3058d3,
but not all api calls are changed. This causes build break
in mac with cocoa backend.
This patch fixes it.

@fix
2016-05-11 11:20:33 +09:00
Jee-Yong Um 5bb39ed43d edje_cc: cleanup queued jobs for removed program
Summary:
When a new edje program is created, some jobs like lookup part
(Part_Lookup) or compiling embryo script (Code_Program) are queued.
If program is removed, queued jobs should be removed also.

Reviewers: jpeg, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D3900

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-05-10 16:36:22 -07:00
Andrii Kroitor 0413c26f82 edje_edit: fix edje_edit_group_copy
Summary:
Writing copy directly to file.
Old way (adding directly to collection cache) leads to possible segfaults
on edje_collection_cache_flush.

Reviewers: reutskiy.v.v, cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3904

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-05-10 16:36:22 -07:00
Jee-Yong Um 557381a070 eet: add a helper to setup hash with generic value storage
Summary:
add a macro to setup eet_data_descriptor for hash with
generic value storage.

Test Plan: make check (test case is included in eet test suite)

Reviewers: cedric, raster

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3925

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-05-10 16:36:22 -07:00
Chris Michael fa5abb2967 elput: Add API function to set max allowed pointer position
This patch adds an API function that can be used to restrict mouse
movement from going outside a screen

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-10 15:12:53 -04:00
Chris Michael 3954aa5518 elput: Fix issue of NULL seat named being passed during input init
When calling elput_input_init we need to check for a valid seat name
being passed in. If no seat name is provided, we will use the default
seat name.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-10 14:36:35 -04:00
Chris Michael 05a3cd6219 ecore-wl2: Remove need for including <sys/param.h>
As we already have MIN & MAX defined in Eina, we no longer need to
include sys/param.h header to get those defines

ref d00643fcc4

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-10 14:26:01 -04:00
Chris Michael be763a011c elput: Add API function to return a list of Elput_Devices on a given
seat

This patch adds a new API function which can be called to retrieve a
list of existing Elput_Devices on a given Elput_Seat.

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-10 13:49:38 -04:00
Chris Michael ba3a91a8b5 elput: Add API function to return a list of seats
This patch adds a new API function which can be used to return a list
of existing Elput_Seat objects from a given manager.

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-10 13:46:31 -04:00
Mike Blumenkrantz ec3cb83185 Revert "elm entry: remove unused funtions"
This reverts commit 2e68debe7b.

ref T3455
2016-05-10 13:23:05 -04:00
Mike Blumenkrantz 37ed59474e Revert "elm cnp/Wl: Remove duplicated data receive callback"
This reverts commit f5d10f1961.

this breaks pasting into efl applications on wayland

fix T3455
2016-05-10 13:23:05 -04:00
Daniel Kolesa 4126b7faba eolian: fix C type serialization (handle undefined) 2016-05-10 18:06:56 +01:00
Mike Blumenkrantz 6c26857190 theme: add clip for disabling focus effects on some windows
ref T3408
2016-05-10 12:30:14 -04:00
Tom Hacohen bcb72b5367 Eldbus: remove shadowing variable.
FFS people, turn on your compiler warnings.
2016-05-10 16:30:18 +01:00
Tom Hacohen b0cd0a3b4b Efl gfx gradient: Remove the no longer needed .Base hack. 2016-05-10 16:30:18 +01:00
Chris Michael d40cd1dab2 ecore-drm: Fix potential segfault when setting output mode
If a NULL mode is passed into ecore_drm_output_mode_set, then we try
to disable the given output. If disabling the output fails, we were
trying to print an ERR message which tried to access the NULL mode.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-10 11:28:26 -04:00
Amitesh Singh 2f722f3db3 add work email id into AUTHORS 2016-05-10 19:02:33 +05:30
Tom Hacohen 0ca59b0402 Efl gfx: Remove the no longer needed .Base hack. 2016-05-10 12:25:44 +01:00
Tom Hacohen 138d4e1353 Efl model: Remove the no longer needed .Base hack. 2016-05-10 11:36:35 +01:00
Tom Hacohen 05c01867b6 Ecore audio: Correctly namespace now that Eolian supports it better.
Eolian had a restriction due to the C++ generator that classes and
namespaces would be named differently. Now that the C++ generator is
fixed, eolian dropped the restriction and we can finally fix the wrong
namespaces in ecore audio.
2016-05-10 11:36:35 +01:00
Stefan Schmidt 26f309112e examples: eolian_cxx: fix some problems after changing the colourable namespace
Fix commit 3e8db298f7 the namepsace changed but
only a few files have  been fixed for this. Many files did still not compile
with make examples. I fixed some more but stopped at the cxx files with the hope
that the original author would actually do this.
2016-05-10 11:10:24 +02:00
Stefan Schmidt feebf59779 examples: evas-3d: fix executable name for evas 3d fog example
This list contains the executable names and not the source file names.
2016-05-10 10:00:42 +02:00
Amitesh Singh be47c4b9c0 elm: rename Elm.Nstate to Efl.Ui.Nstate 2016-05-10 12:41:03 +05:30
Thiep Ha 780b964427 elm test dnd: replace strcat with eina_strbuf
replace strcat with eina_strbuf.
2016-05-10 15:13:27 +09:00
Cedric BAIL 0c4880e99d efl: everyone should now rely on Eina MIN/MAX redefinition. 2016-05-09 16:58:53 -07:00
Cedric BAIL d00643fcc4 eina: add MIN/MAX redefine as we use it everywhere.
This is done on an attempt to permanently fix our Windows port. Windows
doesn't have MIN/MAX, so we should always do a ifndef/define in every
piece of code that use it. Of course we always forget and it take times
to notice and fix. We have over the year added it in many private
headers, but as the issue continue to raise again and again, I prefer
to get this fixed in our main header.
2016-05-09 16:58:53 -07:00
Felipe Magno de Almeida 1c5ce16565 eina: Add eina_promise_race composition function
Added eina_promise_race function that composes multiple
promise objects into a new promise which is fulfilled
when one of the promises are fulfilled, or fails
when one of the promises have failed.
2016-05-09 19:10:26 -03:00
Chris Michael d734cd4cad elput: Add code to handle keybindings for vt switching
This patch makes elput handle receiving the key combinations for vt
switching and perform the actual switch itself. This is done so that
ecore_drm2, ecore_fb, etc, etc do not each need their own code to
handle vt switching.

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-09 12:00:35 -04:00
Chris Michael f9149c1699 elput: Add API function to switch to a given vt
This patch adds a new API function to Elput that can be used to switch
to a given VT. This allows drm2 or enlightenment to switch to a given
virtual terminal in response to keybindings.

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-09 11:35:48 -04:00
Chris Michael a96266c422 elput: Remove erroneous debug print out
NB: No functional changes, just cleanup of extra debug message and
commented out codeblock

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-09 11:05:21 -04:00
Chris Michael 3de066469a elput: Support sending of session activate/deactivate event
This patch adds support for notifying when a session gets activated or
deactivated. This will be used in drm2 to notify compositor when to
pause/restart rendering during a vt switch

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-09 11:01:30 -04:00
Chris Michael 9ed2f42c08 elput: Remove useless dbus argument fetching
As we do not need minor or fd from the dbus message during input
device resume, we can remove these variables

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-09 10:40:23 -04:00
Carsten Haitzler 90e8ad8d7d edje - file set - use vpath for edje files now too like evas images 2016-05-09 19:37:48 +09:00
Thiep Ha b39d869b7a elm entry: add more control for dnd
Adding dnd's enter, leave, position callbacks to let users know
when drag item is entered, leaved; move cursor to follow
drag item's position.
2016-05-09 17:32:12 +09:00
Thiep Ha 07507864ca elm test dnd: fix multiple items dnd
When we do dnd with multiple items in genlist, gengrid in dnd test,
the items are correctly transfered.
It is caused by incorrect sent data.
This patch fixes by adding new line separation between items' data.
2016-05-09 17:32:12 +09:00
Jean-Philippe Andre 5ba58353f0 Edje: Fix test case to show proper use of part APIs
The one and only valid use case is calling a function directly on
the part handle, like:
  func(part_get(obj, "part"), args).

This does not change the actual proxy object lifecycle or resolve
any potential issues, but this should clear up things in terms
of scope for proper (supported) use.

efl_content_get may become efl_part() and return a temporary object,
valid for a single function call. Those are "details" still to be
refined.
2016-05-09 14:42:47 +09:00
Jean-Philippe Andre 290b3d8926 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
2016-05-09 11:46:11 +09:00