Commit Graph

49569 Commits

Author SHA1 Message Date
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
Daniel Kolesa 149a0aae52 docs: expose func types via doctree properly 2016-08-12 14:30:48 +01:00
Daniel Kolesa 00049bd798 docs: use more abstracted doctree APIs 2016-08-12 14:22:14 +01:00
Daniel Kolesa a621f0bd1a docs: fully utilize Function's type_str_get 2016-08-12 14:19:32 +01:00
Daniel Kolesa 6de8a1f131 docs: namespace generator for funcs in doctree 2016-08-12 14:16:57 +01:00
Daniel Kolesa 6f71222084 docs: always wrap events from events_get 2016-08-12 14:11:31 +01:00
Daniel Kolesa e0c0b12a94 docs: initial Function in doctree 2016-08-12 14:09:50 +01:00
Daniel Kolesa ca3f418517 docs: theme string retrieval for doctree classes 2016-08-12 13:51:39 +01:00
Daniel Kolesa 79935e1ab3 docs: abstract away class types within doctree 2016-08-12 13:35:57 +01:00
Daniel Kolesa 452b6557aa docs: get rid of dependency of doctree on mappings 2016-08-12 13:25:58 +01:00
Jean Guyomarc'h e249d79229 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.
2016-08-12 13:06:48 +02:00
Tom Hacohen c197edc23f Efl text interactive: Don't ship internal header. 2016-08-12 11:05:44 +01:00
Jean-Philippe Andre ad4c92ceeb evas: Fix shader for text masking
Fixes T4338

@fix
2016-08-12 11:10:36 +09:00
Jean-Philippe Andre 4e00d5a71f 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
2016-08-12 09:24:41 +09:00