Commit graph

22431 commits

Author SHA1 Message Date
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
Tomer Shalev
dc19343392 Fix red: Too aggressive exclusion of includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23274 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:28:18 +00:00
Tomer Shalev
5d585f4b9b Extract usb_screen logic out of screens.c into apps/gui/usb_screen.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23273 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:19:30 +00:00
Tomer Shalev
37daec75fb Fix FS#10689 - H10 USB HID keymap problem - continued
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23272 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:05:09 +00:00
Tomer Shalev
c1a58e27b7 Remove declaration of inexistent function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23271 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 20:39:36 +00:00
Mustapha Senhaji
7ed13270b0 Updated french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23270 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 20:11:47 +00:00
Tomer Shalev
9ea3da8fda FS#10692 - Viewpority USB screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23269 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 20:06:51 +00:00
Jeffrey Goode
c8fa54ecfa Compressor: save lots of RAM, bug fix to work with internally clipped samples
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23268 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 19:40:12 +00:00
Tomer Shalev
334e03e55b rbutil: Updated Hebrew translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23267 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 19:29:33 +00:00
Alex Parker
7d56bf45a6 Add beastpatcher download location to the Gigabeat S manual, and add dual-boot bootloader install instructions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23266 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 18:15:10 +00:00
Dominik Wenger
41c497025f Initial mini2440 port.
Flyspray: FS#10627
Author: Bob Cousins

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23265 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 18:14:27 +00:00
Tomer Shalev
660dbd697d rbutil: Change layout to RTL if Hebrew language is used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23264 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 17:38:46 +00:00
Frank Gevaerts
bad510ad10 Change control handling to start expecting host packets before sending data to the host. This makes the handling less timing sensitive on some controllers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23263 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 16:21:50 +00:00
Thomas Martitz
ee6557eeda Remove a few superfluous calls and use the correct symbol.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23262 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 16:12:42 +00:00
Thomas Martitz
de7f241046 Add a browse (remote) custom statusbar item in the theme settings.
Uses the same icon that browse wps uses for now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23261 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 16:08:43 +00:00
Tomer Shalev
9351d41e5a Don't introduce a new string, instead reuse LANG_FAILED.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23260 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 16:01:05 +00:00
Tomer Shalev
bb5078c5ea Splash error message when loading language from dir browser fails
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23259 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 15:50:06 +00:00
Thomas Martitz
1016ee4e80 Initial custom statusbar commit.
The custom statusbar can be used as a WPS for the main UI, using .(r)sbs files. It's using the skin engine and knows all tags the WPS also knows.
The default folder for .sbs is the wps folder to reuse images used in the WPS.
As it can be shown in the WPS also, it's useful to move shared parts to the custom statusbar in order to save skin buffer space.
There are a few restrictions/TODOs:
*) Peak meter doesn't redraw nicely(not frequent enough), as very frequent updates would slow the UI down as hell (some targets fight with it in the WPS already: FS#10686)
*) No touchregion support as the statusbar doesn't have any action handling (it won't fail to parse though).
*) Drawing stuff into the default VP is forbidden (loading images in it is not). You *need* to use viewports for the displaying stuff (parsing fails if no viewport is used).
*) Themes that don't use a custom ui viewport can be fixed up using the new %Vi tag to avoid nasty redraw effectts (you must not draw into it as well, it's used to fix up the ui viewport). %Vi describes the viewport that the lists can use without getting in the way of the statusbar.

Otherwise, it behaves like the classic statusbar, it can be configured in the theme settings, and can be turned off in the wps using %wd.

Note to translaters: When translating LANG_STATUSBAR_CUSTOM, please consider using the same translation as for LANG_CHANNEL_CUSTOM if it's compatible. They could be combined later then.

Flyspray: FS#10566
Author: myself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23258 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 15:28:15 +00:00
Björn Stenberg
00695baac0 Updated location of Gigabeat F/X bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23257 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 11:42:11 +00:00
Jack Halpin
c5a3f93ac3 AMS Sansa: Adjust SD Card frequency to Identification frequency at beginning of card init instead of the end of pl180 controller init.
If a card is reinitialized now the ident frequency is used instead of the bypass frequency during the identification phase.

Added comments throughout sd_init_card() to help follow init process and highlight indent stage.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23256 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 05:34:25 +00:00
Jack Halpin
a5fd68d13d AMS Sansa: Add voltage defines to pl180.h. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23255 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 05:34:17 +00:00
Thomas Martitz
6225f388b8 Reorder members for more efficient alignment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23254 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 00:26:46 +00:00
Thomas Martitz
c26949c54b r23208 broke conditional use of metadata and filename tags. Return NULL instead of "n/a" to make it work again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23253 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 23:58:42 +00:00
Tomer Shalev
3cc5345bc5 Use pointer instead of multiple access to array
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23249 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 20:19:18 +00:00
Tomer Shalev
602316095a rbutil: Updated Hebrew translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23248 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 20:17:49 +00:00