Commit Graph

492 Commits

Author SHA1 Message Date
Amitesh Singh 17e2c4bc06 edje embryo: Now supports get_anim_pos_map
Summary:
works just like ecore_animator_pos_map().

@feature

Reviewers: seoz, Hermet, cedric, raster

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1211
2014-07-23 14:31:52 +09:00
Daniel Kolesa d8e54e2636 eolian: use new syntax for const methods as per wiki 2014-07-22 17:13:24 +01:00
Daniel Kolesa 3798eb2f99 eolian: move eina types to namespaced syntax 2014-07-21 16:30:23 +01:00
Mykyta Biliavskyi c037b3e80a edje: Edje_Edit - delete unnecessary check id's in edje_edit_part_restack_part_below(above).
Summary:
In case when reorder part below or above part with id 0, function return
EINA_FALSE. But part shoud restacked normaly.

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-14 15:55:47 +02:00
Daniel Kolesa c9744596de eolian: builtin bool type, and change the eo files to use that 2014-07-11 14:40:49 +01:00
Maksym Volodin 93d3b5e285 edje: Edje_edit - edje_edit_state_text_source_set and edje_edit_state_text_text_source_set logic fix.
Summary: Patch make it possible to set NULL value for text_text_source and text_source.

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

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-10 11:51:32 +02:00
Mykyta Biliavskyi 3d2a46a417 edje: Edje_Edit - fix size memory calculating for realloc array of tweens.
Summary:
If in _Edje_Part_Description_Spec_Image->tweens wasn't added no one image,
when edje object was loaded from file, then realloc will work as free(), because size
of reallocating memory always will equal 0.

@fix

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-10 10:38:32 +02:00
Mykyta Biliavskyi 3e79b47e80 edje: Edje_Edit - add edje_edit_part_item_row/col_span functions.
Summary:
Getter and setter of span for box/table items.
Following functions were added:
   edje_edit_part_item_span_set
   edje_edit_part_item_span_get

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

CC: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-07 19:08:41 +02:00
Vorobiov Vitalii e35e18f8e0 edje: Edje_Edit - fix Documentation generation error's and warning's
Summary:
Fixing errors and warning with Edje_Edit documentation,
for example, adding documentation for enum and structs,
adding missed @see, @params, @returns etc.

@fix

Reviewers: Hermet, seoz, cedric, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-07 19:02:55 +02:00
Vorobiov Vitalii 05cad6fc7a edje: Edje_Edit - add edje_edit_part_item_spread functions.
Summary:
Add four main functions to deal with TABLE or BOX items:
- edje_edit_part_item_spread_w_get
- edje_edit_part_item_spread_w_set
- edje_edit_part_item_spread_h_get
- edje_edit_part_item_spread_h_set

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-07 18:55:20 +02:00
Kateryna Fesyna 6f8d017d93 edje: Edje_Edit - Change names of two functions to match the other sounds api
Summary:
This commit provides small cleanup for sounds api.
The next functions are renamed:
edje_edit_sounds_samples_list_get() -> edje_edit_sound_samples_list_get()
edje_edit_sounds_tones_list_get() -> edje_edit_sound_tones_list_get()

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

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-07 15:51:12 +02:00
Kateryna Fesyna d042392b81 edje: Edje_Edit - add since marks to the doxygen comments of new sounds api.
Summary:
This commit provides small cleanup for sounds api.
Also the "since" and "@c" marks are added to the doxygen comments of new sounds api functions.

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

CC: reutskiy.v.v, cedric, abyomi0

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-07 15:51:12 +02:00
Vorobiov Vitalii 9fc7929829 edje: Edje_Edit - add edje_edit_part_item_weight functions.
Summary:
Add four main functions to deal with TABLE or BOX items:
- edje_edit_part_item_weight_x_get
- edje_edit_part_item_weight_x_set
- edje_edit_part_item_weight_y_get
- edje_edit_part_item_weight_y_set

@feature

Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-07 15:51:12 +02: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
Vorobiov Vitalii 325d760c55 edje_edit: adding code generation for map functions
Summary:
After changing edj file with edje_edit functions which deals
with map, it require to regenerate source code including map block
with all changes.

Reviewers: cedric, Hermet, seoz, raster

Reviewed By: Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1105
2014-07-04 21:25:56 +09:00
Vorobiov Vitalii 75d65aef9c edje_edit: fixing -Wshadow compile warning with edje_edit_access_set
Summary:
There was -Wshadow compile warning with edje_edit_access_set
and one of it's param called access.
Changed it's name to avoid such annoying warning

Reviewers: Hermet, raster, cedric, seoz

