platform/upstream/efl.git
10 years agoelua: xgettext fixes
Daniel Kolesa [Tue, 10 Jun 2014 13:37:57 +0000 (14:37 +0100)]
elua: xgettext fixes

10 years agoelua: support for fallback xgettext in xgettext_wrapper
Daniel Kolesa [Tue, 10 Jun 2014 12:19:24 +0000 (13:19 +0100)]
elua: support for fallback xgettext in xgettext_wrapper

10 years agoelua: xgettext_wrapper newline fix
Daniel Kolesa [Tue, 10 Jun 2014 11:59:06 +0000 (12:59 +0100)]
elua: xgettext_wrapper newline fix

10 years agoelua: didn't want this
Daniel Kolesa [Tue, 10 Jun 2014 11:42:02 +0000 (12:42 +0100)]
elua: didn't want this

10 years agoelua: some janitoring (add newlines to the end of files)
Daniel Kolesa [Tue, 10 Jun 2014 11:35:54 +0000 (12:35 +0100)]
elua: some janitoring (add newlines to the end of files)

10 years agoelua: install apps
Daniel Kolesa [Tue, 10 Jun 2014 11:29:25 +0000 (12:29 +0100)]
elua: install apps

10 years agoelua: better caching behavior (try to use bytecode first)
Daniel Kolesa [Tue, 10 Jun 2014 11:26:06 +0000 (12:26 +0100)]
elua: better caching behavior (try to use bytecode first)

10 years agoelua: use eina_prefix
Daniel Kolesa [Tue, 10 Jun 2014 10:03:12 +0000 (11:03 +0100)]
elua: use eina_prefix

10 years agoelua: return the value properly in eo
Daniel Kolesa [Mon, 9 Jun 2014 11:05:14 +0000 (12:05 +0100)]
elua: return the value properly in eo

10 years agoelua: make it possible to get class lua body from address
Daniel Kolesa [Fri, 6 Jun 2014 14:41:29 +0000 (15:41 +0100)]
elua: make it possible to get class lua body from address

10 years agoelua: move __ctor_common, __do_start, __do_end out of the object (as it's effectively...
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)

10 years agoelua: generator fix
Daniel Kolesa [Fri, 6 Jun 2014 10:40:16 +0000 (11:40 +0100)]
elua: generator fix

10 years agoelua: remove the implemented eo_base stuff - will be generated
Daniel Kolesa [Fri, 6 Jun 2014 10:32:52 +0000 (11:32 +0100)]
elua: remove the implemented eo_base stuff - will be generated

10 years agoelua: use eo_finalize plus update bound eo api
Daniel Kolesa [Thu, 5 Jun 2014 15:28:10 +0000 (16:28 +0100)]
elua: use eo_finalize plus update bound eo api

10 years agoelua: do not generate entirely new list types
Daniel Kolesa [Thu, 5 Jun 2014 14:56:31 +0000 (15:56 +0100)]
elua: do not generate entirely new list types

10 years agoelua: a simple list type generator in eina_list
Daniel Kolesa [Thu, 5 Jun 2014 14:47:36 +0000 (15:47 +0100)]
elua: a simple list type generator in eina_list

10 years agoelua: eolian fix
Daniel Kolesa [Thu, 5 Jun 2014 14:43:35 +0000 (15:43 +0100)]
elua: eolian fix

10 years agodo not generate __M if not needed
Daniel Kolesa [Thu, 5 Jun 2014 13:24:14 +0000 (14:24 +0100)]
do not generate __M if not needed

10 years agoelua: better namespace handling in lualian generator (support more than 1 level of...
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)

10 years agoAUTHORS: add EFL-C++ and Elua
Daniel Kolesa [Thu, 5 Jun 2014 12:47:22 +0000 (13:47 +0100)]
AUTHORS: add EFL-C++ and Elua

10 years agoelua: prevent method calls on bad objects
Daniel Kolesa [Thu, 5 Jun 2014 10:15:29 +0000 (11:15 +0100)]
elua: prevent method calls on bad objects

10 years agoelua: propagate property definitions down the inheritance hierarchy
Daniel Kolesa [Thu, 5 Jun 2014 09:23:42 +0000 (10:23 +0100)]
elua: propagate property definitions down the inheritance hierarchy

10 years agoelua: eolian binding fix plus support namespaces in the lualian generator
Daniel Kolesa [Thu, 5 Jun 2014 08:58:58 +0000 (09:58 +0100)]
elua: eolian binding fix plus support namespaces in the lualian generator

10 years agoelua: initial xgettext call parsing
Daniel Kolesa [Wed, 4 Jun 2014 14:08:07 +0000 (15:08 +0100)]
elua: initial xgettext call parsing

10 years agoelua: String and Call objects in xgettext generator - includes methods to automatical...
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)

10 years agoelua: store flags for hashing as well
Daniel Kolesa [Wed, 4 Jun 2014 10:09:45 +0000 (11:09 +0100)]
elua: store flags for hashing as well

