platform/upstream/efl.git
10 years agoevas: improvement of Eina Rectangle Pool and integration with Evas GL backend.
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>
10 years agoRevert "Coverage: Fix base directory."
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.

10 years agoEfreet: Fix shadow warning
Jean-Philippe Andre [Thu, 19 Jun 2014 01:33:49 +0000 (10:33 +0900)]
Efreet: Fix shadow warning

10 years agoEmotion tests: Fix compilation warning
Jean-Philippe Andre [Thu, 19 Jun 2014 01:27:07 +0000 (10:27 +0900)]
Emotion tests: Fix compilation warning

10 years agoEvas: Fix potential resource leak in the TGV loader
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...

10 years agoEvas: Fix some comments in the TGV loader
Jean-Philippe Andre [Wed, 18 Jun 2014 08:10:23 +0000 (17:10 +0900)]
Evas: Fix some comments in the TGV loader

10 years agoecore-evas-wayland: Remove useless variable.
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>
10 years agoevas_gl: add more matching formats to make cocoa_gl happy
Raoul Hecky [Tue, 17 Jun 2014 20:15:21 +0000 (22:15 +0200)]
evas_gl: add more matching formats to make cocoa_gl happy

10 years agoevas_cocoa: more changes copied from sdl engine
Raoul Hecky [Mon, 16 Jun 2014 19:24:53 +0000 (21:24 +0200)]
evas_cocoa: more changes copied from sdl engine

10 years agoevas_cocoa: Update cocoa gl engine
Raoul Hecky [Mon, 16 Jun 2014 19:15:22 +0000 (21:15 +0200)]
evas_cocoa: Update cocoa gl engine

10 years agoecore_cocoa: make engine works again
Raoul Hecky [Mon, 9 Jun 2014 08:31:34 +0000 (10:31 +0200)]
ecore_cocoa: make engine works again

10 years agoevas_cocoa: correct include for GL
Raoul Hecky [Sun, 8 Jun 2014 21:14:19 +0000 (23:14 +0200)]
evas_cocoa: correct include for GL

10 years agoecore_cocoa: missing link flag
Raoul Hecky [Sun, 8 Jun 2014 20:55:55 +0000 (22:55 +0200)]
ecore_cocoa: missing link flag

10 years agoevas_cocoa: build gl_common
Raoul Hecky [Sun, 8 Jun 2014 20:41:33 +0000 (22:41 +0200)]
evas_cocoa: build gl_common

10 years agoevas_cocoa: remove eng_image_mask_create
Raoul Hecky [Sun, 8 Jun 2014 19:54:10 +0000 (21:54 +0200)]
evas_cocoa: remove eng_image_mask_create

10 years agoecore_cocoa: add code from old branch
Raoul Hecky [Sun, 8 Jun 2014 19:50:42 +0000 (21:50 +0200)]
ecore_cocoa: add code from old branch

10 years agoecore_cocoa: add missing header from my old branch
Raoul Hecky [Sun, 8 Jun 2014 19:34:02 +0000 (21:34 +0200)]
ecore_cocoa: add missing header from my old branch

10 years agoecore_cocoa: Add missing opengl framework
Raoul Hecky [Sun, 8 Jun 2014 19:33:22 +0000 (21:33 +0200)]
ecore_cocoa: Add missing opengl framework

10 years agoAdd cocoa engine checks again
Raoul Hecky [Sun, 8 Jun 2014 19:23:25 +0000 (21:23 +0200)]
Add cocoa engine checks again

10 years agoconfigure: fix net/if.h detection on osx (10.7)
Benjamin Cohen [Tue, 4 Feb 2014 12:54:19 +0000 (13:54 +0100)]
configure: fix net/if.h detection on osx (10.7)

10 years agoevas: force equality in check otherwise i get debug output even if the environnement...
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.

10 years agoecore_cocoa: switch keys to map correctly on OS-X.
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

10 years agoecore_cocoa: fix button order.
Nicolas Aguirre [Sat, 11 Jan 2014 09:17:04 +0000 (10:17 +0100)]
ecore_cocoa: fix button order.

10 years agoecore_evas: fix warnings in Ecore_Evas Cocoa.
Nicolas Aguirre [Sun, 5 Jan 2014 18:46:03 +0000 (19:46 +0100)]
ecore_evas: fix warnings in Ecore_Evas Cocoa.

10 years agoecore_cocoa: indent with efl style
Nicolas Aguirre [Sun, 5 Jan 2014 18:45:01 +0000 (19:45 +0100)]
ecore_cocoa: indent with efl style

