summaryrefslogtreecommitdiff
path: root/tools/genlang (unfollow)
Commit message (Collapse)Author
2006-10-28prevent the incorrect warnings displayed when -u was used, added additionalDaniel Stenberg
info to the warning output and moved a comment to the accurate place git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11371 a1c6a512-1295-4272-9138-f99709370657
2006-10-18Make -t support a range of "targets", which reallly should be one targetDaniel Stenberg
and a range of named features. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11254 a1c6a512-1295-4272-9138-f99709370657
2006-04-27Fixed a bug where it didn't warn on lack of quotes as it was supposed to.Daniel Stenberg
Now this treats a string given without quotes as "" (but still warns about it). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9824 a1c6a512-1295-4272-9138-f99709370657
2006-04-19More usable playlist generation, added "<All tracks>" entry to tagMiika Pekkarinen
browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9729 a1c6a512-1295-4272-9138-f99709370657
2006-04-06* added more safety checks for failed open()sDaniel Stenberg
* allow 'deprecated' as a keyword for strings marked as ... deprecated! * warns on stderr if a given string is given without quotes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9533 a1c6a512-1295-4272-9138-f99709370657
2006-04-03we're on langversion 3!Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9472 a1c6a512-1295-4272-9138-f99709370657
2006-04-03langv2Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9470 a1c6a512-1295-4272-9138-f99709370657
2005-07-31fixed comment in generated header fileDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7273 a1c6a512-1295-4272-9138-f99709370657
2005-02-01Bug fix: The trailing null byte wasn't added when there was whitespace after ↵Jens Arnold
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
2005-01-31Fix: Deprecated voice-only entries were treated as (deprecated) standard ↵Jens Arnold
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
2005-01-19New way of handling the builtin language strings. Now the string pointers ↵Jens Arnold
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
2005-01-19Bugfix: Due to the wrong position of the LANG_LAST_INDEX_IN_ARRAY marker, ↵Jens Arnold
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
2004-06-03binlang and genlang couldn't handle deprecated stringsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4713 a1c6a512-1295-4272-9138-f99709370657
2004-05-21Spelling errorLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4690 a1c6a512-1295-4272-9138-f99709370657
2004-04-03Changed concept for voice IDs: the voice-only IDs now are in a separate ↵Jörg Hohensohn
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
2003-01-31make it deal with traling tabs as well as spacesDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3198 a1c6a512-1295-4272-9138-f99709370657
2002-10-14indent the generated code properly, add an end-of-array marker namedDaniel Stenberg
LANG_LAST_INDEX_IN_ARRAY git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2619 a1c6a512-1295-4272-9138-f99709370657
2002-10-14hm, it needs to be correct perl syntax tooDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2609 a1c6a512-1295-4272-9138-f99709370657
2002-10-14treat "" 'new' strings as non-existingDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2608 a1c6a512-1295-4272-9138-f99709370657
2002-10-14better error line, return non-zero on errorsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2607 a1c6a512-1295-4272-9138-f99709370657
2002-10-13one or more spaces after the terminating quote should be ok tooDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2602 a1c6a512-1295-4272-9138-f99709370657
2002-10-11check for quotes better and warn/skip bad onesDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2592 a1c6a512-1295-4272-9138-f99709370657
2002-09-20get rid of DOS newlinesDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2345 a1c6a512-1295-4272-9138-f99709370657
2002-09-20spell fix, additional comment in the generated .h fileDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2340 a1c6a512-1295-4272-9138-f99709370657
2002-09-17it now generates one .c file and one .h file, and the strings are allDaniel Stenberg
put in an array git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2310 a1c6a512-1295-4272-9138-f99709370657
2002-09-16generate a lang.h file from a .lang inputDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2301 a1c6a512-1295-4272-9138-f99709370657