Commit graph

1912 commits

Author SHA1 Message Date
Daniel Stenberg
b156352756 support building a zip file for the simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4743 a1c6a512-1295-4272-9138-f99709370657
2004-06-14 15:04:46 +00:00
Linus Nielsen Feltzing
f84e93edfe binlang and genlang couldn't handle deprecated strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4713 a1c6a512-1295-4272-9138-f99709370657
2004-06-03 08:23:05 +00:00
Daniel Stenberg
052d21a667 * removed some more unused stuff in the simulator makefile
* made the scan for the rockbox source dir a bit cooler, now it can detect
  it even when you create and use a build directory that is on the same level
  as the rockbox dir itself which might make it easier for people that builds
  from (repeatly updated) daily tarballs
* now outputs the found rockbox source code dir found


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4706 a1c6a512-1295-4272-9138-f99709370657
2004-05-26 11:18:40 +00:00
Daniel Stenberg
5c9c16f32f Simplied the directory usage. This script now checks for (or asks if it
doesn't find it) the Rockbox source code root directory. All the directories
are then assumed to be placed "correctly" within that source tree.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4705 a1c6a512-1295-4272-9138-f99709370657
2004-05-26 11:07:16 +00:00
Linus Nielsen Feltzing
dde9599888 Added buildzip.pl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4699 a1c6a512-1295-4272-9138-f99709370657
2004-05-24 09:51:22 +00:00
Linus Nielsen Feltzing
dfb5c6ed61 Spelling error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4690 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 23:37:08 +00:00
Björn Stenberg
0d53b48e0d Set up default viewers.config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4682 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 21:01:20 +00:00
Daniel Stenberg
7cdab5c91c remove rockbox.zip on make clean
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4674 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 19:40:20 +00:00
Daniel Stenberg
3d9f774724 provide a zip target on target builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4672 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 19:05:47 +00:00
Daniel Stenberg
760b7b9ed4 build a Rockbox zip file suitable for install
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4671 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 19:05:27 +00:00
Daniel Stenberg
747a589032 tool we use on the web site to produce an image of a font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4665 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 17:03:37 +00:00
Kjell Ericson
e8d33bdc92 Added an inlined help text after failing to use it correctly (although I wrote
it once).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4607 a1c6a512-1295-4272-9138-f99709370657
2004-05-11 08:58:43 +00:00
Linus Nielsen Feltzing
9a4a5e9834 Now correctly generates language files, ignoring voice entries
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4532 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 06:39:52 +00:00
Linus Nielsen Feltzing
7480ff900a Reverted my brainless const'ing of the font data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4492 a1c6a512-1295-4272-9138-f99709370657
2004-04-13 11:17:42 +00:00
Hardeep Sidhu
716fd7419d Structures should not be const for simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4486 a1c6a512-1295-4272-9138-f99709370657
2004-04-11 22:50:30 +00:00
Linus Nielsen Feltzing
4760a546cc Killed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4483 a1c6a512-1295-4272-9138-f99709370657
2004-04-09 21:23:02 +00:00
Linus Nielsen Feltzing
eba242b4cc Moved the system font from .data to .rodata
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4476 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 23:21:45 +00:00
Linus Nielsen Feltzing
d4241b0f62 The binlang script is now updated for the new string table format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4468 a1c6a512-1295-4272-9138-f99709370657
2004-04-05 23:07:08 +00:00
Jörg Hohensohn
f9495cba65 Changed concept for voice IDs: the voice-only IDs now are in a separate 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
2004-04-03 20:52:24 +00:00
Daniel Stenberg
67e864e0cc When synching a lang file with the most recent english translation, we
suck in the english voice strings. Thus, languages without a specified voice
string for a given string where the english version has one, will get the
english voice string there.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4457 a1c6a512-1295-4272-9138-f99709370657
2004-03-30 15:07:17 +00:00
Björn Stenberg
452702dac1 Multimedia scrambling was wrong: Checksum is for xor:ed data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4401 a1c6a512-1295-4272-9138-f99709370657
2004-03-17 23:43:42 +00:00
Daniel Stenberg
a4c67dcab5 Brian Foley fixed a flaw that made this code segfault on bigendian systems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4273 a1c6a512-1295-4272-9138-f99709370657
2004-01-26 07:51:35 +00:00
Daniel Stenberg
a91dfd53be Henrik Backe's english language file cleanup. This ups the language file
version number from 1 to 2, making *ALL* old language files obsolete.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4270 a1c6a512-1295-4272-9138-f99709370657
2004-01-23 11:41:11 +00:00
Björn Stenberg
123ae83b07 Added multimedia support (but no compression)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4213 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 21:34:52 +00:00
Björn Stenberg
7f749b4689 Added support for multimedia .ajz files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4199 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 00:22:27 +00:00
Hardeep Sidhu
5199e8c625 Removed mkneofile from TARGETS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4162 a1c6a512-1295-4272-9138-f99709370657
2003-12-17 23:57:57 +00:00
Björn Stenberg
e3be10107d Removed mkneofile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4142 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 16:15:50 +00:00
Daniel Stenberg
0115af21d9 removed the neo-specific scramble-tool and made it an option to scramble
instead, and made the makefile use this


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4140 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 14:07:28 +00:00
Daniel Stenberg
da6d7e9b44 Added the 'mkneofile' tool that is used instead of scramble when making the
Neo firmware image. The Open Neo project used to call this tool 'add_header'.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4136 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:32:27 +00:00
Daniel Stenberg
503ce1bc04 Allow building two Neo targets...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4129 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 10:48:40 +00:00
Daniel Stenberg
7eda324c3b Removed the prompting for demos and games. They're plugins now anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4070 a1c6a512-1295-4272-9138-f99709370657
2003-11-26 14:10:21 +00:00
Daniel Stenberg
86b146da68 recorder v2 support added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4036 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 06:40:59 +00:00
Linus Nielsen Feltzing
ed11bd3281 Updated the scramble/descramble for the V2 recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3992 a1c6a512-1295-4272-9138-f99709370657
2003-10-27 18:04:28 +00:00
Björn Stenberg
4c370fe932 Removed -s compile flag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3961 a1c6a512-1295-4272-9138-f99709370657
2003-09-22 08:13:28 +00:00
Daniel Stenberg
2d81cf9956 Magnus Holmgren's patch #708098 that makes bmp2rb insensitive to endianess
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3691 a1c6a512-1295-4272-9138-f99709370657
2003-05-21 06:31:44 +00:00
Daniel Stenberg
1050145533 allow any whitespace after the ending quote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3657 a1c6a512-1295-4272-9138-f99709370657
2003-05-08 08:35:28 +00:00
Daniel Stenberg
56a6d59237 Anchor the regexes better, some of them caused problems with perl 5.8.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3629 a1c6a512-1295-4272-9138-f99709370657
2003-04-29 12:38:32 +00:00
Daniel Stenberg
8fd7828148 Don't pass in TOOLSDIR to the simulator Makefile until we've made the path
absolute. Using a relative path is not wise, since we use make -C when we
build the simulator and the relative path to the tools dir is not the same
from the build dir as from the simulator's main source dir...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3615 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 12:50:25 +00:00
Daniel Stenberg
31e0cd67ff made the script detect the toolsdir and pass that on to the sub-makefiles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3579 a1c6a512-1295-4272-9138-f99709370657
2003-04-22 22:18:57 +00:00
Linus Nielsen Feltzing
6a42997d80 Magnus Öman's fix to prevent creation of >200K files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3552 a1c6a512-1295-4272-9138-f99709370657
2003-04-14 09:59:47 +00:00
Linus Nielsen Feltzing
1326f666a6 Now handles files with odd length
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3543 a1c6a512-1295-4272-9138-f99709370657
2003-04-12 21:17:47 +00:00
Linus Nielsen Feltzing
e738e33e94 Silly error in the output file open()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3542 a1c6a512-1295-4272-9138-f99709370657
2003-04-12 16:23:55 +00:00
Daniel Stenberg
e86218b859 autodetect an ID smarter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3486 a1c6a512-1295-4272-9138-f99709370657
2003-03-19 21:42:50 +00:00
Linus Nielsen Feltzing
f28f404e6e Added error checking when opening the files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3401 a1c6a512-1295-4272-9138-f99709370657
2003-03-09 13:44:33 +00:00
Uwe Freese
4846ce8654 export MEM variable in firmware and apps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3371 a1c6a512-1295-4272-9138-f99709370657
2003-03-03 13:17:49 +00:00
Daniel Stenberg
ea9c5bb167 Added a ram size question
Made the script more informative about what selection that takes effect
Passes MEM to the apps Makefile for memorysize


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3344 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 09:13:47 +00:00
Linus Nielsen Feltzing
6ceb79622f Changed include path for generate_rocklatin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3226 a1c6a512-1295-4272-9138-f99709370657
2003-02-08 00:17:15 +00:00
Daniel Stenberg
8f72d9eeb1 make it deal with traling tabs as well as spaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3198 a1c6a512-1295-4272-9138-f99709370657
2003-01-31 09:04:34 +00:00
Daniel Stenberg
b6a4f2fb2c removed old emacs file, added new ones
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3166 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 08:38:59 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Mats Lidell
7b3a9cfbd6 Fancy auto, hungry, and cleanups removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3156 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:29:13 +00:00
Mats Lidell
1b71742d35 Added support for supporting multiple project by using a predicate
hook pair list.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3152 a1c6a512-1295-4272-9138-f99709370657
2003-01-22 23:01:10 +00:00
Mats Lidell
18aa3f24bd A Zagor request!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3136 a1c6a512-1295-4272-9138-f99709370657
2003-01-20 13:26:16 +00:00
Mats Lidell
30cd644288 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3135 a1c6a512-1295-4272-9138-f99709370657
2003-01-20 13:00:32 +00:00
Daniel Stenberg
f092920de7 Added FM recorder support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3106 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 14:37:30 +00:00
Kjell Ericson
e346f1f87c Automatic tool to generate Rocklatin layout gif-pictures.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3056 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:05:32 +00:00
Björn Stenberg
323f297ade Added incomplete support for the FM Recorder header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3030 a1c6a512-1295-4272-9138-f99709370657
2002-12-19 15:00:40 +00:00
Björn Stenberg
5ff920e205 Added support for the FM Recorder header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3029 a1c6a512-1295-4272-9138-f99709370657
2002-12-19 15:00:16 +00:00
Daniel Stenberg
2207764d91 added binlang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2810 a1c6a512-1295-4272-9138-f99709370657
2002-11-07 15:08:17 +00:00
Daniel Stenberg
53e8d52653 1. If the translated file used ID strings not present in the english one,
the first string was ruined (it was stored as a blank on number 0!)
2. This script now accepts -v to display verbose debug-friendly output.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2769 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 08:23:33 +00:00
Robert Hak
672b0e26f3 as dumb as i am, its amazing i can breath
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2696 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 09:19:34 +00:00
Robert Hak
9465d4e59b bug fix on my part
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2695 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 09:14:57 +00:00
Robert Hak
c3320ae1ca sim questions are in order now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2693 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 09:08:05 +00:00
Linus Nielsen Feltzing
0a4b247080 The player firmware now autodetects the LCD type. No need for two player versions anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2658 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:25:57 +00:00
Daniel Stenberg
fc3c39b84b Add comment when the description has changed.
Corrected the comment about changed english phrase.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2653 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 11:58:13 +00:00
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
Daniel Stenberg
793ca18310 now detects 1bit BMP files too and adjusts to that, which makes things
simpler


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1881 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 12:11:51 +00:00
Mats Lidell
4b12d882bf Added newline before EOF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1858 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:45:17 +00:00
Daniel Stenberg
8c78975300 made it output valid C code even if given a filename that starts with a
dot, also made the width and height get written as proper #defines in the
output C source.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1795 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 08:04:48 +00:00
Mats Lidell
8cca95bd48 Added bmp2rb.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1782 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:03:24 +00:00
Mats Lidell
8a700fe39c Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1781 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:02:48 +00:00
Björn Stenberg
62625737a4 Added helpful reminder about copying font file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1760 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 11:51:49 +00:00
Daniel Stenberg
6246ce5a37 added tags target for the generated simulator makefile as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1755 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 10:07:27 +00:00
Daniel Stenberg
bc35ae3f50 Generates a 'tags' target in the toplevel makefile now, this is only
for target builds as of yet. More to come.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1753 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 09:32:59 +00:00
Robert Hak
72f54337d6 case issue with questions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1702 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 08:40:40 +00:00
Björn Stenberg
7a8f398b6f Clear extra_defines for players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1675 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 20:22:53 +00:00
Robert Hak
f29f6fa66c == is not a valid POSIX compare, use =
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1672 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 14:19:18 +00:00
Björn Stenberg
0cbd1912cc Forgot to add new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1669 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:36:25 +00:00
Björn Stenberg
dd7d695153 Forgot to add the new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1668 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:22:40 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Daniel Stenberg
23d0b5d65a Applied Bjoern Fischer's patch to make this generate correct makefiles
using '$(MAKE)' instead of 'make' for recursion.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1596 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 14:37:53 +00:00
Daniel Stenberg
60fe9dfa4a Adjustments to allow generating a Makefile for building win32 simulator
cross-compiled. Based on the excellent patch from Bill Napier.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1517 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 12:06:07 +00:00
Linus Nielsen Feltzing
e53bdf0c20 Fixed misspelled .PHONY target. Spotted by Nick Robinson and Markus Braun.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1452 a1c6a512-1295-4272-9138-f99709370657
2002-07-26 14:13:03 +00:00
Björn Stenberg
6d55a71e0e Added build timestamp in version string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1349 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 13:19:00 +00:00
Björn Stenberg
ec048f6024 Stripped off needless things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1084 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 14:33:11 +00:00
Daniel Stenberg
e45a8f5f3c works with traditional sh now (as tested on Solaris)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@901 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 13:33:38 +00:00
Daniel Stenberg
d86da20fac configure update for simulator builds must preserve display and keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@879 a1c6a512-1295-4272-9138-f99709370657
2002-06-03 22:26:56 +00:00
Daniel Stenberg
63787dffde now configure update works for simulator builds too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@878 a1c6a512-1295-4272-9138-f99709370657
2002-06-03 21:56:48 +00:00
Daniel Stenberg
45abe619cd target builds must run make in firmware AND apps
this script now creates an archos subdir when creating a simulator build env


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@846 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 08:38:35 +00:00
Daniel Stenberg
c38ccba483 made it support --help or -h as arguments, and then displays a very short
and really not very helpful message but now you know where to fill in that
very large and friendly help text you want the users to see! ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@845 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 08:21:20 +00:00
Daniel Stenberg
58f4d0d6c6 now manages simulator makefiles too!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@841 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 07:22:38 +00:00
Daniel Stenberg
bdf24904c9 allow commented lines in FILES
generate the apps/version.h version define properly


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@793 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 12:56:35 +00:00
Daniel Stenberg
349e73079e add the FILES file itself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@778 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 08:56:30 +00:00
Daniel Stenberg
c7036f1f5e use a better file to find the firmware dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@746 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 12:33:30 +00:00
Daniel Stenberg
14671eb04c add the release script itself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@742 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 11:58:35 +00:00
Daniel Stenberg
93a14e20e6 this script builds release tarballs, pass a version number as argument,
make sure the FILES file include all files to include!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@740 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 11:57:12 +00:00
Daniel Stenberg
4cd5ad6688 files included in release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@739 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 11:56:13 +00:00
Daniel Stenberg
44d76bc1ae store nodebug status too, as it makes 'update' work better if there's
a non-empty field when the status is known, be it debug or nodebug.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@690 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 10:14:10 +00:00
Daniel Stenberg
2f06ff764f the all target only builds in apps now, as the apps Makefile itself will
depend on the firmware lib and run that makefile if needed


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@688 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 10:10:20 +00:00
Daniel Stenberg
40c6129c91 fixed the clean target, also made two separate clean targets in case
you ever wanna clean just one of them


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@686 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:33:37 +00:00
Daniel Stenberg
3c286ec63c generates separate 'firmware' and 'apps' targets in the makefile, also
added a clean target


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@671 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 13:55:26 +00:00
Daniel Stenberg
f8a59f27f8 change the order we check for the apps dir to more often get the shortest
path


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@670 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 12:48:04 +00:00
Daniel Stenberg
6709658768 escape $ properly, added 'update' support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@662 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 10:10:44 +00:00
Daniel Stenberg
fcf56299f2 pass better variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@661 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:58:44 +00:00
Daniel Stenberg
e0c12aff3b bash happy now?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@660 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:39:31 +00:00
Daniel Stenberg
82e6a07298 try the directories in the current dir too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@657 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:18:14 +00:00
Daniel Stenberg
3aacd2edf1 First attempt. This script sets up a toplevel build Makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@656 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:11:35 +00:00
Björn Stenberg
00b26e63fc Header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@72 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 10:49:59 +00:00
Björn Stenberg
5dc1d10b0d Test commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@65 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 08:58:41 +00:00
Björn Stenberg
b9139255ad Added Rockbox header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@63 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 08:53:12 +00:00
Björn Stenberg
efdfdc3284 Added more targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@57 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 14:42:55 +00:00
Björn Stenberg
09efa1bf0d Fixed comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@56 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 14:42:40 +00:00
Björn Stenberg
e1715c27e0 First checkin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@55 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 14:34:13 +00:00