10 years agoelua: never actually fail parsing (keep error messages for debug, hidden by default)
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)

10 years agoelua: pre-parse flags in xgettext app
Daniel Kolesa [Tue, 3 Jun 2014 15:24:48 +0000 (16:24 +0100)]
elua: pre-parse flags in xgettext app

10 years agoelua: xgettext's semantics are WTF, but okay, emulate it
Daniel Kolesa [Tue, 3 Jun 2014 15:05:50 +0000 (16:05 +0100)]
elua: xgettext's semantics are WTF, but okay, emulate it

10 years agoelua: new util: table.uniq, and use it in xgettext generator
Daniel Kolesa [Tue, 3 Jun 2014 14:59:40 +0000 (15:59 +0100)]
elua: new util: table.uniq, and use it in xgettext generator

10 years agoelua: properly copy flags around
Daniel Kolesa [Tue, 3 Jun 2014 14:55:34 +0000 (15:55 +0100)]
elua: properly copy flags around

10 years agoelua: fix xgettext --extract-all
Daniel Kolesa [Tue, 3 Jun 2014 14:51:41 +0000 (15:51 +0100)]
elua: fix xgettext --extract-all

10 years agoelua: complete lexer (lex all valid tokens)
Daniel Kolesa [Tue, 3 Jun 2014 12:53:43 +0000 (13:53 +0100)]
elua: complete lexer (lex all valid tokens)

10 years agoelua: update eolian implements api
Daniel Kolesa [Tue, 3 Jun 2014 09:45:12 +0000 (10:45 +0100)]
elua: update eolian implements api

10 years agoelua: Makevars - gitignore++
Daniel Kolesa [Tue, 3 Jun 2014 09:13:39 +0000 (10:13 +0100)]
elua: Makevars - gitignore++

10 years agoelua: prepare xgettext for flag comments and try to emulate xgettext's silly behavior...
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

10 years agoelua: fix xgettext
Daniel Kolesa [Mon, 2 Jun 2014 14:57:32 +0000 (15:57 +0100)]
elua: fix xgettext

10 years agoelua: fixed up the xgettext lua lexer/parser/generator
Daniel Kolesa [Mon, 2 Jun 2014 14:46:02 +0000 (15:46 +0100)]
elua: fixed up the xgettext lua lexer/parser/generator

10 years agoelua: can only specify a keyword once
Daniel Kolesa [Mon, 2 Jun 2014 14:26:45 +0000 (15:26 +0100)]
elua: can only specify a keyword once

10 years agoelua: support for -a (--extract-all) option in xgettext
Daniel Kolesa [Mon, 2 Jun 2014 13:34:24 +0000 (14:34 +0100)]
elua: support for -a (--extract-all) option in xgettext

10 years agoelua: merge comments in xgettext generator
Daniel Kolesa [Mon, 2 Jun 2014 13:29:45 +0000 (14:29 +0100)]
elua: merge comments in xgettext generator

10 years agoelua: respect add-location / no-location options in xgettext
Daniel Kolesa [Fri, 30 May 2014 14:37:04 +0000 (15:37 +0100)]
elua: respect add-location / no-location options in xgettext

10 years agoelua: group messages with the same contents together, generate grouped line info
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

10 years agoelua: line information in the generated output
Daniel Kolesa [Fri, 30 May 2014 14:08:50 +0000 (15:08 +0100)]
elua: line information in the generated output

10 years agoelua: respect msgstr prefix and suffix in xgettext
Daniel Kolesa [Fri, 30 May 2014 13:53:54 +0000 (14:53 +0100)]
elua: respect msgstr prefix and suffix in xgettext

10 years agoelua: respect comment tags in the lexer
Daniel Kolesa [Fri, 30 May 2014 13:40:20 +0000 (14:40 +0100)]
elua: respect comment tags in the lexer

10 years agoelua: pass opts, flags around
Daniel Kolesa [Fri, 30 May 2014 13:29:34 +0000 (14:29 +0100)]
elua: pass opts, flags around

10 years agoelua: change xgettext lexer to never include delimiters and also expand \n escape...
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)

10 years agoelua: almost functional xgettext generator
Daniel Kolesa [Fri, 30 May 2014 12:58:49 +0000 (13:58 +0100)]
elua: almost functional xgettext generator

10 years agoelua: initial stuff for the xgettext generator, check existence of all input files...
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

10 years agoelua: get_cmdline_from_argv cleanup + use _popen on windows
Daniel Kolesa [Fri, 30 May 2014 09:09:16 +0000 (10:09 +0100)]
elua: get_cmdline_from_argv cleanup + use _popen on windows

10 years agoelua: fclose before realpath
Daniel Kolesa [Fri, 30 May 2014 08:53:32 +0000 (09:53 +0100)]
elua: fclose before realpath

10 years agoevil: remove fork (buggy)
Daniel Kolesa [Thu, 29 May 2014 14:25:41 +0000 (15:25 +0100)]
evil: remove fork (buggy)

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