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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Thomas Martitz
71411ee83a
Change %mp tag to use current_playmode(). It has upto 9 values now, including recording and radio states.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23206 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 19:14:28 +00:00
Torne Wuff
af8cc7d35f
Change the icon used for the System menu to the same as the System Settings menu. Previously it was Icon_Questionmark which seems out of place on many themes.
...
FS#9727
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23204 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 16:42:44 +00:00
Torne Wuff
799246e227
Gigabeat S: Add support for dumping the flash from debug menu
...
Also, changed FLASH_SIZE for the S to 2MB rather than 4MB as all available evidence suggests it's right.
Flyspray: FS#10410 (by me)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23203 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 16:08:11 +00:00
Thomas Martitz
01702a4032
Fuze: Change the button to mark possibilities from a select+up combo to just select, which should be more easily discoverable.
...
Flyspray: FS#10459
Author: Nick Tryon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23200 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 11:39:46 +00:00