Commit Graph

5923 Commits

Author SHA1 Message Date
Cedric BAIL bef09531c1 evas: move buffer engine to use more generic infrastructure. 2014-06-18 11:34:06 +02:00
Cedric BAIL c7ddcb14ac evas: move fb backend to use generic infrastructure a bit more. 2014-06-18 11:34:06 +02:00
Cedric BAIL edafa5344b evas: make X11 use more generic logic. 2014-06-18 11:34:06 +02:00
Cedric BAIL 3e3fde5db9 evas: add possibility for engine to also inherit part of the Render_Engine from software generic. 2014-06-18 11:34:06 +02: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
Jean-Philippe Andre 10e8b72667 Evas: Fix potential memory leak (save with encoding) 2014-06-18 16:28:37 +09:00
Carsten Haitzler 121f234e4e fix whitespace like trailing spaces and tabs 2014-06-18 16:23:23 +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
Vorobiov Vitalii bb878758e6 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>
2014-06-17 16:04:43 +02:00
Igor Gala 7e4b9b6f09 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>
2014-06-17 16:04:43 +02:00
Daniel Hirt 2b40860f78 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
2014-06-17 11:11:33 +01:00
Carsten Haitzler ac63e3f8b5 whitespace - fixup trailing whitespace 2014-06-17 15:31:57 +09:00
Kateryna Fesyna 782b93a65e 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>
2014-06-16 17:01:31 +02:00
Vorobiov Vitalii 32024b076a 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>
2014-06-16 16:59:02 +02:00
Kateryna Fesyna 8ae41a547b 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>
2014-06-16 16:56:32 +02:00
Igor Gala 0500f4f33f 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>
2014-06-16 16:51:31 +02:00
Jean-Philippe Andre a691b2ebf9 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.
2014-06-16 20:11:41 +09:00
Daniel Kolesa 5688337a6c elua: fix installation of xgettext/generator 2014-06-16 11:55:17 +01:00
Carsten Haitzler c1345ade8f 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.
2014-06-16 19:24:33 +09:00
Daniel Kolesa f0c906231b elua: helper makefile typo fix 2014-06-16 09:46:41 +01:00
Carsten Haitzler c32f914ac5 trailing spaces-- 2014-06-16 15:58:58 +09:00
Carsten Haitzler 4b24b386db 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.
2014-06-16 15:57:05 +09:00
Tom Hacohen 46b3643ff0 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 ef09ef7489.
2014-06-13 18:20:24 +01:00
Igor Gala 6d62dab6ab 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>
2014-06-13 18:13:01 +02:00
Vorobiov Vitalii 08075be885 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>
2014-06-13 18:11:29 +02:00
Vorobiov Vitalii 246df08184 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>
2014-06-13 18:02:37 +02:00
Kateryna Fesyna ad1c183897 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>
2014-06-13 18:01:26 +02:00
Igor Gala 76d02d1e70 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>
2014-06-13 18:00:26 +02:00
Kateryna Fesyna a06279e4ef 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>
2014-06-13 17:54:58 +02:00
Tom Hacohen 1d52065438 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
2014-06-13 15:29:59 +01:00
Jean-Philippe Andre 4efcd46cbf Eet: Add INF message about how slow ETC2 encoding is 2014-06-13 17:58:13 +09:00
Jean-Philippe Andre e8d7c46253 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
2014-06-13 17:58:08 +09:00
Jean-Philippe Andre c21968bcd7 Eet: Add support for ETC2 encoding and decoding
Since we now have full support for ETC2, add the colorspaces
to Eet.

