Commit Graph

25987 Commits

Author SHA1 Message Date
Daniel Kolesa 5aedc8c722 elua: initial rectangle mdule and iterator fixes/cleanups 2014-06-10 15:48:46 +01:00
Daniel Kolesa 155eae24e1 elua: safe iterators using ffi metatypes 2014-06-10 15:48:46 +01:00
Daniel Kolesa 79d7663e8b elua: iterator bindings (for use by other modules, will probably become private) 2014-06-10 15:48:46 +01:00
Daniel Kolesa 0b7fd25b16 elua: typo 2014-06-10 15:48:46 +01:00
Daniel Kolesa 008925aa32 elua: allow setting of default domain 2014-06-10 15:48:46 +01:00
Daniel Kolesa dcd2b6166b elua: more logging functionality (utility funcs for default domain printing) 2014-06-10 15:48:46 +01:00
Daniel Kolesa 3af66c7f65 elua: safe logging within sandbox 2014-06-10 15:48:46 +01:00
Daniel Kolesa 68de26604c elua: start binding Eina
Added initial eina logging module, added library handling utility funcs in util.lua, added .gitignores
2014-06-10 15:48:46 +01:00
Daniel Kolesa 137be43b49 elua: util module, object system, organization 2014-06-10 15:48:46 +01:00
Daniel Kolesa 063dd4147e elua: use Eina_File (mmap) 2014-06-10 15:48:46 +01:00
Daniel Kolesa 26dc3505bc elua: 100% compatible module system 2014-06-10 15:48:46 +01:00
Daniel Kolesa dbaa103d1e elua: make the custom module system default 2014-06-10 15:48:46 +01:00
Daniel Kolesa 832f652a5a Elua: initial commit
Elua is a LuaJIT based runtime for the EFL meant to provide facilities for rapid application development. The name is temporary. The EFL bindings will be generated with Eolian. @feature
2014-06-10 15:48:46 +01:00
Youngbok Shin 3e81b73aa8 evas/tests - textblock: add a test case for item format with ellipsis.
Summary:
When item format is cutoff by ellipsis, *_cursor_format_item_geometry_get API
should be failed at the item position.
But, it can be success and returns abnormal geometry.

Reviewers: woohyun, tasn

CC: cedric, herdsman

Differential Revision: https://phab.enlightenment.org/D974
2014-06-10 15:17:41 +01:00
Youngbok Shin f7cf96d4d9 evas/textblock: check item's type before returning result.
Summary:
When format item is cut off by ellipsis, result of "_find_layout_item_line_match"
can be TEXT type item. And it keeps ellipsis item's information.
@fix

Test Plan: D974

Reviewers: woohyun, tasn

CC: cedric, herdsman

Differential Revision: https://phab.enlightenment.org/D975
2014-06-10 15:08:09 +01:00
Sebastian Dransfeld ffda8635fe efreet: Correctly handle default merge dir
When main menu file is gnome-applications.menu or kde-applications.menu,
we should be using applications as base for merged dir.

Part of T1284
2014-06-10 13:46:49 +02:00
Carsten Haitzler 03983be687 fix whitespace 2014-06-10 19:22:04 +09:00
Dongyeon Kim acc95afbd8 evas gl: distinguish between IMG and EXT MSAA extensions
Summary:
For drivers that support IMG_multisampled_render_to_texture,
GL_MAX_SAMPLES_IMG should be used to query max supported samples
Likewise, for drivers that support EXT_multisampled_render_to_texture,
GL_MAX_SAMPLES_EXT should be used to query max supported samples

@fix

Reviewers: seoz, Hermet, raster, cedric