10 years agoecore_cocoa: fix Key up/down usage, the event window was missing and the ev->key...
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

10 years agoecore_evas: use Eina_List to store Ecore_Evases and return the first one when asked...
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.

10 years agoecore_cocoa: remove printf
Nicolas Aguirre [Tue, 10 Dec 2013 07:24:14 +0000 (08:24 +0100)]
ecore_cocoa: remove printf

10 years agoevas: move buffer engine to use more generic infrastructure.
Cedric BAIL [Wed, 18 Jun 2014 09:11:49 +0000 (11:11 +0200)]
evas: move buffer engine to use more generic infrastructure.

10 years agoevas: move fb backend to use generic infrastructure a bit more.
Cedric BAIL [Wed, 18 Jun 2014 07:13:42 +0000 (09:13 +0200)]
evas: move fb backend to use generic infrastructure a bit more.

10 years agoevas: make X11 use more generic logic.
Cedric BAIL [Wed, 18 Jun 2014 06:47:23 +0000 (08:47 +0200)]
evas: make X11 use more generic logic.

10 years agoevas: add possibility for engine to also inherit part of the Render_Engine from softw...
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.

10 years agoEdje_Edit: Fix shadow warnings
Jean-Philippe Andre [Wed, 18 Jun 2014 07:28:07 +0000 (16:28 +0900)]
Edje_Edit: Fix shadow warnings

10 years agoEdje: Add LOSSY_ETC2 to Edje_Edit
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...

10 years agoEvas: Fix potential memory leak (save with encoding)
Jean-Philippe Andre [Tue, 17 Jun 2014 06:29:51 +0000 (15:29 +0900)]
Evas: Fix potential memory leak (save with encoding)

10 years agofix whitespace like trailing spaces and tabs
Carsten Haitzler (Rasterman) [Wed, 18 Jun 2014 07:23:23 +0000 (16:23 +0900)]
fix whitespace like trailing spaces and tabs

10 years agoedje: Edje_Edit - add edje_edit_without_source save function.
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>
10 years agoedje: Edje_Edit - fix compiler warnings for edje_edit_part_item_source_get/set
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>
10 years agoedje: Edje_Edit - add edje_edit_part_entry_mode_xet()
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>
10 years agoedje: Edje_Edit - add edje_edit_state_map_rotation_center_xet()
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>
10 years agoedje: Edje_Edit - add edje_edit_part_item_align functions.
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>
10 years agoedje: Edje_Edit - add edje_edit_state_map_light_xet()
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>
10 years agoEvas/Textblock: Introduce PS deletion bug test and fix
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

10 years agowhitespace - fixup trailing whitespace
Carsten Haitzler (Rasterman) [Tue, 17 Jun 2014 06:31:57 +0000 (15:31 +0900)]
whitespace - fixup trailing whitespace

10 years agoedje: Edje_Edit - add functions that allow user to set and get the value of states...
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>
10 years agoedje: Edje_Edit - add edje_edit_part_item_padding functions.
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>
10 years agoedje: Edje_Edit - add functions that allow user to set and get value of fill type
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>
10 years agoedje: Edje_Edit - edje_edit_sound_compression_type_xet()
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>
10 years agoEvas gl: Fix ETC2 texture atlasses
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.

10 years agoelua: fix installation of xgettext/generator
Daniel Kolesa [Mon, 16 Jun 2014 10:55:17 +0000 (11:55 +0100)]
elua: fix installation of xgettext/generator

10 years agopartial fix for T518 - fix blank display on 2+ windows with gl
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.

10 years agopo: cleaner extension handling in xgettext wrapper
Daniel Kolesa [Mon, 16 Jun 2014 10:19:46 +0000 (11:19 +0100)]
po: cleaner extension handling in xgettext wrapper

10 years agoconfigure: Add dl to edje libs
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

10 years agom4: fix macro, Makevars.in: quotes
Daniel Kolesa [Mon, 16 Jun 2014 09:07:16 +0000 (10:07 +0100)]
m4: fix macro, Makevars.in: quotes

10 years agopo: xgettext_wrapper now respects EXEEXT
Daniel Kolesa [Mon, 16 Jun 2014 08:53:57 +0000 (09:53 +0100)]
po: xgettext_wrapper now respects EXEEXT

10 years agoelua: helper makefile typo fix
Daniel Kolesa [Mon, 16 Jun 2014 08:46:41 +0000 (09:46 +0100)]
elua: helper makefile typo fix

10 years agotrailing spaces--
Carsten Haitzler (Rasterman) [Mon, 16 Jun 2014 06:58:58 +0000 (15:58 +0900)]
trailing spaces--

