summaryrefslogtreecommitdiff
path: root/tools/genlang (follow)
Commit message (Collapse)AuthorAge
* fixed comment in generated header fileDaniel Stenberg2005-07-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7273 a1c6a512-1295-4272-9138-f99709370657
* Bug fix: The trailing null byte wasn't added when there was whitespace after ↵Jens Arnold2005-02-01
| | | | | | the closing quote in the .lang file, leading to garbled strings when doing non-english builds. Thanks to quelsaruk for tracking this down. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5730 a1c6a512-1295-4272-9138-f99709370657
* Fix: Deprecated voice-only entries were treated as (deprecated) standard ↵Jens Arnold2005-01-31
| | | | | | LANG_ entries. Now they are detected by the id matching VOICE_*. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5720 a1c6a512-1295-4272-9138-f99709370657
* New way of handling the builtin language strings. Now the string pointers ↵Jens Arnold2005-01-19
| | | | | | are no longer stored as initialised data, but calculated by walking one long string containing all language strings separated by \0. While this doesn't need more RAM, it fixes the problem that loading incomplete .lng files after complete ones did not reset the missing strings to the default, and it also decreases the binary size by >1700 bytes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5608 a1c6a512-1295-4272-9138-f99709370657
* Bugfix: Due to the wrong position of the LANG_LAST_INDEX_IN_ARRAY marker, ↵Jens Arnold2005-01-19
| | | | | | lang_load() was potentially unsafe. Loading a newer .lng file with an older rockbox build would have caused an out-of-bound access of language_strings[]. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5607 a1c6a512-1295-4272-9138-f99709370657
* binlang and genlang couldn't handle deprecated stringsLinus Nielsen Feltzing2004-06-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4713 a1c6a512-1295-4272-9138-f99709370657
* Spelling errorLinus Nielsen Feltzing2004-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4690 a1c6a512-1295-4272-9138-f99709370657
* Changed concept for voice IDs: the voice-only IDs now are in a separate ↵Jörg Hohensohn2004-04-03
| | | | | | range, don't generate an empty language string. This saves memory, but requires a new voice file format with 2 tables. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4463 a1c6a512-1295-4272-9138-f99709370657
* make it deal with traling tabs as well as spacesDaniel Stenberg2003-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3198 a1c6a512-1295-4272-9138-f99709370657
* indent the generated code properly, add an end-of-array marker namedDaniel Stenberg2002-10-14
| | | | | | | LANG_LAST_INDEX_IN_ARRAY git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2619 a1c6a512-1295-4272-9138-f99709370657
* hm, it needs to be correct perl syntax tooDaniel Stenberg2002-10-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2609 a1c6a512-1295-4272-9138-f99709370657
* treat "" 'new' strings as non-existingDaniel Stenberg2002-10-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2608 a1c6a512-1295-4272-9138-f99709370657
* better error line, return non-zero on errorsDaniel Stenberg2002-10-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2607 a1c6a512-1295-4272-9138-f99709370657
* one or more spaces after the terminating quote should be ok tooDaniel Stenberg2002-10-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2602 a1c6a512-1295-4272-9138-f99709370657
* check for quotes better and warn/skip bad onesDaniel Stenberg2002-10-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2592 a1c6a512-1295-4272-9138-f99709370657
* get rid of DOS newlinesDaniel Stenberg2002-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2345 a1c6a512-1295-4272-9138-f99709370657
* spell fix, additional comment in the generated .h fileDaniel Stenberg2002-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2340 a1c6a512-1295-4272-9138-f99709370657
* it now generates one .c file and one .h file, and the strings are allDaniel Stenberg2002-09-17
| | | | | | | put in an array git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2310 a1c6a512-1295-4272-9138-f99709370657
* generate a lang.h file from a .lang inputDaniel Stenberg2002-09-16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2301 a1c6a512-1295-4272-9138-f99709370657