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>
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>
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>
Summary:
There are new 'get and set' API for block 'map'.
Those functions return or set part's name which is used as 'light'
for calculating the brightness.
@feature
Reviewers: cedric, seoz, raster, Hermet
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1049
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
This test should make the test suite fail. It sets "a<ps>b" and
"a<ps/>b" markups, and deletes the PS format. Essentially, these two
different markups should have the same result by this deletion. Instead,
only the <ps/> format gets deleted properly.
A follow-up commit is added with this as a fix.
Evas/Textblock: fix deletion of PS bug
Fixes an issue with deletion of "<ps>". Format deletion was only
performed for formats that are own-closers. This sets the paragraph
separator to be an own-closer format.
@fix
Reviewers: tasn
Reviewed By: tasn
CC: JackDanielZ, id213sin
Differential Revision: https://phab.enlightenment.org/D1046
Summary:
This commit contains two new functions edje_edit_state_limit_get() and
edje_edit_state_limit_set(). These functions allow user to set and get value of
states 'limit' property value. Also it provides an internal type to represent
limits (Edje_Edit_State_Limit) and implements printing of limits value on edc code
generation.
Reviewers: cedric, Hermet, seoz, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1048
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
1. Changing item's paddings and getting current padding of the item.
Add getter and setter functions for padding of the item.
- edje_edit_part_item_padding_get
- edje_edit_part_item_padding_set
2. Also some code generatings fixes for paddings, box/table and max values.
Reviewers: cedric, Hermet, seoz, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1043
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
This commit contains two new functions for setting and getting value of
fill type of IMAGE and PROXY parts: edje_edit_state_fill_type_get() and edje_edit_state_fill_type_set()
Also with this commit printing of not default value of fill type (TILE) on generation of edc code is added.
Reviewers: cedric, Hermet, seoz, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1044
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
There are new 'get and set' API for block 'sound'.
Those functions return or set compression type for a given sound.
@feature
Reviewers: cedric, raster, Hermet, seoz
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1013
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
ETC2 textures were allocated using the same empty slots pool
as RGBA textures.
ETC1 texture atlasses should still be tested.
An extension string is required to avoid using the bad
fallback in place right now. But there is no such thing yet.
this fixes @draisch's report of blankness, but doesn't fix the
garbage. it's something to do with the always render move in elm gl -
it just doesn't seem to be rendering before evas renders, or if it is,
it's failing to work/produce content.
this fixes T1341. also it removes the pointless return value from
these two functions as the return is never used. also the ifdef in
ecore_main.c seemed wrong as it wasd using fcntl not execvp but the
ifdef was for execvp. this just never was discovered, so it's slid
under the hood for a long time.
Comp objects are rare, and since we allow using classes as interfaces,
we end up allocating a lot of memory for something we don't even use.
That's why it was a linked list in the first place, and that's why it
should remain a list.
This is almost a complete revert. I reverted the code itself, and the
intent (use of array instead of list), but not the tests, or the new
return value added to comp_detach, which is useful.
This reverts commit ef09ef7489.
Summary:
There are new 'get and set' API for block 'select_mode'. These
properties have only parts with type 'TEXTBLOCK'. These functions return or set
select mode for a given part.
@feature
Reviewers: seoz, cedric, Hermet, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1034
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
Add some functions for setting and getting params of the items in BOX or TABLE parts.
Next item's params are added:
- min
- max
- prefer
- aspect
Functions of them looks like that:
- edje_edit_part_item_min_w_get
- edje_edit_part_item_min_w_set
- edje_edit_part_item_min_h_get
- edje_edit_part_item_min_h_set
- edje_edit_part_item_prefer_w_set
- ... etc
Also this commit adds code generation for them.
@feature
Reviewers: cedric, seoz, raster, Hermet
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1035
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
Changing item's sources and getting current source of the item.
Add getter and setter for functions with source value in item.
Main functions:
- edje_edit_part_item_source_get
- edje_edit_part_item_source_set
@feature
Reviewers: cedric, Hermet, seoz, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1027
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
This commit contains two new functions for tones editing:
edje_edit_sound_tone_frequency_set() and edje_edit_sound_tone_frequency_det()
To avoid code duplication the macross GET_TONE_BY_NAME is added and the
lines that performed the search of tone by name are replaced with this macro.
@feature
Reviewers: cedric, Hermet, seoz, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1030
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
rename function edje_edit_sound_xxxxx_get in h-file for matching
like in c-file. This function has not called anywhere. So it should be no problem.
@fix
Reviewers: seoz, raster, Hermet, cedric
Reviewed By: cedric
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1029
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
This commit contains two new functions that provide the ability to set and
get the values of step parameter in parts state description. Also the printing of step value
on code generation is added.
Reviewers: cedric, Hermet, seoz, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1032
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
The issue was within the fontconfig fallback mechanism and our cache. We
used to just use the fontconfig fallback list, instead of also using the
correct edje font.
This can probably be improved a bit by not caching the fontconfig set,
but cache a list of the filenames instead. This is more generic and will
improve cache as well.
Fixes T1331
@fix
ecore_evas_convert: Add -e/--encoding option
This uses directly the encoding parameter.
For now, used only by the TGV saver, but there is no other way
to specify between ETC1 and ETC2. And we don't have a mixed ETC1+2
mode (yet).
@feature
Summary: Get the list of names of all part items in the given edje.
@feature
Reviewers: cedric, raster, seoz, Hermet
Reviewed By: cedric
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1018
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
There are new 'get and set' API for block 'sound'.
Those functions return or set quality of the compression for a given sound.
@feature
Reviewers: cedric, Hermet, seoz, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1017
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Summary:
New function provides the ability to add new sound samples to currently loaded collection.
It takes path to the sound-file and name that will define this sound in collection as parameters.
The sound-file of created sample will be imported to .edj-file. Due to the fact that the
edje_import_font_file() function performs the same actions as we need to perform for importing
sound file, it is renamed to _edje_edit_file_import() that takes one additional
parameter that specifies the compression level for eet_write(). This renaming is done to
avoid code duplication.
Also this commit provides small fix that shifts all the items of arrays of tones and samples
after deletion of tone or sample correspondingly. This fix simplifies the calculation of
id of item on adding new sample or tone. Also it makes generated .edc-code look better.
@feature
Reviewers: cedric, Hermet, seoz, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1014
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>