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