summaryrefslogtreecommitdiff
path: root/apps (follow)
Commit message (Collapse)AuthorAge
* No need to have this variable global anymore.Thomas Martitz2009-10-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23305 a1c6a512-1295-4272-9138-f99709370657
* Fix a few potential redraw problems with the custom statusbar and wps ↵Thomas Martitz2009-10-20
| | | | | | | | | 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
* Fix red caused by ancient incorrect #ifdefs.Thomas Martitz2009-10-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23303 a1c6a512-1295-4272-9138-f99709370657
* Convert lcd_activation callbacks to use the event system to allow for ↵Thomas Martitz2009-10-20
| | | | | | | | | 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
* Correct wrong usage of event callbacks all over the place. It's not supposed ↵Thomas Martitz2009-10-20
| | | | | | | | 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
* usb_keypad_mode shouldn't depend on SIMULATORFrank Gevaerts2009-10-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23294 a1c6a512-1295-4272-9138-f99709370657
* USB_ENABLE_HID can be enabled without USE_ROCKBOX_USB, so move the usb_hid ↵Frank Gevaerts2009-10-20
| | | | | | 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
* Use pointer to memos instead of accessing the array.Teruaki Kawashima2009-10-20
| | | | | | Adjust spaces. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23289 a1c6a512-1295-4272-9138-f99709370657
* Cleanup quickscreen text drawing by using text alignment flags for viewports.Thomas Martitz2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23283 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow: wrong file usedTomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23281 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow: Missing statusbar.h include (hopefully the last one missing)Tomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23280 a1c6a512-1295-4272-9138-f99709370657
* Remove redundant ata_mmc.h include in screens.cTomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23279 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow: Missing ata_mmc.h includeTomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23278 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow: Another try at fixing aggressive includes removalTomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23276 a1c6a512-1295-4272-9138-f99709370657
* Fix red: Too aggressive exclusion of includesTomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23274 a1c6a512-1295-4272-9138-f99709370657
* Extract usb_screen logic out of screens.c into apps/gui/usb_screen.cTomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23273 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#10689 - H10 USB HID keymap problem - continued Tomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23272 a1c6a512-1295-4272-9138-f99709370657
* Remove declaration of inexistent functionTomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23271 a1c6a512-1295-4272-9138-f99709370657
* Updated french translation.Mustapha Senhaji2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23270 a1c6a512-1295-4272-9138-f99709370657
* FS#10692 - Viewpority USB screen Tomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23269 a1c6a512-1295-4272-9138-f99709370657
* Compressor: save lots of RAM, bug fix to work with internally clipped samplesJeffrey Goode2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23268 a1c6a512-1295-4272-9138-f99709370657
* Remove a few superfluous calls and use the correct symbol.Thomas Martitz2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23262 a1c6a512-1295-4272-9138-f99709370657
* Add a browse (remote) custom statusbar item in the theme settings.Thomas Martitz2009-10-19
| | | | | | 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
* Don't introduce a new string, instead reuse LANG_FAILED.Tomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23260 a1c6a512-1295-4272-9138-f99709370657
* Splash error message when loading language from dir browser failsTomer Shalev2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23259 a1c6a512-1295-4272-9138-f99709370657
* Initial custom statusbar commit.Thomas Martitz2009-10-19
| | | | | | | | | | | | | | | | | | | | 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
* Reorder members for more efficient alignment.Thomas Martitz2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23254 a1c6a512-1295-4272-9138-f99709370657
* r23208 broke conditional use of metadata and filename tags. Return NULL ↵Thomas Martitz2009-10-18
| | | | | | instead of "n/a" to make it work again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23253 a1c6a512-1295-4272-9138-f99709370657
* Use pointer instead of multiple access to arrayTomer Shalev2009-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23249 a1c6a512-1295-4272-9138-f99709370657
* Use wrap-safe TIME_BEFORE/TIME_AFTER macros to compare times with ↵Bertrik Sikken2009-10-18
| | | | | | current_time, instead of comparing them directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23246 a1c6a512-1295-4272-9138-f99709370657
* Also filter lines with only spaces in apps/features. At least mr500 had ↵Frank Gevaerts2009-10-18
| | | | | | those after the preprocessing step. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23245 a1c6a512-1295-4272-9138-f99709370657
* Change the .lng files to contain strings from multiple users. Still ↵Tom Ross2009-10-18
| | | | | | 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
* Updated french translation part II, sorry for the previous version where the ↵Mustapha Senhaji2009-10-17
| | | | | | commit message was skipped. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23236 a1c6a512-1295-4272-9138-f99709370657
* git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23235 ↵Mustapha Senhaji2009-10-17
| | | | a1c6a512-1295-4272-9138-f99709370657
* Revise r23225 a bit, removing the debug_printf function and implementing ↵Nils Wallménius2009-10-17
| | | | | | 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
* Add a option to skip length which lets you skip 5s before the end of a song, ↵Thomas Martitz2009-10-17
| | | | | | which can be useful on gapless albums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23229 a1c6a512-1295-4272-9138-f99709370657
* USB HID: Add mouse mode to h10Tomer Shalev2009-10-17
| | | | | | | | - 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
* Const correctness for output_dyn_value and unify some identical constantsNils Wallménius2009-10-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23227 a1c6a512-1295-4272-9138-f99709370657
* fix yellow by 'un-staticing' the printing wrapper function and typo causing redNils Wallménius2009-10-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23226 a1c6a512-1295-4272-9138-f99709370657
* Use a wrapper function for the very common snprintf(); lcd_puts() sequence ↵Nils Wallménius2009-10-17
| | | | | | to save some binsize git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23225 a1c6a512-1295-4272-9138-f99709370657
* Manual: Add mrobe100's remote control support to the manualTomer Shalev2009-10-17
| | | | | | | | - 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
* Change lang_init() to take a source, destination, and count. Needed for ↵Tom Ross2009-10-17
| | | | | | translatable plugins. Minor stylist changes as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23221 a1c6a512-1295-4272-9138-f99709370657
* Fix red: Type in constantTomer Shalev2009-10-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23220 a1c6a512-1295-4272-9138-f99709370657
* USB HID: Use different context for each mode; Use constant for each action;Tomer Shalev2009-10-17
| | | | | | | | | | | | | 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
* Fix Player, checkwps and database toolsThomas Martitz2009-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23215 a1c6a512-1295-4272-9138-f99709370657
* Revert r23212, I committed it accidentally.Thomas Martitz2009-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23214 a1c6a512-1295-4272-9138-f99709370657
* initial custom statusbar commitThomas Martitz2009-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23212 a1c6a512-1295-4272-9138-f99709370657
* Pluginlib: make scroll functions clear screen if scrolled by >= screen size ↵Torne Wuff2009-10-16
| | | | | | (from FS#10330) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23211 a1c6a512-1295-4272-9138-f99709370657
* Make next_screen static and add a comment.Thomas Martitz2009-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23210 a1c6a512-1295-4272-9138-f99709370657
* Rework albumart buffering internally to allow for mutliple albumart sizes.Thomas Martitz2009-10-16
| | | | | | | | 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