@feature
2014-06-13 17:14:56 +09:00
Jean-Philippe Andre d0d9dbfdba 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
2014-06-13 16:05:48 +09:00
Jean-Philippe Andre c79a8b43b6 Evas: Fix ETC2 encoding with RGB images (no alpha) 2014-06-13 15:59:23 +09:00
Savio Sena 9ac266c78e 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
2014-06-12 23:31:16 +01:00
Maksym Volodin fe734165cb 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>
2014-06-12 19:16:08 +02:00
Igor Gala e8cebd6ce7 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>
2014-06-12 19:11:59 +02:00
Kateryna Fesyna a810012d57 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>
2014-06-12 18:46:34 +02:00
Felipe Magno de Almeida f5c4481be8 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>
2014-06-12 17:34:22 +02:00
Daniel Kolesa 4995d1a4b0 elua: fix up some names and fix a name conflict on windows 2014-06-12 10:57:08 +01:00
Jean-Philippe Andre ef80047ac9 Evas TGV: Optimize loader using NEON intrinsics
This can speed up the load a little (but I forgot the numbers).
Patch by Vladimir Kuramshin.
2014-06-12 17:47:56 +09:00
Jean-Philippe Andre 29770922cf Evas ETC2: Fix etc2 function declaration 2014-06-12 16:53:53 +09:00
Jean-Philippe Andre dbd576b858 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
2014-06-12 14:47:16 +09:00
Jean-Philippe Andre 90985d2282 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).
2014-06-12 14:47:16 +09:00
Carsten Haitzler 2f2def0861 evas 3d - fix uninitialized orientation var 2014-06-12 12:40:25 +09:00
Gwanglim Lee e3f4f4457d 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
2014-06-12 12:40:24 +09:00
Jean-Philippe Andre c99449ea09 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
2014-06-12 10:59:56 +09:00
Igor Gala 873eb4151f 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>
2014-06-12 02:24:26 +02:00
Vorobiov Vitalii 206722a6e9 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>
2014-06-12 02:16:38 +02:00
Igor Gala 6f7233b473 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>
2014-06-12 02:15:23 +02:00
Kateryna Fesyna 9c79b7f0f8 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>
2014-06-12 02:14:40 +02:00
Felipe Magno de Almeida b1eccf2993 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>
2014-06-12 02:12:42 +02:00
Daniel Kolesa 808aa0ce50 elua: remove build_args, it's useless by now with our popen variant 2014-06-11 11:16:55 +01:00
Daniel Kolesa 0f4e617e9f elua: alignment 2014-06-11 11:15:11 +01:00
Daniel Kolesa cd29d76ce5 elua: fix coverity issues 2014-06-11 11:12:27 +01:00
Tom Hacohen 9305d8e54f 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 2010de6810 which first
introduced this change for more details.

This reverts commit 43038144c2.
2014-06-11 10:58:22 +01:00
Daniel Kolesa 9db8aa3b3f elua: use #ifdef ENABLE_NLS 2014-06-11 10:47:12 +01:00
Daniel Kolesa f0d008abf8 elua: lose support for loadfile modes for the time being 2014-06-11 10:41:02 +01:00
Sebastian Dransfeld 9415f8a7ef 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
2014-06-11 11:04:23 +02:00
Sebastian Dransfeld a10d4167f1 efreet: remove code duplication
If the menu starts with either kde- or gnome- the resulting action is
the same.
2014-06-11 11:04:23 +02:00
Jean-Philippe Andre 793e2ee21e 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.
2014-06-11 10:02:42 +09:00
Jean-Philippe Andre 43038144c2 Eolian CXX: Fix make distcheck
nodist files should be added to BUILT_SOURCES for
make distcheck to work (when cleaning the tree)
2014-06-11 10:02:42 +09:00
Chris Michael 3fd6061505 elua: Fix building of binary
If we have ENABLE_NLS then we need to #include <locale.h> for the
'setlocale' function else we get an implicit function declaration
warning, and a build failure due to LC_ALL not being defined

@fix

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-06-10 15:52:50 -04:00
Vyacheslav Reutskiy d79e10418d Ecore_Evas: update documentation.
Summary:
Update documentation for next API:
ecore_evas_cursor_set
ecore_evas_cursor_get
ecore_evas_object_cursor_set

Reviewers: raster, cedric, seoz, Hermet

