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
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
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
2f678f862d
elua: make it possible to return values from constructors
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
Daniel Kolesa
f415c10f41
elua: specialize Evas_Coord
2014-06-10 15:48:48 +01:00
Daniel Kolesa
f9ee9e8673
elua: get rid of a warning
2014-06-10 15:48:48 +01:00
Daniel Kolesa
8b83976295
elua: better lualian type conversions
2014-06-10 15:48:48 +01:00
Daniel Kolesa
097f02bcc7
elua: basic type conversion support in lualian
2014-06-10 15:48:48 +01:00
Daniel Kolesa
5b29cc38e1
elua: check for property/method scope in lualian (don't generate code for protected methods as they're only usable within implementations)
2014-06-10 15:48:48 +01:00
Daniel Kolesa
a9d3df6523
elua: class prefix stripping support
2014-06-10 15:48:48 +01:00
Daniel Kolesa
6e119370e9
elua: wrap multiple-return properties
2014-06-10 15:48:48 +01:00
Daniel Kolesa
b2aa896932
elua: lualian can now generate methods
2014-06-10 15:48:48 +01:00
Daniel Kolesa
2cb887be13
elua: bindings fixes, lualian can now generate properties correctly (doesn't perform type conversions yet)
2014-06-10 15:48:48 +01:00
Daniel Kolesa
567ff9f0b3
elua: fixes and more lualian stuff
2014-06-10 15:48:47 +01:00
Daniel Kolesa
534818eaba
elua: more lualian functionality
2014-06-10 15:48:47 +01:00
Daniel Kolesa
aae4567b4d
elua: eina bindings fixes, include support in lualian
2014-06-10 15:48:47 +01:00
Daniel Kolesa
7508be9cdb
elua: mixin
2014-06-10 15:48:47 +01:00
Daniel Kolesa
b930c9c432
elua: property support in object system, lualian progress, initial (incomplete) eo bindings
2014-06-10 15:48:47 +01:00
Daniel Kolesa
2ba2b1f6bf
elua: initial code for lualian, a luajit binding generator based on eolian
2014-06-10 15:48:47 +01:00
Daniel Kolesa
08e0fea8ca
elua: list and readonly object fixes
2014-06-10 15:48:47 +01:00
Daniel Kolesa
588d06d157
elua: fixes
2014-06-10 15:48:47 +01:00
Daniel Kolesa
c12b55696d
elua: the -E parameter now works (ignores env vars)
2014-06-10 15:48:47 +01:00
Daniel Kolesa
473549219e
elua: overridable core+modules directory paths (via command line argument or environment variables) plus support for extra lib paths via -L
2014-06-10 15:48:47 +01:00
Daniel Kolesa
6c8fc0a87e
elua: add Readonly_Object to util.lua (its instances are read only userdata, requires special care, but is not intended for the user), use it in List
2014-06-10 15:48:47 +01:00
Daniel Kolesa
210cfb81e2
elua: use standard error() call instead of returning true/false in module init
2014-06-10 15:48:47 +01:00
Daniel Kolesa
bce656b93f
elua: benchmark module, plus return values for init/shutdown
2014-06-10 15:48:47 +01:00
Daniel Kolesa
da9fbe677f
elua: initial eina_file bindings, iterator container retrieval support and cleanup of main.c
2014-06-10 15:48:46 +01:00
Daniel Kolesa
b3c36138f9
elua: elm test entry
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