Jee-Yong Um [Thu, 11 Aug 2016 01:46:54 +0000 (10:46 +0900)]
edje: clean up part drag APIs
Jee-Yong Um [Thu, 11 Aug 2016 01:34:53 +0000 (10:34 +0900)]
edje: clean up part basic APIs
Jee-Yong Um [Thu, 11 Aug 2016 00:33:55 +0000 (09:33 +0900)]
edje: group methods in edje_object.eo
Jean-Philippe Andre [Tue, 16 Aug 2016 05:57:02 +0000 (14:57 +0900)]
evas: Fix potential memleak in event info objects
The new event info being an eo object, it needs to be properly
cleaned. I believe this memleak would not show up much in massif
or other checking tools, as it's a stringshare leak. Also, most
of those event objects will in fact be reused and never deleted.
@fix (backported as
c58e293d343396859daabdd348)
Carsten Haitzler (Rasterman) [Tue, 16 Aug 2016 06:19:21 +0000 (15:19 +0900)]
evas gl x11 engine - fix buffer age symbol find and use
it serems some changes broke our buffer age querying - we were using
the wrong symbol... the EXT or ARGB onenot the core one which does
work. use that first. then we get buffer age.
@fix
Thiep Ha [Tue, 16 Aug 2016 03:36:26 +0000 (12:36 +0900)]
elm video: correct api
The elm_videfl_add should be elm_video_add.
It was changed by commit
e65aae994e72c1d3f8ac6b5360d3772f177b77ef.
This commit brings it back.
Sungmin Kwak [Sat, 13 Aug 2016 06:03:10 +0000 (15:03 +0900)]
ecore_imf: fix typo
Change-Id: I2660fa96a0525fcdf9e83e9eb33f449c282f6581
Felipe Magno de Almeida [Mon, 15 Aug 2016 18:15:11 +0000 (15:15 -0300)]
docs: Fix rename from eo_add to efl_add
Felipe Magno de Almeida [Mon, 15 Aug 2016 18:14:53 +0000 (15:14 -0300)]
eolian-cxx: Fix compilation break with Eo rename to EFL
Daniel Kolesa [Mon, 15 Aug 2016 14:12:18 +0000 (15:12 +0100)]
docs: correctly wrap struct/enum fields in doctree
Tom Hacohen [Mon, 15 Aug 2016 13:44:41 +0000 (14:44 +0100)]
Eo: Finish the renaming of Eo to the EFL.
This renames all the rest of the API to the EFL namespace except for
Eo_Event that will follow soon.
Obviously breaks both API and ABI.
Daniel Kolesa [Mon, 15 Aug 2016 14:04:04 +0000 (15:04 +0100)]
docs: add Typedecl to doctree
Daniel Kolesa [Mon, 15 Aug 2016 13:45:36 +0000 (14:45 +0100)]
docs: use the variable getters in all places
Daniel Kolesa [Mon, 15 Aug 2016 13:41:59 +0000 (14:41 +0100)]
docs: add static getters for wrapped variables
Daniel Kolesa [Mon, 15 Aug 2016 13:36:24 +0000 (14:36 +0100)]
docs: initial Variable in doctree
Daniel Kolesa [Mon, 15 Aug 2016 13:26:19 +0000 (14:26 +0100)]
docs: no need to include eolian in stats
Daniel Kolesa [Mon, 15 Aug 2016 13:25:04 +0000 (14:25 +0100)]
docs: remove the mappings module
Daniel Kolesa [Mon, 15 Aug 2016 13:18:20 +0000 (14:18 +0100)]
docs: add method to get parameter's direction name
Vyacheslav Reutskiy [Mon, 15 Aug 2016 10:59:46 +0000 (13:59 +0300)]
elm_genlist: unhighlight item if it not selected
Summary:
Main trouble in handle click and double click event.
If user hold Esc and do double click on genlist item,
it still highlighted but not selected, because between
click and double click genlist process a key down event.
This patch add check the item state on mouse up, check
a item state - if item highlighted but not selected,
unhighlight it.
@fix
Fixes T3986
Test Plan:
1. run elementary_test Genlist
2. hold ESC
3. double-click on few genlist items
Reviewers: raster, cedric, NikaWhite
Subscribers: seoz, jpeg
Maniphest Tasks: T3986
Differential Revision: https://phab.enlightenment.org/D4222
Daniel Kolesa [Mon, 15 Aug 2016 13:14:33 +0000 (14:14 +0100)]
docs: generic namespace generator in Node
Daniel Kolesa [Mon, 15 Aug 2016 13:06:20 +0000 (14:06 +0100)]
docs: remove some direct eolian api usages
Daniel Kolesa [Mon, 15 Aug 2016 13:03:53 +0000 (14:03 +0100)]
docs: wrap func params in doctree
Daniel Kolesa [Mon, 15 Aug 2016 12:53:01 +0000 (13:53 +0100)]
docs: move all eolian init logic into doctree
Daniel Kolesa [Mon, 15 Aug 2016 12:50:32 +0000 (13:50 +0100)]
docs: abstract away directory scan
Daniel Kolesa [Mon, 15 Aug 2016 12:48:13 +0000 (13:48 +0100)]
docs: abstract away object scope enum
Daniel Kolesa [Mon, 15 Aug 2016 12:43:25 +0000 (13:43 +0100)]
docs: remove some unused funcs in docgen
Daniel Kolesa [Mon, 15 Aug 2016 12:38:53 +0000 (13:38 +0100)]
docs: integrate fallback func doc into Function
Daniel Kolesa [Mon, 15 Aug 2016 11:50:52 +0000 (12:50 +0100)]
eolian tests: fix reference file after beta in legacy change
Carsten Haitzler (Rasterman) [Mon, 15 Aug 2016 02:40:31 +0000 (11:40 +0900)]
evas smart obj - handle invalid object id's when scop data get is NULL
handle smart member add if the object is invalid withotu crashing.
also don't abort and crash with other invalid states like of smart
object or child is to be deleted, has no layer etc. - continue on
safely without a crash.
@fix
Carsten Haitzler (Rasterman) [Mon, 15 Aug 2016 02:30:23 +0000 (11:30 +0900)]
evas table - handle recursive access to cols/rows where child frees
thsi fixes invalid memory access to already freed memory in a parent
call where a child freed it by reference counting the struct to
ensuire it stays alive in the parent func using it.
@fix
Carsten Haitzler (Rasterman) [Sun, 14 Aug 2016 13:30:32 +0000 (22:30 +0900)]
edje - save memory on edje parts as a lot of over-allocation was done
so ... Edje_Calc_Params was huge ... like about 200 bytes. every part
in every live edje object got one of these in addtion to real part
struct info etc. ... so really every part was probably consuming
300-500 bytes or so... crazy. so i made a lot of the data now optional
so only the minimum required is allocated now which cuts down about 110
or even 120 bytes per part, depending. 100 bytes was needed for 3d
node parts even though almsot no parts are 3d node parts... the image
and text data was 30-40 bytes so we consumed 100 even if we only used
30-40... so this cuts that done and puts in polace calc param cleanup
funcs everywhere they are needed to clean up this extra allocated data.
i also reduced this even more by maping pointers to req_drag, map and
physics and clip_to fields in another extension struct cutting
down another 28/52 bytes on most parts (in return for an added
4/8 bytes - on 32/64bit accordingly).
in elementary_test this saves about ~300kb of ram for just having the
etst run and displaying (peak memory measuremment). so massif says
10.6M -> 10.3M.
@optimize
Jean Guyomarc'h [Sun, 14 Aug 2016 16:55:33 +0000 (18:55 +0200)]
elementary: fix documentation for elm_prefs
Update API references and code example.
Carsten Haitzler (Rasterman) [Sun, 14 Aug 2016 04:50:03 +0000 (13:50 +0900)]
edje - remove unused fields from part desc and calc params
fill spread and angle have never been used - resevred intitially for
gradient objects, but never put into use, so remove to get rid of
junk/memory footprint etc.
@optimize
Carsten Haitzler (Rasterman) [Sun, 14 Aug 2016 03:25:59 +0000 (12:25 +0900)]
edje - replace eina list with eina inlist to save mem and performance
edje was keeping every edje object created in an eina list so it could
access them later. not really great when every list node contains at
least 4 pointers (data, next, prev and accounting, possibly magic
too). also ever time an edje object is deleted it has to remove from
this list which means... walking the list to where the obj is... not
great. replace with an inlist which is just 3 ptrs, no extra pressure
on list pool and removal os O(1) too.
@optimize
Carsten Haitzler (Rasterman) [Sat, 13 Aug 2016 14:08:01 +0000 (23:08 +0900)]
elm win - fix elm win center to actually center again
@fix
Carsten Haitzler (Rasterman) [Sat, 13 Aug 2016 13:42:13 +0000 (22:42 +0900)]
efl api release - fix elm win accel preference set in legacy api
this shouldnt exist in legacy api as its not settable after creation.
it's useful only for eo constructors before finalize
Carsten Haitzler (Rasterman) [Sat, 13 Aug 2016 02:05:36 +0000 (11:05 +0900)]
efl api release - fix @since for evas test filter program/source set api
Carsten Haitzler (Rasterman) [Sat, 13 Aug 2016 01:43:34 +0000 (10:43 +0900)]
efl api release - fix @since for elm win legacy api name_get addition
Carsten Haitzler (Rasterman) [Sat, 13 Aug 2016 01:29:19 +0000 (10:29 +0900)]
efl api release - fix @since for textblock added legacy cursor eq api
Carsten Haitzler (Rasterman) [Sat, 13 Aug 2016 00:50:29 +0000 (09:50 +0900)]
efl api release - fix @since for textblock added legacy api
Carsten Haitzler (Rasterman) [Sat, 13 Aug 2016 00:18:03 +0000 (09:18 +0900)]
po files - update line numbers automatically
Daniel Kolesa [Sat, 13 Aug 2016 00:15:07 +0000 (01:15 +0100)]
eolian gen: do not generate legacy for beta APIs
Boris Faure [Fri, 12 Aug 2016 22:29:05 +0000 (00:29 +0200)]
evas textgrid: unset style when trying to load bold/italic
Ref T4323
@fix
Stefan Schmidt [Fri, 12 Aug 2016 15:52:09 +0000 (17:52 +0200)]
elm: ui_win: add since tags for accel_preference_get/set
Stefan Schmidt [Fri, 12 Aug 2016 15:42:16 +0000 (17:42 +0200)]
elm: widget: add since tags for new APIs
Stefan Schmidt [Fri, 12 Aug 2016 15:24:27 +0000 (17:24 +0200)]
elm: entry: fix since tag to be used for getter and setter
Both have been added in 1.18 not only set()
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 14:46:15 +0000 (23:46 +0900)]
efl api release - fix @since for new elm win indicator api's
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 14:26:18 +0000 (23:26 +0900)]
efl api release - fix @since in new elm slider range api's
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 14:15:59 +0000 (23:15 +0900)]
efl api release - fix @since in new elm glview api's
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 14:09:04 +0000 (23:09 +0900)]
efl api release - fix @since in new elm genlist api's
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 14:07:10 +0000 (23:07 +0900)]
efl api release - fix @since in new elm gengrid apis
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:58:46 +0000 (22:58 +0900)]
efl api release - fix @since in new elm entry api's
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:51:07 +0000 (22:51 +0900)]
efl api release - fix @since in new elm config apis
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:39:57 +0000 (22:39 +0900)]
efl api release - fix exposing of eo fake legacy api for elm check
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:29:49 +0000 (22:29 +0900)]
efl api release - fix exposing of eo api types for elm fileselector
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:13:44 +0000 (22:13 +0900)]
efl api release - fix @since in new eina iterator api
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 12:58:05 +0000 (21:58 +0900)]
efl api release - fix @since in new edje edit api
Jean Guyomarc'h [Fri, 12 Aug 2016 14:36:12 +0000 (16:36 +0200)]
elementary: fix memory leaks when using elm_prefs
"regex" is heap-allocated and is not handled by regfree().
We must explicitely call free() after a regfree() to remove
the regex_t from memory.
Jean Guyomarc'h [Fri, 12 Aug 2016 14:20:34 +0000 (16:20 +0200)]
elementary: fix segmentation faults when using elm_prefs
There are several cases of failure:
- if regex is NULL, regfree(regex) may lead to segmentation fault
(undefined behaviour, as specified in POSIX.1)
- if regex is not NULL, there are cases of use-after-free.
@fix
Daniel Kolesa [Fri, 12 Aug 2016 13:30:48 +0000 (14:30 +0100)]
docs: expose func types via doctree properly
Daniel Kolesa [Fri, 12 Aug 2016 13:22:14 +0000 (14:22 +0100)]
docs: use more abstracted doctree APIs
Daniel Kolesa [Fri, 12 Aug 2016 13:19:32 +0000 (14:19 +0100)]
docs: fully utilize Function's type_str_get
Daniel Kolesa [Fri, 12 Aug 2016 13:16:57 +0000 (14:16 +0100)]
docs: namespace generator for funcs in doctree
Daniel Kolesa [Fri, 12 Aug 2016 13:11:31 +0000 (14:11 +0100)]
docs: always wrap events from events_get
Daniel Kolesa [Fri, 12 Aug 2016 13:09:50 +0000 (14:09 +0100)]
docs: initial Function in doctree
Daniel Kolesa [Fri, 12 Aug 2016 12:51:39 +0000 (13:51 +0100)]
docs: theme string retrieval for doctree classes
Daniel Kolesa [Fri, 12 Aug 2016 12:35:57 +0000 (13:35 +0100)]
docs: abstract away class types within doctree
Daniel Kolesa [Fri, 12 Aug 2016 12:25:58 +0000 (13:25 +0100)]
docs: get rid of dependency of doctree on mappings
Jean Guyomarc'h [Fri, 12 Aug 2016 10:51:59 +0000 (12:51 +0200)]
eo: fix guard to avoid redefinition of Efl_Object
Clang raised the warning:
redefinition of typedef 'Efl_Object' is a
C11 feature [-Wtypedef-redefinition]
for every compiling unit including Eo.h, which
caused a huge console pollution during compilation.
Tom Hacohen [Fri, 12 Aug 2016 09:32:11 +0000 (10:32 +0100)]
Efl text interactive: Don't ship internal header.
Jean-Philippe Andre [Fri, 12 Aug 2016 02:09:16 +0000 (11:09 +0900)]
evas: Fix shader for text masking
Fixes T4338
@fix
Jean-Philippe Andre [Thu, 11 Aug 2016 23:58:28 +0000 (08:58 +0900)]
image: Remove all new EAPI that shouldn't exist
Remove EAPI symbols and functions that were
wrongfully added:
- elm_image_scale_down_set
- elm_image_scale_down_get
- elm_image_scale_up_set
- elm_image_scale_up_get
- elm_image_fill_inside_set
- elm_image_fill_inside_get
- elm_image_scale_get
- elm_image_scale_set
Doing this before the 1.18.x release announcement.
Fixes T4343
@fix
Jean-Philippe Andre [Thu, 11 Aug 2016 23:50:48 +0000 (08:50 +0900)]
elm_image: Remove EAPI sizing_eval
This is an internal API, should not be exposed as EAPI.
Doing this before the 1.18.x announcement.
@fix
Jean-Philippe Andre [Thu, 11 Aug 2016 22:44:08 +0000 (07:44 +0900)]
elm_win: Fix ABI break with missing EAPIs
EAPI elm_win_type_set
EAPI elm_win_name_set
Those two APIs should never have been part of the legacy API,
but they have been generated since at least 1.16. The commits
1aceb3bc198f3f9a07671f37564efc6657fe2a41
and
41aa19447c2a324a8cca59799a0a058fea56b575
removed the legacy symbols generation. It seemed like a good
idea since the APIs shouldn't exist, but in fact this broke
ABI. I hate this. So sorry about it.
I'm adding them back in with no documentation and as
EINA_DEPRECATED.
This is an emergency commit before the 1.18.x release
announcement.
Fixes T4344
@fix
Felipe Magno de Almeida [Thu, 11 Aug 2016 19:24:15 +0000 (16:24 -0300)]
eolian-cxx: Fix compilation break from changes in Eo nomenclature
Rename of classes and function calls in generated code and C++ headers
Mike Blumenkrantz [Thu, 11 Aug 2016 17:42:42 +0000 (13:42 -0400)]
efl: add EFL_VERSION_1_19
indicate that features from this version can be used
Tom Hacohen [Thu, 11 Aug 2016 16:04:02 +0000 (17:04 +0100)]
Eo: Rename Eo to the EFL namespace
Tom Hacohen [Wed, 10 Aug 2016 14:23:04 +0000 (15:23 +0100)]
Change the EFL to follow the new Eo rename.
Tom Hacohen [Tue, 9 Aug 2016 13:10:05 +0000 (14:10 +0100)]
Eo: Rename most of Eo to the Efl prefix.
This includes Eo.Base -> Efl.Object and many (but not all) of the eo
functions. This commit is only for eo itself, not the rest of the EFL.
Stefan Schmidt [Thu, 11 Aug 2016 15:54:59 +0000 (17:54 +0200)]
configure: Switch to dev mode again. Merge window for 1.19 is now open.
Stefan Schmidt [Thu, 11 Aug 2016 15:06:30 +0000 (17:06 +0200)]
release: Update NEWS and bump version for 1.18.0 release
Daniel Kolesa [Thu, 11 Aug 2016 15:03:12 +0000 (16:03 +0100)]
docs: always generate arrays instead of iterators in Class
Daniel Kolesa [Thu, 11 Aug 2016 15:00:12 +0000 (16:00 +0100)]
docs: implement nspaces_get for Class
Daniel Kolesa [Thu, 11 Aug 2016 14:48:55 +0000 (15:48 +0100)]
docs: initial Class in doctree
Carsten Haitzler (Rasterman) [Thu, 11 Aug 2016 14:18:15 +0000 (23:18 +0900)]
evas image update calculation - account for clipped color changes
if clipped color changed and not object color on image objects, then
the updates could be missed. this also fixes some corner cases where
opaqueness should not count for update deletion too. this bug seems to
have been here a while unnoticed.
fixes T4246
@fix
Stefan Schmidt [Thu, 11 Aug 2016 12:26:16 +0000 (14:26 +0200)]
Revert "eina threadqueue - for paranoia lock+ulock+free in order locks taken"
This reverts commit
d19cd4e63caf461e28fb536968f82e0d8a365cdc.
This causes a SIGBUS error on OpenBSD when closing any application. As this
was safety patch only I will revert it for the 1.18 release and we can work
out what breaks OpenBSD here for 1.19
Fixes T4332
Chris Michael [Thu, 11 Aug 2016 11:53:51 +0000 (07:53 -0400)]
evas-gl-drm: Don't release gbm buffer twice
Not sure how this got in there, but it looks like
gbm_surface_release_buffer was being called twice on the same buffer.
This should sort out the double-free mentioned in ref T4335
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 27 Jul 2016 12:24:27 +0000 (08:24 -0400)]
elementary: Add call to set opaque_region for case of borderless and
alpha
If we have a borderless alpha window, then make call to set opaque
region accordingly. This still avoids calling opaque_region_set twice,
yet maintains opaque region for the above mentioned case.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Thu, 11 Aug 2016 09:27:25 +0000 (11:27 +0200)]
Manual revert of: commit
07404215a91d7e2ef7d7fa9ebbdd5e0c0312384a
combobox: add Multiple selection feature
This exposes problems with name clashes and behaviour change for the legacy API.
Revert for now and we can revisit for 1.19.
Git revert got to confused as this was committed before we merged elm in. I did
the revert manually.
Dave Andreoli [Thu, 11 Aug 2016 10:06:51 +0000 (12:06 +0200)]
Fix the implementation of the "Genlist Reusable Contents" test
I didn't understand well how the reusable mechanism should have be used,
now I do, and the test is not failing anymore :)
Jean-Philippe Andre [Thu, 11 Aug 2016 02:34:00 +0000 (11:34 +0900)]
wayland_egl: Fix double free in case of failure
When trying to create a window, the WL EGL engine creates
an ecore_evas and connects to the wayland display. But if
EGL is not supported (in weston with nvidia for instance),
the egl initialization fails and the window must be detroyed
in order to fallback to wayland_shm.
This led to a double disconnect from the wayland display
as both the ecore_evas del and the error handling code
were trying to disconnect.
Also, use ref == 0 in two places rather than ref <= 0, as
it can prevent double frees in bad situations (ref < 0).
And reset a global variable to NULL on shutdown.
Jean-Philippe Andre [Thu, 11 Aug 2016 02:03:54 +0000 (11:03 +0900)]
wayland_shm: Fix basic support for Evas GL
Simply add support for EVASGL native surfaces.
I removed all code related to OPENGL surfaces (deprecated stuff
from old Evas GL).
Fixes T2936
Note that here are still some missing features in Evas GL
support on Wayland (at least pbuffers support is not implemented).
Daniel Kolesa [Wed, 10 Aug 2016 15:05:16 +0000 (16:05 +0100)]
docs: add Event to new the doctree
Daniel Kolesa [Wed, 10 Aug 2016 14:54:11 +0000 (15:54 +0100)]
docs: unified feature testing in writer api
Daniel Kolesa [Wed, 10 Aug 2016 14:50:19 +0000 (15:50 +0100)]
docs: disable graph writing from writer api when appropriate
Daniel Kolesa [Wed, 10 Aug 2016 14:44:55 +0000 (15:44 +0100)]
docs: abstracted writing of folded sections
Stefan Schmidt [Wed, 10 Aug 2016 09:09:36 +0000 (11:09 +0200)]
README: catch up with configure flags for Wayland support
We need elput for input handling and drm here as well. Already fixed in the
release notes but better catchup here as well.
Jean-Philippe Andre [Wed, 10 Aug 2016 07:29:17 +0000 (16:29 +0900)]
evas: Call legacy events before new key/pointer eo events
This affects pointer & key events.
Here's the scenario: in Enventor, an elm_button object
grabs the up & down keys for the autocompletion feature.
But the entry will also listen to up & down to move the
cursor. Moreover, the scroller listens to up & down arrow
keys to scroll around.
So, when calling the new eo event first, the scroller
or the entry would catch it and do some action. In
Enventor, this triggered a hide on the magic anchor
object. Bad, bad.
I fear something will be wrong with this order as well.
Both events (legacy & eo) should be called simultaneously,
following the order & priorities that were set.
This being said, in real life most of EFL internals will
move to the new eo events (right now elm relies on the
new events, but edje doesn't, yet), so any app grabbing a
key probably wants to handle the event before elm. Same
for an app using focus manually.
Fixes T4310
Jean-Philippe Andre [Wed, 10 Aug 2016 06:30:50 +0000 (15:30 +0900)]
Revert "evas: Optimize out a function call if not required"
This reverts commit
8cb3b79a82b1769cba5a7a10f9937aa18dd65d8a.
I shouldn't have pushed this. So wrong. Sorry about the noise.
Jean-Philippe Andre [Wed, 10 Aug 2016 06:25:44 +0000 (15:25 +0900)]
evas: Optimize out a function call if not required
Same as the previous patch in elm_widget: don't call
flags_set() if the flags have not changed.