Chris Michael [Wed, 6 Apr 2016 15:32:42 +0000 (11:32 -0400)]
elput: Handle various events from libinput and pass to ecore_event
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 6 Apr 2016 17:23:36 +0000 (13:23 -0400)]
elput: Add event structures for keymap and modifier sending events
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 6 Apr 2016 14:38:08 +0000 (10:38 -0400)]
elput: Create and send seat frame events when we need to
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 6 Apr 2016 14:26:46 +0000 (10:26 -0400)]
elput: Create and raise event when seat capabilities change
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 6 Apr 2016 12:46:29 +0000 (08:46 -0400)]
elput: Add support for creating and removing devices
This patch adds start of code to create or remove input devices such
as keyboards, pointers, or touch devices.
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Fri, 1 Apr 2016 17:22:16 +0000 (13:22 -0400)]
elput: Start code to process events from libinput
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Fri, 1 Apr 2016 17:04:25 +0000 (13:04 -0400)]
elput: Add API function to initialize and shutdown input devices
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Fri, 1 Apr 2016 13:49:36 +0000 (09:49 -0400)]
elput: Remove vt activate/restore from input manager interface
As this library is just going to deal with libinput, we don't need to
have interface functions to activate or restore a virtual terminal.
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Fri, 1 Apr 2016 13:12:36 +0000 (09:12 -0400)]
elput: Add API functions to open and close an input device
This adds new API functions which can be called to open or close an input
device and take control (or release control) of said device
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 31 Mar 2016 16:34:32 +0000 (12:34 -0400)]
elput: Add input manager interface and APIs to connect & disconnect
This commit adds the start of the Elput Manager & Interface code. This
will be used as an inteface to various backend methods of session &
device control (ie: systemd, direct interface, etc). This will provide
various abstractions for working with libinput when opening/closing
input devices.
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 24 Mar 2016 17:38:44 +0000 (13:38 -0400)]
elput: Add test framework for Elput library
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 24 Mar 2016 15:19:31 +0000 (11:19 -0400)]
elput: Initial checkin of elput library
The elput library is an efl abstraction for the libinput library which
can be used by various other subsystems (ecore_fb, ecore_drm, etc) to
handle interfacing with libinput without having to duplicate the code
in each subsystem.
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Dave Andreoli [Wed, 13 Apr 2016 18:12:18 +0000 (20:12 +0200)]
eo: adjust direction of parameters
They are OUT params in real
Side note: the doc for this function miss the x parameter in the generated .eo.h file
...if someone want to look at the doc generation code.
Felipe Magno de Almeida [Wed, 13 Apr 2016 17:43:43 +0000 (14:43 -0300)]
eina: Fix promise error with eina_promise_all
Fix value_set and error_set signatures which were receiving a
owner. They actually receive the promise and not the owner, this
caused wrong access to memory and were not visible by warnings because
the functions are casted.
This problem caused errors in which it seemed that promise had
actually error'ed when questioned it.
Chris Michael [Wed, 13 Apr 2016 16:55:59 +0000 (12:55 -0400)]
ecore-drm: Don't leak object properties
When fetching possible planes for an output, we end up leaking object
properties here as these were never freed.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Stefan Schmidt [Wed, 13 Apr 2016 14:56:47 +0000 (16:56 +0200)]
docs: add descriptions and and more to ecore.idle classes
Stefan Schmidt [Wed, 13 Apr 2016 13:34:11 +0000 (15:34 +0200)]
docs: add description for ecore.exe class and events
Stefan Schmidt [Wed, 13 Apr 2016 14:34:55 +0000 (16:34 +0200)]
docs: add nstate widget to elm widget list index
Stefan Schmidt [Wed, 13 Apr 2016 13:06:52 +0000 (15:06 +0200)]
docs: make elementary docs available form main doc page
While elm docs have been merged in they never have been accessible from the
main page of our docs. Fix this by including elm_intro.h and referencing it
from the main page. While we are at it rename it to the scheme we used in EFL.
Another missing piece was the index with all widget references. Never brought
over form the elm legacy tree. Putting this in and we are now at least able to
navigate to all elm widget pages.
Stefan Schmidt [Wed, 13 Apr 2016 12:34:26 +0000 (14:34 +0200)]
docs: generate nstate widget preview for documentation
The preview example code was already there but not hooked up in our preview
screenshot magic.
Carsten Haitzler (Rasterman) [Wed, 13 Apr 2016 10:59:00 +0000 (19:59 +0900)]
edje - delete obj - null out freed items in structs/data
i just got a segv freeing ian invalid ptr... it SEEMS as if something
has tried to free and edje object twice... but i can't be sure as
valgrind can't catch this. it's a one-off, so ensure after free, we
NULL out things we freed to avoid this.
@fix
Amitesh Singh [Wed, 13 Apr 2016 10:41:19 +0000 (16:11 +0530)]
ctxpopup: pass const object ptr as argument in horizontal_get()
Amitesh Singh [Wed, 13 Apr 2016 09:59:29 +0000 (15:29 +0530)]
example: eina log - set eina log levels in examples
Cedric BAIL [Tue, 12 Apr 2016 17:40:58 +0000 (10:40 -0700)]
eldbus: make tests suite more robust to initialization count change.
Carsten Haitzler (Rasterman) [Tue, 12 Apr 2016 16:04:11 +0000 (01:04 +0900)]
eo - add object sotrage in generic values with ref/unref
this adds eo_key_obj_set/get/del() like with data but for object
handles so the obj is ref'd as long as the key and parent obj exists
and then unreffed on deletion. it also tracks deletion of reffed
objects like weak refs and then removes the key automatically.
@feature
Stefan Schmidt [Tue, 12 Apr 2016 15:22:28 +0000 (17:22 +0200)]
tests/eldbus: add now needed calls to ecore_init/shutdown
Since commit
53c66c98c2ae13a8c96b4ae1f9d735cda179e89d eldbus o longer calls
ecore_init() wo we need to handle this. Fixes the edlbus tests cases.
Stefan Schmidt [Tue, 12 Apr 2016 14:41:28 +0000 (16:41 +0200)]
tests/eldbus_cxx: add ecore_init calls in tests now that eldbus does no longer
Since commit
53c66c98c2ae13a8c96b4ae1f9d735cda179e89d eldbus o longer calls
ecore_init() wo we need to handle this. Fixes edlbus_cxx tests cases.
Tom Hacohen [Tue, 12 Apr 2016 14:45:10 +0000 (15:45 +0100)]
Eina matrix/vector tests: pass correct pointers to arrays.
Clang (rightfully) complained about passing double ** where we should have
passed a double *.
Tom Hacohen [Tue, 12 Apr 2016 14:40:42 +0000 (15:40 +0100)]
Eet test: renamed shadowing variable.
Tom Hacohen [Tue, 12 Apr 2016 14:39:36 +0000 (15:39 +0100)]
Elm test web: Correctly disable the web tests.
This gets rid of some clang warnings.
Tom Hacohen [Tue, 12 Apr 2016 14:23:55 +0000 (15:23 +0100)]
Eo event: rename Eo_Event->event_info to Eo_Event->info.
The previous naming was redundant and too long.
Amitesh Singh [Tue, 12 Apr 2016 12:09:50 +0000 (17:39 +0530)]
ctxpopup: implement Efl.Orientation interface functions
Also move horizontal_set/get as legacy APIs.
Carsten Haitzler (Rasterman) [Tue, 12 Apr 2016 08:30:48 +0000 (17:30 +0900)]
ecas gl: ensure make current/window/outpbut enabled before flushing
this should cover up possible texture leaks from gl engine with a null
context on font freeing.
@fix
Carsten Haitzler (Rasterman) [Tue, 12 Apr 2016 05:11:32 +0000 (14:11 +0900)]
ecore - system modules - fix eldbus interdependency and complaints
so ecore uses ecore system modules ... that use eldbus. eldbus inits
ecore. this is a vicious cycle. eldbus shouldnt init ecore. it's a
dependency but should be provided outside of initting eldbus. this all
led to hack-arounds on initting eldbus in these ecore modules that
just break things like shutting down eldbus when still in use.
this ensures any pending messages are canceled on ecore module shutdown.
this ensures every ecore module fully inits and shuts down eldbus as
they should so refcounting the inits works.
this stops eldbus from inittign ecore to avoid the circuluar dependency.
this stops lots of CRI/ERR complaints eg if you run elua with no
cmdline options.
this is just better.
@fix
Carsten Haitzler (Rasterman) [Tue, 12 Apr 2016 03:51:48 +0000 (12:51 +0900)]
ecore system upower - silence if service doesnt exist
this silences come complaint warnings that should not be noisy - eg if
upower dbus service doesn't exist.
Carsten Haitzler (Rasterman) [Tue, 12 Apr 2016 03:47:30 +0000 (12:47 +0900)]
evas gl - fix leak with font glyph textures
some font glyphs are still allocated after tyhe last gl window is
freed which means we can't make current anymore to free textures after
that. this fixes that by flushing gl texture info from the font cache
when the last gl windows are gone.
@fix
Cedric BAIL [Mon, 11 Apr 2016 18:26:06 +0000 (11:26 -0700)]
elementary: we actually need to include this generated files or make dist will fail.
Oleksandr Shcherbina [Mon, 11 Apr 2016 15:50:46 +0000 (00:50 +0900)]
evas.canvas3d: Add FXAA post processing render.
Summary:
Add post processing render function as rendering full screen quard after
rendering to texture.
Add possibility use size of current frame in shader.
Add FXAA shader source files
Reviewers: raster, cedric, Hermet
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3847
Hermet Park [Mon, 11 Apr 2016 15:36:12 +0000 (00:36 +0900)]
elementary/scroller: code refactoring.
try to update scroller size when popup layout is updated.
Jinyong Park [Mon, 11 Apr 2016 15:28:55 +0000 (00:28 +0900)]
elc_popup: If popup's parent is resized, popup need to resized, too
Summary:
When window's size is not enough to show popup, popup resize smaller to show it in appropriate size.
But if window resize larger enough to show popup, popup is locked in small size.
On the contrary to this case, if window resize too smaller, popup has still large size, so popup doesn't display properly.
Test Plan:
1. elementary_test popup
2. maximize test list window
3. click 8th item, "popup-center-title + items + 3 buttons"
4. restore window size
5. close popup, resize window to smaller than popup in 3).
6. click 8th item, "popup-center-title + items + 3 buttons"
7. restore window size
popup size of 4. and 7. is different
Reviewers: jaehwan, cedric, raster, id213sin, singh.amitesh, SanghyeonLee
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3854
Hermet Park [Mon, 11 Apr 2016 15:27:55 +0000 (00:27 +0900)]
updated po
Stefan Schmidt [Mon, 11 Apr 2016 14:24:37 +0000 (16:24 +0200)]
docs: add descriptions for ecore_con_eet_{client,server} EO classes
Stefan Schmidt [Mon, 11 Apr 2016 13:39:59 +0000 (15:39 +0200)]
docs: add description to ecore_con_eet_base class
Stefan Schmidt [Mon, 11 Apr 2016 13:01:48 +0000 (15:01 +0200)]
docs: document ecore_animator EO class.
Keep it brief as we want the larger parts being editable from the wiki part of
the new doc system.
Jinyong Park [Mon, 11 Apr 2016 14:31:03 +0000 (23:31 +0900)]
popup : fix scale calculation in _scroller_size_calc
Summary:
when calculate real size of action area in _scroller_size_calc,
edje base scale is omitted.
Reviewers: jaehwan, id213sin, cedric, raster, singh.amitesh, SanghyeonLee, Hermet
Reviewed By: Hermet
Subscribers: Hermet, herb, jpeg
Differential Revision: https://phab.enlightenment.org/D3857
Ji-Youn Park [Mon, 11 Apr 2016 13:18:46 +0000 (21:48 +0830)]
Elm_icon: fix build error. --;
Ji-Youn Park [Mon, 11 Apr 2016 13:14:31 +0000 (21:44 +0830)]
Elm_icon: move thumb_set API from eo to legacy.
Ji-Youn Park [Mon, 11 Apr 2016 13:01:42 +0000 (21:31 +0830)]
Elm_thumb: move all api from eo to legacy
elm_thumb,elm_icon,elm_photo will be removed.
Stefan Schmidt [Mon, 11 Apr 2016 12:05:48 +0000 (14:05 +0200)]
build: make sure generated files in examples get cleaned up
Distcheck pointed these out as not being cleaned up and it was right. Make sure
we handle these generated files during cleanup.
Shuhrat Dehkanov [Mon, 11 Apr 2016 12:11:28 +0000 (17:41 +0530)]
genlist: do not evaluate against max coord if the value is negative
Summary:
If x is already less than '0', there is no need to check if it is
bigger than pan_max_x. Likewise, if y is already less than '0',
there is no need to check if it is bigger than pan_max_y.
Reviewers: Hermet, cedric, SanghyeonLee, singh.amitesh
Reviewed By: singh.amitesh
Subscribers: seoz, minkyu, sju27, jpeg
Differential Revision: https://phab.enlightenment.org/D3865
Ji-Youn Park [Mon, 11 Apr 2016 11:33:25 +0000 (20:03 +0830)]
Elm_image: remove no_scale and resizable property.
elm image add new API to deal with scale type.
if we use scale type for elm_image, we don't need to use no_scale and resizable property
Ji-Youn Park [Mon, 11 Apr 2016 04:51:05 +0000 (13:21 +0830)]
Elm_photo: move api from eo to legacy.
elm_photo will be deprecated in the future.
so move all api from eo to legacy.
Felipe Magno de Almeida [Mon, 11 Apr 2016 03:53:03 +0000 (00:53 -0300)]
eolian: Make promise eolian generation use macros for hooks
Modify the way hooks are defined and used by promise generation in
Eolian in the Eo API.
Instead of passing macro names as parameters to EO_FUNC_BODY macros,
just re-define the actual hooks when it is needed.
Carsten Haitzler (Rasterman) [Mon, 11 Apr 2016 02:45:46 +0000 (11:45 +0900)]
vpath - use double-happy format as poposed by onefang
vpath now uses a simley at the start and end of a special meta
location. i.e.:
(:home:)/blah.png
(:app.data:)/blah.jpg
Cedric Bail [Sun, 10 Apr 2016 19:04:29 +0000 (12:04 -0700)]
elementary: fix dependencies to build clean examples.
Daniel Zaoui [Sun, 10 Apr 2016 11:55:05 +0000 (14:55 +0300)]
CtxPopup: fix auto-hide property setting
Set and get functions are inconsistent one with the other. When set
function is used with a certain value, one expects the get function
to return this value.
Daniel Zaoui [Tue, 5 Apr 2016 11:53:02 +0000 (14:53 +0300)]
Ecore Exe: check parameter validity
Daniel Zaoui [Tue, 5 Apr 2016 07:32:59 +0000 (10:32 +0300)]
Edje: check parameter validity
Daniel Zaoui [Tue, 5 Apr 2016 07:32:25 +0000 (10:32 +0300)]
Ecore_Con: protect access to internal data
Jean Guyomarc'h [Sat, 9 Apr 2016 19:41:37 +0000 (21:41 +0200)]
ecore: fix documentation of Ecore_Exe_Event_Del
Cedric BAIL [Fri, 8 Apr 2016 23:00:49 +0000 (16:00 -0700)]
elementary: restore examples build.
Cedric BAIL [Fri, 8 Apr 2016 23:00:27 +0000 (16:00 -0700)]
evas: don't track some forgotten example
Cedric BAIL [Fri, 8 Apr 2016 18:35:37 +0000 (11:35 -0700)]
elua: unbreak make install-examples
Cedric BAIL [Fri, 1 Apr 2016 23:17:35 +0000 (16:17 -0700)]
ecore_evas: make it easier to have custom dependencies per module.
Mike Blumenkrantz [Fri, 8 Apr 2016 19:50:09 +0000 (15:50 -0400)]
elm_win: force opaque update on maximize state change
enforce csd recalc to ensure accurate maximize sizing
@fix
Stefan Schmidt [Fri, 8 Apr 2016 13:41:03 +0000 (15:41 +0200)]
tests/eloian: ship eo file needed for tests in tarball
Without this the make check run inside distcheck fails.
Tom Hacohen [Fri, 8 Apr 2016 10:35:18 +0000 (11:35 +0100)]
Elm tests: Silence warnings in the unused elm prefs test.
Tom Hacohen [Fri, 8 Apr 2016 10:34:53 +0000 (11:34 +0100)]
Evas langauge: Prevent potential buffer overflow and clean code.
We were copying a user defined string into a fixed size buffer
without doing any boundary checks. This commit fixes that.
Also cleaned up similar code that was using hardcoded numbers.
@fix.
Youngbok Shin [Fri, 8 Apr 2016 10:17:51 +0000 (11:17 +0100)]
Evas: Add API to reinit the language and use it in elementary.
Summary:
evas_common_language_from_locale_* functions kept static pointers
inside of its functions. Once these function was called, it was never reset.
It made big problems for harfbuzz and hyphenation. Also, Elementary
provides elm_language_set() API. Then we need to support it fully.
@fix
Test Plan: Test case for hyphenation is included in Evas test suite.
Reviewers: raster, tasn, herdsman, woohyun, z-wony, Blackmole, minudf
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3864
Jee-Yong Um [Fri, 8 Apr 2016 08:47:11 +0000 (17:47 +0900)]
list: fix item highlight geometry correctly
Summary:
Calculation for item highlight geometry is incorrect when item
is larger than viewport geometry.
This patch adjusts highlight geometry to fit visible item size.
Test Plan: enventor (look "Settings-Text Editor-Font Names" list)
Reviewers: Jaehyun_Cho
Subscribers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3738
Jean-Philippe Andre [Fri, 8 Apr 2016 05:18:38 +0000 (14:18 +0900)]
elm_win: Fix warning (unused variable)
Amitesh Singh [Fri, 8 Apr 2016 04:44:15 +0000 (10:14 +0530)]
doc: fix typo in
410cdd1501c0f7
Amitesh Singh [Fri, 8 Apr 2016 04:17:55 +0000 (09:47 +0530)]
doc: add widget_preview_nstate.c to noinst_PROGRAMS
Carsten Haitzler (Rasterman) [Fri, 8 Apr 2016 03:56:11 +0000 (12:56 +0900)]
efreetd - dont use netdb.sh as per man page on windows
Carsten Haitzler (Rasterman) [Fri, 8 Apr 2016 03:52:36 +0000 (12:52 +0900)]
efreet - use eina tmp dir instead of /tmp dir
use eina_environment_tmp_get() for windows
Amitesh Singh [Fri, 8 Apr 2016 03:49:02 +0000 (09:19 +0530)]
theme: add nstate.edc in Makefile.am
fixes make dist
Amitesh Singh [Fri, 8 Apr 2016 03:39:59 +0000 (09:09 +0530)]
doc: add elm nstate preview
Carsten Haitzler (Rasterman) [Fri, 8 Apr 2016 03:41:36 +0000 (12:41 +0900)]
efreetd - fix more cache path handling to live in the cache dir
follow on fixes from
5028a8807780892c361ae976b567cd924fa529b1
@fix
Carsten Haitzler (Rasterman) [Fri, 8 Apr 2016 03:12:21 +0000 (12:12 +0900)]
efreet: fix tmp file/dir/log handling to not leave a mess and work
so efreets tmp file/cache/log file handling was broken, using
filenames in tmp and renaming them to a caceh dir that can be on
different filesystems. also log file should have been in a tmp dir ...
and subsidrs cache didnt get renamed properly at all and thus not
updated.
@fix
Jean-Philippe Andre [Fri, 8 Apr 2016 02:21:45 +0000 (11:21 +0900)]
doc: Remove widget_preview_nstate.c
These is no such file.
Hopefully this will fix make dist.
Jean-Philippe Andre [Fri, 8 Apr 2016 01:51:20 +0000 (10:51 +0900)]
efl_vpath: Fix compilation for windows
Patch by @vtorri
Fixes T3431
Jean-Philippe Andre [Fri, 8 Apr 2016 01:38:15 +0000 (10:38 +0900)]
Evas 3d: Fix compilation for Windows
near and far are #defined in windows.h. Old legacy stuff.
To be sure the code compiles, rename the variables.
Fixes T3423
Carsten Haitzler (Rasterman) [Fri, 8 Apr 2016 02:03:44 +0000 (11:03 +0900)]
eina tmp get - support other tmp dir env vars and dont use xdg runtime
xdg runtime dir is NOT a tmp dir in the normal sense. it's not world
writable nor world readable. only for the user. using
eina_environment_tmp_get() would imply that it is a regular tmp dir,
not a per-user private only runtime dir. that is something else
entirely.
@fix
Carsten Haitzler (Rasterman) [Fri, 8 Apr 2016 01:50:48 +0000 (10:50 +0900)]
efl vpath - fix fallback handling to use right buffer for stat
Mike Blumenkrantz [Thu, 7 Apr 2016 18:14:14 +0000 (14:14 -0400)]
wayland: hook engine data from elm_win and update rect with evas size
the only way to accurately calculate the "evas" size in the engine from
window geometry is to have the size of the frame available to subtract from
window geometry
window geometry is NOT framespace--framespace is the entire csd region, possibly
containing a shadow, and window geometry is explicitly the region occupied by the
window, ie. not the shadowed part.
not my ideal solution to the synchronization issue here, but I guess this is a
benefit of the unified tree
fix T3396
Mike Blumenkrantz [Thu, 7 Apr 2016 18:09:51 +0000 (14:09 -0400)]
ecore-wl2: redo Ecore_Wl2_Event_Window_Configure entirely
this is an event representing the "new" state of the surface after a
configure event. it must contain the exact states which could potentially
have changed in the configure in order to ensure synchronization between
csd states and window size.
ecore events for xdg-shell configures must be sent only upon receiving a
configure event since states are set by the compositor and not by the client
@fix
#hoorayforbeta
Mike Blumenkrantz [Thu, 7 Apr 2016 18:04:21 +0000 (14:04 -0400)]
elm_win: handle icon object lifetimes more accurately, use icon_name in csd icon
in the case where an icon existed upon having an icon object set, the previous icon
object would be orphaned while still being visible. the new icon would then never
be set into the csd.
@fix
Mike Blumenkrantz [Wed, 6 Apr 2016 20:44:44 +0000 (16:44 -0400)]
elm_win: move frame obj creation/deletion for fullscreen property to state change cb
this was broken if the compositor unset fullscreen without being prompted by
the client (eg. ctrl+alt+f). it also created timing differences for csd calcs based
on when the fullscreen call occurred in the render cycle
@fix
Mike Blumenkrantz [Wed, 6 Apr 2016 20:48:58 +0000 (16:48 -0400)]
ecore-wl2: remove maximized/fullscreen/transient from window types enum
these aren't real window types and only complicate internals/api
#hoorayforbeta
Marcel Hollerbach [Tue, 5 Apr 2016 13:11:29 +0000 (15:11 +0200)]
ecore_x: fix emission of ECORE_X_EVENT_XKB_NEWKBD_NOTIFY
Summary:
the event XkbNewKeyboardNotify was never selected with
XkbSelectEventDetails so the event type could never occur.
The event is now each time emitted when a new event to the keyboard
happens. To clarify a bit: A new keyboard is always detected in x when
the set of keymaps changes.
@fix
Reviewers: raster, devilhorns, zmike
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3867
Ji-Youn Park [Thu, 7 Apr 2016 10:38:41 +0000 (19:08 +0830)]
Elm_image: remove elm_image_sizing_eval from eo to legacy.
elm_image_object_get api will be deprecated, so moved sizing eval func to legacy
Yeshwanth Reddivari [Thu, 7 Apr 2016 09:55:44 +0000 (18:55 +0900)]
efl.progress: Rename property from value to progress_value
Reviewers: jpeg, singh.amitesh
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3872
Amitesh Singh [Thu, 7 Apr 2016 09:25:59 +0000 (18:25 +0900)]
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
Jean-Philippe Andre [Thu, 7 Apr 2016 08:32:40 +0000 (17:32 +0900)]
Efl: Rename flip and orient enums
Efl.Flip is now the enum, the interface is Flipable.
We could even use names like Efl.IFlip a la Java.
eo_prefix is used to have pretty names in C. legacy: null
is removed from the enums. orient_x0 is removed and only
defined in C with #define
Yeshwanth Reddivari [Thu, 7 Apr 2016 07:50:03 +0000 (16:50 +0900)]
Interface: Progress - Add common interface for Slider and Progressbar
Summary:
Implement common interface efl_ui_progress and inherit slider and progressbar from common interface.
Currently legacy APIs will also call interface functions and later it can be deprecated.
This interface will be moved to EFL in src/lib/efl/interfaces when elementary is merged into efl.
Test Plan:
elementary_test -to 'slider'
elementary_test -to 'progressbar'
Reviewers: singh.amitesh, raster, tasn, felipealmeida, woohyun, cedric, jpeg
Subscribers: saurabhbunty, alok25
Differential Revision: https://phab.enlightenment.org/D3759
Jean-Philippe Andre [Thu, 7 Apr 2016 06:46:47 +0000 (15:46 +0900)]
Eo: Try to fix windows build
For windows, EAPI needs to be redefined as dllexport/dllimport.
Since we marked all EO APIs as weak, we had two different EAPI
macros: EAPI and EWAPI. Unfortunately, EWAPI was never redefined
(only declared inside Eo.h).
See also
a1a506e13e276d8ef6e522ae9.
See T3423. Thanks @vtorri for the report.
Jean-Philippe Andre [Thu, 7 Apr 2016 06:36:20 +0000 (15:36 +0900)]
Eo: Mark class_get() as weak APIs
While eolian-gen was generating EWAPI (weak) class_get()
symbol declarations, they were implemented as EAPI (strong).
Not sure if this mismatch had any significant effect.
This patch tries to address T3423 (windows build).
The mismatch between EAPI and EWAPI might be the problem.
Jean-Philippe Andre [Thu, 7 Apr 2016 06:25:42 +0000 (15:25 +0900)]
Ecore: Try to fix build for windows
Move efl.h above ecore.h to not mess with EAPI's dllimport
vs. dllexport definition. This addresses T3423.
Jean-Philippe Andre [Thu, 7 Apr 2016 05:40:10 +0000 (14:40 +0900)]
Efl: Add internal strong symbol to fix build on GCC < 5.3
This fixes a crash in ecore_init, calling a weak function from
libefl that was resolved to NULL.
So, here's a fun thing happening with GCC < 5.3. Since
a1a506e13e2
all EOAPI and EO class_get() functions are weak symbols. This means
that all APIs inside libefl.so are weak.
As a result, gcc linker with --as-needed skipped linking to libefl
since not a single strong symbol from libefl was required by
libecore. This is actually a bug in gcc linker since we do in fact
use symbols from libefl, just weak ones.
GCC 5.3 seems to be fixed, so people with GCC 5.3+ will not
experience any build/runtime issue. The current patch is
a workaround that bug, by artifically creating a strong symbol
required by ecore.
Other libraries than ecore might also need to call
__efl_internal_init, if they end up not being linked to libefl.
Cedric Bail [Wed, 6 Apr 2016 21:34:45 +0000 (14:34 -0700)]
ecore: attempt to fix windows build by putting header in a more logical place.