Daniel Stenberg
dade571a99
indent the generated code properly, add an end-of-array marker named
...
LANG_LAST_INDEX_IN_ARRAY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2619 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 12:19:47 +00:00
Daniel Stenberg
1d7c10468f
hm, it needs to be correct perl syntax too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2609 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 09:11:48 +00:00
Daniel Stenberg
36069b3506
treat "" 'new' strings as non-existing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2608 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 09:11:11 +00:00
Daniel Stenberg
17cf448f59
better error line, return non-zero on errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2607 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 08:49:25 +00:00
Daniel Stenberg
4aff85fe95
fixed the quote checking regex to look like the one in genlang
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2603 a1c6a512-1295-4272-9138-f99709370657
2002-10-13 10:08:11 +00:00
Daniel Stenberg
9e8a1c7759
one or more spaces after the terminating quote should be ok too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2602 a1c6a512-1295-4272-9138-f99709370657
2002-10-13 09:28:46 +00:00
Daniel Stenberg
1017e25438
check for quotes better and warn/skip bad ones
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2592 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 22:01:24 +00:00
Daniel Stenberg
97ad4c9149
Michael Harwerth added warning about missing strings in translations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2424 a1c6a512-1295-4272-9138-f99709370657
2002-09-26 09:07:46 +00:00
Daniel Stenberg
869c952ea3
write a binary file, for windows people
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2392 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:46:04 +00:00
Daniel Stenberg
e770bc8be0
funny little script to generate a binary language file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2386 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:38:00 +00:00
Felix Arends
491f907671
a win32 version of the tools makefile (tested for visual c++ 7.0 nmake)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2366 a1c6a512-1295-4272-9138-f99709370657
2002-09-21 21:15:05 +00:00
Daniel Stenberg
f2d57eab5d
quote the EXTRA_DEFINES properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2353 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 11:42:57 +00:00
Björn Stenberg
55e25b1551
Fixed EOF problem
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2349 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 10:20:13 +00:00
Björn Stenberg
bed3d3f7e0
New full ISO-8859-1 system font.
...
Added font loading from dir browser.
Changed default font location to /.rockbox/default.fnt.
Code-policed font code.
Removed old font tools.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2347 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 08:07:51 +00:00
Daniel Stenberg
1b2db9ec3c
get rid of DOS newlines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2345 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 07:06:15 +00:00
Daniel Stenberg
0f434ebac9
make the language selection work for sim builds too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2344 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 06:50:29 +00:00
Daniel Stenberg
c7b1bbeac6
included genlang and uplang
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2343 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 06:40:56 +00:00
Daniel Stenberg
ebe963d554
Added "select a language" stuff
...
Made the extra_defines a bit different (to prevent it from growing all
the time on "configure update" invokes)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2341 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 06:38:38 +00:00
Daniel Stenberg
20963dd801
spell fix, additional comment in the generated .h file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2340 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 06:37:25 +00:00
Daniel Stenberg
720732a14f
deal with DOS newlines, ignore IDs that aren't in the english file and
...
corrected the 'english text changed' comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2339 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 06:36:49 +00:00
Björn Stenberg
a316213f0f
Fixed DISABLE_DEMOS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2331 a1c6a512-1295-4272-9138-f99709370657
2002-09-19 08:27:38 +00:00
Daniel Stenberg
d2d2ecc310
build the convbdf tool too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2330 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 15:41:09 +00:00
Daniel Stenberg
8dda668d10
Greg's new C version of the font conversion tool.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2329 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 15:38:49 +00:00
Daniel Stenberg
8b06a013e0
it now generates one .c file and one .h file, and the strings are all
...
put in an array
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2310 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:17:25 +00:00
Daniel Stenberg
a07a236c0f
update a .lang file from a .lang "master file"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2302 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 15:02:11 +00:00
Daniel Stenberg
e19f763d79
generate a lang.h file from a .lang input
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2301 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 15:01:38 +00:00
Eric Linenberg
038df5cdc9
Daniel,
...
The following patch makes loadable fonts actually work (finally!).
It took me quite a while, but I finally figured out why the sim
worked and the target didn't: the SH1 processor won't read
longwords from a shortword alignment... I had to rev the .fnt
file to version 1.1 (requires remaking *.fnt files) in order
to fix this. Please apply the following patch completely.
It's diffed against the latest CVS.
I've also attached rockbox-fonts-1.1.tar.gz which includes
known working *.fnt files, including a courB08 system.fnt,
for demonstration.
Now the real work can begin... Although the new
system.fnt will work fine, if you try going to a really
big font (try copying courB14.fnt to system.fnt), then
you will find that it comes up and works in tree mode,
but will crash the system when going into WPS
mode... I'm sure this is because of the low-level
lcd_bitmap not clipping properly when given a too-large
bitmap, which the characters become. I haven't yet
tried to debug the low-level driver. Of course, it all
works on the sim...
So the apps developers will now have to make sure that
all apps screen sizes may vary according to the loaded font.
The font height can be gotten through the lcd_getfontsize API.
Files patched in fonts-6.patch
1. apps/menu.c - LCD_PROPFONTS error (2nd resubmission on this, please checkin)
2. firmware/font.c - fixes and reformatting. Please check this in as is,
my vi editor requires more reformatting changes since I left tabs in the
file, these are removed now (2nd resubmission on this, please checkin)
3. firmware/fonts.h - doc change on .fnt file format, .fnt version
number incremented.
4. firmware/loadfont.c - fixes to load font properly, typedefs
removed.
5. firmware/system.c - lcd_setfont(FONT_SYSFIXED) before
issuing error, otherwise font may not exist.
6. tools/bdf2c - fixes for correct output when filename starts
with a number, as well as when no DEFAULT_CHAR in .bdf
file. (2nd resubmission on this, please checkin)
7. tools/writerbf.c - fixes for bugfixed fontfile format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2294 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 03:18:49 +00:00
Daniel Stenberg
ba39ff62e5
Greg Haerr added -limit <max_encode_hex_value>
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2282 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:31:16 +00:00
Daniel Stenberg
ae0c23847b
Greg Haerr removed the font questions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2281 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:30:47 +00:00
Daniel Stenberg
31a48ea1f8
setup the include path better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2277 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 14:08:42 +00:00
Daniel Stenberg
7b3cea4df3
the script sets ARCHOS_RECORDER instead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2276 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 14:03:56 +00:00
Daniel Stenberg
e5cb74003d
define archos so that config works better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2275 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 14:01:09 +00:00
Daniel Stenberg
1b5afda12f
Greg's
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2274 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:59:59 +00:00
Daniel Stenberg
4cd138955d
Greg's font scripts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2272 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:49:57 +00:00
Daniel Stenberg
05e353acfc
bdf2ajf is not needed/used anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2271 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:43:22 +00:00
Daniel Stenberg
d2aa7116d2
support -v for verbose (debug) output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2240 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 14:42:27 +00:00
Daniel Stenberg
89db47fde8
no thank you, no very nasty union tricks here
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2237 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 13:13:17 +00:00
Daniel Stenberg
7c57db5560
build bdf2ajf with debug option
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2236 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 13:12:51 +00:00
Daniel Stenberg
c06a55b7ef
more portable is better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2234 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 12:33:05 +00:00
Daniel Stenberg
3d90ed43f1
Maintain this simple philosophy:
...
Default build actions are without any flags/options. Only modiciations from
default use extra defines etc.
This is because:
1) We want builds that don't run configure to keep building the same kind
of build it was configured to do.
2) 'configure update' must work to read the selected options and generate
an updated makefile with the same options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2203 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:44:43 +00:00
Daniel Stenberg
52a87c7ce7
removed the conflict markers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2130 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:40:19 +00:00
Daniel Stenberg
e800bca6dc
make it bourne shell pure
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2129 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:33:18 +00:00
Daniel Stenberg
42c125fad6
Prevent this script from being run in the same directory where this script
...
lives. It will make more people happy. ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2128 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 11:50:52 +00:00
Robert Hak
5e1270e60c
i stupid, forgot to fix simulators
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2109 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 16:37:57 +00:00
Robert Hak
28c60ff40a
Corrected to allow for game removal via USE_GAMES (on by default)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2104 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:21:59 +00:00
Robert Hak
7dcdf05d94
cleaned up USE_SCREENSAVERS questions/usage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2099 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 22:49:41 +00:00
Robert Hak
15c5cac721
We now ask if the user wants Screensavers (on by default)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2098 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 20:59:23 +00:00
Björn Stenberg
1f4e4d339c
Reverted back to monospace again. Let's not rock the boat until people can change it themselves (i.e. loadable fonts).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2032 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:54:41 +00:00
Björn Stenberg
af406a1f6d
Made LCD_PROPFONTS default on recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2016 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 22:49:13 +00:00
Daniel Stenberg
e1fbb12aaf
we like each line less than 80 characters wide please
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1890 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 16:34:41 +00:00