Reviewed By: cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D948
2014-06-10 19:20:17 +09:00
Stefan Schmidt a03952ca0f po: Set initial values for Language-Team in all po files 2014-06-10 10:43:05 +02:00
Stefan Schmidt f57626bd19 po: Set initial language value in po file where it is missing
Some file have it and some not. My hopes are that this will fix the
build problems on jenkins.
2014-06-10 10:35:12 +02:00
Vyacheslav Reutskiy 69552fc392 Ecore_Evas: add new API for unset the cursor from Ecore_Evas.
Summary:
Add ecore_evas_cursor_unset function.
Use the new function in the ecore_evas_object_example.

@feature

Test Plan: ecore_evas_object_example

Reviewers: raster, cedric, seoz, Hermet

CC: cedric

Differential Revision: https://phab.enlightenment.org/D812
2014-06-10 17:32:11 +09:00
Jean-Philippe Andre bb3d5190b8 Evas: Implement full ETC2 encoder
Supports T, H, and Planar mode as well as Alpha.

Merge branch 'devs/jpeg/etc2'

@feature
2014-06-10 14:58:47 +09:00
Jean-Philippe Andre 74b56a4244 Evas TGV: Improve debug logs when saving ETC2
Separate PSNR between Alpha and RGB channels.
This will give results comparable to etcpack.
2014-06-10 14:58:28 +09:00
Jean-Philippe Andre d6e6d001a3 Evas ETC2: Clean up debug code
Disable flag and disable unused function if DEBUG is not set.
2014-06-10 14:58:28 +09:00
Jean-Philippe Andre 878641f6dc Evas ETC2: Fix alpha encoding with high quality
Use an exhaustive search when encoding alpha at high quality.
This can be very slow if we don't have a perfect solution.
2014-06-10 14:58:28 +09:00
Jean-Philippe Andre 90f58b2a57 Evas ETC2: Implement Planar mode
And this completes the first version of this ETC2 encoder.
It's pretty slow and not exhaustive.

Color selection for T and H modes could probably be optimized
for both performance and quality. As for the planar mode, there
is no selection to speak of, as we just take the values of the
pixels directly (no scan, very fast)

On a sample image with lots of blue, white and noisy gradients,
T+H+Planar mode boost the PNSR from 41.22dB to 42.01dB.
Without planar mode, the PSNR was 41.94dB.

@feature
2014-06-10 14:58:28 +09:00
Jean-Philippe Andre 173b6bebf9 Evas ETC2: Implement H mode encoding
And we gain some more decibels of PSNR :)

@feature
2014-06-10 14:58:28 +09:00
Jean-Philippe Andre 22c5632256 Evas ETC2: Implement T mode encoding
In this mode, two colors are encoded in RGB444, a multiplier and
distance (index) are selected. Two extra colors are extrapolated
from the main base color. As in ETC1 we have 4 base colors to paint
our block.

@feature
2014-06-10 14:58:27 +09:00
Jean-Philippe Andre c8b3568f32 Evas TGV: Add some debugging features 2014-06-10 14:58:27 +09:00
Jean-Philippe Andre cdf6e52974 Evas TGV: Add ETC2 support to the TGV saver
This will call the new ETC2 encoding functions.
Note that the quality and performance will be horrible, but at
least alpha should be supported.

Also, there is no way to choose between ETC1 and ETC2 from
the client API side, which, well, sucks. So ETC2 is selected
if and only if the image has alpha (according to its flag).

@feature: Encode images in ETC2 with support for Alpha (if needed).
2014-06-10 14:58:27 +09:00
Jean-Philippe Andre 6fc4c1da74 Evas ETC2: Add ETC2 encoder skeletton
Implement Alpha encoding, brute force way, but doesn't scan
all possibilities either (only based on average alpha).

RGB encoding is still entirely left to the rg-etc1 encoder.
T, H and Planar mode will come in the next commits.