Reviewed By: Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1106
2014-07-04 21:22:35 +09:00
Vorobiov Vitalii 2b31945f5e edje_edit: adding @since 1.11
Summary:
Adding @since 1.11 for all edje_edit function which
were added after 1.10 release and before 1.11.

@fix

Reviewers: cedric, Hermet, seoz, raster

Reviewed By: Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1108
2014-07-04 21:11:56 +09:00
Igor Gala 6fbcf48fe0 edje: Edje-Edit: edje_edit_state_map_on_xet()
Summary:
There are new 'get and set' API for block 'map'.
Those functions return or set flag which enables mapping for the part.
Default is 0.
@feature

Reviewers: seoz, cedric, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1051
2014-07-03 19:37:16 +09:00
Andrii Kroitor d8316bcc07 Edje_Edit: added clean save function
Summary:
This save function removes all unnecessary string from internal eet
distionary in .edj file. Needed after removing some objects from edje_object
e.g. groups, parts, limits etc.

Reviewers: cedric, seoz, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1090
2014-07-03 19:23:11 +09:00
Kateryna Fesyna f0f5c393d0 edje_edit: fix edc code generation for image fill tipe parameter and PLAY_SAMPLE and PLAY_TONE actions.
Summary: This commit fixes edc code generation for image fill tipe parameter and PLAY_SAMPLE and PLAY_TONE actions.

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

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1091
2014-07-03 18:54:37 +09:00
Vorobiov Vitalii 2447bc3556 edje_edit: Add edje_edit_state_map_point_color functions.
Summary:
Add two main functions for working with map colors of part vertexes/points:
- edje_edit_state_map_point_color_get
- edje_edit_state_map_point_color_set

@feature

