Daniel Kolesa [Thu, 19 Jun 2014 16:28:19 +0000 (17:28 +0100)]
eolian: fix a few casts
Daniel Kolesa [Thu, 19 Jun 2014 15:32:13 +0000 (16:32 +0100)]
Introducing new lexer/parser for Eolian
This set of changes introduces a new, handwritten lexer+parser in Eolian. This should
allow for easier maintenance as well as easier feature additions. Unlike the previous
effort, this separates lexer and parser part (but they still run at the same stage).
In long term some more APIs should get exposed (for IDEs and other tools). The parser
is also stricter and more conformant to the actual format so several issues with
existing Eo files were caught previously.
Merges branch 'devs/q66/eolian_new_parser'
@feature
Daniel Kolesa [Thu, 19 Jun 2014 15:30:18 +0000 (16:30 +0100)]
eolian: allow omitting of () in class with no inherits, fix up tests
Daniel Kolesa [Thu, 19 Jun 2014 14:17:56 +0000 (15:17 +0100)]
eolian: stricten the allowed characters in values, and values starting with @ must be keywords - we no longer need all the arbitrary characters beacuse of lex_balanced and lex_until
Daniel Kolesa [Thu, 19 Jun 2014 14:09:40 +0000 (15:09 +0100)]
eolian: fix double free
Daniel Kolesa [Thu, 19 Jun 2014 14:05:24 +0000 (15:05 +0100)]
eolian: lex_until and lex_balanced
Daniel Kolesa [Thu, 19 Jun 2014 11:02:46 +0000 (12:02 +0100)]
eolian: fix error handling and memory leaks
Daniel Kolesa [Thu, 19 Jun 2014 10:22:35 +0000 (11:22 +0100)]
eolian: simpler type parsing
Daniel Kolesa [Wed, 18 Jun 2014 15:36:29 +0000 (16:36 +0100)]
eolian: cleanup
Daniel Kolesa [Wed, 18 Jun 2014 15:27:29 +0000 (16:27 +0100)]
eolian: remove the ugly old type extractor, instead build the inlist during parsing
Daniel Kolesa [Wed, 18 Jun 2014 12:57:47 +0000 (13:57 +0100)]
eolian: complex non-pointer types
Daniel Kolesa [Wed, 18 Jun 2014 11:59:22 +0000 (12:59 +0100)]
eolian: strip leading whitespace from doc comments + trim the resulting buffer
Daniel Kolesa [Wed, 18 Jun 2014 10:25:07 +0000 (11:25 +0100)]
eolian: introducing a new lexer/parser
This handwritten lexer/parser is more strict and cleaner than the previous Ragel based one,
as well as faster and doesn't leak memory (or shouldn't). It's a recursive descent style
parser with separate lexer part (unlike the previous effort) which is run at the same
stage as the parser (so it doesn't pre-lex).
@feature
Daniel Kolesa [Wed, 18 Jun 2014 09:17:19 +0000 (10:17 +0100)]
eolian: add some stuff into eo_definitions needed for the new parser and temporarily adjust the lexer for it
Daniel Kolesa [Wed, 18 Jun 2014 09:13:14 +0000 (10:13 +0100)]
eolian: remove the ragel file plus support for ragel from the build system
Daniel Kolesa [Wed, 18 Jun 2014 09:08:43 +0000 (10:08 +0100)]
eolian: Eo_Tokenizer -> Eo_Lexer
Tom Hacohen [Thu, 19 Jun 2014 14:56:38 +0000 (15:56 +0100)]
Eolian: Improve support (still incomplete) for namespaces.
Rajeev Ranjan [Thu, 19 Jun 2014 12:35:37 +0000 (14:35 +0200)]
evas: improvement of Eina Rectangle Pool and integration with Evas GL backend.
Summary:
This patch introduce various new logic for packing/unpacking of Eina Rectangle in a pool.
It is then used by Evas GL backend texture allocation to improve how efficiently we pack
image in texture atlas. This lead to improved memory usage and reduced power consumption
with usually a more stable higher FPS (as it use less texture to do the same task, their
is less texture switch, so saving memory and speed at the same time).
This patch was developped on Cedric's suggestions to optimize the packing logic using Skyline
algorithm. This patch is based on master and is a new submission for earlier phab link
https://phab.enlightenment.org/D774.
Signed-off-by: Sanjay Nirankari <sanjay.n1@samsung.com>
Signed-off-by: Rajeev Ranjan <rajeev.r@samsung.com>
Signed-off-by: Sreedeep Moulik <sreedeep.m@samsung.com>
Reviewers: cedric, raster
CC: wonsik, jpeg, sreedeep.m, sanjay, govi
Differential Revision: https://phab.enlightenment.org/D1063
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Stefan Schmidt [Thu, 19 Jun 2014 13:36:01 +0000 (15:36 +0200)]
Revert "Coverage: Fix base directory."
This reverts commit
842e8e9fa01f2ce0c217dec2578d5ee3e0911a8b.
Scratching my head over this for a long time now. It sneaked in when
jenkins nightly builds which generates coverage reports was broken
due to newer gettext error handling. After that was fixed the build
kept being broken but now in coverage generation.
Finnaly found this change. Why was it done? Did you actually test it?
Coverage generation worked fine on my local system as well as on
jenkins when I worked on this. If it is broken for you we might need
to have another look, but not by breaking jenkins.
Jean-Philippe Andre [Thu, 19 Jun 2014 01:33:49 +0000 (10:33 +0900)]
Efreet: Fix shadow warning
Jean-Philippe Andre [Thu, 19 Jun 2014 01:27:07 +0000 (10:27 +0900)]
Emotion tests: Fix compilation warning
Jean-Philippe Andre [Wed, 18 Jun 2014 08:26:13 +0000 (17:26 +0900)]
Evas: Fix potential resource leak in the TGV loader
The map would eventually be freed when closing the image.
But still...
Jean-Philippe Andre [Wed, 18 Jun 2014 08:10:23 +0000 (17:10 +0900)]
Evas: Fix some comments in the TGV loader
Chris Michael [Wed, 18 Jun 2014 17:30:18 +0000 (13:30 -0400)]
ecore-evas-wayland: Remove useless variable.
NB: Don't recall what the initial point was here, but I don't see one
now lol. No real usage for checking the ecore_wl_init count anymore so
remove the variable as we don't need to do that.
@fix
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Raoul Hecky [Tue, 17 Jun 2014 20:15:21 +0000 (22:15 +0200)]
evas_gl: add more matching formats to make cocoa_gl happy
Raoul Hecky [Mon, 16 Jun 2014 19:24:53 +0000 (21:24 +0200)]
evas_cocoa: more changes copied from sdl engine
Raoul Hecky [Mon, 16 Jun 2014 19:15:22 +0000 (21:15 +0200)]
evas_cocoa: Update cocoa gl engine
Raoul Hecky [Mon, 9 Jun 2014 08:31:34 +0000 (10:31 +0200)]
ecore_cocoa: make engine works again
Raoul Hecky [Sun, 8 Jun 2014 21:14:19 +0000 (23:14 +0200)]
evas_cocoa: correct include for GL
Raoul Hecky [Sun, 8 Jun 2014 20:55:55 +0000 (22:55 +0200)]
ecore_cocoa: missing link flag
Raoul Hecky [Sun, 8 Jun 2014 20:41:33 +0000 (22:41 +0200)]
evas_cocoa: build gl_common
Raoul Hecky [Sun, 8 Jun 2014 19:54:10 +0000 (21:54 +0200)]
evas_cocoa: remove eng_image_mask_create
Raoul Hecky [Sun, 8 Jun 2014 19:50:42 +0000 (21:50 +0200)]
ecore_cocoa: add code from old branch
Raoul Hecky [Sun, 8 Jun 2014 19:34:02 +0000 (21:34 +0200)]
ecore_cocoa: add missing header from my old branch
Raoul Hecky [Sun, 8 Jun 2014 19:33:22 +0000 (21:33 +0200)]
ecore_cocoa: Add missing opengl framework
Raoul Hecky [Sun, 8 Jun 2014 19:23:25 +0000 (21:23 +0200)]
Add cocoa engine checks again
Benjamin Cohen [Tue, 4 Feb 2014 12:54:19 +0000 (13:54 +0100)]
configure: fix net/if.h detection on osx (10.7)
Nicolas Aguirre [Sat, 11 Jan 2014 09:25:16 +0000 (10:25 +0100)]
evas: force equality in check otherwise i get debug output even if the environnement variable is not set.
Nicolas Aguirre [Sat, 11 Jan 2014 09:23:50 +0000 (10:23 +0100)]
ecore_cocoa: switch keys to map correctly on OS-X.
os-x is notoriously switching the meaning of those keys
calling "BackSpace" "Delete, and "Delete" "Forward Delete"
Original patch by Pierre Tardy
Nicolas Aguirre [Sat, 11 Jan 2014 09:17:04 +0000 (10:17 +0100)]
ecore_cocoa: fix button order.
Nicolas Aguirre [Sun, 5 Jan 2014 18:46:03 +0000 (19:46 +0100)]
ecore_evas: fix warnings in Ecore_Evas Cocoa.
Nicolas Aguirre [Sun, 5 Jan 2014 18:45:01 +0000 (19:45 +0100)]
ecore_cocoa: indent with efl style
Nicolas Aguirre [Tue, 10 Dec 2013 23:13:59 +0000 (00:13 +0100)]
ecore_cocoa: fix Key up/down usage, the event window was missing and the ev->key was not specified
Nicolas Aguirre [Tue, 10 Dec 2013 19:23:28 +0000 (20:23 +0100)]
ecore_evas: use Eina_List to store Ecore_Evases and return the first one when asked for a match.
Nicolas Aguirre [Tue, 10 Dec 2013 07:24:14 +0000 (08:24 +0100)]
ecore_cocoa: remove printf
Cedric BAIL [Wed, 18 Jun 2014 09:11:49 +0000 (11:11 +0200)]
evas: move buffer engine to use more generic infrastructure.
Cedric BAIL [Wed, 18 Jun 2014 07:13:42 +0000 (09:13 +0200)]
evas: move fb backend to use generic infrastructure a bit more.
Cedric BAIL [Wed, 18 Jun 2014 06:47:23 +0000 (08:47 +0200)]
evas: make X11 use more generic logic.
Cedric BAIL [Tue, 17 Jun 2014 20:08:51 +0000 (22:08 +0200)]
evas: add possibility for engine to also inherit part of the Render_Engine from software generic.
Jean-Philippe Andre [Wed, 18 Jun 2014 07:28:07 +0000 (16:28 +0900)]
Edje_Edit: Fix shadow warnings
Jean-Philippe Andre [Wed, 18 Jun 2014 07:04:59 +0000 (16:04 +0900)]
Edje: Add LOSSY_ETC2 to Edje_Edit
Found out using edje_inspector...
Jean-Philippe Andre [Tue, 17 Jun 2014 06:29:51 +0000 (15:29 +0900)]
Evas: Fix potential memory leak (save with encoding)
Carsten Haitzler (Rasterman) [Wed, 18 Jun 2014 07:23:23 +0000 (16:23 +0900)]
fix whitespace like trailing spaces and tabs
Mykyta Biliavskyi [Tue, 17 Jun 2014 15:08:23 +0000 (17:08 +0200)]
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>
Vorobiov Vitalii [Tue, 17 Jun 2014 14:53:46 +0000 (16:53 +0200)]
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>
Igor Gala [Tue, 17 Jun 2014 07:50:22 +0000 (09:50 +0200)]
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>
Igor Gala [Tue, 17 Jun 2014 06:46:41 +0000 (08:46 +0200)]
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>
Vorobiov Vitalii [Mon, 16 Jun 2014 16:57:29 +0000 (18:57 +0200)]
edje: Edje_Edit - add edje_edit_part_item_align functions.
Summary:
Getters and setters of align for box/table items.
Following functions were added:
- edje_edit_part_item_align_x_set
- edje_edit_part_item_align_x_get
- edje_edit_part_item_align_y_set
- edje_edit_part_item_align_y_get
@feature
Reviewers: raster, seoz, cedric, Hermet
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1045
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Igor Gala [Mon, 16 Jun 2014 16:45:26 +0000 (18:45 +0200)]
edje: Edje_Edit - add edje_edit_state_map_light_xet()
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>
Daniel Hirt [Tue, 17 Jun 2014 10:09:26 +0000 (11:09 +0100)]
Evas/Textblock: Introduce PS deletion bug test and fix
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
Carsten Haitzler (Rasterman) [Tue, 17 Jun 2014 06:31:57 +0000 (15:31 +0900)]
whitespace - fixup trailing whitespace
Kateryna Fesyna [Mon, 16 Jun 2014 15:01:26 +0000 (17:01 +0200)]
edje: Edje_Edit - add functions that allow user to set and get the value of states limit property
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>
Vorobiov Vitalii [Mon, 16 Jun 2014 14:58:38 +0000 (16:58 +0200)]
edje: Edje_Edit - add edje_edit_part_item_padding functions.
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>
Kateryna Fesyna [Mon, 16 Jun 2014 14:55:21 +0000 (16:55 +0200)]
edje: Edje_Edit - add functions that allow user to set and get value of fill type
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>
Igor Gala [Mon, 16 Jun 2014 14:47:16 +0000 (16:47 +0200)]
edje: Edje_Edit - edje_edit_sound_compression_type_xet()
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>
Jean-Philippe Andre [Mon, 16 Jun 2014 10:37:15 +0000 (19:37 +0900)]
Evas gl: Fix ETC2 texture atlasses
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.
Daniel Kolesa [Mon, 16 Jun 2014 10:55:17 +0000 (11:55 +0100)]
elua: fix installation of xgettext/generator
Carsten Haitzler (Rasterman) [Mon, 16 Jun 2014 10:23:08 +0000 (19:23 +0900)]
partial fix for T518 - fix blank display on 2+ windows with gl
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.
Daniel Kolesa [Mon, 16 Jun 2014 10:19:46 +0000 (11:19 +0100)]
po: cleaner extension handling in xgettext wrapper
Stefan Schmidt [Mon, 16 Jun 2014 09:18:16 +0000 (11:18 +0200)]
configure: Add dl to edje libs
DSO found by Aymeric and Pader Rezso on the E users list.
@fix
Daniel Kolesa [Mon, 16 Jun 2014 09:07:16 +0000 (10:07 +0100)]
m4: fix macro, Makevars.in: quotes
Daniel Kolesa [Mon, 16 Jun 2014 08:53:57 +0000 (09:53 +0100)]
po: xgettext_wrapper now respects EXEEXT
Daniel Kolesa [Mon, 16 Jun 2014 08:46:41 +0000 (09:46 +0100)]
elua: helper makefile typo fix
Carsten Haitzler (Rasterman) [Mon, 16 Jun 2014 06:58:58 +0000 (15:58 +0900)]
trailing spaces--
Carsten Haitzler (Rasterman) [Mon, 16 Jun 2014 06:57:05 +0000 (15:57 +0900)]
fix duplicate function call names in ecore and ecore_con that can clash
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.
Tom Hacohen [Fri, 13 Jun 2014 17:09:56 +0000 (18:09 +0100)]
Revert "eo: replace composite_objects Eina_List with an array of Eo_Object*"
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
ef09ef748924c22074e70b97ebc7726fca1513ec.
Igor Gala [Fri, 13 Jun 2014 16:12:32 +0000 (18:12 +0200)]
edje: Edje_Edit - edje_edit_part_select_mode_xet()
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>
Vorobiov Vitalii [Fri, 13 Jun 2014 16:09:30 +0000 (18:09 +0200)]
edje: Edje_Edit - add bunch of BOX and TABLE param get/set functions.
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>
Vorobiov Vitalii [Fri, 13 Jun 2014 16:02:27 +0000 (18:02 +0200)]
edje: Edje_Edit - add edje_edit_part_item_source functions.
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>
Kateryna Fesyna [Fri, 13 Jun 2014 16:01:12 +0000 (18:01 +0200)]
edje: Edje_Edit - add functions that allows user to set and get frequency value of tones in collection
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>
Igor Gala [Fri, 13 Jun 2014 15:59:36 +0000 (17:59 +0200)]
edje: Edje_Edit - some minor edits
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>
Kateryna Fesyna [Fri, 13 Jun 2014 15:54:52 +0000 (17:54 +0200)]
edje: Edje_Edit - add functions to provide the ability to set and get the values of step parameter in parts state description
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>
Tom Hacohen [Fri, 13 Jun 2014 14:29:59 +0000 (15:29 +0100)]
Evas textblock: Fix issue with edje fonts not being used.
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
Jean-Philippe Andre [Fri, 13 Jun 2014 08:45:32 +0000 (17:45 +0900)]
Eet: Add INF message about how slow ETC2 encoding is
Jean-Philippe Andre [Fri, 13 Jun 2014 08:37:12 +0000 (17:37 +0900)]
Edje: Add support for ETC2 through LOSSY_ETC2 images
Declare your images as LOSSY_ETC2 to encode them as ETC2.
Add options to edje_cc to disable etc2.
Use ETC2 support from Eet.
@feature
Jean-Philippe Andre [Fri, 13 Jun 2014 07:56:39 +0000 (16:56 +0900)]
Eet: Add support for ETC2 encoding and decoding
Since we now have full support for ETC2, add the colorspaces
to Eet.
@feature
Jean-Philippe Andre [Fri, 13 Jun 2014 06:22:26 +0000 (15:22 +0900)]
Evas: Add encoding parameter to the savers
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
Jean-Philippe Andre [Fri, 13 Jun 2014 06:52:45 +0000 (15:52 +0900)]
Evas: Fix ETC2 encoding with RGB images (no alpha)
Savio Sena [Thu, 12 Jun 2014 22:31:16 +0000 (23:31 +0100)]
autotools: Fix elua 'make examples'.
Summary: Also added evas_3d_object to .gitignore.
Reviewers: q66, cedric
Reviewed By: q66
CC: smohanty, felipealmeida, raster, cedric
Differential Revision: https://phab.enlightenment.org/D1019
Maksym Volodin [Thu, 12 Jun 2014 17:14:42 +0000 (19:14 +0200)]
edje: Edje_Edit - add edje_edit_part_items_list_get.
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>
Igor Gala [Thu, 12 Jun 2014 17:11:54 +0000 (19:11 +0200)]
edje: Edje_Edit - edje_edit_sound_compression_rate_xet()
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>
Kateryna Fesyna [Thu, 12 Jun 2014 16:46:30 +0000 (18:46 +0200)]
edje: Edje_Edit - add edje_edit_sound_sample_add() function that allows user to add new sound sample to collection
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>
Felipe Magno de Almeida [Thu, 12 Jun 2014 15:34:19 +0000 (17:34 +0200)]
eina-cxx: fix compilation error on clang
Summary:
Fixed compilation error on clang when std::vector<char>::iterator and
std::string::iterator are the same type in type_traits for contiguous
traits optimization.
@fix
Reviewers: MagikBSD, tasn, cedric, raster, savio, woohyun
Reviewed By: tasn
CC: cedric
Maniphest Tasks: T1328
Differential Revision: https://phab.enlightenment.org/D1004
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Daniel Kolesa [Thu, 12 Jun 2014 14:20:18 +0000 (15:20 +0100)]
m4: EFL_WITH_BIN_SUFFIX, make use of it in configure.ac
Daniel Kolesa [Thu, 12 Jun 2014 11:54:27 +0000 (12:54 +0100)]
elua: use --with-elua instead of --with-elua-bin
Daniel Kolesa [Thu, 12 Jun 2014 09:57:08 +0000 (10:57 +0100)]
elua: fix up some names and fix a name conflict on windows
Jean-Philippe Andre [Thu, 12 Jun 2014 08:47:56 +0000 (17:47 +0900)]
Evas TGV: Optimize loader using NEON intrinsics
This can speed up the load a little (but I forgot the numbers).
Patch by Vladimir Kuramshin.
Jean-Philippe Andre [Thu, 12 Jun 2014 07:53:53 +0000 (16:53 +0900)]
Evas ETC2: Fix etc2 function declaration
Jean-Philippe Andre [Thu, 12 Jun 2014 05:44:28 +0000 (14:44 +0900)]
Evas gl: Enable texture atlasses with ETC1/2
We prefer ETC2 textures when ETC2 support has been detected.
According to the spec, glCompressedTexSubImage2D should work
for ETC2.
Try even with ETC1. This may fail at runtime. The fallback path
is very dubious right now but without a proper test case I'm
not sure which approach to take.
We can also imagine cases where the GPU supports TexSubImage for
ETC1 but ETC2 is not supported at all. This will need testing, as
this case is not handled.
@feature
Jean-Philippe Andre [Thu, 12 Jun 2014 03:47:32 +0000 (12:47 +0900)]
Evas gl: Remove dlsym of glCompressedTexImage2D
The function was used directly in evas_gl_texture.c
It must be part of OpenGL core functions (since GLES 1.1
and OpenGL 2 I think).