Commit Graph

49603 Commits

Author SHA1 Message Date
Jinyong Park 471a328ea0 edje_embryo: add function to know swallow has object
Summary:
Using edc script, there is no way to know evas object is set on swallow part or not.
So, to know that, some elm widget send signal and save some information to edc variables when object is set on swallow part.
I think it is helpful to make better edc script.

@feature

Reviewers: herb, cedric, raster, id213sin, jpeg

Reviewed By: jpeg

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4176
2016-08-16 16:14:21 +09:00
Jean-Philippe Andre 88a684e800 edje: Clean up edje eo apis
Patches by Conr2d.
Differential Revision: https://phab.enlightenment.org/D4224

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2016-08-16 16:09:07 +09:00
Jee-Yong Um 14ff664b76 edje: clean up APIs
- convert methods to property setter/getter
- remove "values" block when getter returns read_only value
- fit the type of params of eo funcs to those of legacy APIs
2016-08-16 15:38:42 +09:00
Jee-Yong Um 1df890d51a edje: clean up part text item APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um afc04302ed edje: clean up part text anchor APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um 69ffbbb3eb edje: clean up part text input panel APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um 5c989481b7 edje: clean up part text imf context APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um fcc7bbcf97 edje: clean up part text select APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um 90b20e4da1 edje: clean up part text cursor APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um 7621e28ca4 edje: clean up part text APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um 42750beba4 edje: clean up part external APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um 7299933359 edje: fix reference error of part drag APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um 504f43698e edje: clean up part drag APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um 080d5cef11 edje: clean up part basic APIs 2016-08-16 15:38:42 +09:00
Jee-Yong Um c772bb0390 edje: group methods in edje_object.eo 2016-08-16 15:38:42 +09:00
Jean-Philippe Andre 9fbb5e0e5d 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 c58e293d34)
2016-08-16 15:34:33 +09:00
Carsten Haitzler 40250fda22 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
2016-08-16 15:19:21 +09:00
Thiep Ha fb15910640 elm video: correct api
The elm_videfl_add should be elm_video_add.
It was changed by commit e65aae994e.
This commit brings it back.
2016-08-16 12:36:26 +09:00
Sungmin Kwak bf2755efef ecore_imf: fix typo
Change-Id: I2660fa96a0525fcdf9e83e9eb33f449c282f6581
2016-08-16 08:26:23 +09:00
Felipe Magno de Almeida 386548ba8d docs: Fix rename from eo_add to efl_add 2016-08-15 15:15:11 -03:00
Felipe Magno de Almeida f8a6568d5c eolian-cxx: Fix compilation break with Eo rename to EFL 2016-08-15 15:14:53 -03:00
Daniel Kolesa ef8a66a41d docs: correctly wrap struct/enum fields in doctree 2016-08-15 15:12:34 +01:00
Tom Hacohen e65aae994e 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.
2016-08-15 15:07:42 +01:00
Daniel Kolesa 35abb3c34d docs: add Typedecl to doctree 2016-08-15 15:04:04 +01:00
Daniel Kolesa 570437c64e docs: use the variable getters in all places 2016-08-15 14:45:36 +01:00
Daniel Kolesa c98df1c586 docs: add static getters for wrapped variables 2016-08-15 14:41:59 +01:00
Daniel Kolesa f43b8e24cc docs: initial Variable in doctree 2016-08-15 14:36:24 +01:00
Daniel Kolesa 5a00524a8b docs: no need to include eolian in stats 2016-08-15 14:26:19 +01:00
Daniel Kolesa c122992884 docs: remove the mappings module 2016-08-15 14:25:04 +01:00
Daniel Kolesa c910db509a docs: add method to get parameter's direction name 2016-08-15 14:18:36 +01:00
Vyacheslav Reutskiy 5135867218 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
2016-08-15 16:16:52 +03:00
Daniel Kolesa 3e92d64808 docs: generic namespace generator in Node 2016-08-15 14:14:33 +01:00
Daniel Kolesa bd944a377b docs: remove some direct eolian api usages 2016-08-15 14:06:20 +01:00
Daniel Kolesa 6f10cb94cd docs: wrap func params in doctree 2016-08-15 14:03:53 +01:00
Daniel Kolesa b6d869c3f3 docs: move all eolian init logic into doctree 2016-08-15 13:53:01 +01:00
Daniel Kolesa e9ddce647c docs: abstract away directory scan 2016-08-15 13:50:32 +01:00
Daniel Kolesa c17ee4027a docs: abstract away object scope enum 2016-08-15 13:48:13 +01:00
Daniel Kolesa 4761f31687 docs: remove some unused funcs in docgen 2016-08-15 13:43:25 +01:00
Daniel Kolesa c32a8ff125 docs: integrate fallback func doc into Function 2016-08-15 13:38:53 +01:00
Daniel Kolesa aa5068d1e2 eolian tests: fix reference file after beta in legacy change 2016-08-15 12:50:52 +01:00
Carsten Haitzler 6728822e91 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
2016-08-15 11:40:31 +09:00
Carsten Haitzler e7d56e9ece 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
2016-08-15 11:30:23 +09:00
Carsten Haitzler 1d6a58cfc9 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
2016-08-15 09:21:08 +09:00
Jean Guyomarc'h a5232bb283 elementary: fix documentation for elm_prefs
Update API references and code example.
2016-08-14 18:57:12 +02:00
Carsten Haitzler 0779adcf0b 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
2016-08-14 13:51:52 +09:00
Carsten Haitzler 749bc23231 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
2016-08-14 12:25:59 +09:00
Carsten Haitzler d86f73f9e6 elm win - fix elm win center to actually center again
@fix
2016-08-13 23:08:01 +09:00
Carsten Haitzler fd228ae6c5 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
2016-08-13 22:51:38 +09:00
Carsten Haitzler 2358417277 efl api release - fix @since for evas test filter program/source set api 2016-08-13 12:15:19 +09:00
Carsten Haitzler b59d7a6a1b efl api release - fix @since for elm win legacy api name_get addition 2016-08-13 12:15:13 +09:00