10 years agofix duplicate function call names in ecore and ecore_con that can clash
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.

10 years agoRevert "eo: replace composite_objects Eina_List with an array of Eo_Object*"
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.

10 years agoedje: Edje_Edit - edje_edit_part_select_mode_xet()
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>
10 years agoedje: Edje_Edit - add bunch of BOX and TABLE param get/set functions.
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>
10 years agoedje: Edje_Edit - add edje_edit_part_item_source functions.
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>
10 years agoedje: Edje_Edit - add functions that allows user to set and get frequency value of...
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>
10 years agoedje: Edje_Edit - some minor edits
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>
10 years agoedje: Edje_Edit - add functions to provide the ability to set and get the values...
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>
10 years agoEvas textblock: Fix issue with edje fonts not being used.
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

10 years agoEet: Add INF message about how slow ETC2 encoding is
Jean-Philippe Andre [Fri, 13 Jun 2014 08:45:32 +0000 (17:45 +0900)]
Eet: Add INF message about how slow ETC2 encoding is

10 years agoEdje: Add support for ETC2 through LOSSY_ETC2 images
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

10 years agoEet: Add support for ETC2 encoding and decoding
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

10 years agoEvas: Add encoding parameter to the savers
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

10 years agoEvas: Fix ETC2 encoding with RGB images (no alpha)
Jean-Philippe Andre [Fri, 13 Jun 2014 06:52:45 +0000 (15:52 +0900)]
Evas: Fix ETC2 encoding with RGB images (no alpha)

10 years agoautotools: Fix elua 'make examples'.
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

10 years agoedje: Edje_Edit - add edje_edit_part_items_list_get.
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>
10 years agoedje: Edje_Edit - edje_edit_sound_compression_rate_xet()
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>
10 years agoedje: Edje_Edit - add edje_edit_sound_sample_add() function that allows user to add...
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>
10 years agoeina-cxx: fix compilation error on clang
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>
10 years agom4: EFL_WITH_BIN_SUFFIX, make use of it in configure.ac
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

10 years agoelua: use --with-elua instead of --with-elua-bin
Daniel Kolesa [Thu, 12 Jun 2014 11:54:27 +0000 (12:54 +0100)]
elua: use --with-elua instead of --with-elua-bin

10 years agoelua: fix up some names and fix a name conflict on windows
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

10 years agoEvas TGV: Optimize loader using NEON intrinsics
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.

10 years agoEvas ETC2: Fix etc2 function declaration
Jean-Philippe Andre [Thu, 12 Jun 2014 07:53:53 +0000 (16:53 +0900)]
Evas ETC2: Fix etc2 function declaration

10 years agoEvas gl: Enable texture atlasses with ETC1/2
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

10 years agoEvas gl: Remove dlsym of glCompressedTexImage2D
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).

10 years agoevas 3d - fix uninitialized orientation var
Carsten Haitzler (Rasterman) [Thu, 12 Jun 2014 03:39:06 +0000 (12:39 +0900)]
evas 3d - fix uninitialized orientation var

10 years agoeina-tiler: fix crash when trying to check intersection between two tilers
Gwanglim Lee [Thu, 12 Jun 2014 03:33:20 +0000 (12:33 +0900)]
eina-tiler: fix crash when trying to check intersection between two tilers

Summary:
If one of the given tilers is empty, then crash could be occurred in internal while loop of eina_tiler_intersection.
And fix some memory leaks in eina_tiler_intersection and eina_tiler_equal.

Reviewers: devilhorns, raster, cedric, torori

CC: cedric
Differential Revision: https://phab.enlightenment.org/D996

10 years agoEvas filters: Allow use of a color multiplier
Jean-Philippe Andre [Wed, 11 Jun 2014 06:59:31 +0000 (15:59 +0900)]
Evas filters: Allow use of a color multiplier

We couldn't do evas_object_color_set() on a filtered text
object simply because the color was not properly taken into
account.

This should simplify some effects as it'll be much easier to
set a color or alpha value to the text regardless of the filter.

Hmm, is this a fix or feature? O_o

10 years agoedje: Edje_Edit - edje_edit_state_text_size_range_min_max_xet()
Igor Gala [Thu, 12 Jun 2014 00:20:57 +0000 (02:20 +0200)]
edje: Edje_Edit - edje_edit_state_text_size_range_min_max_xet()

