Commit graph

19016 commits

Author SHA1 Message Date
Jonathan Gordon
c7fec13fd8 FS#9173 - move all time/clock related settings in the menus into system > "time & date" (this includes sleep timer, alarm settings)
The time/date dispaly has been moved out of the "rockbox info" screen and into this screen also (only displayed if there is at least 3 lines of text on the screen though)
The time/date is talked in this screen by pressing the usual context-menu button (usually long-select)

Targets without a RTC are not changed (i.e sleep timer isnt moved)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19282 a1c6a512-1295-4272-9138-f99709370657
2008-12-01 09:28:14 +00:00
Rafaël Carré
a783453ff9 Sansa AMS: sd_enable() isn't available in the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19281 a1c6a512-1295-4272-9138-f99709370657
2008-12-01 08:18:22 +00:00
Rafaël Carré
ce851c0c67 Sansa AMS: disable SD clocks when not in use (copied from FS#9570)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19280 a1c6a512-1295-4272-9138-f99709370657
2008-12-01 04:17:39 +00:00
Rafaël Carré
50519416ca Sansa Clip : save one instruction per 8 pixels loop in lcd_grey_data
We set directly the needed bits to write into DBOP_DOUT (15:13 and 3:0)
Since we can't set the mask 0xf00f with one mov instruction, revert the
logic and use orrne instead of biceq (in the whole function for consistency)

Fix suggested by Jens Arnold

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19279 a1c6a512-1295-4272-9138-f99709370657
2008-12-01 04:07:13 +00:00
Rafaël Carré
c9ba3adf0d Sansa AMS: do not load stack and bss inside the rockbox binary (FS#9593)
Define _loadaddress to fix RAM usage reported by mkinfo.pl

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19278 a1c6a512-1295-4272-9138-f99709370657
2008-12-01 03:54:27 +00:00
Frank Gevaerts
ca123a1ad3 don't waste time and binsize enabling the usb controller just before rebooting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19277 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 20:39:53 +00:00
Rafaël Carré
0b6d65b09e Sansa AMS: Use a valid PLL setting (248MHz aka maximum fclk)
Fix lcd drivers which stopped working after changing the PLL.
Move set_cpu_frequency() to a place where it is actually used.
Remove enable_irq() call already done by the bootloader

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19276 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 16:36:32 +00:00
Frank Gevaerts
f235f1d4c0 Remove usb_drv_wait from the public usb api, and remove the implementation from usb-drv-arc.c, as it is not actually used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19275 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 15:56:49 +00:00
Frank Gevaerts
b9c49fd474 Replace USE_HIGH_SPEED with USB_NO_HIGH_SPEED, as high speed support is the normal case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19274 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 15:53:36 +00:00
Frank Gevaerts
caaf3c0b97 Move tcc77x/usb-tcc77x.c to usb-tcc.c as it is more general than just tcc77x (even usb-tcc is too specific, but I don't know anything better)
Add #if0ed USB defines to config-cowond2.h, so experimenting with USB is easy
Add dummy set_serial_descriptor() implementation to usb_core.c. This one doesn't generate a unique serial, so it must never be used for non-testing purposes. When usaed, a compiler warning will be generated


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19273 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 15:43:15 +00:00
Nils Wallménius
5f7db212d5 Restore compiler optimization level for libmad, was lost in the buildsystem rework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19272 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 14:46:38 +00:00
Marianne Arnold
c5f577d63a Since r19253 bubbles uses a standard menu instead of a custom start screen where certain key presses were used to adjust start level etc. The button table in the manual doesn't need to mention them either.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19271 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 13:48:31 +00:00
Bertrik Sikken
ae929e4dcd Make struct text_message const in apps/onplay.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19270 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 12:33:58 +00:00
Marianne Arnold
65e8277a22 New manual keymap files: the H100 and H300 use the same keymap in the code so they can share one keymap tex file too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19269 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 12:05:03 +00:00
Jens Arnold
89a6fe7ae4 Remove extraneous semicolons, and fix a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19268 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 11:54:20 +00:00
Jens Arnold
b153133682 Remove extraneous semicolons, and fix a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19267 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 11:53:52 +00:00
Dominik Wenger
fbb80b00db Init the ata_sd mutex before use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19266 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 11:38:26 +00:00
Robert Menes
1b75e16b95 FS #9589 by Melba Sitjar: updated strings for Tagalog language file.
This should bring the translation to 100% now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19265 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 03:24:27 +00:00
Jens Arnold
797ef6585a Fix APE 16-bit mono output: mono signals need to be scaled for rockbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19264 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 01:01:04 +00:00
Jonathan Gordon
15671aa476 do not modify the CCU_IO register since we don't use GPIOD (from FS#9569)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19263 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 00:35:25 +00:00
Marianne Arnold
e090bea1fa Manual: Platform files - split out the button and action commands from the platform files into separate keymap files. This avoids code duplication for targets which share the same keymap (M5,X5; the Archos Recorders and Ondios etc.). Before, someone would have to change a few files if e.g. something changed for the Ipod 4G pad, now only the keymap-ipod4g.tex has to be edited. The shared keymap files contain all possibly needed commands, for instance the radio screen actions in keymap-mx5.tex which is only used for the X5 not the M5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19262 a1c6a512-1295-4272-9138-f99709370657
2008-11-29 11:04:02 +00:00
Jens Arnold
e8f22ac6fd Fix wrong data type.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19261 a1c6a512-1295-4272-9138-f99709370657
2008-11-29 08:19:00 +00:00
Jens Arnold
88270f7622 Resurrect the ARM7 16-bit packed vector addition/subtraction for ARMv5, giving a nice speedup for the higher compression levels (tested on Cowon D2).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19260 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 23:50:22 +00:00
Frank Gevaerts
d158a6d0c9 D2 also needs audiohw_preinit()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19259 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 23:44:06 +00:00
Jens Arnold
89b41571ac Add another missing file to 'clean' target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19258 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 22:22:47 +00:00
Rafaël Carré
4a4c3c5cb0 Sansa Fuze: do not modify the CCU_IO register since we don't use GPIOD
Finding by Thomas Martitz

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19257 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 11:51:09 +00:00
Rafaël Carré
82c5101e57 Sansa Fuze: remove left over copy-pasta (fix status bar flickering)
Patch by Daniel Weigl

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19256 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 10:53:58 +00:00
Michael Sevakis
546d0dd4e6 Recording: Change some encoder code the operation of which was apparantly unclear. It seems clearer now anyway. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19255 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 07:23:13 +00:00
Jonathan Gordon
8fb25b7c3e Fix FS#8998 - statusbar in plugin menus was sometimes a different colour.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19254 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 03:10:35 +00:00
Jonathan Gordon
fc9dc0a54a Replace the bubbles start screen with a standard menu to fix FS#8950.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19253 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 02:31:17 +00:00
Rafaël Carré
5656f8245f Sansa Clip: build plugins (FS#9578)
Use unmodified C200 keymap when possible, variation of it when not
Use Archos bitmaps when possible

Current problems:
- Pegbox plugin shows display corruption (corruption is different in the simulator)
- Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen
- Splitted screen (yellow/blue) is a bit weird in most plugins

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19252 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 00:37:28 +00:00
Rafaël Carré
ddaa878097 Sansa AMS: I2SOUT registers definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19251 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 00:37:12 +00:00
Jens Arnold
113c285045 On ARM9TDMI (e.g. Gigabeat F) it's faster to use a ldr/str pair than add+ldmia/stmia for 2 registers. On ARM7TDMI a str pair is equally fast, so go for the simpler macro and use it for all ARMv4.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19250 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 22:07:46 +00:00
Rafaël Carré
81fe625a62 Sansa Clip: grey lib support (not calibrated yet)
Declare HAVE_LCD_INVERT
Put the framebuffer into IRAM

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19249 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 21:07:54 +00:00
Jens Arnold
6d34e33b94 Speed up the predictor a little by using ldrd/strd on ARMv5+. This required shuffling around the register allocation somewhat. Performance on ARMv4 is unaffected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19248 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 20:52:23 +00:00
Dominik Riebeling
92f34edf70 Make Select change the scroll direction in Sudoku on Ipods (FS#8428 by Henri Valta).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19247 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 20:26:50 +00:00
Rafaël Carré
797e8f42ba Sansa Clip: Make show_logo() put the text in the yellow area of the screen
and the logo in the blue area (like for the bootloader)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19246 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 12:51:08 +00:00
Michael Sevakis
23e59f20bf Gigabeats S: Simply ignore that occasional spurious unknown IRQ (-1) that goes through irq_handler even if the AVIC is used. If no pending interrupt is indicated (anything else should be vectored), simply returning from the handler appears to have no ill effect. The cause for entering irq_handler is unknown for now (or I missed something important :\).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19245 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 11:49:49 +00:00
Jonas Häggqvist
b4fb3cd8bd Language updates:
- Danish by me.
 - Thai by Pinitnun Shanasabang (FS#9581)
 - Finnish by Jani Kinnunen (FS#9540)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19244 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 09:34:55 +00:00
Michael Sevakis
e8874e920b Remove doubled 16k samplerate flag.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19243 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 08:27:36 +00:00
Björn Stenberg
34332cf2ec Don't generate dependencies for make targets that don't need them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19242 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 23:21:30 +00:00
Björn Stenberg
3eece18b95 Write dependencies to a temporary file until they are completed. This fixes the problem with an aborted dependency generation not being detected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19241 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 23:20:12 +00:00
Rafaël Carré
4e4b1d00f9 Sansa AMS: make set_cpu_frequency() handle frequency 0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19240 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 23:19:13 +00:00
Björn Stenberg
ef6b49815b Bug fix: $@ should not be used in rules with multiple targets targets (causes confusion).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19239 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 22:48:26 +00:00
Michael Sevakis
89c9dbe21c Fix red in GBS bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19238 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 22:00:28 +00:00
Michael Sevakis
495115b84a Add hardware backlight fading on Gigabeat S with fade up and down options in LCD Settings. USE_BACKLIGHT_CUSTOM_FADING_BOOL is used to specify the setting type needed but leave the fading code itself implementation-defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19237 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 21:26:22 +00:00
Jens Arnold
5b0d74a7d3 Get rid of unused return values, except the one from decode_chunk() which will be used in the dual core split.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19236 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 18:01:18 +00:00
Michael Sevakis
ffc6766a4d Add missing svn properties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19235 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 17:47:42 +00:00
Rafaël Carré
97e907538a Sansa AMS: implement set_cpu_frequency()
Use a 24MHz peripheral clock instead of 64MHz for battery life

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19234 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 16:46:12 +00:00
Rafaël Carré
a39e4e9962 Sansa AMS: use non-busy wakeup to signal end of DMA transfer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19233 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 16:02:00 +00:00