Andrii Kroitor
d985ae7ed4
edje_util: fix memory leak
...
Summary:
list returned by evas_object_box_children_get should be freed
@fix
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2413
2015-04-24 16:03:16 +09:00
Mike Blumenkrantz
c3dc01ef32
edje: fix edje_mmap_color_class_iterator_new() iterator
...
not actually the same iterator as a certain frenchman originally wrote
#cedric
2015-04-06 15:11:06 -04:00
Mike Blumenkrantz
052d27c9f1
edje: remove recalc when unswallowing objects
...
I can't test this as thoroughly as I'd like due to ref T2272, but
it appears that this calc was also unnecessary
2015-04-06 12:59:07 -04:00
Mike Blumenkrantz
0ae06207af
edje: flag param as unused
2015-04-03 21:26:34 -04:00
Mike Blumenkrantz
12acac7035
edje: immediately return NULL when no color classes exist in edje_color_class_active_iterator_new()
2015-04-03 21:26:02 -04:00
Mike Blumenkrantz
5a61ee107c
edje: return immediately when setting color class if class is not in use
2015-04-02 15:15:31 -04:00
Mike Blumenkrantz
abf3c3c470
edje object swallowing no longer forces a full recalc
...
this (and/or related prior commits) seems to have hugely improved
edje performance across the board. particularly noticeable in the
settings pane animations for terminology
#aprilfools
2015-03-31 19:16:55 -04:00
Mike Blumenkrantz
f534103c95
edje object scale factor changes now trigger deferred recalcs
...
as with the previous commit, any user who wants geometry immediately
will be calling calc functions, so this is just going to be redundant
except in cases where calc is not wanted, in which case it is unnecessary
overhead
2015-03-31 19:16:54 -04:00
Cedric BAIL
11a4e1ae83
edje: add edje_mmap_color_class_iterator_new().
...
This function make it possible to list the Color class of a specific Edje file.
2015-03-31 21:57:23 +02:00
Cedric BAIL
6ee3805cf4
edje: get the color class value by iterating over all possible value provider.
2015-03-31 05:36:38 +02:00
Cedric BAIL
5906569f7f
edje: add edje_color_class_active_iterator_new()
...
This function make it possible to get a list of active Edje_Color_Class
in an application. Think about Enlightenment color class configuration,
but can now be done on any application dynamically.
@feature
2015-03-31 04:26:06 +02:00
Cedric BAIL
431e73eed5
edje: force NULL initialization of desc pointer.
2015-03-30 22:31:34 +02:00
Sohyun Kim
10670094c1
edje: add text_class_get() APIs
...
Summary: No APIs to get text_class for global hash and object hash
Reviewers: woohyun, cedric, raster
Reviewed By: cedric, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2213
2015-03-26 02:53:22 +09:00
Sung-Taek Hong
54b233690d
edje: correct order of functions
...
Summary:
_edje_object_part_text_raw_set() has to locate before
_edje_user_define_string().
- _edje_user_define_string takes one of its parameters
rp->typedata.text->text, and this is set
by _edje_object_part_text_raw_set().
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
Reviewers: cedric, seoz
Subscribers: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D2118
2015-03-10 16:31:32 +09:00
Mike Blumenkrantz
1cf630f2bd
edje color classes can now have text descriptions
...
@feature
2015-03-07 13:44:52 -05:00
ChunEon Park
3dff8b0a43
edje: code refactoring.
...
use a constant vairable for maintainance.
2015-03-04 22:52:12 +09:00
ChunEon Park
2e4f4d502f
lib/edje_util: fix logically wrong here.
...
print err message only if edje has a non-fixed textblock.
This dosen't affect any application ui results,
but err message will point out the problem textblock parts exactly.
2015-03-04 22:47:43 +09:00
ChunEon Park
32f3f858d6
edje/edje_util: code refactoring.
...
change internal variables to more descriptive ones.
no logic change.
2015-03-03 22:37:28 +09:00
Carsten Haitzler
e1e1850d0e
edje - fix uninitialized coord sizes if swallow obj is invalid
...
this fixes invalid sizing calcs if shallowed obj is invalid and we
cant get geometry etc.
@fix
2015-01-07 17:23:24 +09:00
ChunEon Park
382c41e42d
edje: support anti_alias option
...
set anti_alias in part section.
default is enabled.
part { name: "test";
type: XXX;
anti_alias: 0;
...
}
@feature
2014-12-24 16:29:49 +09:00
Jaehwan Kim
1e21a4c323
scale: add the API edje_object_base_scale_get.
...
This function returns the base_scale factor set on the
Edje object.
The base_scale can be set in the collection of edc.
If it isn't set, the default value is 1.0.
2014-10-16 13:45:30 +09:00
Jihoon Kim
000f5fee84
ecore_imf: Add ecore_imf_context_bidi_direction_set/get API
...
Some Input Methods want to know the bidi direction (LTR/RTL) at the current cursor position.
2014-09-23 10:18:35 +09:00
Jihoon Kim
715da43d3a
Add edje_object_part_text_input_hint_set/get API
...
Sets or get the input hint which allows input methods to fine-tune their behavior.
2014-09-01 19:01:54 +09:00
Carsten Haitzler
4124ed6946
edje - fix null return check in src description get
...
fix CID 1210812 1210811
2014-08-27 17:30:42 +09:00
Carsten Haitzler
4771d25e9f
edje swallow resize handling
...
this fixes some deadcode in CID 1039646 that suggests we should do a
check for rp->typedata.swallow first before we go using it.
2014-08-14 19:36:40 +09:00
Carsten Haitzler
1cf526286a
fix edje file fetch
...
this fixes CID 1210811
2014-08-14 16:31:45 +09:00
Carsten Haitzler
9cb92e3727
fix null check of edje file data
...
this fixes CID 1210812
2014-08-14 16:29:03 +09:00
Carsten Haitzler
f6ef5c229f
edje - remove logically dead code
...
fixes CID 1224348 - coverity is right
2014-08-13 20:46:52 +09:00
Carsten Haitzler
65ec494c32
edje - fix coverity complaint about invalid mem access
...
fixes real issue for invalid object - CID 1224349
2014-08-13 20:39:17 +09:00
Cedric BAIL
b95165201c
edje: factorize call to eo_do to reduce eo_do_start cost.
2014-07-07 13:44:11 +02:00
Cedric BAIL
142a0ceb48
edje: fix typos.
2014-07-07 13:44:11 +02:00
Cedric BAIL
1b54047ac4
edje: reduce overhead of setting text and color class in theme.
...
This reduce by 10% some elementary tests case that was provided
by some crazy french.
2014-07-06 22:50:32 +02:00
Tom Hacohen
aa450fa8dd
Edje eolian: Fix namespaces for all of the edje classes.
2014-06-30 17:47:06 +01:00
Cedric BAIL
8dcb75ad09
edje: simplify and deprecate stub function.
2014-06-07 18:13:39 +02:00
Tom Hacohen
0fc3279db9
Efl: Update code to use the new class names generated by eolian.
2014-06-03 11:28:01 +01:00
Mike Blumenkrantz
5f376fde36
edje now correctly supports text.source and text.text_source for swallowed parts
...
fix T1186
2014-04-25 10:52:15 -04:00
Cedric Bail
7ec6a9afee
edje: let's call this function before returning.
...
CID 1194718.
2014-04-17 21:29:31 +02:00
Mike Blumenkrantz
3c20b89765
+edje_object_part_object_name_get()
2014-03-31 11:23:06 -04:00
Yossi Kantor
2be615916a
Eolian: Integration of Edje and Edje Edit
2014-03-24 08:14:30 +02:00
Youngbok Shin
af69be766c
edje/util: set flag to all_part_change when edje class member is added.
...
Summary:
When edje class member is added, edje need to change member according to
the edje class.
@fix
Reviewers: raster, tasn, woohyun, seoz, Hermet, cedric
Reviewed By: raster
CC: cedric, herdsman
Differential Revision: https://phab.enlightenment.org/D637
2014-03-17 20:23:47 +09:00
Cedric BAIL
dc4bad17dd
edje: let's allow to reset escaped text to NULL.
...
@fix T821.
2014-03-05 15:12:17 +09:00
Amitesh Singh
257607cc69
edje: add support of last input entered in password mode to be always visible in entry.
...
@feature
Requirement: Last input entered in password mode should be always visible in
entry. e.g. **a -> ***b.
Reviewers: cedric, raster, seoz
Reviewed By: cedric
CC: cedric
Differential Revision: https://phab.enlightenment.org/D589
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-03-03 09:34:31 -03:00
Sohyun Kim
85b2a8f5dc
reset textblock cache when text_class is changed
...
If text_class in the textblock is changed, it is not applied because of the cache.
When text_class is changed, reset cache to update text information.
2014-02-27 13:31:42 +09:00
Carsten Haitzler
87e717ae45
edje - fix bunch of possible null return errors with checks
...
fixes CID 1135274 CID 1135272 CID 1135275
2014-02-13 19:11:52 +09:00
Mike Blumenkrantz
a5a907023d
edje freeze count can no longer become negative
2014-02-03 11:52:06 -05:00
Jihoon Kim
f241646370
Edje: add edje_object_part_text_input_panel_show_on_demand_set/get()
2013-12-27 13:24:54 +09:00
ChunEon Park
c28f08a477
edje - use Eina_Bool.
2013-11-21 13:00:55 +09:00
Mike Blumenkrantz
91565c48e3
only unswallow deleted swallowed parts if they're in a swallow (wtf.)
2013-10-17 10:17:33 +01:00
Mike Blumenkrantz
71c545545a
edje should probably unswallow objects when they get deleted externally to avoid issues later on?
2013-10-17 10:07:23 +01:00
Mike Blumenkrantz
dfb0e32bb6
edje swallowing on the currently-swallowed part, which is a noop, now once again returns true
2013-09-26 09:02:54 +01:00
Michael Bouchaud
19fa6862c5
edje: fix recursive scale_set on edje_object
2013-09-05 23:32:23 +02:00
Cedric Bail
ff01dec8fb
edje: fix function to use Eo API.
...
I am really unhappy to have to do this patch myself. This commit is in since
May and I have continuously request to be fixed. It has taken way to long. It's
done now. Next time I see such a patch in EFL, I will revert it right away.
2013-09-05 19:22:51 +09:00
Michaël Bouchaud (yoz)
88cc896f06
edje: be recursive on edje_object_scale_set
2013-09-04 12:06:03 +02:00
Carsten Haitzler
555283daf2
edje - protect against segv when class lookup is null
2013-08-17 22:57:46 +09:00
Chris Michael
b4717598d1
Sorry Jihoon, I have to revert this (for now). It completely breaks
...
building of EFL :( I think perhaps you forgot to push the ecore_imf
code that goes with this ??
Revert "Edje: add edje_object_part_text_input_panel_show_on_demand_set/get()"
This reverts commit 4b5ed04559
.
2013-08-15 07:40:15 +01:00
Jihoon Kim
4b5ed04559
Edje: add edje_object_part_text_input_panel_show_on_demand_set/get()
2013-08-14 18:17:06 +09:00
Chris Michael
8b93eaf4c8
_edje_real_part_recursive_get can return NULL so check validity before
...
calling _edje_child_remove (with potentially NULL as the real part).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:26:38 +01:00
Cedric Bail
b845a54ee3
edje: another small speedup for elemines startup time (-2%).
2013-08-01 11:40:13 +09:00
ChunEon Park
4c5ea19d83
edje - add a FIXME.
2013-07-20 19:38:25 +09:00
Mike Blumenkrantz
2dee0a9357
edje don't unswallow and reswallow an object into the same part if it's already there
2013-07-19 15:09:27 +01:00
Ivan Briano
4ea2abb602
Always update GROUP parts when changing color class
2013-07-11 15:00:34 -03:00
Cedric Bail
df7b19090a
edje: simplify the logic and make code easier to read.
2013-07-05 10:18:49 +09:00
Sebastian Dransfeld
336f6ec328
efl: formatting
2013-06-20 13:28:18 +02:00
Carsten Haitzler
f8c9a8d167
revert the revert... damn you git!
...
Revert "Revert "Efl: replace eo_data_get for objects data referencing.""
This reverts commit b64a2994b3
.
2013-05-02 16:47:16 +09:00
Carsten Haitzler
b64a2994b3
Revert "Efl: replace eo_data_get for objects data referencing."
...
This reverts commit 654a3f5f94
.
2013-05-02 14:17:19 +09:00
Daniel Zaoui
654a3f5f94
Efl: replace eo_data_get for objects data referencing.
2013-05-01 10:37:08 +03:00
Carsten Haitzler
33a46372c9
Revert "ummm dont set max based on max hint... this got added at some point"
...
This reverts commit 116013320a
.
2013-04-23 15:44:16 +09:00
Carsten Haitzler
116013320a
ummm dont set max based on max hint... this got added at some point
...
but it actually breaks older code that used these hints to store
sizing info but didnt expect it to be enforced.
2013-04-23 00:08:19 +09:00
Carsten Haitzler
b851e10caf
fix calling edje api on objects that may not be edje objects...
2013-04-14 11:47:07 +09:00
Cedric Bail
948ea14379
edje: always invalidate and recalc the correct Edje object.
2013-04-08 20:03:43 +09:00
Cedric Bail
0cee296fa7
edje: don't use 30K of pointers for an indirection in some event path.
2013-04-07 11:39:20 +09:00
Cedric Bail
a645c8153f
edje: one less pointer per Edje_Real_Part.
2013-04-07 02:18:48 +09:00
Jihoon Kim
8dda0883c1
edje: Add edje_object_part_text_input_panel_layout_variation_set/get API
2013-03-27 17:28:53 +09:00
Carsten Haitzler
28218fe856
Fix edje edje_color_class_list() and edje_text_class_list() to look at the
...
correct hashes when returning.
2013-02-18 15:42:28 +09:00
Daniel Juyung Seo
0ed38dbc64
efl, evas_generic_loaders: Removed unused variable. Set EINA_UNUSED to unused variables.
...
SVN revision: 83788
2013-02-08 15:47:11 +00:00
Cedric BAIL
73694511de
efl/edje: in fact we can now use eo_isa for that purpose.
...
SVN revision: 83395
2013-01-29 02:29:34 +00:00
ChunEon Park
8a7e99b67e
edje - [Edje: Bug fix] NULL check is added before strcmp() in _edje_real_part_swallow() function
...
Hi,
Can some one please verify and merge the attahed patch with open source svn Edje code.
[Issue details :]
NULL checking is not done before sending a string to strcmp().
In _edje_real_part_swallow() function of edje_util.c file, evas_object_type_get() API can return NULL and if
this NULL value is directly passed to strcmp(), it causes a crash.
[Issue fix :]
NULL check is added for obj_type before passing it to strcmp().
Thanks & Regards,
Sumanth
Signed-Off-By: Sumanth Krishna (sumanth.m@samsung.com )
SVN revision: 83393
2013-01-29 00:07:17 +00:00
Gustavo Sverzut Barbieri
df701d8ca2
some clang warning cleanups i forgot to commit
...
SVN revision: 83024
2013-01-21 00:22:35 +00:00
Henrique Dante de Almeida
1c1d9f4161
Fix Edje hint recalculation after swallow part changes
...
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 82480
2013-01-09 20:56:03 +00:00
Gustavo Sverzut Barbieri
9ea2ce1041
efl: merge edje.
...
this is still in progress, mostly the multisense stuff is pending.
it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).
Changes:
* __UNUSED__ to EINA_UNUSED
* binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
will assume the binaries are still not installed, running from
build tree location (needs more testing, maybe doesn't work with
srcdir != builddir, still doesn't solve cross compile builds)
SVN revision: 82139
2013-01-04 02:08:14 +00:00