Commit graph

2303 commits

Author SHA1 Message Date
Daniel Stenberg
b377086bef a few more translated strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2316 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:45:19 +00:00
Hardeep Sidhu
c2c8d1cd1e Fixed follow playlist bug when current track was in root directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2315 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:42:21 +00:00
Daniel Stenberg
04adfe2703 swedish translation file, proof of concept
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2314 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:21:43 +00:00
Daniel Stenberg
f518b9ea9c initial VERY basic language file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2313 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:21:03 +00:00
Daniel Stenberg
f2873d255a use an unsigned char * for the string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2312 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:20:31 +00:00
Daniel Stenberg
df322a6c30 regenerated with the new genlang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2311 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:20:05 +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
012e688bf9 no C99 stuff here ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2309 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:10:41 +00:00
Hardeep Sidhu
aa287bb8cc 1. Update the playlist index when starting the list (fixes invalid track num when playing from directory). 2. Estimate new position when ffw/rew VBR file with no TOC (eg. tracks recorded with AJBR).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2308 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:04:43 +00:00
Daniel Stenberg
d96b78b5a5 include the language files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2307 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 06:45:22 +00:00
Daniel Stenberg
0bc588cddc First simple steps using possibly translated strings for the main menu.
The lang.h file in CVS is meant to contain the default english strings.
Generate your favourite local one using the proper language file.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2306 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 06:44:10 +00:00
Felix Arends
99e3b2d186 don't need libc any more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2305 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 21:01:31 +00:00
Felix Arends
306c316433 added memcmp function to make rockbox compilable with latest gcc versions without using libc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2304 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 21:01:06 +00:00
Felix Arends
6ac83901a5 now compiles with GNUSH v203 as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2303 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 19:35:28 +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
Linus Nielsen Feltzing
842d5a99d0 Now skips garbage padding after the ID3V2 tag, along with Xing and LAME headers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2300 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 13:32:12 +00:00
Linus Nielsen Feltzing
2bd519d7b7 Removing the ID3V1 tag could give a negative len variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2299 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 13:31:17 +00:00
Daniel Stenberg
a6df1fd48d removed redundant size checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2298 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 10:42:27 +00:00
Daniel Stenberg
f9a46c1cda When getting tag contents, we might read a tag which has a part of it within
our buffer and part outside. This adjusts so that we only attempt to read
the part of the tag that is inside the buffer. Magnus Holmgren helped out
here!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2297 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 10:14:56 +00:00
Daniel Stenberg
9fe53cda9a if the id3v2 tags avaiable are bigger than our buffer size, at least try
to get the ones that is within the boundaries.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2296 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 08:18:51 +00:00
Daniel Stenberg
fba7a4102f lcd_setfont() is for bitmap LCDs only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2295 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 06:51:43 +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
Robert Hak
8e1a00ccb2 added Lee Marlow's get_option() wrap patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2293 a1c6a512-1295-4272-9138-f99709370657
2002-09-14 06:03:51 +00:00
Björn Stenberg
f269b0cf4d Exit on_screen on combination key release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2292 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 15:54:23 +00:00
Björn Stenberg
8b837a83b4 Draw on_screen as soon as any ON+key is pressed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2291 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 15:27:48 +00:00
Björn Stenberg
8ce651efa0 Added pitch setting screen for recorders. Hold ON in wps to see it. Pitch range is 50-200%
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2290 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 13:14:06 +00:00
Linus Nielsen Feltzing
4ede925c8d mpeg_set_pitch() was backwards
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2289 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 09:26:14 +00:00
Daniel Stenberg
8389b975bb mention font stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2288 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:56:58 +00:00
Daniel Stenberg
e7ae9943d4 added Greg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2287 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:54:24 +00:00
Daniel Stenberg
f2f4d794f6 chartables.c is gone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2286 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:43:28 +00:00
Daniel Stenberg
7414c3acda bye bye chartables, you have served us well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2285 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:38:50 +00:00
Daniel Stenberg
0a1c22128f Greg Haerr's font patch 3:
Rotates the font bitmaps only once at font_init() time, with some source
cleanup to rockbox standards.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2284 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:37:49 +00:00
Daniel Stenberg
48c23501e9 moved the 12x16 font from the chartables to the bounce code, as that is
now the only code using that font table


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2283 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:32:25 +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
cc1662420f undef MAX_PATH before defining it makes it play the simulator game better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2280 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:27:16 +00:00
Daniel Stenberg
c455e7bd53 minor corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2279 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:06:26 +00:00
Robert Hak
11b67af481 Bill Napier's patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2278 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 21:33:33 +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
d45a1dbe1f no longer include unicode.h, we've removed that file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2273 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:51:54 +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
47a16e0490 obsolete
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2270 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:35:10 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Linus Nielsen Feltzing
5ed78ea80c Pitch control for Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2267 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 12:25:44 +00:00
Robert Hak
174f4945f3 adi is stupid improvements
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2266 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 09:20:03 +00:00