platform/upstream/efl.git
10 years agoelua: do not use fork in our "array popen" impl; instead serialize args in a platform...
Daniel Kolesa [Thu, 29 May 2014 14:21:50 +0000 (15:21 +0100)]
elua: do not use fork in our "array popen" impl; instead serialize args in a platform specific way

10 years agoelua: if ugly, then at least portable (we already assume presence of bourne shell...
Daniel Kolesa [Wed, 28 May 2014 15:27:40 +0000 (16:27 +0100)]
elua: if ugly, then at least portable (we already assume presence of bourne shell on windows, so a wrapper doesn't hurt)

10 years agoelua: generate Makevars from Makevars.in with a dynamic conditional... sadly there...
Daniel Kolesa [Wed, 28 May 2014 15:10:09 +0000 (16:10 +0100)]
elua: generate Makevars from Makevars.in with a dynamic conditional... sadly there doesn't seem to be any other way...

10 years agoelua: possible helper usage for different stuff than just generation
Daniel Kolesa [Wed, 28 May 2014 14:42:26 +0000 (15:42 +0100)]
elua: possible helper usage for different stuff than just generation

10 years agoelua: extra cond
Daniel Kolesa [Wed, 28 May 2014 13:50:51 +0000 (14:50 +0100)]
elua: extra cond

10 years agoelua: preparation for lua file generation
Daniel Kolesa [Wed, 28 May 2014 13:44:32 +0000 (14:44 +0100)]
elua: preparation for lua file generation

10 years agoelua: reformat C source to EFL style
Daniel Kolesa [Wed, 28 May 2014 12:36:52 +0000 (13:36 +0100)]
elua: reformat C source to EFL style

10 years agoelua: remove prefix stripping from lualian
Daniel Kolesa [Tue, 27 May 2014 14:27:41 +0000 (15:27 +0100)]
elua: remove prefix stripping from lualian

10 years agoelua: update lualian against latest eolian API
Daniel Kolesa [Tue, 27 May 2014 14:20:23 +0000 (15:20 +0100)]
elua: update lualian against latest eolian API

10 years agoelua: xgettext parser: proper keyword parsing
Daniel Kolesa [Tue, 27 May 2014 13:22:51 +0000 (14:22 +0100)]
elua: xgettext parser: proper keyword parsing

10 years agoelua: xgettext parser argument parsing
Daniel Kolesa [Tue, 27 May 2014 12:26:52 +0000 (13:26 +0100)]
elua: xgettext parser argument parsing

10 years agoelua: extend the xgettext parser a bit
Daniel Kolesa [Fri, 23 May 2014 14:43:12 +0000 (15:43 +0100)]
elua: extend the xgettext parser a bit

10 years agoelua: xgettext keyword fix
Daniel Kolesa [Fri, 23 May 2014 13:18:54 +0000 (14:18 +0100)]
elua: xgettext keyword fix

10 years agoelua: sanitize keywords and extract info in xgettext (include default keywords for...
Daniel Kolesa [Fri, 23 May 2014 13:13:34 +0000 (14:13 +0100)]
elua: sanitize keywords and extract info in xgettext (include default keywords for lua), dgettext and dngettext compatibility calls

10 years agoelua: initial work on parser part of the extractor
Daniel Kolesa [Thu, 22 May 2014 13:12:09 +0000 (14:12 +0100)]
elua: initial work on parser part of the extractor

10 years agoelua: file search function
Daniel Kolesa [Thu, 22 May 2014 13:07:02 +0000 (14:07 +0100)]
elua: file search function

10 years agoelua: make xgettext use excluded_files, do some re-mappings, and have a default searc...
Daniel Kolesa [Thu, 22 May 2014 12:57:28 +0000 (13:57 +0100)]
elua: make xgettext use excluded_files, do some re-mappings, and have a default search dir

10 years agoevil: add fork, adjust elua to use that
Daniel Kolesa [Thu, 22 May 2014 09:46:39 +0000 (10:46 +0100)]
evil: add fork, adjust elua to use that

10 years agoelua: popenv fix (read proper stack items as args), getopt fix (fixed array append...
Daniel Kolesa [Wed, 21 May 2014 15:02:51 +0000 (16:02 +0100)]
elua: popenv fix (read proper stack items as args), getopt fix (fixed array append), xgettext: use cutil.popenv

10 years agoelua: popenv function
Daniel Kolesa [Wed, 21 May 2014 13:24:18 +0000 (14:24 +0100)]
elua: popenv function

10 years agoelua: fork_win cleanup
Daniel Kolesa [Wed, 21 May 2014 09:38:46 +0000 (10:38 +0100)]
elua: fork_win cleanup

10 years agoelua: include fork_win.c in compilation
Daniel Kolesa [Fri, 16 May 2014 15:44:37 +0000 (16:44 +0100)]
elua: include fork_win.c in compilation

10 years agoelua: custom non-shell popen implementation
Daniel Kolesa [Fri, 16 May 2014 15:43:42 +0000 (16:43 +0100)]
elua: custom non-shell popen implementation

10 years agoelua: fork impl for windows
Daniel Kolesa [Fri, 16 May 2014 14:01:41 +0000 (15:01 +0100)]
elua: fork impl for windows

10 years agoelua: comment is a valid token in xgettext
Daniel Kolesa [Thu, 15 May 2014 14:56:51 +0000 (15:56 +0100)]
elua: comment is a valid token in xgettext

10 years agoelua: add build_args function to core cutil library, for building normalized args...
Daniel Kolesa [Thu, 15 May 2014 14:43:56 +0000 (15:43 +0100)]
elua: add build_args function to core cutil library, for building normalized args string in a platform independent way

10 years agoelua: xgettext is again at least partially functional
Daniel Kolesa [Thu, 15 May 2014 14:01:49 +0000 (15:01 +0100)]
elua: xgettext is again at least partially functional

10 years agoelua: handle all xgettext args correctly
Daniel Kolesa [Thu, 15 May 2014 13:11:06 +0000 (14:11 +0100)]
elua: handle all xgettext args correctly

10 years agoelua: xgettext progress, currently broken
Daniel Kolesa [Wed, 14 May 2014 13:35:40 +0000 (14:35 +0100)]
elua: xgettext progress, currently broken

10 years agoelua: pass opts to callback
Daniel Kolesa [Wed, 14 May 2014 09:22:53 +0000 (10:22 +0100)]
elua: pass opts to callback

10 years agoelua: ngettext support
Daniel Kolesa [Tue, 13 May 2014 16:08:05 +0000 (17:08 +0100)]
elua: ngettext support

10 years agoelua: ability to specify custom opts table for each desc in getopt
Daniel Kolesa [Tue, 13 May 2014 14:39:55 +0000 (15:39 +0100)]
elua: ability to specify custom opts table for each desc in getopt

10 years agoelua: simplified getopt (allocates fewer tables)
Daniel Kolesa [Tue, 13 May 2014 14:33:10 +0000 (15:33 +0100)]
elua: simplified getopt (allocates fewer tables)

10 years agoelua: do not include the : in arg[0]
Daniel Kolesa [Tue, 13 May 2014 12:17:15 +0000 (13:17 +0100)]
elua: do not include the : in arg[0]

10 years agoelua: free format buffers immediately
Daniel Kolesa [Fri, 9 May 2014 13:25:23 +0000 (14:25 +0100)]
elua: free format buffers immediately

10 years agoelua: never pcall in format, instead keep track of the types properly
Daniel Kolesa [Fri, 9 May 2014 13:15:20 +0000 (14:15 +0100)]
elua: never pcall in format, instead keep track of the types properly

10 years agoelua: perform conversion beforehand
Daniel Kolesa [Fri, 9 May 2014 12:26:37 +0000 (13:26 +0100)]
elua: perform conversion beforehand

10 years agoelua: check types manually instead of pcall in one place for format
Daniel Kolesa [Fri, 9 May 2014 12:24:53 +0000 (13:24 +0100)]
elua: check types manually instead of pcall in one place for format

10 years agoelua: some more checking for no value
Daniel Kolesa [Fri, 9 May 2014 12:10:23 +0000 (13:10 +0100)]
elua: some more checking for no value

10 years agoelua: format bug fix
Daniel Kolesa [Fri, 9 May 2014 12:08:32 +0000 (13:08 +0100)]
elua: format bug fix

10 years agoelua: better error handling for format
Daniel Kolesa [Fri, 9 May 2014 11:59:07 +0000 (12:59 +0100)]
elua: better error handling for format

10 years agoelua: use string buffer in all places for format plus extra optimizations
Daniel Kolesa [Fri, 9 May 2014 10:50:37 +0000 (11:50 +0100)]
elua: use string buffer in all places for format plus extra optimizations

10 years agoelua: use custom string buffer impl for format (avoids multiple table allocs and...
Daniel Kolesa [Fri, 9 May 2014 10:37:52 +0000 (11:37 +0100)]
elua: use custom string buffer impl for format (avoids multiple table allocs and calls to string.char)

10 years agoelua: slight optimization of format func
Daniel Kolesa [Fri, 9 May 2014 10:29:49 +0000 (11:29 +0100)]
elua: slight optimization of format func

10 years agoelua: relatively slow but very powerful string formatter with support for positional...
Daniel Kolesa [Fri, 9 May 2014 10:11:39 +0000 (11:11 +0100)]
elua: relatively slow but very powerful string formatter with support for positional and named format arguments, invoked via %

10 years agoelua: xgettext: support for -X
Daniel Kolesa [Wed, 7 May 2014 12:53:00 +0000 (13:53 +0100)]
elua: xgettext: support for -X

10 years agoelua: insert input files always after opts
Daniel Kolesa [Wed, 7 May 2014 10:35:02 +0000 (11:35 +0100)]
elua: insert input files always after opts

10 years agoelua: expand the input file lists for xgettext call (we want to leave out lua files)
Daniel Kolesa [Wed, 7 May 2014 10:33:20 +0000 (11:33 +0100)]
elua: expand the input file lists for xgettext call (we want to leave out lua files)

10 years agoelua: use the new app loading system
Daniel Kolesa [Wed, 7 May 2014 10:19:24 +0000 (11:19 +0100)]
elua: use the new app loading system

10 years agoelua: a general system for application loading without having to specify explicit...
Daniel Kolesa [Wed, 7 May 2014 10:10:01 +0000 (11:10 +0100)]
elua: a general system for application loading without having to specify explicit path

10 years agoelua: match file extensions in a case insensitive way
Daniel Kolesa [Wed, 7 May 2014 09:42:31 +0000 (10:42 +0100)]
elua: match file extensions in a case insensitive way

10 years agoelua: more checks
Daniel Kolesa [Wed, 7 May 2014 09:41:19 +0000 (10:41 +0100)]
elua: more checks

10 years agoelua: a bit more informative getopt plus better arg handling when calling to xgettext
Daniel Kolesa [Wed, 7 May 2014 09:38:04 +0000 (10:38 +0100)]
elua: a bit more informative getopt plus better arg handling when calling to xgettext

10 years agoelua: more informative getopt
Daniel Kolesa [Wed, 7 May 2014 09:22:50 +0000 (10:22 +0100)]
elua: more informative getopt

10 years agoelua: xgettext lexer enhancements
Daniel Kolesa [Wed, 7 May 2014 09:17:29 +0000 (10:17 +0100)]
elua: xgettext lexer enhancements

10 years agoelua: simplified source
Daniel Kolesa [Wed, 7 May 2014 09:09:52 +0000 (10:09 +0100)]
elua: simplified source

10 years agoelua: typo fix
Daniel Kolesa [Wed, 7 May 2014 08:53:28 +0000 (09:53 +0100)]
elua: typo fix

10 years agoelua: typo fix
Daniel Kolesa [Tue, 6 May 2014 16:04:47 +0000 (17:04 +0100)]
elua: typo fix

10 years agoelua: use an appropriately sized buffer
Daniel Kolesa [Tue, 6 May 2014 15:14:20 +0000 (16:14 +0100)]
elua: use an appropriately sized buffer

10 years agoelua: lexer for xgettext
Daniel Kolesa [Tue, 6 May 2014 15:07:10 +0000 (16:07 +0100)]
elua: lexer for xgettext

10 years agoelua: remove xgettext_wrapper, instead expand the whole command into Makevars
Daniel Kolesa [Tue, 6 May 2014 12:44:56 +0000 (13:44 +0100)]
elua: remove xgettext_wrapper, instead expand the whole command into Makevars

10 years agoelua: utility func to exec a process (without spawning a shell like os.execute)
Daniel Kolesa [Tue, 6 May 2014 12:24:39 +0000 (13:24 +0100)]
elua: utility func to exec a process (without spawning a shell like os.execute)

10 years agoelua: trigger xgettext execution from xgettext.lua, which is executed by xgettext_wrapper
Daniel Kolesa [Tue, 6 May 2014 11:04:52 +0000 (12:04 +0100)]
elua: trigger xgettext execution from xgettext.lua, which is executed by xgettext_wrapper

10 years agoelua: support the EFL_RUN_IN_TREE environment variable
Daniel Kolesa [Tue, 6 May 2014 10:15:50 +0000 (11:15 +0100)]
elua: support the EFL_RUN_IN_TREE environment variable

10 years agoelua: use a xgettext wrapper
Daniel Kolesa [Tue, 6 May 2014 09:18:36 +0000 (10:18 +0100)]
elua: use a xgettext wrapper

10 years agoelua: initial code for xgettext.lua, a xgettext variant that supports lua
Daniel Kolesa [Fri, 2 May 2014 14:42:54 +0000 (15:42 +0100)]
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)

10 years agoelua: allow description of positional arguments in help in getopt (using metavar...
Daniel Kolesa [Fri, 2 May 2014 12:40:17 +0000 (13:40 +0100)]
elua: allow description of positional arguments in help in getopt (using metavar field without short/long)

10 years agoelua: support for omitting things from help
Daniel Kolesa [Fri, 2 May 2014 12:26:44 +0000 (13:26 +0100)]
elua: support for omitting things from help

10 years agoelua: support for eolian typedefs, unfrotunately it's just a stub for now as eolian...
Daniel Kolesa [Thu, 1 May 2014 16:00:32 +0000 (17:00 +0100)]
elua: support for eolian typedefs, unfrotunately it's just a stub for now as eolian typedefs haven't been landed in master yet

10 years agoelua: remove some superfluous fields in eolian bindings
Daniel Kolesa [Thu, 1 May 2014 13:29:30 +0000 (14:29 +0100)]
elua: remove some superfluous fields in eolian bindings

10 years agoelua: in/out fix
Daniel Kolesa [Thu, 1 May 2014 13:18:02 +0000 (14:18 +0100)]
elua: in/out fix

10 years agoelua: remove leftover
Daniel Kolesa [Thu, 1 May 2014 13:07:04 +0000 (14:07 +0100)]
elua: remove leftover

10 years agoelua: we don't need to include func name in conversion funcs (they're all the same...
Daniel Kolesa [Thu, 1 May 2014 13:05:20 +0000 (14:05 +0100)]
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

10 years agoelua: pass ownership information to converters
Daniel Kolesa [Thu, 1 May 2014 12:50:07 +0000 (13:50 +0100)]
elua: pass ownership information to converters

10 years agoelua: eolian fix (return nil instead of null in type_information_get), generate diffe...
Daniel Kolesa [Thu, 1 May 2014 12:41:35 +0000 (13:41 +0100)]
elua: eolian fix (return nil instead of null in type_information_get), generate different names for type conversion funcs

10 years agoelua: lualian reorg
Daniel Kolesa [Wed, 30 Apr 2014 13:44:44 +0000 (14:44 +0100)]
elua: lualian reorg

10 years agoelua: support for list appends in elua.getopt
Daniel Kolesa [Wed, 30 Apr 2014 13:30:18 +0000 (14:30 +0100)]
elua: support for list appends in elua.getopt

10 years agoelua: alignment
Daniel Kolesa [Wed, 30 Apr 2014 11:04:41 +0000 (12:04 +0100)]
elua: alignment

10 years agoelua: getopt help alignment
Daniel Kolesa [Wed, 30 Apr 2014 11:00:36 +0000 (12:00 +0100)]
elua: getopt help alignment

10 years agoelua: enforce posixly_correct in getopt_long of elua
Daniel Kolesa [Wed, 30 Apr 2014 10:17:25 +0000 (11:17 +0100)]
elua: enforce posixly_correct in getopt_long of elua

10 years agoelua: also use hash fields to store resulting optional arguments
Daniel Kolesa [Wed, 30 Apr 2014 10:05:58 +0000 (11:05 +0100)]
elua: also use hash fields to store resulting optional arguments

10 years agoelua: if script returns true, do not start the main loop
Daniel Kolesa [Wed, 30 Apr 2014 09:55:35 +0000 (10:55 +0100)]
elua: if script returns true, do not start the main loop

10 years agoelua: match help categories in a case insensitive way, and add them to lualian
Daniel Kolesa [Wed, 30 Apr 2014 09:32:50 +0000 (10:32 +0100)]
elua: match help categories in a case insensitive way, and add them to lualian

10 years agoelua: getopt: support for categories in help callback, fix newline insertion in help
Daniel Kolesa [Wed, 30 Apr 2014 09:23:56 +0000 (10:23 +0100)]
elua: getopt: support for categories in help callback, fix newline insertion in help

10 years agoelua: support for return values in getopt help
Daniel Kolesa [Tue, 29 Apr 2014 16:01:39 +0000 (17:01 +0100)]
elua: support for return values in getopt help

10 years agoelua: support for help categories in getopt
Daniel Kolesa [Tue, 29 Apr 2014 15:59:16 +0000 (16:59 +0100)]
elua: support for help categories in getopt

10 years agoelua: support for "done" callback in getopt
Daniel Kolesa [Tue, 29 Apr 2014 09:50:12 +0000 (10:50 +0100)]
elua: support for "done" callback in getopt

10 years agoelua: error callback in getopt
Daniel Kolesa [Tue, 29 Apr 2014 09:41:39 +0000 (10:41 +0100)]
elua: error callback in getopt

10 years agoelua: use callbacks more in lualian
Daniel Kolesa [Tue, 29 Apr 2014 09:35:12 +0000 (10:35 +0100)]
elua: use callbacks more in lualian

10 years agoelua: getopt support for callbacks
Daniel Kolesa [Tue, 29 Apr 2014 09:28:00 +0000 (10:28 +0100)]
elua: getopt support for callbacks

10 years agoelua: smarter progname replacement in getopt
Daniel Kolesa [Tue, 29 Apr 2014 09:14:45 +0000 (10:14 +0100)]
elua: smarter progname replacement in getopt

10 years agoelua: getopt api improvement
Daniel Kolesa [Tue, 29 Apr 2014 09:03:40 +0000 (10:03 +0100)]
elua: getopt api improvement

10 years agoelua: remove license printing
Daniel Kolesa [Tue, 29 Apr 2014 09:00:26 +0000 (10:00 +0100)]
elua: remove license printing

10 years agoelua: support for default domain in gettext module
Daniel Kolesa [Mon, 28 Apr 2014 13:41:58 +0000 (14:41 +0100)]
elua: support for default domain in gettext module

10 years agoelua: gettext cleanups, use ffi for calling into gettext to speed it up
Daniel Kolesa [Mon, 28 Apr 2014 13:34:26 +0000 (14:34 +0100)]
elua: gettext cleanups, use ffi for calling into gettext to speed it up

10 years agoelua: i18n/l10n support including gettext module for user apps, bump gettext requirem...
Daniel Kolesa [Mon, 28 Apr 2014 12:55:12 +0000 (13:55 +0100)]
elua: i18n/l10n support including gettext module for user apps, bump gettext requirement to 0.18.3 (required for lua support in xgettext)

10 years agoelua: lualian: remove out/inout support on keys
Daniel Kolesa [Mon, 28 Apr 2014 10:43:12 +0000 (11:43 +0100)]
elua: lualian: remove out/inout support on keys

10 years agoelua: lualian: with directory scanning in, there is no need to do this anymore
Daniel Kolesa [Mon, 28 Apr 2014 09:51:01 +0000 (10:51 +0100)]
elua: lualian: with directory scanning in, there is no need to do this anymore

10 years agoelua: geometry and size parsing support in getopt
Daniel Kolesa [Mon, 28 Apr 2014 09:47:01 +0000 (10:47 +0100)]
elua: geometry and size parsing support in getopt

10 years agoelua: initial support for complex types in lualian plus bug fixes
Daniel Kolesa [Mon, 28 Apr 2014 09:35:33 +0000 (10:35 +0100)]
elua: initial support for complex types in lualian plus bug fixes