Commit Graph

683 Commits

Author SHA1 Message Date
Stefan Schmidt 1e081f2ae1 edje: Add since tag for new edje_file_iterator_new() 2015-04-08 14:08:03 +02:00
Stefan Schmidt 28d69b5f5b edje: Add since tag for new edje_mmap_color_class_iterator_new() 2015-04-08 14:08:03 +02:00
Stefan Schmidt c4d2e9893c edje: Add since for new edje_color_class_active_iterator_new() 2015-04-08 14:08:03 +02:00
Conrad Meyer 0c21b91f0f Edje: Remove excessive casts and use type Edje_Object
Use type Edje_Object instead of Eo in legacy EAPI's.

Spotted in TAsn's ABI report, under "Problems with Symbols".
I believe this will actually add two changes (Eo -> Edje_Object),
but I like the typing better ;)
2015-04-08 14:42:04 +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
Andrii Kroitor 9fdcecebe3 edje: fix program transition generation by Edje_Edit.
Summary:
fix possible CURRENT option omission (0-time transition + non-LINEAR
transition type. fix extra ';' for omitted 0-time LINEAR transition

Reviewers: cedric, seoz, raster, Hermet

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2279

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:53 +02:00
Andrii Kroitor 0de1bde1ca edje: fix possible segfault in Edje_Edit _check_recursive_reference
Summary: if we don't force object loading ref can be NULL

Reviewers: seoz, raster, Hermet, Sergeant_Whitespace, cedric

Reviewed By: Sergeant_Whitespace, cedric

Subscribers: Sergeant_Whitespace, cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2274

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:53 +02:00
Andrii Kroitor a30091ee93 edje_edit: add program action DRAG_* support to code generation
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2281
2015-04-06 13:52:28 +09:00
Andrii Kroitor e7d48d39ca edje_edit: fix box/table items source generation
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2282
2015-04-06 13:44:22 +09:00
Andrii Kroitor 77004c5154 edje_edit: fix STATE_SET and SIGNAL_EMIT generation
Summary:
edje_cc allows state, signal and source to be "". So edje_edit also should
handle this values as valid and souldn't break programs, that are using them.

Reviewers: cedric, seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2280
2015-04-06 13:40:27 +09:00
Andrii Kroitor 7bbb04d6fa edje_edit: add 'fixed' support to code generation
Reviewers: cedric, seoz, Hermet, raster, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2267
2015-04-06 13:24:40 +09: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
Cedric BAIL 7ba7ed4a1c efl: add Efl.Gfx.Fill and migrate Evas.Image to it. 2015-04-03 16:23:24 +02:00
Cedric BAIL 651436f410 efl: rename visibility to visible.
After discussion bindings and people in general prefer visible.

T2035
2015-04-03 16:23:19 +02:00
Cedric BAIL c08f8e26a6 efl: add Efl.Gfx.Base and fix inheritance for Evas_Object. 2015-04-03 16:23:17 +02:00
Cedric BAIL c2e75544e1 efl: move mmap API to be part of Efl_File class. 2015-04-03 16:23:13 +02:00
Mike Blumenkrantz ac11a9cb36 edje: move Edje_Color_Class->desc to end of struct
this allows memory layout compatibility with Elm_Color_Class
2015-04-02 15:20:21 -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
Andrii Kroitor 7271c99b3c edje_calc: fix SEGFAULT on new parts
Summary: new part added with edje_edit_part_add has NULL previous description

Reviewers: cedric, zmike, seoz, Hermet, raster

Subscribers: FurryMyad, cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2272
2015-04-01 07:25:12 -04:00
Mike Blumenkrantz 89809bdf55 edje calc now more correctly forces recalc for child groups on state change
in the event of fixed size -> non-fixed size (eg. previous commit optimization),
this calc would no longer occur, so we need to queue it. also if fixed.w or
fixed.h changes value for a group part, we must recalc the group to ensure correct
sizing occurs
2015-03-31 23:31:11 -04:00
Mike Blumenkrantz 15f8d943aa edje calc no longer performs calculations for group parts of fixed size > 0
when I said > 0 in the last commit message, I was thinking ahead to this commit
which I knew I would later have to make, but had not yet written because I had not
spent the requisite number of hours debugging the code to know that I needed to
have the check in both the code and the commit message

ref 3a451650d2
2015-03-31 23:31:11 -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
Mike Blumenkrantz 43779dfa6f edje group part init no longer forces synchronous hint updating during load
hints will be updated later and any user who wants these hints is going to
be calling edje calc functions anyway, causing this to be a redundant calc
2015-03-31 19:16:54 -04:00
Mike Blumenkrantz 20350a8006 edje calc no longer forces proxy part source calcs for currently-hidden proxies
this saves a bit of calc time when a proxy part is not currently visible
2015-03-31 19:16:54 -04:00
Mike Blumenkrantz 3a451650d2 edje calc no longer performs calculations for group parts of fixed size
if the min/max of a part are identical and > 0, the part's min size is guaranteed
to be this size. there is no need to perform expensive recursive calcs here
2015-03-31 19:16:54 -04:00
Cedric BAIL b72df468f2 edje: add edje_file_iterator_new().
This list the actually opened Edje file by the current process.
2015-03-31 23:23:32 +02:00
Cedric BAIL bfbb2d8a51 edje: fix build break. 2015-03-31 23:21:12 +02: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 09f304a33c edje: make Edje_Color_Class a public structure. 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
Cedric BAIL 8445358526 edje: this desc pointer is actually never set. 2015-03-30 22:31:10 +02:00
Vyacheslav Reutskiy 9e2aa810cc edje: edje_edit - recalculate object after chenge aspect preference 2015-03-27 11:31:31 +02:00
perepelits.m 62b5ca7060 edje: add of textures to Edje 3D node.
Summary: Adding textures to edje_cc and some topblock keywords that I have forgotten to add in previous commits.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric, artem.popov

Differential Revision: https://phab.enlightenment.org/D2129

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-25 19:40:41 +01: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
Vitalii Vorobiov 7ba3a2bd7c Edje: Edje_Edit - code generation for TABLE part (description.table section) 2015-03-25 17:56:47 +02:00
Vitalii Vorobiov e4487a31fe Edje: Edje_Edit - fix typo in code generation of BOX part
@fix
2015-03-25 17:17:49 +02:00
Vitalii Vorobiov a21f053571 Edje: edje edit - ability to remove last item in BOX/TABLE
Removing last item in BOX/TABLE part is actually successful
but then we shouldn't realloc an array of items for 0 items.
That's ridiculous
(and because of that function removes EINA_FALSE,
so user could think that it's unable to remove last item).

So simply array can be set into NULL.

@fix
2015-03-19 15:19:55 +02:00
Bryce Harrington 27920d31c1 Spelling fixes
Summary:
emmited  ==> emitted
resistence  ==> resistance
occured  ==> occurred

Reviewers: cedric, zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2192
2015-03-18 21:38:33 -04:00
Cedric BAIL aab01a80b2 edje: remove deprecated use of Eina_Binbuf functions. 2015-03-17 09:58:21 +01:00
Mykyta Biliavskyi 1690c58680 edje: Edje_Edit - add data items into generated code for the group.
Summary:
Include data items, that present in edje object.
Data items, which data ends with '\n' recognized as data.file item and not included into the generated source code.
@fix

Reviewers: Hermet, reutskiy.v.v, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D1858

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-13 09:44:46 +01:00
Maksym Volodin 8909f76055 edje: add edje_edit_full_source_generate() as a public API.
Summary: added full source code generation as public API for Edje Editor application.

Reviewers: Hermet, seoz, raster, cedric

Reviewed By: cedric

Subscribers: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D2100

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-13 09:33:29 +01:00
Andrii Kroitor 473be85757 edje: Edje_Edit - fix program transition source generation
Summary:
added missing in some cases ";\n"
@fix

Reviewers: Hermet, seoz, raster, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2097

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-13 09:33:29 +01: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
Andrii Kroitor 4ad20ac8e4 edje: Edje_Edit - fix part alias source generation.
Summary:
generating correct part alias string 'alias: "theme_part_path" "real_part_path";'
@fix

Reviewers: cedric, seoz, Hermet, raster

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2096

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06 20:19:22 +01:00