CC: cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Vorobiov Vitalii 64a79017ad edje: Edje_Edit - add edje_edit_state_minmul functions.
Summary:
Add two main functions
- edje_edit_state_minmul_w_set
- edje_edit_state_minmul_h_set
- edje_edit_state_minmul_w_get
- edje_edit_state_minmul_h_get
Also support minmul into state's source code generation.

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Vorobiov Vitalii 942322a1eb edje: Edje_Edit - add edje_edit_part_item_append functions.
Summary:
First function of the "BOX and TABLE support" feature.
Implements only few stuff
- edje_edit_part_item_append function, that append new item to the items of BOX or TABLE part
- support TABLE and PART source code generation

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Igor Gala 16d79850a8 edje: Edje_Edit - edje_edit_state_text_text_source_xeg()
Summary:
There are new 'get and set' API for block 'text.source'. Those function
return or set the name of part which is source of text for given part.
@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Igor Gala e15b8c27ac remove unnecessary second checks on validity
Summary:
Some checks were removed, becouse they are useless, due macross
GET_PD_OR_RETURN(NULL) does all this work.
@fix

Reviewers: seoz, cedric, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D980
2014-06-10 17:39:44 +02:00
Kateryna Fesyna 05a8f2eac6 edje: Edje_Edit - add edje_edit_sound_sample_del() function that provides the ability to delete sound sample from collection.
Summary:
Added new function that allows user to delete sound sample from collection.
After successfull deletion this function will check if this sound was in use in any
PLAY_SAMPLE action in any program of current collections groups. If such actions
are found, they will be deleted.
Also, this commit fixes code generation on edj-file saving:
- sound block generation is added.
- PLAY_SAMPLE and PLAY_TONE actions code generation is added.