@feature: Implement an ETC2 encoder from scratch for RGB8 and RGBA8
2014-06-10 14:58:27 +09:00
Jean-Philippe Andre 188ffd412c Eo: Fix crash on WIN32 (wrong check for NULL)
Thanks vtorri for the report
2014-06-10 14:57:58 +09:00
Daniel Zaoui 2160d0f27a Eolian/Generator: use a specific define for the Eo APIs.
The generation of EOAPI instead of EAPI for the Eo functions is only
needed for code readibility.
2014-06-10 07:57:09 +03:00
Igor Gala 18beac3732 edje: Edje_Edit - fix func edje_edit_state_text_source_set()
Summary:
There are new API for block 'text.source' get and set. Those function
return or set the name of part which is source style for given part.

@fix

Reviewers: seoz, Hermet, cedric, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-09 20:54:54 +02:00
Cedric BAIL acc99074d1 eo: force zeroing memory on non Linux system.
@fix
2014-06-09 19:55:40 +02:00
Daniel Zaoui 4c1cf87419 Eolian/Generator: Fix comments generation.
This patch:
- removes the @def from Doxygen, as it is not correct for API
functions.
- fixes the generation of class comments. When no class description is
supplied, no comment should be added.
2014-06-09 10:09:15 +03:00
ChunEon Park cbee652621 evas/evas_3d - build evas_3d_obj example. 2014-06-09 15:25:55 +09:00
Daniel Zaoui 233650ed9d Eolian/Generator: concentrate the function name calculation to one
place.

Instead of having the calculation (class name + function name + set/get)
in many places in the code, it is now in one place and accessible via a
function environment structure.
2014-06-08 12:41:18 +03:00
Daniel Zaoui b9b90ac204 Edje Edit: Fix shadow declarations. 2014-06-08 12:40:42 +03:00
Daniel Zaoui d668a0a726 3d: Fix shadow declaration 2014-06-08 12:40:42 +03:00
Daniel Zaoui fc2a983ab9 Eolian/Generator: remove unused code.
The removed code was needed for Eo1 and is no more necessary.
2014-06-08 12:40:42 +03:00
Daniel Zaoui d56359c74b Eolian: set default value when no set/get is defined on a property.
If no set/get is defined in a property, the type will be set as
EOLIAN_PROPERTY, meaning set and get.
2014-06-08 12:40:42 +03:00
Daniel Zaoui 75175d7eaf Eolian/Tests: expand the usage of the generation process.
The function executing the Eolian generator was using specific options.
This patch permits addition other kinds of generation tests.
2014-06-08 12:40:12 +03:00
Maksym Volodin 60674b5444 edje: Edje_Edit - add edje_edit_group_broadcast_signal_set/_get.
Summary:
Add two main functions:
edje_edit_group_broadcast_signal_set/_get.
_get return EINA_FALSE if group not accept broadcast signal, EINA_TRUE otherwise (Default to true since 1.1.).
Also support access into group's source code generation.

Reviewers: seoz, Hermet, raster, cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-07 23:04:43 +02:00
Cedric BAIL 8dcb75ad09 edje: simplify and deprecate stub function. 2014-06-07 18:13:39 +02:00
Alex-P. Natsios db95ecb84b autotools: fix more spelling errors in warnings
Summary: fontconfig & eo ID warning message fixes

Reviewers: raster, cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D964
2014-06-07 02:51:14 +02:00
Cedric BAIL 8383bd3db1 .gitignore: don't track generated file. 2014-06-07 02:47:12 +02:00
se.osadchy f3ed65d225 examples: add new example for Evas_3D.
Summary: This example need for demonstration work of the propagate events.

Reviewers: Hermet, cedric, raster

CC: cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-06 19:11:21 +02:00
Alex-P. Natsios 3ca3377dfb autotools: fix small typo in xim warning
Summary: suport -> support

Reviewers: raster, cedric

Reviewed By: cedric

CC: cedric, tasn

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-06 18:33:18 +02:00
Mykyta Biliavskyi 031216369a edje: Edje_Edit - add parameters to generate source code for part.
Summary:
Add generate source code for absent parameters for part description.
Also use fields from internal structure Edje_Real_Part instead call public API

@feature

Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric

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

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