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
|
5ccf23bb02
|
elua: Makevars - gitignore++
|
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
|
cfae9b5eeb
|
elua: if ugly, then at least portable (we already assume presence of bourne shell on windows, so a wrapper doesn't hurt)
|
2014-06-10 15:48:52 +01:00 |
Daniel Kolesa
|
30e5f11dc6
|
elua: generate Makevars from Makevars.in with a dynamic conditional... sadly there doesn't seem to be any other 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 |