Summary:
There are new 'get and set' API for block 'text.size_range'.
Those functions return or set the min and max font size for a given text part.
@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D997

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add edje_edit_program_transition functions.
Vorobiov Vitalii [Thu, 12 Jun 2014 00:16:36 +0000 (02:16 +0200)]
edje: Edje_Edit - add edje_edit_program_transition functions.

Summary:
Add getter and setter for functions with transition value.
Next functions are prepared:
- edje_edit_program_transition_value1_set
- edje_edit_program_transition_value1_get
- ...
Functions are made for value1, value2, value3 and value4.

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D999

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - edje_edit_state_text_repch_xet()
Igor Gala [Thu, 12 Jun 2014 00:15:21 +0000 (02:15 +0200)]
edje: Edje_Edit - edje_edit_state_text_repch_xet()

Summary:
There are new 'get and set' API for block 'text.repch'.
Those functions return or set replacement character for a given text part.
This string is used to replace every character to hide the details of the entry.
Normally you would use a "*", but you can use anything you like.
@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1001

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add edje_edit_sound_tone_del() function that provides the ability...
Kateryna Fesyna [Thu, 12 Jun 2014 00:14:38 +0000 (02:14 +0200)]
edje: Edje_Edit - add edje_edit_sound_tone_del() function that provides the ability to delete tone from collection.

Summary:
Added new function that allows user to delete tonefrom collection.
After successfull deletion this function will check if this sound was in use in any
PLAY_TONE action in any program of current collections groups. If such actions
are found, they will be deleted.
This commit moves action deletion into the static _delete_play_actions() function
and replaces corresponding part of  edje_edit_sound_sample_del() with
the call of this function.

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1002

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoeina-cxx: fix compilation error on clang in eina_thread.hh
Felipe Magno de Almeida [Thu, 12 Jun 2014 00:12:38 +0000 (02:12 +0200)]
eina-cxx: fix compilation error on clang in eina_thread.hh

Summary:
Fixed compilation error for using std::hash without #include'ing
<functional>

@fix

Reviewers: MagikBSD, tasn, cedric, raster, woohyun

CC: savio, cedric
Maniphest Tasks: T1328

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoelua: remove build_args, it's useless by now with our popen variant
Daniel Kolesa [Wed, 11 Jun 2014 10:16:55 +0000 (11:16 +0100)]
elua: remove build_args, it's useless by now with our popen variant

10 years agoelua: alignment
Daniel Kolesa [Wed, 11 Jun 2014 10:15:11 +0000 (11:15 +0100)]
elua: alignment

10 years agoelua: fix coverity issues
Daniel Kolesa [Wed, 11 Jun 2014 10:12:27 +0000 (11:12 +0100)]
elua: fix coverity issues

10 years agoRevert "Eolian CXX: Fix make distcheck"
Tom Hacohen [Wed, 11 Jun 2014 09:33:29 +0000 (10:33 +0100)]
Revert "Eolian CXX: Fix make distcheck"

This is essentially a revert of my recent commit. This is wrong. These
files are not built sources, as they are not/should not be used by
anything else. They are just generated files. Putting them there
essentially makes the build linear and just wrong.

See commit 2010de6810ea31116c77f2e08eb0dc9dc7034768 which first
introduced this change for more details.

This reverts commit 43038144c27af0222b386f67b565401a283877e5.

10 years agoelua: use #ifdef ENABLE_NLS
Daniel Kolesa [Wed, 11 Jun 2014 09:47:12 +0000 (10:47 +0100)]
elua: use #ifdef ENABLE_NLS

10 years agoelua: lose support for loadfile modes for the time being
Daniel Kolesa [Wed, 11 Jun 2014 09:41:02 +0000 (10:41 +0100)]
elua: lose support for loadfile modes for the time being

10 years agoefreet: improve handling of merged menus
Sebastian Dransfeld [Wed, 11 Jun 2014 09:00:30 +0000 (11:00 +0200)]
efreet: improve handling of merged menus

If the menu is of the format ${XDG_MENU_PREFIX}applications.menu, we
want to merge applications-merged/, not
${XDG_MENU_PREFIX}applications-merged

10 years agoefreet: remove code duplication
Sebastian Dransfeld [Wed, 11 Jun 2014 08:59:09 +0000 (10:59 +0200)]
efreet: remove code duplication

If the menu starts with either kde- or gnome- the resulting action is
the same.

10 years agoEvas filters: Report parsing error message from lua
Jean-Philippe Andre [Wed, 11 Jun 2014 01:00:44 +0000 (10:00 +0900)]
Evas filters: Report parsing error message from lua

Also, re-enable legacy code compatibility layer, as it
can still be used for compat with older code.