Daniel Kolesa [Tue, 10 Jun 2014 14:17:12 +0000 (15:17 +0100)]
elua: fixes, expand wildcards
Daniel Kolesa [Tue, 10 Jun 2014 13:47:55 +0000 (14:47 +0100)]
elua: examples fix, distcheck fix
Daniel Kolesa [Tue, 10 Jun 2014 13:37:57 +0000 (14:37 +0100)]
elua: xgettext fixes
Daniel Kolesa [Tue, 10 Jun 2014 12:19:24 +0000 (13:19 +0100)]
elua: support for fallback xgettext in xgettext_wrapper
Daniel Kolesa [Tue, 10 Jun 2014 11:59:06 +0000 (12:59 +0100)]
elua: xgettext_wrapper newline fix
Daniel Kolesa [Tue, 10 Jun 2014 11:42:02 +0000 (12:42 +0100)]
elua: didn't want this
Daniel Kolesa [Tue, 10 Jun 2014 11:35:54 +0000 (12:35 +0100)]
elua: some janitoring (add newlines to the end of files)
Daniel Kolesa [Tue, 10 Jun 2014 11:29:25 +0000 (12:29 +0100)]
elua: install apps
Daniel Kolesa [Tue, 10 Jun 2014 11:26:06 +0000 (12:26 +0100)]
elua: better caching behavior (try to use bytecode first)
Daniel Kolesa [Tue, 10 Jun 2014 10:03:12 +0000 (11:03 +0100)]
elua: use eina_prefix
Daniel Kolesa [Mon, 9 Jun 2014 11:05:14 +0000 (12:05 +0100)]
elua: return the value properly in eo
Daniel Kolesa [Fri, 6 Jun 2014 14:41:29 +0000 (15:41 +0100)]
elua: make it possible to get class lua body from address
Daniel Kolesa [Fri, 6 Jun 2014 13:40:04 +0000 (14:40 +0100)]
elua: move __ctor_common, __do_start, __do_end out of the object (as it's effectively empty now, it can be generated)
Daniel Kolesa [Fri, 6 Jun 2014 10:40:16 +0000 (11:40 +0100)]
elua: generator fix
Daniel Kolesa [Fri, 6 Jun 2014 10:32:52 +0000 (11:32 +0100)]
elua: remove the implemented eo_base stuff - will be generated
Daniel Kolesa [Thu, 5 Jun 2014 15:28:10 +0000 (16:28 +0100)]
elua: use eo_finalize plus update bound eo api
Daniel Kolesa [Thu, 5 Jun 2014 14:56:31 +0000 (15:56 +0100)]
elua: do not generate entirely new list types
Daniel Kolesa [Thu, 5 Jun 2014 14:47:36 +0000 (15:47 +0100)]
elua: a simple list type generator in eina_list
Daniel Kolesa [Thu, 5 Jun 2014 14:43:35 +0000 (15:43 +0100)]
elua: eolian fix
Daniel Kolesa [Thu, 5 Jun 2014 13:24:14 +0000 (14:24 +0100)]
do not generate __M if not needed
Daniel Kolesa [Thu, 5 Jun 2014 13:17:30 +0000 (14:17 +0100)]
elua: better namespace handling in lualian generator (support more than 1 level of namespace)
Daniel Kolesa [Thu, 5 Jun 2014 12:47:22 +0000 (13:47 +0100)]
AUTHORS: add EFL-C++ and Elua
Daniel Kolesa [Thu, 5 Jun 2014 10:15:29 +0000 (11:15 +0100)]
elua: prevent method calls on bad objects
Daniel Kolesa [Thu, 5 Jun 2014 09:23:42 +0000 (10:23 +0100)]
elua: propagate property definitions down the inheritance hierarchy
Daniel Kolesa [Thu, 5 Jun 2014 08:58:58 +0000 (09:58 +0100)]
elua: eolian binding fix plus support namespaces in the lualian generator
Daniel Kolesa [Wed, 4 Jun 2014 14:08:07 +0000 (15:08 +0100)]
elua: initial xgettext call parsing
Daniel Kolesa [Wed, 4 Jun 2014 13:30:01 +0000 (14:30 +0100)]
elua: String and Call objects in xgettext generator - includes methods to automatically decide flags for String, making things a lot easier (thanks to chaining)
Daniel Kolesa [Wed, 4 Jun 2014 10:09:45 +0000 (11:09 +0100)]
elua: store flags for hashing as well
Daniel Kolesa [Tue, 3 Jun 2014 15:35:20 +0000 (16:35 +0100)]
elua: never actually fail parsing (keep error messages for debug, hidden by default)
Daniel Kolesa [Tue, 3 Jun 2014 15:24:48 +0000 (16:24 +0100)]
elua: pre-parse flags in xgettext app
Daniel Kolesa [Tue, 3 Jun 2014 15:05:50 +0000 (16:05 +0100)]
elua: xgettext's semantics are WTF, but okay, emulate it
Daniel Kolesa [Tue, 3 Jun 2014 14:59:40 +0000 (15:59 +0100)]
elua: new util: table.uniq, and use it in xgettext generator
Daniel Kolesa [Tue, 3 Jun 2014 14:55:34 +0000 (15:55 +0100)]
elua: properly copy flags around
Daniel Kolesa [Tue, 3 Jun 2014 14:51:41 +0000 (15:51 +0100)]
elua: fix xgettext --extract-all
Daniel Kolesa [Tue, 3 Jun 2014 12:53:43 +0000 (13:53 +0100)]
elua: complete lexer (lex all valid tokens)
Daniel Kolesa [Tue, 3 Jun 2014 09:45:12 +0000 (10:45 +0100)]
elua: update eolian implements api
Daniel Kolesa [Tue, 3 Jun 2014 09:13:39 +0000 (10:13 +0100)]
elua: Makevars - gitignore++
Daniel Kolesa [Mon, 2 Jun 2014 15:42:27 +0000 (16:42 +0100)]
elua: prepare xgettext for flag comments and try to emulate xgettext's silly behavior when it comes to concatenating comments
Daniel Kolesa [Mon, 2 Jun 2014 14:57:32 +0000 (15:57 +0100)]
elua: fix xgettext
Daniel Kolesa [Mon, 2 Jun 2014 14:46:02 +0000 (15:46 +0100)]
elua: fixed up the xgettext lua lexer/parser/generator
Daniel Kolesa [Mon, 2 Jun 2014 14:26:45 +0000 (15:26 +0100)]
elua: can only specify a keyword once
Daniel Kolesa [Mon, 2 Jun 2014 13:34:24 +0000 (14:34 +0100)]
elua: support for -a (--extract-all) option in xgettext
Daniel Kolesa [Mon, 2 Jun 2014 13:29:45 +0000 (14:29 +0100)]
elua: merge comments in xgettext generator
Daniel Kolesa [Fri, 30 May 2014 14:37:04 +0000 (15:37 +0100)]
elua: respect add-location / no-location options in xgettext
Daniel Kolesa [Fri, 30 May 2014 14:33:19 +0000 (15:33 +0100)]
elua: group messages with the same contents together, generate grouped line info
Daniel Kolesa [Fri, 30 May 2014 14:08:50 +0000 (15:08 +0100)]
elua: line information in the generated output
Daniel Kolesa [Fri, 30 May 2014 13:53:54 +0000 (14:53 +0100)]
elua: respect msgstr prefix and suffix in xgettext
Daniel Kolesa [Fri, 30 May 2014 13:40:20 +0000 (14:40 +0100)]
elua: respect comment tags in the lexer
Daniel Kolesa [Fri, 30 May 2014 13:29:34 +0000 (14:29 +0100)]
elua: pass opts, flags around
Daniel Kolesa [Fri, 30 May 2014 13:18:28 +0000 (14:18 +0100)]
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)
Daniel Kolesa [Fri, 30 May 2014 12:58:49 +0000 (13:58 +0100)]
elua: almost functional xgettext generator
Daniel Kolesa [Fri, 30 May 2014 11:31:07 +0000 (12:31 +0100)]
elua: initial stuff for the xgettext generator, check existence of all input files beforehand in the app, and other fixes
Daniel Kolesa [Fri, 30 May 2014 09:09:16 +0000 (10:09 +0100)]
elua: get_cmdline_from_argv cleanup + use _popen on windows
Daniel Kolesa [Fri, 30 May 2014 08:53:32 +0000 (09:53 +0100)]
elua: fclose before realpath
Daniel Kolesa [Thu, 29 May 2014 14:25:41 +0000 (15:25 +0100)]
evil: remove fork (buggy)
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
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 %