Commit Graph

49582 Commits

Author SHA1 Message Date
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
Carsten Haitzler 80e8e69ce4 efl api release - fix @since for textblock added legacy cursor eq api 2016-08-13 12:14:59 +09:00
Carsten Haitzler d7c5c5f91b efl api release - fix @since for textblock added legacy api 2016-08-13 12:14:52 +09:00
Carsten Haitzler 5a87d3857f po files - update line numbers automatically 2016-08-13 12:14:07 +09:00
Daniel Kolesa 9dcddd220a eolian gen: do not generate legacy for beta APIs 2016-08-13 01:15:21 +01:00
Boris Faure 4c07f52de6 evas textgrid: unset style when trying to load bold/italic
Ref T4323

@fix
2016-08-13 00:29:05 +02:00
Stefan Schmidt 4c7aaac4a5 elm: ui_win: add since tags for accel_preference_get/set 2016-08-12 18:05:13 +02:00
Stefan Schmidt 8b6a320616 elm: widget: add since tags for new APIs 2016-08-12 18:05:13 +02:00
Stefan Schmidt 186ad100c7 elm: entry: fix since tag to be used for getter and setter
Both have been added in 1.18 not only set()
2016-08-12 18:05:13 +02:00
Carsten Haitzler 645927817b efl api release - fix @since for new elm win indicator api's 2016-08-12 18:04:55 +02:00
Carsten Haitzler b387d3ceee efl api release - fix @since in new elm slider range api's 2016-08-12 18:04:55 +02:00
Carsten Haitzler ec49db1e91 efl api release - fix @since in new elm glview api's 2016-08-12 18:04:55 +02:00
Carsten Haitzler ed9a58b28b efl api release - fix @since in new elm genlist api's 2016-08-12 18:04:55 +02:00
Carsten Haitzler 76410cff47 efl api release - fix @since in new elm gengrid apis 2016-08-12 18:04:55 +02:00
Carsten Haitzler 5537c7ffe3 efl api release - fix @since in new elm entry api's 2016-08-12 18:04:55 +02:00
Carsten Haitzler 6a6f039db2 efl api release - fix @since in new elm config apis 2016-08-12 18:04:54 +02:00
Carsten Haitzler c57d893768 efl api release - fix exposing of eo fake legacy api for elm check 2016-08-12 18:04:54 +02:00
Carsten Haitzler 47e6037a8b efl api release - fix exposing of eo api types for elm fileselector 2016-08-12 18:04:54 +02:00
Carsten Haitzler 825e60e023 efl api release - fix @since in new eina iterator api 2016-08-12 18:04:54 +02:00
Carsten Haitzler c56b12f827 efl api release - fix @since in new edje edit api 2016-08-12 18:04:10 +02:00
Jean Guyomarc'h be67c1553a 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.
2016-08-12 16:36:12 +02:00
Jean Guyomarc'h b6b8289636 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
2016-08-12 16:28:32 +02:00