Reviewers: seoz, raster, cedric, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1086
2014-07-03 17:27:53 +09:00
Maksym Volodin 8b66dc0e7c edje_edit: Add edje_edit_part_item_position_get/set.
Summary: Edje_edit_part_item_position_set/get operates with column/row part`s item position, only for "TABLE" type part.

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

CC: reutskiy.v.v, cedric, c

Differential Revision: https://phab.enlightenment.org/D1078
2014-07-03 17:15:10 +09:00
Vorobiov Vitalii 2155e8a3fb edje_edit: Add edje_edit_part_item_aspect_mode functions.
Summary:
Add two main functions for TABLE and BOX part items:
- edje_edit_part_item_aspect_mode_get
- edje_edit_part_item_aspect_mode_set

Also add support to generate source code of changed aspect mode for an item

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1075
2014-07-03 16:59:16 +09:00
Andrii Kroitor 8c74a8fbb0 Edje_Edit: added API for group.limits
Summary:
added functions:
edje_edit_group_limits_vertical_list_get
edje_edit_group_limits_vertical_add
edje_edit_group_limits_vertical_del
edje_edit_group_limits_horizontal_list_get
edje_edit_group_limits_horizontal_add
edje_edit_group_limits_horizontal_del
edje_edit_limits_list_free

Reviewers: cedric, seoz, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1073
2014-07-03 16:54:44 +09:00
Igor Gala ddac21534f edje: Edje-Edit: edje_edit_state_map_perspective_xet()
Summary:
There are new 'get and set' API for block 'map'.
Those functions return or set  part's name which is used as 'perspective point'
for giving a part '3d look'.
@feature

Reviewers: seoz, cedric, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1047
2014-07-03 16:23:15 +09:00
Carsten Haitzler 8edc879cc2 remove edje file changed monitoring as it's nothing but a bug vector
so this has to go. reloading edje files is nothing but trouble.
example - if you update your os your theme files get updated and then
all sorts of stuff goes wrong. jeff is right. this makes it an
intractible problem. we have an open file handle on the edj file. we
share that anre reuse it via eina_file - keep it. this keeps tyhe edje
file stable and consistant.

<Jef91> Elementary applications freak the fuck out
<Jef91> if you change the theme file
<Jef91> that they are using
<Jef91> SeoZ,
http://forums.bodhilinux.com/index.php?/topic/10629-eepdater-display-issue/
<Jef91> that happens when my theme file that is in use changes

we will get nothing but continued issues and complains if we keep
doing this. it's a fairly pointless mis-feature. thank god its got no
apis - just signals and internals.
2014-07-02 11:28:42 +09:00
Carsten Haitzler eeb66d4d32 update po files 2014-07-01 19:40:26 +09:00
Carsten Haitzler d43c8eb4dd edje - fix self feed complaint to be an ERR so we see it 2014-07-01 19:40:26 +09:00
Tom Hacohen 25ef15dedc Evas object smart eolian: Update namespace. 2014-06-30 17:47:07 +01:00
Tom Hacohen 37bc841fcc Evas smart clipped eolian: Update namespace. 2014-06-30 17:47:07 +01:00
Tom Hacohen aa450fa8dd Edje eolian: Fix namespaces for all of the edje classes. 2014-06-30 17:47:06 +01:00
Tom Hacohen c19948c2cf Eo (base class): Fix .eo file to have proper namespacing for the class naem. 2014-06-30 17:47:06 +01:00
Daniel Kolesa 363d2362f2 eolian: remove all occurences of unsigned 2014-06-30 17:20:38 +01:00
Daniel Kolesa 8221e9dd45 eolian: modify all eo files according to the new type syntax 2014-06-30 17:20:38 +01:00
Andrii Kroitor 0c72d75051 edje: textblock style loading changed
Summary:
Keeping "font=", "font_size=" and "text_class" in tag->value fixes
style loading issues (after saving edj file with edje_edit_save method).

Reviewers: cedric, raster, seoz, Hermet, tasn

CC: reutskiy.v.v, cedric

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

@fix
2014-06-26 19:35:56 +09:00
Kateryna Fesyna 7c1a78cfd2 edje: Edje_Edit - add edje_edit_sound_tone_add() function that allows user to add new tone to collection
Summary:
New function provides the ability to add new tones to currently loaded collection.
It takes the name that will define new tone in collection and its frequency as parameters.

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:25 +02:00
Kateryna Fesyna 244d42b280 edje: Edje_Edit - add functions that provide the ability to set and get source for proxy parts state
Summary:
This commit contains two new functions that provide the ability to set and get
source property of proxy parts state:
edje_edit_state_proxy_source_get() and edje_edit_state_proxy_source_set().
Also it contains the implementation of printing source data on
edc code generation.

@feature

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

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:24 +02:00
Kateryna Fesyna 7c8764bf39 edje: Edje_Edit - add missed iterator and object deletion in _delete_play_actions() function
Summary:
this commit adds missed eina_iterator_free() and evas_object_del() calls
in _delete_play_actions() functions.

@feature

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

Reviewed By: reutskiy.v.v

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:24 +02:00
Maksym Volodin 748e548763 edje: Edje_Edit - add edje_edit_part_item_del.
Summary:
Delete exist item from part. This part should have BOX or TABLE type.
In parametr - name of exist item to delete it from BOX or TABLE.

@feature

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

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:24 +02:00
Andrii Kroitor cdc477e2f7 edje: Edje_Edit - add API for missing map properties
Summary:
added getters & setters for
collections.group.parts.part.description.perspective.zplane
collections.group.parts.part.description.perspective.focal
collections.group.parts.part.description.map.rotation: x, y, z
collections.group.parts.part.description.map.smooth
collections.group.parts.part.description.map.alpha
collections.group.parts.part.description.map.perspective_on
collections.group.parts.part.description.map.backface_cull

@feature

Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:24 +02:00
Daniel Kolesa 43e2349203 eolian/generator: public api func name deduplication, spank tasn if it breaks 2014-06-20 17:09:03 +01:00
Daniel Kolesa e9f4890747 eolian: fix end-of-file checking, move namespaces from :: to . 2014-06-20 10:46:04 +01:00
Jean-Philippe Andre 476d5245ec Edje_Edit: Fix shadow warnings 2014-06-18 16:28:37 +09:00
Jean-Philippe Andre b06af7ace0 Edje: Add LOSSY_ETC2 to Edje_Edit
Found out using edje_inspector...
2014-06-18 16:28:37 +09:00
Mykyta Biliavskyi e7550e7bbf edje: Edje_Edit - add edje_edit_without_source save function.
Summary:
Add function, which provide fast save group(s) back into edj file,
bypassing the source code generation.

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

CC: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 17:08:27 +02:00
Vorobiov Vitalii 7d381a01ef edje: Edje_Edit - fix compiler warnings for edje_edit_part_item_source_get/set
Summary:
Just fixing compiler warning giving NULL to the main variable inside of those functions.

@fix

Reviewers: cedric, seoz, Hermet, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 17:07:27 +02:00
Igor Gala 8370b22fa8 edje: Edje_Edit - add edje_edit_part_entry_mode_xet()
Summary:
There are new 'get and set' API for block 'entry_mode'. These
 properties have only parts with type 'TEXTBLOCK'. These functions return or set
entry mode for a given part.
@feature

Reviewers: seoz, cedric, Hermet, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 16:04:43 +02:00
Igor Gala 036267c4f5 edje: Edje_Edit - add edje_edit_state_map_rotation_center_xet()
Summary:
There are new 'get and set' API for block 'map'.
Those functions return or set part's name which is used as center for rotation.
@feature

Reviewers: seoz, cedric, raster, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 16:04:43 +02:00