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 |
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 |