Commit Graph

47299 Commits

Author SHA1 Message Date
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
Davide Andreoli 3787d33992 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.
2016-05-08 22:34:26 +02:00
Davide Andreoli 4da0722a8d FDO icons: more work on Places icons 2016-05-08 19:06:48 +02:00
Felipe Magno de Almeida 56d2d462a2 elementary: Fix example compilation when compiling in another directory 2016-05-08 12:20:27 -03:00
Felipe Magno de Almeida 3e8db298f7 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
2016-05-08 12:19:48 -03:00
Felipe Magno de Almeida 2c563e3f0a evas: Disabled C++ example while Eo API is still rapidly changing 2016-05-08 12:02:39 -03:00
Davide Andreoli 8186eaf36e FDO icons: redesigned all the actions icons 2016-05-08 14:24:11 +02:00
Felipe Magno de Almeida 6d43adaaf4 eina: Fix memory leaks in promise 2016-05-07 13:55:18 -03:00
Davide Andreoli ba1e70278e FDO icons: reenable all the new icons, this time in png format
#SecondTry
2016-05-07 16:55:40 +02:00
Davide Andreoli 45aabe5162 FDO icons: convert the Status ctx to png 2016-05-07 16:39:24 +02:00
Davide Andreoli 893b3ce0b4 FDO icons: convert the Actions ctx to png 2016-05-07 16:39:24 +02:00
Davide Andreoli dfc5fc2c21 FDO icons: convert the Categories ctx to png 2016-05-07 16:39:24 +02:00
Davide Andreoli ca687f4698 FDO icons: convert the Emblems ctx to png 2016-05-07 16:39:23 +02:00
Davide Andreoli 52197df02a FDO icons: convert the Places ctx to png 2016-05-07 16:39:23 +02:00
Cedric BAIL ddf92ba61b evas: let's reuse what we know when possible to avoid more useless eo_data_scope_get. 2016-05-06 17:01:10 -07:00
Cedric BAIL 10c9ef771f edje: do not check against eet if strings where never allocated. 2016-05-06 16:47:56 -07:00
Cedric BAIL 4bf54d993f 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.
2016-05-06 16:47:07 -07:00