Commit graph

697 commits

Author SHA1 Message Date
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
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
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
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
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
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
Robert Hak
e9d5127eaa efficiency improvement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2265 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 09:11:59 +00:00
Linus Nielsen Feltzing
0be1d26674 Only handle # comments in file based playlists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2264 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 07:51:49 +00:00
Hardeep Sidhu
8a1187e80a Renamed "Browse Current" to "Follow Playlist"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2263 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 06:45:47 +00:00
Eric Linenberg
5d33b5b68f classic snake game by Itai Shaked
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2260 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 15:55:37 +00:00
Hardeep Sidhu
62bec9e0d2 Flush and reload preloaded tracks if playlist changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2259 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:50:40 +00:00
Daniel Stenberg
faf31f0b30 use lcd_update_rect() even on simulators (*crosses fingers*)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2258 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:43:01 +00:00
Linus Nielsen Feltzing
331fcf628a Oooops! Players need the set_chanconf() function too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2254 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 06:24:46 +00:00
Linus Nielsen Feltzing
75d77155dc Added function pointer argument to set_option(). This allows for instantaneous response from the AVC and Channels sound options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2253 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 05:31:12 +00:00
Björn Stenberg
3b97474978 lcd_puts() now clears to end-of-line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2252 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:57:00 +00:00
Björn Stenberg
50053d11a0 Much expanded wormlet (Philipp Pertermann). Read the manual... :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2250 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:30:16 +00:00
Björn Stenberg
889197dbf5 Added tracknum and playlist to id3 browser (Magnus Holmgren). Enabled id3 browser on recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2249 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:18:44 +00:00
Hardeep Sidhu
ddfa4cb0e5 Go to current song (instead of root) when exiting wps after resume and browse current enabled. Also, if current file is at end of directory listing, show more files on the screen when exiting wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2247 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 17:32:15 +00:00
Linus Nielsen Feltzing
066a547288 Now saves channel config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2245 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:25:54 +00:00
Linus Nielsen Feltzing
b10989830c Added channel configuration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2243 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:13:33 +00:00
Eric Linenberg
ecca123dd2 Hardeep's browse current file patch. When hitting stop while playing, you will be on the current song, also this is configurable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2239 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 14:25:39 +00:00
Felix Arends
1d412e2611 now also build without parameters
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2232 a1c6a512-1295-4272-9138-f99709370657
2002-09-08 20:14:10 +00:00
Felix Arends
a0f32d50ea a new apps makefile for windows (GNUSH) supporting DISABLE_GAMES and different targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2229 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 19:49:49 +00:00
Björn Stenberg
25f0b3b777 Added support for %d4 to %d9 in the WPS format string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2226 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 12:34:10 +00:00
Björn Stenberg
94afb54228 Renamed 'load default config' to 'reset settings'. Made it work on recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2225 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 12:28:46 +00:00
Björn Stenberg
11fbddb5b6 Removed hard-coded time display on recorder and added %pb progress bar tag instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2218 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 23:17:02 +00:00
Björn Stenberg
77904ab892 Added snow for real.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2216 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 22:30:10 +00:00
Björn Stenberg
451d7f5d37 Renamed menu item 'Screensavers' to more descriptive 'Demos'. Added snow, removed blank and boxes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2215 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 22:28:28 +00:00
Daniel Stenberg
9381765209 To give you all a feeling from the good-old C64 demo scene, press UP or DOWN
and then change the values with LEFT and RIGHT. Enjoy!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2211 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 12:05:37 +00:00
Daniel Stenberg
0eefad89e5 include options.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2209 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 09:08:23 +00:00
Daniel Stenberg
e28cbaab8a runs smoother-looking on target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2208 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 09:08:10 +00:00
Linus Nielsen Feltzing
b5965448fb Now includes options.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2207 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 08:31:39 +00:00
Daniel Stenberg
9a8382d2dd undef the defines that used to be set by the makefile, since it'll prevent
a few people to get warnings


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2206 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 08:14:56 +00:00
Daniel Stenberg
6e881b4833 features.h was renamed to options.h since it collided with the system
header file using that name when building the simulator...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2205 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 07:35:40 +00:00
Justin Heiner
2f9b54b251 Added a 'Load Default Config' menu to the System menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2204 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 07:00:20 +00:00
Daniel Stenberg
d0cd07237a include features.h for deciding which features to include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2202 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:41:39 +00:00
Daniel Stenberg
d851531d08 meant to control which app features to build-in
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2201 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:41:02 +00:00
Justin Heiner
4bd90cc2ca Custom EQ files can now be loaded (*.eq). Docs coming soon :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2197 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:02:02 +00:00
Linus Nielsen Feltzing
3ec0357992 Filters out Stop events from the main menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2195 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 05:33:57 +00:00
Robert Hak
91e2694d7c Bjorn (Fisher)'s patch to skip the FAT volume ID being shown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2194 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 04:59:23 +00:00
Daniel Stenberg
dc6526c0f1 uh, fonts can be other heights too ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2190 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 17:59:53 +00:00
Daniel Stenberg
3fdb3607df Credits gone movie-style! ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2189 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 17:58:27 +00:00
Justin Heiner
c4207f1e34 Almost there with the loadable eq. still not ready to use yet though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2187 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 16:30:07 +00:00
Daniel Stenberg
e4d35f6170 made it move really smooth again and extended the X axis sine table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2185 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 13:13:01 +00:00
Daniel Stenberg
31a5607e8c include the player dir too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2184 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 12:53:14 +00:00