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)
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...
Daniel Kolesa [Wed, 28 May 2014 14:42:26 +0000 (15:42 +0100)]
elua: possible helper usage for different stuff than just generation
Daniel Kolesa [Wed, 28 May 2014 13:50:51 +0000 (14:50 +0100)]
elua: extra cond
Daniel Kolesa [Wed, 28 May 2014 13:44:32 +0000 (14:44 +0100)]
elua: preparation for lua file generation
Daniel Kolesa [Wed, 28 May 2014 12:36:52 +0000 (13:36 +0100)]
elua: reformat C source to EFL style
Daniel Kolesa [Tue, 27 May 2014 14:27:41 +0000 (15:27 +0100)]
elua: remove prefix stripping from lualian
Daniel Kolesa [Tue, 27 May 2014 14:20:23 +0000 (15:20 +0100)]
elua: update lualian against latest eolian API
Daniel Kolesa [Tue, 27 May 2014 13:22:51 +0000 (14:22 +0100)]
elua: xgettext parser: proper keyword parsing
Daniel Kolesa [Tue, 27 May 2014 12:26:52 +0000 (13:26 +0100)]
elua: xgettext parser argument parsing
Daniel Kolesa [Fri, 23 May 2014 14:43:12 +0000 (15:43 +0100)]
elua: extend the xgettext parser a bit
Daniel Kolesa [Fri, 23 May 2014 13:18:54 +0000 (14:18 +0100)]
elua: xgettext keyword fix
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
Daniel Kolesa [Thu, 22 May 2014 13:12:09 +0000 (14:12 +0100)]
elua: initial work on parser part of the extractor
Daniel Kolesa [Thu, 22 May 2014 13:07:02 +0000 (14:07 +0100)]
elua: file search function
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
Daniel Kolesa [Thu, 22 May 2014 09:46:39 +0000 (10:46 +0100)]
evil: add fork, adjust elua to use that
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
Daniel Kolesa [Wed, 21 May 2014 13:24:18 +0000 (14:24 +0100)]
elua: popenv function
Daniel Kolesa [Wed, 21 May 2014 09:38:46 +0000 (10:38 +0100)]
elua: fork_win cleanup
Daniel Kolesa [Fri, 16 May 2014 15:44:37 +0000 (16:44 +0100)]
elua: include fork_win.c in compilation
Daniel Kolesa [Fri, 16 May 2014 15:43:42 +0000 (16:43 +0100)]
elua: custom non-shell popen implementation
Daniel Kolesa [Fri, 16 May 2014 14:01:41 +0000 (15:01 +0100)]
elua: fork impl for windows
Daniel Kolesa [Thu, 15 May 2014 14:56:51 +0000 (15:56 +0100)]
elua: comment is a valid token in xgettext
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
Daniel Kolesa [Thu, 15 May 2014 14:01:49 +0000 (15:01 +0100)]
elua: xgettext is again at least partially functional
Daniel Kolesa [Thu, 15 May 2014 13:11:06 +0000 (14:11 +0100)]
elua: handle all xgettext args correctly
Daniel Kolesa [Wed, 14 May 2014 13:35:40 +0000 (14:35 +0100)]
elua: xgettext progress, currently broken
Daniel Kolesa [Wed, 14 May 2014 09:22:53 +0000 (10:22 +0100)]
elua: pass opts to callback
Daniel Kolesa [Tue, 13 May 2014 16:08:05 +0000 (17:08 +0100)]
elua: ngettext support
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
Daniel Kolesa [Tue, 13 May 2014 14:33:10 +0000 (15:33 +0100)]
elua: simplified getopt (allocates fewer tables)
Daniel Kolesa [Tue, 13 May 2014 12:17:15 +0000 (13:17 +0100)]
elua: do not include the : in arg[0]
Daniel Kolesa [Fri, 9 May 2014 13:25:23 +0000 (14:25 +0100)]
elua: free format buffers immediately
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
Daniel Kolesa [Fri, 9 May 2014 12:26:37 +0000 (13:26 +0100)]
elua: perform conversion beforehand
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
Daniel Kolesa [Fri, 9 May 2014 12:10:23 +0000 (13:10 +0100)]
elua: some more checking for no value
Daniel Kolesa [Fri, 9 May 2014 12:08:32 +0000 (13:08 +0100)]
elua: format bug fix
Daniel Kolesa [Fri, 9 May 2014 11:59:07 +0000 (12:59 +0100)]
elua: better error handling for format
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
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)
Daniel Kolesa [Fri, 9 May 2014 10:29:49 +0000 (11:29 +0100)]
elua: slight optimization of format func
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 %
Daniel Kolesa [Wed, 7 May 2014 12:53:00 +0000 (13:53 +0100)]
elua: xgettext: support for -X
Daniel Kolesa [Wed, 7 May 2014 10:35:02 +0000 (11:35 +0100)]
elua: insert input files always after opts
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)
Daniel Kolesa [Wed, 7 May 2014 10:19:24 +0000 (11:19 +0100)]
elua: use the new app loading system
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
Daniel Kolesa [Wed, 7 May 2014 09:42:31 +0000 (10:42 +0100)]
elua: match file extensions in a case insensitive way
Daniel Kolesa [Wed, 7 May 2014 09:41:19 +0000 (10:41 +0100)]
elua: more checks
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
Daniel Kolesa [Wed, 7 May 2014 09:22:50 +0000 (10:22 +0100)]
elua: more informative getopt
Daniel Kolesa [Wed, 7 May 2014 09:17:29 +0000 (10:17 +0100)]
elua: xgettext lexer enhancements
Daniel Kolesa [Wed, 7 May 2014 09:09:52 +0000 (10:09 +0100)]
elua: simplified source
Daniel Kolesa [Wed, 7 May 2014 08:53:28 +0000 (09:53 +0100)]
elua: typo fix
Daniel Kolesa [Tue, 6 May 2014 16:04:47 +0000 (17:04 +0100)]
elua: typo fix
Daniel Kolesa [Tue, 6 May 2014 15:14:20 +0000 (16:14 +0100)]
elua: use an appropriately sized buffer
Daniel Kolesa [Tue, 6 May 2014 15:07:10 +0000 (16:07 +0100)]
elua: lexer for xgettext
Daniel Kolesa [Tue, 6 May 2014 12:44:56 +0000 (13:44 +0100)]
elua: remove xgettext_wrapper, instead expand the whole command into Makevars
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)
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
Daniel Kolesa [Tue, 6 May 2014 10:15:50 +0000 (11:15 +0100)]
elua: support the EFL_RUN_IN_TREE environment variable
Daniel Kolesa [Tue, 6 May 2014 09:18:36 +0000 (10:18 +0100)]
elua: use a xgettext wrapper
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)
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)
Daniel Kolesa [Fri, 2 May 2014 12:26:44 +0000 (13:26 +0100)]
elua: support for omitting things from help
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
Daniel Kolesa [Thu, 1 May 2014 13:29:30 +0000 (14:29 +0100)]
elua: remove some superfluous fields in eolian bindings
Daniel Kolesa [Thu, 1 May 2014 13:18:02 +0000 (14:18 +0100)]
elua: in/out fix
Daniel Kolesa [Thu, 1 May 2014 13:07:04 +0000 (14:07 +0100)]
elua: remove leftover
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
Daniel Kolesa [Thu, 1 May 2014 12:50:07 +0000 (13:50 +0100)]
elua: pass ownership information to converters
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
Daniel Kolesa [Wed, 30 Apr 2014 13:44:44 +0000 (14:44 +0100)]
elua: lualian reorg
Daniel Kolesa [Wed, 30 Apr 2014 13:30:18 +0000 (14:30 +0100)]
elua: support for list appends in elua.getopt
Daniel Kolesa [Wed, 30 Apr 2014 11:04:41 +0000 (12:04 +0100)]
elua: alignment
Daniel Kolesa [Wed, 30 Apr 2014 11:00:36 +0000 (12:00 +0100)]
elua: getopt help alignment
Daniel Kolesa [Wed, 30 Apr 2014 10:17:25 +0000 (11:17 +0100)]
elua: enforce posixly_correct in getopt_long of elua
Daniel Kolesa [Wed, 30 Apr 2014 10:05:58 +0000 (11:05 +0100)]
elua: also use hash fields to store resulting optional arguments
Daniel Kolesa [Wed, 30 Apr 2014 09:55:35 +0000 (10:55 +0100)]
elua: if script returns true, do not start the main loop
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
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
Daniel Kolesa [Tue, 29 Apr 2014 16:01:39 +0000 (17:01 +0100)]
elua: support for return values in getopt help
Daniel Kolesa [Tue, 29 Apr 2014 15:59:16 +0000 (16:59 +0100)]
elua: support for help categories in getopt
Daniel Kolesa [Tue, 29 Apr 2014 09:50:12 +0000 (10:50 +0100)]
elua: support for "done" callback in getopt
Daniel Kolesa [Tue, 29 Apr 2014 09:41:39 +0000 (10:41 +0100)]
elua: error callback in getopt
Daniel Kolesa [Tue, 29 Apr 2014 09:35:12 +0000 (10:35 +0100)]
elua: use callbacks more in lualian
Daniel Kolesa [Tue, 29 Apr 2014 09:28:00 +0000 (10:28 +0100)]
elua: getopt support for callbacks
Daniel Kolesa [Tue, 29 Apr 2014 09:14:45 +0000 (10:14 +0100)]
elua: smarter progname replacement in getopt
Daniel Kolesa [Tue, 29 Apr 2014 09:03:40 +0000 (10:03 +0100)]
elua: getopt api improvement
Daniel Kolesa [Tue, 29 Apr 2014 09:00:26 +0000 (10:00 +0100)]
elua: remove license printing
Daniel Kolesa [Mon, 28 Apr 2014 13:41:58 +0000 (14:41 +0100)]
elua: support for default domain in gettext module
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
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)
Daniel Kolesa [Mon, 28 Apr 2014 10:43:12 +0000 (11:43 +0100)]
elua: lualian: remove out/inout support on keys
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
Daniel Kolesa [Mon, 28 Apr 2014 09:47:01 +0000 (10:47 +0100)]
elua: geometry and size parsing support in getopt
Daniel Kolesa [Mon, 28 Apr 2014 09:35:33 +0000 (10:35 +0100)]
elua: initial support for complex types in lualian plus bug fixes
Daniel Kolesa [Mon, 28 Apr 2014 09:10:10 +0000 (10:10 +0100)]
elua getopt: support for optional values