Commit graph

22490 commits

Author SHA1 Message Date
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
Bertrik Sikken
8ce01bac89 S5l8700: fix some CLCD controller register names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23247 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 19:44:50 +00:00
Bertrik Sikken
d24d885aa4 Use wrap-safe TIME_BEFORE/TIME_AFTER macros to compare times with current_time, instead of comparing them directly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23246 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 15:50:30 +00:00
Frank Gevaerts
1c64a4d3e0 Also filter lines with only spaces in apps/features. At least mr500 had those after the preprocessing step.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23245 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 14:24:25 +00:00
Rafaël Carré
735b522929 Split ARMv6 code from mmu-arm.S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23244 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 13:07:14 +00:00
Michael Sparmann
b424b852e5 iPod Nano 2G storage performance improved by not copying around buffers unneccessarily if they are aligned anyways and using cache coherency functions instead of bypassing the caches altogether.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23243 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 12:36:17 +00:00
Michael Chicoine
8f6f19ac00 Add Fuze virtual keyboard keymap chart to manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23242 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 04:14:16 +00:00
Tom Ross
ec2737b2c2 Change the .lng files to contain strings from multiple users. Still hard-coded to only output the core strings for now. Should be the majority of the core changes needed for translatable plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23241 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 00:56:42 +00:00
Michael Sparmann
bde0231803 Add dcache cleaning to the S5L870x PCM driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23240 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:08:51 +00:00
Michael Sparmann
3ac50ca9ff Fix S5L870x cache coherency functions. They were split into a different file, as changes were needed all over the place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23239 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:06:45 +00:00
Michael Sparmann
4562e683a2 Implement iPod Nano 2G nand_get_info()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23238 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:00:49 +00:00
Michael Sparmann
8f1709f434 Adjust iPod Nano 2G CPU speed to 192MHz, which measurements show it to be. Timers will be more accurate now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23237 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 22:32:46 +00:00
Mustapha Senhaji
47e06dfe9e Updated french translation part II, sorry for the previous version where the commit message was skipped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23236 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 21:33:19 +00:00
Mustapha Senhaji
e59895886e git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23235 a1c6a512-1295-4272-9138-f99709370657 2009-10-17 21:25:01 +00:00
Nils Wallménius
11fbfae20d fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23234 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 18:12:24 +00:00
Nils Wallménius
f34a841b0c Revise r23225 a bit, removing the debug_printf function and implementing more generic lcd_(remote)_putsf function(s) instead and use those in more places
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23233 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 18:02:48 +00:00
Tomer Shalev
5ca76ab9c4 Manual: Fix button tables according to guidelines
- Reference: Last comment at LatexGuidelinesTalk
- Thanks for pixelma for reporting


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23232 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 17:47:52 +00:00
Thomas Martitz
4ecf1a8c50 Correct a few misspellings of behaviour.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23231 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 16:13:53 +00:00
Thomas Martitz
1d1ccb9948 Update manual for the new "Skip to Outro" feature.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23230 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 16:05:28 +00:00
Thomas Martitz
a7c888c48e Add a option to skip length which lets you skip 5s before the end of a song, which can be useful on gapless albums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23229 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 16:05:23 +00:00
Tomer Shalev
88b1efd925 USB HID: Add mouse mode to h10
- Also fix bug where all other modes were not functional
- Hopefully fixes FS#10651 - H10 USB HID keymap problem


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23228 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 15:20:23 +00:00
Nils Wallménius
79f19b939f Const correctness for output_dyn_value and unify some identical constants
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23227 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 13:40:42 +00:00
Nils Wallménius
0659890804 fix yellow by 'un-staticing' the printing wrapper function and typo causing red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23226 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 13:31:48 +00:00
Nils Wallménius
a97133469b Use a wrapper function for the very common snprintf(); lcd_puts() sequence to save some binsize
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23225 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 13:00:58 +00:00
Tomer Shalev
fb7c285b4e Manual: Add mrobe100's remote control support to the manual
- Also mijnor changes to USB HID keymapping for this remote
- Node that the remote control buttons are not used in many action contexts


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23224 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 11:56:08 +00:00
Tomer Shalev
5f6e1beba5 Remove last comment directive at the end of line of the last \opt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23223 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 09:20:56 +00:00
Dominik Riebeling
10305ea887 When cancelling the bootloader installation delete the bootloader install object.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23222 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 09:19:09 +00:00
Tom Ross
9fbf346368 Change lang_init() to take a source, destination, and count. Needed for translatable plugins. Minor stylist changes as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23221 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 06:07:50 +00:00
Tomer Shalev
95e596c340 Fix red: Type in constant
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23220 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 05:49:40 +00:00
Tomer Shalev
4f3d7b5bcb USB HID: Use different context for each mode; Use constant for each action;
Rework keymaps

This commit makes the code neater and more readable. It makes it easier to
modify keymap assignments and new keypad modes.
Some platforms had their keypad mappings reworked.
The manual is updated to reflect all these changes.
H10 remote control mapping dropped.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23219 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 05:39:54 +00:00
Tom Ross
6d4d44caf6 Add support to genlang to sort strings based on their user. This is useful for translatable plugins. Currently, the .lng that is generated is hard-coded to only contain strings marked as core. The output of this version of genlang should be the same as non-sorting, so we don't need to change the version number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23218 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 05:24:11 +00:00
Rob Purchase
b91ae3c3cd Fix logic error in D2+ touchscreen driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23217 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 22:14:27 +00:00
Dominik Riebeling
e4af86a834 rbutil: build our libraries in the build folder like everything else. Centralize the build rules for them within the project file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23216 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:44:06 +00:00
Thomas Martitz
d7757eb75c Fix Player, checkwps and database tools
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23215 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:34:54 +00:00
Thomas Martitz
94f7651341 Revert r23212, I committed it accidentally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23214 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:34:04 +00:00
Dominik Riebeling
5c244cfcaa Move rbutil documents into a separate subfolder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23213 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:33:12 +00:00
Thomas Martitz
8d032ae136 initial custom statusbar commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23212 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:30:09 +00:00
Torne Wuff
27ece8c366 Pluginlib: make scroll functions clear screen if scrolled by >= screen size (from FS#10330)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23211 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:15:12 +00:00
Thomas Martitz
a3f0a45c0f Make next_screen static and add a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23210 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 19:14:46 +00:00
Thomas Martitz
e9c10189e9 Rework albumart buffering internally to allow for mutliple albumart sizes.
Playback now has a few albumart slots. Anything (most importantly: skins)  can obtain such a slot.
The slot has fields for the size which is passed to bufopen then to image_load to buffer the albumart with the proper size.
Currently there's 1 slot. We can increase it for remotes if we want. Custom statusbar will increase it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23209 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 19:14:41 +00:00
Thomas Martitz
a72ffe7bb5 Make the skin engine behave sane if the skin's id3 pointer is NULL (the one in struct wps_state), so that skins don't need audio to be played before being displayed (needed for upcoming custom statusbar).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23208 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 19:14:37 +00:00
Thomas Martitz
9072a4558c Add %cs tag.
It can be used conditionally and indicates the current screen (wps, rec, radio screens or lists).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23207 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 19:14:33 +00:00