@festure

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Igor Gala e1b4c70f3d edje: Edje_Edit - edje_edit_state_text_class_xet()
Summary:
There are new 'get and set' API for block 'text_class'. Those function
return or set the name of text class which would be used similar to color_class,
this is the name used by the application to alter the font family and size at runtime.
@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Daniel Kolesa 319034d683 elua: fix warnings with -Wextra -Wshadow 2014-06-10 15:48:54 +01:00
Daniel Kolesa 8b1eabad3b elua: remove leftover 2014-06-10 15:48:54 +01:00
Daniel Kolesa ae07ae2363 elua: fixes, expand wildcards 2014-06-10 15:48:54 +01:00
Daniel Kolesa 60d8395de7 elua: examples fix, distcheck fix 2014-06-10 15:48:53 +01:00
Daniel Kolesa 17698c9c7e elua: xgettext fixes 2014-06-10 15:48:53 +01:00
Daniel Kolesa 3eb572e20c elua: didn't want this 2014-06-10 15:48:53 +01:00
Daniel Kolesa 6df8766b6a elua: some janitoring (add newlines to the end of files) 2014-06-10 15:48:53 +01:00
Daniel Kolesa 00f9858cfe elua: install apps 2014-06-10 15:48:53 +01:00
Daniel Kolesa f8852d88ec elua: better caching behavior (try to use bytecode first) 2014-06-10 15:48:53 +01:00
Daniel Kolesa 4ebdf91ca8 elua: use eina_prefix 2014-06-10 15:48:53 +01:00
Daniel Kolesa c6e5d8d002 elua: return the value properly in eo 2014-06-10 15:48:53 +01:00
Daniel Kolesa f395e861fb elua: make it possible to get class lua body from address 2014-06-10 15:48:53 +01:00
Daniel Kolesa ff519ccc4a elua: move __ctor_common, __do_start, __do_end out of the object (as it's effectively empty now, it can be generated) 2014-06-10 15:48:53 +01:00
Daniel Kolesa 072f318d44 elua: generator fix 2014-06-10 15:48:53 +01:00
Daniel Kolesa 3e65deabf8 elua: remove the implemented eo_base stuff - will be generated 2014-06-10 15:48:53 +01:00
Daniel Kolesa 4b3c7190ca elua: use eo_finalize plus update bound eo api 2014-06-10 15:48:53 +01:00
Daniel Kolesa 65bf6cd6ac elua: do not generate entirely new list types 2014-06-10 15:48:53 +01:00
Daniel Kolesa 22d03089fc elua: a simple list type generator in eina_list 2014-06-10 15:48:53 +01:00
Daniel Kolesa aeaadae1fe elua: eolian fix 2014-06-10 15:48:53 +01:00
Daniel Kolesa 4d5f4537c9 do not generate __M if not needed 2014-06-10 15:48:53 +01:00
Daniel Kolesa e5bdfdfff0 elua: better namespace handling in lualian generator (support more than 1 level of namespace) 2014-06-10 15:48:53 +01:00
Daniel Kolesa 39cdde7280 elua: prevent method calls on bad objects 2014-06-10 15:48:53 +01:00
Daniel Kolesa 5ee0d530ca elua: propagate property definitions down the inheritance hierarchy 2014-06-10 15:48:53 +01:00
Daniel Kolesa b665bdbd8a elua: eolian binding fix plus support namespaces in the lualian generator 2014-06-10 15:48:53 +01:00
Daniel Kolesa 822c517f93 elua: initial xgettext call parsing 2014-06-10 15:48:53 +01:00
Daniel Kolesa 890660d485 elua: String and Call objects in xgettext generator - includes methods to automatically decide flags for String, making things a lot easier (thanks to chaining) 2014-06-10 15:48:53 +01:00
Daniel Kolesa 83032e611d elua: store flags for hashing as well 2014-06-10 15:48:53 +01:00
Daniel Kolesa 2d5806294a elua: never actually fail parsing (keep error messages for debug, hidden by default) 2014-06-10 15:48:53 +01:00
Daniel Kolesa 9c3f65640c elua: pre-parse flags in xgettext app 2014-06-10 15:48:53 +01:00
Daniel Kolesa e32a1d7e78 elua: xgettext's semantics are WTF, but okay, emulate it 2014-06-10 15:48:53 +01:00
Daniel Kolesa d0ff647776 elua: new util: table.uniq, and use it in xgettext generator 2014-06-10 15:48:53 +01:00
Daniel Kolesa aab605e36a elua: properly copy flags around 2014-06-10 15:48:52 +01:00
Daniel Kolesa ef2ad4f473 elua: fix xgettext --extract-all 2014-06-10 15:48:52 +01:00
Daniel Kolesa 378b376cc8 elua: complete lexer (lex all valid tokens) 2014-06-10 15:48:52 +01:00
Daniel Kolesa 272a96de42 elua: update eolian implements api 2014-06-10 15:48:52 +01:00
Daniel Kolesa 9d5b2d433e elua: prepare xgettext for flag comments and try to emulate xgettext's silly behavior when it comes to concatenating comments 2014-06-10 15:48:52 +01:00
Daniel Kolesa d8caf323d8 elua: fix xgettext 2014-06-10 15:48:52 +01:00
Daniel Kolesa 88473de76a elua: fixed up the xgettext lua lexer/parser/generator 2014-06-10 15:48:52 +01:00
Daniel Kolesa be3e046865 elua: can only specify a keyword once 2014-06-10 15:48:52 +01:00
Daniel Kolesa 819b65090b elua: support for -a (--extract-all) option in xgettext 2014-06-10 15:48:52 +01:00
Daniel Kolesa 926282026b elua: merge comments in xgettext generator 2014-06-10 15:48:52 +01:00
Daniel Kolesa 7950c55965 elua: respect add-location / no-location options in xgettext 2014-06-10 15:48:52 +01:00
Daniel Kolesa ee8cdc5411 elua: group messages with the same contents together, generate grouped line info 2014-06-10 15:48:52 +01:00
Daniel Kolesa 7cf6a8abb0 elua: line information in the generated output 2014-06-10 15:48:52 +01:00
Daniel Kolesa a0b8f72ae9 elua: respect msgstr prefix and suffix in xgettext 2014-06-10 15:48:52 +01:00
Daniel Kolesa b638f4d034 elua: respect comment tags in the lexer 2014-06-10 15:48:52 +01:00
Daniel Kolesa b2af5ff97e elua: pass opts, flags around 2014-06-10 15:48:52 +01:00
Daniel Kolesa 0e5f9bc151 elua: change xgettext lexer to never include delimiters and also expand \n escape sequence in short strings to actual newline (no other escapes get this treatment) 2014-06-10 15:48:52 +01:00
Daniel Kolesa 297f9a821a elua: almost functional xgettext generator 2014-06-10 15:48:52 +01:00
Daniel Kolesa d8010702e8 elua: initial stuff for the xgettext generator, check existence of all input files beforehand in the app, and other fixes 2014-06-10 15:48:52 +01:00
Daniel Kolesa a98b916a74 elua: get_cmdline_from_argv cleanup + use _popen on windows 2014-06-10 15:48:52 +01:00
Daniel Kolesa 4311dc0439 elua: fclose before realpath 2014-06-10 15:48:52 +01:00
Daniel Kolesa 0647e0e2c0 evil: remove fork (buggy) 2014-06-10 15:48:52 +01:00
Daniel Kolesa 489b5fac11 elua: do not use fork in our "array popen" impl; instead serialize args in a platform specific way 2014-06-10 15:48:52 +01:00
Daniel Kolesa cf4256c94a elua: possible helper usage for different stuff than just generation 2014-06-10 15:48:52 +01:00
Daniel Kolesa 876adb13e5 elua: extra cond 2014-06-10 15:48:52 +01:00
Daniel Kolesa 91ba672609 elua: preparation for lua file generation 2014-06-10 15:48:52 +01:00
Daniel Kolesa 6558d1ccc9 elua: reformat C source to EFL style 2014-06-10 15:48:52 +01:00
Daniel Kolesa 5f1e08bddf elua: remove prefix stripping from lualian 2014-06-10 15:48:52 +01:00
Daniel Kolesa 6614d02a69 elua: update lualian against latest eolian API 2014-06-10 15:48:52 +01:00
Daniel Kolesa 6896f2949e elua: xgettext parser: proper keyword parsing 2014-06-10 15:48:51 +01:00
Daniel Kolesa a47dc77a8a elua: xgettext parser argument parsing 2014-06-10 15:48:51 +01:00
Daniel Kolesa 812a601548 elua: extend the xgettext parser a bit 2014-06-10 15:48:51 +01:00
Daniel Kolesa 839ce0f651 elua: xgettext keyword fix 2014-06-10 15:48:51 +01:00
Daniel Kolesa b168a515e2 elua: sanitize keywords and extract info in xgettext (include default keywords for lua), dgettext and dngettext compatibility calls 2014-06-10 15:48:51 +01:00
Daniel Kolesa 00bec70b69 elua: initial work on parser part of the extractor 2014-06-10 15:48:51 +01:00
Daniel Kolesa 3f4fd784c2 elua: file search function 2014-06-10 15:48:51 +01:00
Daniel Kolesa 7c449a14e1 elua: make xgettext use excluded_files, do some re-mappings, and have a default search dir 2014-06-10 15:48:51 +01:00
Daniel Kolesa 02ef160621 evil: add fork, adjust elua to use that 2014-06-10 15:48:51 +01:00
Daniel Kolesa 9c42595225 elua: popenv fix (read proper stack items as args), getopt fix (fixed array append), xgettext: use cutil.popenv 2014-06-10 15:48:51 +01:00
Daniel Kolesa e9b555c57b elua: popenv function 2014-06-10 15:48:51 +01:00
Daniel Kolesa a04948c02f elua: fork_win cleanup 2014-06-10 15:48:51 +01:00
Daniel Kolesa 420f7a869a elua: include fork_win.c in compilation 2014-06-10 15:48:51 +01:00
Daniel Kolesa 88ca0dbf3f elua: custom non-shell popen implementation 2014-06-10 15:48:51 +01:00
Daniel Kolesa 30415f9261 elua: fork impl for windows 2014-06-10 15:48:51 +01:00
Daniel Kolesa fd6c1f6888 elua: comment is a valid token in xgettext 2014-06-10 15:48:51 +01:00
Daniel Kolesa 5b7f44ea5b elua: add build_args function to core cutil library, for building normalized args string in a platform independent way 2014-06-10 15:48:51 +01:00
Daniel Kolesa 9bb3667e2b elua: xgettext is again at least partially functional 2014-06-10 15:48:51 +01:00
Daniel Kolesa 139502dc76 elua: handle all xgettext args correctly 2014-06-10 15:48:51 +01:00
Daniel Kolesa b1bfd90d40 elua: xgettext progress, currently broken 2014-06-10 15:48:51 +01:00
Daniel Kolesa 708aaeeb12 elua: pass opts to callback 2014-06-10 15:48:51 +01:00
Daniel Kolesa 6d739a8746 elua: ngettext support 2014-06-10 15:48:51 +01:00
Daniel Kolesa 63ccaee7fd elua: ability to specify custom opts table for each desc in getopt 2014-06-10 15:48:51 +01:00
Daniel Kolesa bc2b6b503f elua: simplified getopt (allocates fewer tables) 2014-06-10 15:48:51 +01:00
Daniel Kolesa 01a4fd89d2 elua: do not include the : in arg[0] 2014-06-10 15:48:51 +01:00
Daniel Kolesa ab05d47d7c elua: free format buffers immediately 2014-06-10 15:48:51 +01:00
Daniel Kolesa e8b356858b elua: never pcall in format, instead keep track of the types properly 2014-06-10 15:48:51 +01:00
Daniel Kolesa ebbce82403 elua: perform conversion beforehand 2014-06-10 15:48:51 +01:00
Daniel Kolesa 654653bc4a elua: check types manually instead of pcall in one place for format 2014-06-10 15:48:51 +01:00
Daniel Kolesa 5eccfb29b7 elua: some more checking for no value 2014-06-10 15:48:51 +01:00
Daniel Kolesa 0c7b3e5d6b elua: format bug fix 2014-06-10 15:48:51 +01:00
Daniel Kolesa b304316b81 elua: better error handling for format 2014-06-10 15:48:51 +01:00
Daniel Kolesa 3da9de3d41 elua: use string buffer in all places for format plus extra optimizations 2014-06-10 15:48:50 +01:00
Daniel Kolesa a6e50fa9c7 elua: use custom string buffer impl for format (avoids multiple table allocs and calls to string.char) 2014-06-10 15:48:50 +01:00
Daniel Kolesa 8738ca957d elua: slight optimization of format func 2014-06-10 15:48:50 +01:00
Daniel Kolesa 006a49ddda elua: relatively slow but very powerful string formatter with support for positional and named format arguments, invoked via % 2014-06-10 15:48:50 +01:00
Daniel Kolesa e33efdb745 elua: xgettext: support for -X 2014-06-10 15:48:50 +01:00
Daniel Kolesa c0baa15b11 elua: insert input files always after opts 2014-06-10 15:48:50 +01:00
Daniel Kolesa d90bba655f elua: expand the input file lists for xgettext call (we want to leave out lua files) 2014-06-10 15:48:50 +01:00
Daniel Kolesa bebe011676 elua: use the new app loading system 2014-06-10 15:48:50 +01:00
Daniel Kolesa 544bf37c30 elua: a general system for application loading without having to specify explicit path 2014-06-10 15:48:50 +01:00
Daniel Kolesa 85367d35be elua: match file extensions in a case insensitive way 2014-06-10 15:48:50 +01:00
Daniel Kolesa 38ae60f744 elua: more checks 2014-06-10 15:48:50 +01:00
Daniel Kolesa 69a64dd620 elua: a bit more informative getopt plus better arg handling when calling to xgettext 2014-06-10 15:48:50 +01:00
Daniel Kolesa 344c1cbaf1 elua: more informative getopt 2014-06-10 15:48:50 +01:00
Daniel Kolesa 55b7973e56 elua: xgettext lexer enhancements 2014-06-10 15:48:50 +01:00
Daniel Kolesa 23c27f06c5 elua: simplified source 2014-06-10 15:48:50 +01:00
Daniel Kolesa b71231d93d elua: typo fix 2014-06-10 15:48:50 +01:00
Daniel Kolesa 341d8a9168 elua: typo fix 2014-06-10 15:48:50 +01:00
Daniel Kolesa dd8e3b433f elua: use an appropriately sized buffer 2014-06-10 15:48:50 +01:00
Daniel Kolesa 6220dd5968 elua: lexer for xgettext 2014-06-10 15:48:50 +01:00
Daniel Kolesa cbeaf5b58a elua: utility func to exec a process (without spawning a shell like os.execute) 2014-06-10 15:48:50 +01:00
Daniel Kolesa 58409c521a elua: trigger xgettext execution from xgettext.lua, which is executed by xgettext_wrapper 2014-06-10 15:48:50 +01:00
Daniel Kolesa 4dfec82877 elua: support the EFL_RUN_IN_TREE environment variable 2014-06-10 15:48:50 +01:00
Daniel Kolesa 57ebf0e02c elua: initial code for xgettext.lua, a xgettext variant that supports lua
will be used to handle i18n for lua files in EFL (because only gettext 0.18.3+ supports Lua) and it'll be usable standalone too, it will also be able of handling more things than lua support in xgettext does (e.g. concatenated string literals will be considered one string)
2014-06-10 15:48:50 +01:00
Daniel Kolesa 3fd4399c6f elua: allow description of positional arguments in help in getopt (using metavar field without short/long) 2014-06-10 15:48:50 +01:00
Daniel Kolesa c427742634 elua: support for omitting things from help 2014-06-10 15:48:50 +01:00
Daniel Kolesa 8c047b6170 elua: support for eolian typedefs, unfrotunately it's just a stub for now as eolian typedefs haven't been landed in master yet 2014-06-10 15:48:50 +01:00
Daniel Kolesa 69ae66e083 elua: remove some superfluous fields in eolian bindings 2014-06-10 15:48:50 +01:00
Daniel Kolesa 3c42301f00 elua: in/out fix 2014-06-10 15:48:50 +01:00
Daniel Kolesa 176e41020d elua: remove leftover 2014-06-10 15:48:50 +01:00
Daniel Kolesa 98192dd8c3 elua: we don't need to include func name in conversion funcs (they're all the same...), also print out the required conversion functions during gen 2014-06-10 15:48:50 +01:00
Daniel Kolesa 13f3c616d5 elua: pass ownership information to converters 2014-06-10 15:48:49 +01:00
Daniel Kolesa e90973e5cb elua: eolian fix (return nil instead of null in type_information_get), generate different names for type conversion funcs 2014-06-10 15:48:49 +01:00
Daniel Kolesa a0838343cb elua: lualian reorg 2014-06-10 15:48:49 +01:00
Daniel Kolesa 5b307c282b elua: support for list appends in elua.getopt 2014-06-10 15:48:49 +01:00
Daniel Kolesa f0330e5692 elua: alignment 2014-06-10 15:48:49 +01:00
Daniel Kolesa 7eff92c055 elua: getopt help alignment 2014-06-10 15:48:49 +01:00
Daniel Kolesa 15dd9dd623 elua: enforce posixly_correct in getopt_long of elua 2014-06-10 15:48:49 +01:00
Daniel Kolesa ae4daa5401 elua: also use hash fields to store resulting optional arguments 2014-06-10 15:48:49 +01:00
Daniel Kolesa 8c5cfce2a4 elua: if script returns true, do not start the main loop 2014-06-10 15:48:49 +01:00
Daniel Kolesa a94c216442 elua: match help categories in a case insensitive way, and add them to lualian 2014-06-10 15:48:49 +01:00
Daniel Kolesa e293536915 elua: getopt: support for categories in help callback, fix newline insertion in help 2014-06-10 15:48:49 +01:00
Daniel Kolesa d3d09f7df6 elua: support for return values in getopt help 2014-06-10 15:48:49 +01:00
Daniel Kolesa bdecee2eca elua: support for help categories in getopt 2014-06-10 15:48:49 +01:00
Daniel Kolesa 310a8ab13b elua: support for "done" callback in getopt 2014-06-10 15:48:49 +01:00
Daniel Kolesa 131826a083 elua: error callback in getopt 2014-06-10 15:48:49 +01:00
Daniel Kolesa c9b1378217 elua: use callbacks more in lualian 2014-06-10 15:48:49 +01:00
Daniel Kolesa 46f07a670e elua: getopt support for callbacks 2014-06-10 15:48:49 +01:00
Daniel Kolesa cde3ce5220 elua: smarter progname replacement in getopt 2014-06-10 15:48:49 +01:00
Daniel Kolesa 1afd1e6f27 elua: getopt api improvement 2014-06-10 15:48:49 +01:00
Daniel Kolesa 3130a0ec20 elua: remove license printing 2014-06-10 15:48:49 +01:00
Daniel Kolesa 8056a85428 elua: support for default domain in gettext module 2014-06-10 15:48:49 +01:00
Daniel Kolesa aaaf103234 elua: gettext cleanups, use ffi for calling into gettext to speed it up 2014-06-10 15:48:49 +01:00
Daniel Kolesa 76b445fb6d elua: i18n/l10n support including gettext module for user apps, bump gettext requirement to 0.18.3 (required for lua support in xgettext) 2014-06-10 15:48:49 +01:00
Daniel Kolesa 7876dd579f elua: lualian: remove out/inout support on keys 2014-06-10 15:48:49 +01:00
Daniel Kolesa 754f0fee79 elua: lualian: with directory scanning in, there is no need to do this anymore 2014-06-10 15:48:49 +01:00
Daniel Kolesa 4f7cdefbee elua: geometry and size parsing support in getopt 2014-06-10 15:48:49 +01:00
Daniel Kolesa 6da958d462 elua: initial support for complex types in lualian plus bug fixes 2014-06-10 15:48:49 +01:00
Daniel Kolesa 6a5057ef0d elua getopt: support for optional values 2014-06-10 15:48:49 +01:00
Daniel Kolesa 19c87a870e elua: cover the new eolian APIs 2014-06-10 15:48:49 +01:00
q66 e7ed8b08f9 elua: lualian can now query type information 2014-06-10 15:48:49 +01:00
q66 c593e67306 elua: lualian now has access to types 2014-06-10 15:48:49 +01:00
q66 61b7fd28b8 elua: start support for eolian complex types 2014-06-10 15:48:49 +01:00
q66 425f551e85 elua: minor update 2014-06-10 15:48:48 +01:00
q66 53f9a93328 elua: update against eolian API 2014-06-10 15:48:48 +01:00
Daniel Kolesa e2f912aa03 elua: remove getopt-like interface from getopt.lua, use descs directly instead, and add a system of aliases (optional) 2014-06-10 15:48:48 +01:00
Daniel Kolesa e742b758d2 elua: do not use ecore_getopt, getopt.lua improvements and fixes, initial lualian generator script, lualian module changes 2014-06-10 15:48:48 +01:00
Daniel Kolesa 17be497fc2 elua: help support in getopt 2014-06-10 15:48:48 +01:00
Daniel Kolesa 975ca2634f elua: declarative version of the getopt function 2014-06-10 15:48:48 +01:00
Daniel Kolesa 27a5151bd8 elua: getopt module 2014-06-10 15:48:48 +01:00
Daniel Kolesa cefd51b955 elua: adjust module system for injection into loaded table nad preload, lualian can now inject inside of existing modules 2014-06-10 15:48:48 +01:00
Daniel Kolesa 942d684825 elua: register classes in lualian generated code 2014-06-10 15:48:48 +01:00
Daniel Kolesa d301b5bb84 elua: use actual class_get functions instead of placeholder 2014-06-10 15:48:48 +01:00
Daniel Kolesa 10c68c59c8 elua: generate a default constructor if none provided 2014-06-10 15:48:48 +01:00
Daniel Kolesa 3b053abdac elua: lualian support for non-default constructors, and a fix in event generation 2014-06-10 15:48:48 +01:00
Daniel Kolesa ad2aa8e9a9 elua: basic constructor generation in lualian 2014-06-10 15:48:48 +01:00
Daniel Kolesa 3f70a9a79e elua: respect possible retval from ctor 2014-06-10 15:48:48 +01:00
Daniel Kolesa 2f678f862d elua: make it possible to return values from constructors 2014-06-10 15:48:48 +01:00
Daniel Kolesa c68a73d6e2 elua: cleanup 2014-06-10 15:48:48 +01:00
Daniel Kolesa 437c2cf68f elua: event fix 2014-06-10 15:48:48 +01:00
Daniel Kolesa c2d581631b elua: functional event generation 2014-06-10 15:48:48 +01:00
Daniel Kolesa 92f6397b96 elua: event ffi generation 2014-06-10 15:48:48 +01:00
Daniel Kolesa fd34396c0e elua: initial code for lualian events and remove default constructor nonsense 2014-06-10 15:48:48 +01:00
Daniel Kolesa b79bd85f8f elua: more refined type conversions in lualian 2014-06-10 15:48:48 +01:00