Yeshwanth Reddivari [Wed, 18 May 2016 09:31:48 +0000 (18:31 +0900)]
index: Avoid SIGSEV in elm_index_item_sorted_insert
Summary:
Avoid SIGSEV in elm_index_item_sorted_insert when cmp_data_func returns >=0
After deleting eo_item and making it NULL in above case, view(it) is created which resulted in crash.
Test Plan: elementary_test -to 'index 2'
Reviewers: singh.amitesh, jpeg, cedric, raster, Hermet
Reviewed By: Hermet
Subscribers: Hermet
Differential Revision: https://phab.enlightenment.org/D3956
Cedric Bail [Wed, 18 May 2016 08:56:21 +0000 (01:56 -0700)]
efl: change name of animator,tick event in C.
Cedric Bail [Wed, 18 May 2016 08:56:06 +0000 (01:56 -0700)]
eo: fix borked test.
Jee-Yong Um [Wed, 18 May 2016 08:56:12 +0000 (17:56 +0900)]
elm_list: perform a null check before accessing its member
Summary:
In inline function _elm_list_item_free, null check is performed
after accessing its member.
@fix
Reviewers: cedric, Hermet
Reviewed By: Hermet
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3955
Tom Hacohen [Wed, 18 May 2016 08:55:03 +0000 (09:55 +0100)]
Eo cxx: remove leftover usage of eo_del().
Hermet Park [Wed, 18 May 2016 08:53:05 +0000 (17:53 +0900)]
elementary/colorselector: apply scale factor.
Some parts of ui have scale factor, but some don't
Apply scale factor to whole parts for working properly.
Jihoon Kim [Wed, 18 May 2016 06:20:05 +0000 (15:20 +0900)]
ecore_imf: Add multiline hint in input hint
@feature
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:51:52 +0000 (01:51 +0900)]
eina test suite vector - make correctness range 2x as big
make correctness rand 2 * DBL_EPSILON due to compilers, fastmath and
being a little inaccurate sometimes at the bottom end of precision.
@fix
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:39:45 +0000 (01:39 +0900)]
ecore audio test - improve samples for ecore audio test
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:05:20 +0000 (01:05 +0900)]
ecore wl2 - remove warning with unused goto label
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:02:37 +0000 (01:02 +0900)]
efl - key/data/value/obj attach to eo objects - make these properties
the key data now is a property so they come out in bindings really
nicely like:
obj.key_data["blah"] = x;
x = obj.key_data["blah"];
etc.
Daniel Kolesa [Tue, 17 May 2016 16:14:47 +0000 (17:14 +0100)]
eolian: add event_prefix and have classes follow that or eo_prefix by default
Previously events used to use class name as a prefix and ignored eo_prefix
when specified. This is no longer the case. Events follow eo_prefix by default
now. In order to get around this for classes where this is undesirable, a new
field event_prefix was added which takes priority over eo_prefix. If neither
is specified, class name is used like previously.
@feature
Amitesh Singh [Tue, 17 May 2016 15:00:03 +0000 (00:00 +0900)]
Panes: Use orientation interface APIs instead of horizontal set/get APIs
Differential Revision: https://phab.enlightenment.org/D3919
Tom Hacohen [Tue, 17 May 2016 15:08:28 +0000 (16:08 +0100)]
Eo: Remove eo_del() and make eo_unref() the replacement.
We used to have eo_del() as the mirrored action to eo_add(). No longer,
now you just always eo_unref() to delete an object. This change makes it
so the reference of the parent is shared with the reference the
programmer has. So eo_parent_set(obj, NULL) can free an object, and so
does eo_unref() (even if there is a parent).
This means Eo no longer complains if you have a parent during deletion.
Tom Hacohen [Tue, 17 May 2016 15:00:13 +0000 (16:00 +0100)]
Eo name: Rename Eo.Base.id to Eo.Base.name.
This is there to reduce confusion with Eo_Id and also the name
is just better.
Cedric Bail [Tue, 17 May 2016 14:38:36 +0000 (07:38 -0700)]
ecore: do not create another main loop object
So ecore main loop does restart everything with an main loop shutdown
and init when it detect a bad fd. This can happen if you del a fd after
you have destroyed it. Something terminology is doing (and should be
legal), but that then ended up with a main loop with no event handler
registered and the process was looking like stuck with nothing happening.
Shuhrat Dehkanov [Tue, 17 May 2016 12:36:59 +0000 (14:36 +0200)]
docs: progressbar: correct minor typos
Reviewers: q66, stefan_schmidt
Subscribers: cedric, seoz, jpeg
Differential Revision: https://phab.enlightenment.org/D3950
perepelits.m [Tue, 17 May 2016 12:21:39 +0000 (05:21 -0700)]
edje: attaching viewport of camera to the image part
Summary:
According to D3710 new field "camera" in edc was added for IMAGE parts.
It is the name of the CAMERA part to set its viewport as a source of image if no image name is given.
Reviewers: raster, Hermet, cedric
Reviewed By: cedric
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D3777
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Cedric Bail [Tue, 17 May 2016 12:16:27 +0000 (05:16 -0700)]
elementary: mapbuf is legacy for now and should be automatic in the future.
Tom Hacohen [Tue, 17 May 2016 09:29:14 +0000 (10:29 +0100)]
Eo: Rename an internal function to reduce confusion.
@raster added eo_id_get() which was confusing because we already had
_eo_id_get() that was used internally.
Tom Hacohen [Tue, 17 May 2016 09:25:31 +0000 (10:25 +0100)]
Eo children: Make children tracking an inlist instead of a list.
This saves us a pointer in every eo object and a pointer indirection
when accessing children.
Tom Hacohen [Tue, 17 May 2016 08:39:12 +0000 (09:39 +0100)]
Eo: change refcount to short from int.
A short is more than enough for reference counting.
Mykyta Biliavskyi [Tue, 17 May 2016 09:00:44 +0000 (12:00 +0300)]
Edje_edit: generate code of the image sets.
Added support generate the edc code of the image sets in the image top level block.
And correct support inside the image.normal attribute.
Jinyong Park [Tue, 17 May 2016 01:22:07 +0000 (10:22 +0900)]
popup: add popup default scrollable flag config for other profiles.
Summary:
The default scrollable flag of popup can be different in each profiles.
So I added the scrollable configuration of popup.
@feature
Test Plan:
1. Before
1) elementary_test -to popup
2) resize window to smaller
3) Click 15th item, "popup-center-title + genlist content + 1 button"
4) Then popup will show, but its list is very long, only small part of popup could be shown.
2. After Patch
1) change "popup_scroller" value to 1 in base.src, then run elementary_test -to popup or ELM_POPUP_SCROLLABLE=1 elemantary_test -to popup
2) resize window to smaller
3) Click 15th item, "popup-center-title + genlist content + 1 button"
4) Then popup will show, popup's genlist will be in scroller, so entire popup can be shown.
Reviewers: jaehwan, id213sin, cedric, raster, singh.amitesh, SanghyeonLee, Hermet
Subscribers: Hermet, minkyu, herb, jpeg
Differential Revision: https://phab.enlightenment.org/D3856
Jihoon Kim [Mon, 16 May 2016 23:34:17 +0000 (08:34 +0900)]
ecore_imf/wayland: Change sequence to call preedit changed and end callback
preedit changed and end callback should be called before commit callback
Tom Hacohen [Mon, 16 May 2016 16:41:59 +0000 (17:41 +0100)]
Eo name find: Fix possible out of bounds write in eo name find.
CID1354840
Cedric Bail [Mon, 16 May 2016 16:25:43 +0000 (09:25 -0700)]
Revert "autotools: fix lots of warning."
This reverts commit
885d6c7d9bb0c253c49fd3f6351dd06d28a4cf74.
Reverting all as it seems those warning where actually for working code...
Cedric Bail [Mon, 16 May 2016 16:22:19 +0000 (09:22 -0700)]
autotools: fix make clean
Cedric Bail [Mon, 16 May 2016 16:08:30 +0000 (09:08 -0700)]
autotools: fix lots of warning.
Thankcs Jean Guyomarc'h.
Mike Blumenkrantz [Mon, 16 May 2016 16:02:16 +0000 (12:02 -0400)]
Mike Blumenkrantz [Mon, 16 May 2016 15:47:04 +0000 (11:47 -0400)]
Jean Guyomarc'h [Mon, 11 Apr 2016 22:05:40 +0000 (00:05 +0200)]
autotools: enable gl_cocoa on OS X by default
Before this commit, X11 (via Xquartz) was the default engine to be
enabled on OS X.
Since the Cocoa backend became quite stable and considering applications
running within the Xquartz windowing environment are arguably ugly,
the Cocoa backend will now be enabled by default and X11 will be
selected only if explicitely requested.
Mykyta Biliavskyi [Mon, 16 May 2016 12:48:15 +0000 (15:48 +0300)]
Edje_edit: generate states of the box and table part edc code with inheritance.
Generate inheritance box and table attributes from similar state.
Mykyta Biliavskyi [Mon, 16 May 2016 12:21:59 +0000 (15:21 +0300)]
Edje_edit: generate states of the proxy part edc code with inheritance.
Generate inheritance proxy attribute "source" from similar state.
Mykyta Biliavskyi [Mon, 16 May 2016 12:12:31 +0000 (15:12 +0300)]
Edje_edit: generate states of the image part edc code with inheritance.
Generate inheritance image attributes from similar state.
Mykyta Biliavskyi [Mon, 16 May 2016 11:55:11 +0000 (14:55 +0300)]
Edje_edit: generate states of the text part edc code with inheritance.
Generate inheritance text attributes from similar state.
Mykyta Biliavskyi [Mon, 16 May 2016 11:34:02 +0000 (14:34 +0300)]
Edje_edit: generate state code with inheritance map block.
Add ability to generate inherited code for map block.
Mykyta Biliavskyi [Mon, 16 May 2016 11:25:00 +0000 (14:25 +0300)]
Edje_edit: generate state code with inheritance rel block.
Add ability to generate inherited code for relative block.
Mykyta Biliavskyi [Mon, 16 May 2016 10:57:52 +0000 (13:57 +0300)]
Edje_edit: generate state code with inheritance general attributes.
Support inheritance for part states on the edc code generate time.
Only for general attributes are supported, except relative and
map blocks.
Added functions for calculation coefficient of similarity
between two different states of the same part.
Mykyta Biliavskyi [Mon, 16 May 2016 10:33:42 +0000 (13:33 +0300)]
Edje_edit: move text state edc code generate to standalone func.
Created internal function _edje_generate_source_state_text.
This is needed for implementation generate inheritance
states in edc code.
Chris Michael [Mon, 16 May 2016 10:53:27 +0000 (06:53 -0400)]
ecore-wl2: Remove erroneous check for wayland display
NB: No real major changes, just removal of an extra 'if' block. If
getenv of wayland display fails, we hard-code the default wayland
display name so subsequent check for 'if (n)' is erroneous
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Marcel Hollerbach [Mon, 16 May 2016 10:14:40 +0000 (19:14 +0900)]
ecore_wl2: connect to default display
Summary: if there is no env var AND no name, connection to wayland-0
Reviewers: raster, jpeg, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3945
Andy Williams [Mon, 16 May 2016 08:12:21 +0000 (09:12 +0100)]
elementary: Fix icon name to standard
Ji-Youn Park [Mon, 16 May 2016 07:06:58 +0000 (15:36 +0830)]
elm_win: move quickpanel feature from eo to legacy
all quickpanel APIs were only supported in X.
quickpanel property can be managed by name property.
zone set canbe managed by aux_hint
minor, and major set are not used anymore
Dave Andreoli [Sun, 15 May 2016 16:56:57 +0000 (18:56 +0200)]
Revert "popup: default scrollable option change to TRUE"
This reverts commit
2ddbc5fc9a34ee47bf7e511283ce5d602366907e.
You cannot change default behaviour of released code!
In this way you make applications behave differently on different
efl version.
Nicolas Aguirre [Sun, 15 May 2016 15:38:25 +0000 (17:38 +0200)]
Evas: gl_common remove gl3.h and gl3ext.h includes
Nicolas Aguirre [Sun, 15 May 2016 15:14:55 +0000 (17:14 +0200)]
Evas: gl_common add define for missing GL_DEPTH_COMPONENT24
Cedric Bail [Sun, 15 May 2016 15:57:59 +0000 (08:57 -0700)]
ecore: move ecore before evas so that all dependencies are build in correct order.
Dave Andreoli [Sun, 15 May 2016 15:05:30 +0000 (17:05 +0200)]
FDO icons: duplicate icons instead of symlink usage.
Windoz do not support symlinks :(
Carsten Haitzler (Rasterman) [Sun, 15 May 2016 14:56:59 +0000 (23:56 +0900)]
efl - ui box - remove unised deficit variable
Carsten Haitzler (Rasterman) [Sun, 15 May 2016 14:49:33 +0000 (23:49 +0900)]
elm - map: fix warning with possibly uninitted vars
Carsten Haitzler (Rasterman) [Sun, 15 May 2016 14:46:03 +0000 (23:46 +0900)]
evas - fix warning comparing agianst wrong enum
fixed enum compare due to efl intefaces changes.
Carsten Haitzler (Rasterman) [Wed, 11 May 2016 04:04:36 +0000 (13:04 +0900)]
evas - make func indenting more redable with overflow lines aligned
Chris Michael [Sun, 15 May 2016 13:41:12 +0000 (09:41 -0400)]
elementary: Cleanup compiler warnings when not using X11
This patch cleans up various unused variables and unused function
parameters when not building for X11.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Sun, 15 May 2016 13:39:44 +0000 (09:39 -0400)]
elementary: Conditionally define functions based on x11/wayland
These functions are only used if we are compiled with X11 support, so add
an #ifdef to remove it from wayland builds
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Sun, 15 May 2016 13:35:54 +0000 (09:35 -0400)]
elementary: Don't define handlers if we are not going to use them
These handlers are only used when building for X11, not for Wayland,
so conditionally compile them in/out
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Cedric Bail [Sun, 15 May 2016 13:43:20 +0000 (06:43 -0700)]
autotools: make Windows and MacOS X not require the long flags.
This is been done to enable a bigger community on those platform. We
do hope that Gentoo will not abuse it.
Cedric Bail [Sun, 15 May 2016 13:41:16 +0000 (06:41 -0700)]
ecore: make timeout test that the timeout does happen at least after it is supposed to.
The test had to been relaxed to allow the server to be overloaded !
Dave Andreoli [Sun, 15 May 2016 13:34:21 +0000 (15:34 +0200)]
Elm config: more compliant icon names
and remove usage of toolbar item priorities, just keep the append order
Dave Andreoli [Sun, 15 May 2016 13:30:41 +0000 (15:30 +0200)]
FDO icons: add some Application icons
mostly the ones used by elm_config
Cedric Bail [Sun, 15 May 2016 10:45:54 +0000 (03:45 -0700)]
evas: make ecore a dependency.
As packager will need to update their package anyway with 1.18 it is a
good time to finally make evas depends on ecore. This should enable
refactoring and simplifying a lot of complex code in EFL. This really
should have been done like that from the beginning.
memeka [Sat, 14 May 2016 10:28:19 +0000 (19:58 +0930)]
elementary: Fix build issue when x11 is disabled
When we compile efl using --with-x11=none, then
_tempfile_new and _tmpinfo_free end up being undefined, however these
functions are used by wayland too so they need to be defined regardless.
@fix
Andy Williams [Sat, 14 May 2016 10:20:41 +0000 (11:20 +0100)]
elementary: Use standard down arrow
Chris Michael [Sat, 14 May 2016 09:26:27 +0000 (05:26 -0400)]
ecore-wl2: Add environment variable to optionally disable wobbly windows
As not everyone needs/wants extra eye-candy, add a check for
EFL_WAYLAND_DISABLE_WWW environment variable to be able to disable
wobbly windows support
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Sat, 14 May 2016 07:35:09 +0000 (03:35 -0400)]
elput: Don't multiply pointer axis value
Reporting of mouse axis values should not be multiplied by 10. This
will cause serious jumps in wheel events. Loosely based on
1a339c9e5918f6d8672755d566cac622f1d9c2d3
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Derek Foreman [Thu, 12 May 2016 21:21:30 +0000 (16:21 -0500)]
ecore_drm: Handle wheel scrolling separately from finger scrolling
Wheels are discrete and scroll in clicks, fingers are continuous and scroll
in fractional pixels.
This change causes wheel based scrolling to be returned in "clicks"
instead of "degrees" - allowing us to roll a single menu item with a click.
It also will allow us to reduce the speed of two finger scrolling without
messing up the speed of wheel scrolling.
Amitesh Singh [Fri, 13 May 2016 09:49:15 +0000 (15:19 +0530)]
Eo: declare lk_init explicitly unsigned
In some build environment, anonymous char delcaration can be interpreted
as "unsigned char". Although lk_init can be only 0, 1 or 2 so there
won't be any unexpected result. This change is just to make static code
analyzer happy.
Jinyong Park [Fri, 13 May 2016 05:49:18 +0000 (14:49 +0900)]
popup: default scrollable option change to TRUE
Summary:
Usually, popup have a scroll bar when its content is too long to display in popup's size.
But now, default option is unscrollable.
So change default option and popup's test case.
Reviewers: jaehwan, Hermet, herb
Subscribers: cedric, singh.amitesh, jpeg
Differential Revision: https://phab.enlightenment.org/D3941
Youngbok Shin [Fri, 13 May 2016 05:06:18 +0000 (14:06 +0900)]
Elementary toolbar: Don't call "clicked" callback when item is just selected
Summary:
"clicked" callback must be called when an item is really clicked.
But, toolbar had called it whenever an item was selected.
Even, it could be triggered by "elm_toolbar_item_selected_set()" API.
So, "clicked" callback will be called when only an item is clicked.
Also, it changed confusing names of related internal functions.
@fix
Test Plan: N/A
Reviewers: jaehwan, woohyun, cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3937
Vitalii Vorobiov [Tue, 10 May 2016 14:30:03 +0000 (17:30 +0300)]
Edje_Edit: more API for proxy fields like source_clip and source_visible
Setters and getters like
edje_edit_state_proxy_source_clip_set
edje_edit_state_proxy_source_clip_get
edje_edit_state_proxy_source_visible_set
edje_edit_state_proxy_source_visible_get
Tom Hacohen [Thu, 12 May 2016 16:25:52 +0000 (17:25 +0100)]
Make "legacy_prefix: null;" the default in eolian and adjust the efl.
This breaks behaviour because it changes the legacy_prefix behaviour to
be null by default. This means that by default legacy functions are not
generated.
This merge includes the changes to eolian and the efl.
Tom Hacohen [Thu, 12 May 2016 16:06:04 +0000 (17:06 +0100)]
Add legacy_prefix now that the default has changed to null.
Tom Hacohen [Thu, 12 May 2016 15:43:29 +0000 (16:43 +0100)]
Efl: Remove "legacy_prefix: null;" as it's now the default.
Daniel Kolesa [Thu, 12 May 2016 15:28:19 +0000 (16:28 +0100)]
eolian: do not generate legacy without explicit class legacy_prefix
Michael Jennings [Thu, 12 May 2016 17:13:42 +0000 (10:13 -0700)]
spec/efl.spec.in: It's nicer when the spec file actually works.
Added support for systemd detection. Updated the file list. Build
unoptimized and with debugging symbols, at least for now. And remove
unnecessary *.la files from the packages.
Daniel Kolesa [Thu, 12 May 2016 14:41:56 +0000 (15:41 +0100)]
eolian: mark pure virtual funcs outside of implements
This is a better syntax and should've been like this in the first place.
Tom Hacohen [Thu, 12 May 2016 13:33:40 +0000 (14:33 +0100)]
Eo abstract class: Rename to Eo.Class.
Tom Hacohen [Thu, 12 May 2016 11:25:42 +0000 (12:25 +0100)]
Ector cairo software: Fix namespacing to use . and not _.
Daniel Kolesa [Thu, 12 May 2016 11:24:49 +0000 (12:24 +0100)]
elua: install the docgen app
Tom Hacohen [Thu, 12 May 2016 11:23:27 +0000 (12:23 +0100)]
Efl canvas surface: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:22:10 +0000 (12:22 +0100)]
Elm segment control item: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:20:07 +0000 (12:20 +0100)]
Evas image orient: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:17:57 +0000 (12:17 +0100)]
Evas smart cb: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:17:10 +0000 (12:17 +0100)]
Elm image: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:16:27 +0000 (12:16 +0100)]
Eet: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:11:48 +0000 (12:11 +0100)]
Eo event description: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:10:34 +0000 (12:10 +0100)]
Eldbus: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:07:20 +0000 (12:07 +0100)]
Efl ui box: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:06:39 +0000 (12:06 +0100)]
Efl gfx stroke: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:04:55 +0000 (12:04 +0100)]
Ecore con: Fix namespacing to use . and not _.
Tom Hacohen [Thu, 12 May 2016 11:03:32 +0000 (12:03 +0100)]
Ecore exe: Fix namespacing to use . and not _.
Daniel Kolesa [Thu, 12 May 2016 11:04:18 +0000 (12:04 +0100)]
docs: add an experimental elua based documentation generator
This is an Eolian-using doc gen written with Elua. It will be used to generate
the Dokuwiki skeleton for new EFL docs.
@feature
Daniel Kolesa [Wed, 11 May 2016 11:30:37 +0000 (12:30 +0100)]
docgen: allow multiple paths to be scanned when provided
Daniel Kolesa [Tue, 10 May 2016 17:11:24 +0000 (18:11 +0100)]
docgen: basic doc generation for types
Daniel Kolesa [Thu, 5 May 2016 13:29:14 +0000 (14:29 +0100)]
docgen: generate pages for different types
Daniel Kolesa [Thu, 5 May 2016 10:59:52 +0000 (11:59 +0100)]
docgen: add type declaration serializer for type docs
Daniel Kolesa [Thu, 28 Apr 2016 15:21:29 +0000 (16:21 +0100)]
docgen: don't generate docs when help option is given
Daniel Kolesa [Thu, 28 Apr 2016 15:20:27 +0000 (16:20 +0100)]
docgen: add params to disable usage of graphviz and notes plugins
Daniel Kolesa [Thu, 28 Apr 2016 12:59:39 +0000 (13:59 +0100)]
docgen: generalized graph writer
Daniel Kolesa [Wed, 27 Apr 2016 14:56:59 +0000 (15:56 +0100)]
docgen: transparency for inheritance graph background