Commit graph

22455 commits

Author SHA1 Message Date
Michael Sparmann
49d4c428dc Implement iPod Nano 2G storage active indicator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23325 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 23:50:32 +00:00
Michael Sparmann
16a956c4f3 Finally a click, pop and other distortion free PCM driver for that fishy bufferless S5L870x I2S controller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23324 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 23:47:38 +00:00
Tomer Shalev
92737a3877 Revert disabling of USB HID while in charging mode (introduced by r23322), in
order to prevent having no interface at all when USB HID is disabled and the
DAP is connected in charge-only mode (thanks for gevaerts for noticing).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23323 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 13:52:21 +00:00
Tomer Shalev
83d24f89df FS#10704 - Make a configuration option to disable USB HID
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23322 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 13:29:19 +00:00
Maurus Cuelenaere
6314952ff1 Lua: add parts of the math library (all floating point functions are #ifdef'ed out)
Flyspray: FS#10389
Author: myself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23321 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 10:49:55 +00:00
Maurus Cuelenaere
9dd25adae4 Lua: add do_menu() wrapper. Also fix potential NULL pointer dereference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23320 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 10:38:20 +00:00
Björn Stenberg
ff8e9d95ee "No code in .h files or #defines"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23319 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 07:26:48 +00:00
Jeffrey Goode
96bb9efdb7 Consolidate almost identical code in pcmbuf.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23318 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 01:01:00 +00:00
Dominik Riebeling
07e8647d88 Add simple progress indicator when building.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23317 a1c6a512-1295-4272-9138-f99709370657
2009-10-22 22:02:56 +00:00
Dominik Wenger
5b4938a8ca Working Bootloader for mini2440.
Flyspray: FS#10701
Author: Bob Cousins

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23316 a1c6a512-1295-4272-9138-f99709370657
2009-10-22 17:45:02 +00:00
Robert Menes
724d1e0f3c Add a blind description for the Sansa Fuze and e200v2 manuals.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23315 a1c6a512-1295-4272-9138-f99709370657
2009-10-22 01:29:51 +00:00
Jeffrey Goode
faa47bf1b7 Code cleanup in dsp.c and misc.c, some comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23314 a1c6a512-1295-4272-9138-f99709370657
2009-10-22 00:59:42 +00:00
Michael Sparmann
6afe802a83 Add a "Flushing storage buffers" message to ROLO if it needs to do that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23313 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 20:29:51 +00:00
Michael Sparmann
940fd995a4 storage_flush() should be done before disabling interrupts in ROLO.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23312 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 20:21:41 +00:00
Michael Sparmann
4e651264c2 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23311 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 19:36:37 +00:00
Michael Sparmann
2afce17cab Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23310 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 19:28:08 +00:00
Michael Sparmann
4a63ac7c00 Add iPod Nano 2G µsec timer, and use it in the clickwheel driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23309 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 18:53:41 +00:00
Michael Sparmann
7bff585d83 iPod Nano 2G: "Fix" the latest PCM issues, channel swap and vinyl popping. The latter is a revert of the cache coherency patch for now, we need to find a better solution in the long term...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23308 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 18:52:09 +00:00
Michael Sparmann
0c89c0ef7c Fix another bunch of iPod Nano 2G FTL bugs. It seems to work fine for me now, but this doesn't necessarily mean that it's bug-free.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23307 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 15:28:11 +00:00
Thomas Martitz
3ddbe63ff5 Remove all update event callbacks if the custom statusbar is unused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23306 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 23:29:13 +00:00
Thomas Martitz
8f11075f85 No need to have this variable global anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23305 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 23:15:17 +00:00
Thomas Martitz
804e3aadae Fix a few potential redraw problems with the custom statusbar and wps fighting for the same full redraw variable.
Instead, introduce a new skin struct holding data which is meant for all screens for a single skin (struct wps_state is currently used by both at the same time). Also clean up (classic) statusbar handling for skins using this new struct.
Also, implement deactivating updating of the custom statusbar when the LCD is deactivated, saving a bit battery life on some targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23304 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 23:12:20 +00:00
Thomas Martitz
239002fe9e Fix red caused by ancient incorrect #ifdefs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23303 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 22:17:13 +00:00
Thomas Martitz
d85c3ec410 Convert lcd_activation callbacks to use the event system to allow for multiple parallel callbacks (for custom statusbar).
Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing).
Removed corresponding functions from the core and plugin api. Bump min version and sort.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 21:54:59 +00:00
Thomas Martitz
774bacc692 Correct wrong usage of event callbacks all over the place. It's not supposed to return anything, and should take a data parameter.
Fixing it because correcting the event api prototypes causes many warnings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23301 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 21:54:44 +00:00
Robert Menes
872852639f A man who is long due for credit: added Christophe "toffe"
Nicolas to the credits for all of his Gigabeat findings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23300 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 21:05:23 +00:00
Rob Purchase
d94c3c47f9 D2: Remove the hardcoded driver-level touchscreen calibration, since it's done at apps level as well now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23299 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 20:57:26 +00:00
Rob Purchase
9ce9cfc0a9 D2 should have HAVE_USB_POWER defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23298 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 20:44:30 +00:00
Rob Purchase
cb2db20a32 Cleanup and expand D2 charger detection (not yet implemented for D2+).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23297 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 20:38:35 +00:00
Michael Sparmann
1668cfa3dd Fixed a bunch of iPod Nano 2G FTL bugs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23296 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 20:20:39 +00:00
Frank Gevaerts
ad29c35d7b Don't selecu any usb class drivers for a simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23295 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 18:33:23 +00:00
Frank Gevaerts
1c2172d453 usb_keypad_mode shouldn't depend on SIMULATOR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23294 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 17:30:42 +00:00
Frank Gevaerts
ad3b2e3eb7 USB_ENABLE_HID can be enabled without USE_ROCKBOX_USB, so move the usb_hid and usb_hid_mouse features a bit to allow for that
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23293 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 17:21:25 +00:00
Frank Gevaerts
4cc1b1f833 wps_screen is still needed for the HAVE_REMOTE_LCD case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23292 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 17:15:12 +00:00
Frank Gevaerts
dae2b97240 compile checkwps with -Wall, to avoid accidentally breaking it again when a function prototype changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23291 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 17:07:06 +00:00
Michael Chicoine
128b84c582 fix checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23290 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 16:22:38 +00:00
Teruaki Kawashima
3fa37e94d1 Use pointer to memos instead of accessing the array.
Adjust spaces.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23289 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 15:13:57 +00:00
Michael Sparmann
9fa0f79c06 Fix some iPod Nano 2G config defines to make USB HID work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23288 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 09:54:08 +00:00
Michael Sparmann
218314eb51 Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23286 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 07:21:08 +00:00
Michael Sparmann
d03fe64dcf iPod Nano 2G USB support based on the S3C6400X datasheet. Disabled by default for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23285 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 06:37:07 +00:00
Thomas Martitz
3ad3bec0ad Use strlcpy instead of a memset&strcpy combo. Guarantees \0-terminaltion and gives a 1-3% speed up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23284 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 00:09:16 +00:00
Thomas Martitz
72f93e5f10 Cleanup quickscreen text drawing by using text alignment flags for viewports.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23283 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 22:49:47 +00:00
Thomas Martitz
137d27af42 Fix a scrolling bug with centered drawing and too long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23282 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 22:49:41 +00:00
Tomer Shalev
0abc34b342 Fix yellow: wrong file used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23281 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:59:19 +00:00
Tomer Shalev
55a7b2dd16 Fix yellow: Missing statusbar.h include (hopefully the last one missing)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23280 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:53:56 +00:00
Tomer Shalev
6381fdc54d Remove redundant ata_mmc.h include in screens.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23279 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:46:58 +00:00
Tomer Shalev
e684a3a8f9 Fix yellow: Missing ata_mmc.h include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23278 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:44:38 +00:00
Jens Arnold
2dd45f7c6d Make RoLo work on PP5002. * Rename CACHE_CTL flag values on PP5002 for consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23277 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:38:52 +00:00
Tomer Shalev
09de59708d Fix yellow: Another try at fixing aggressive includes removal
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23276 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:34:27 +00:00
Thomas Martitz
ee7247998a Fix rolo for AMS Sansa and simplify a few #ifdefs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23275 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:32:40 +00:00