summaryrefslogtreecommitdiff
path: root/apps (follow)
Commit message (Collapse)AuthorAge
* touchscreen: Rewrite kinetic scrolling using a state machine.Thomas Martitz2012-04-08
| | | | | | | | | | | The old code was very confusing. The scrolling modes need to be handled differently, thus a state machine makes sense. Should fix numerious glitches and be easier to maintain. NOTE: Behavior is still a bit glitchy with an SBS in use, because the skin engine sees the touch events earlier than the list code. Change-Id: I4ccead359c81de0d0fc3dea636fe2cb3a28d1bc6
* touchscreen: Fix kinetic scrolling when the statusbar is off.Thomas Martitz2012-04-05
| | | | | | | | | | | The scrolling code cannot differentiate between the BUTTON_TOUCHSCREEN post from normal touches and the one posted in the timeout callback. To fix introduce a global special button (BUTTON_REDRAW) that results in the desired redraw. This existed already as a local kludge for android and is now generalized. Change-Id: I6bfa6c66431c48f5042fcd8fce2ea72cd3457f58
* Build libspc with -03 on m68k (Coldfire).Michael Sevakis2012-04-05
| | | | Change-Id: I00d918735bde2a03f17c3bb68400bf619a8429d4
* Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz2012-04-04
| | | | | | handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
* More completely flush WMA decoder state on seek to prevent artifact.Michael Giacomelli2012-04-03
| | | | | | | | Each MDCT depends on the previous frame for reconstruction. Previosly these were not zeroed out when seeking, resulting in a few milliseconds of the previous frame playing with the current one. Fix that. Additionally, since the codec treats seeks to the start of a track as a "reset", flush the entire codec state in this event to ensure that everything is reset. Change-Id: If593621a2922b0bbfa34f926f9bff31bee6b8c6a
* android: Fix crash on start up.Thomas Martitz2012-03-30
| | | | Change-Id: I0343de9347d100182c2ffd28058ac61f15097cc3
* Split sleep timer activation and default duration setting.Nick Peskett2012-03-29
| | | | | | | | | | | Where before there was a single sleep timer menu option which handled initiating/ cancelling a sleep timer as well as setting the default duration, now there is one menu option to either start or cancel a sleep timer and another to set the default duration that will be used for future sleep timers. Change-Id: Ibea3711ec6406845ff5d0c0568fe5d1739eb8deb Reviewed-on: http://gerrit.rockbox.org/201 Reviewed-by: Nick Peskett <rockbox@peskett.co.uk>
* build system: completely autodetect target cpu architecture.Thomas Martitz2012-03-28
| | | | | | | | | | | | The existing ARCH Makefile variable is exported to the C code as well. Additionally the version (arm-only for now) is detected as well. This allows to for complete autodetection, i.e. that optimized ASM is picked up if determined by preprocessor (CPU_ARM, etc). Building a sim/raaa on a arm host will now automatically generate a arm optmized build like we have for native targets. Change-Id: I0b35393f8fb3ebd20beaa9e7371fa57bf3782107
* tlsf: move to /lib (it's also used by plugins).Thomas Martitz2012-03-28
| | | | Change-Id: I5e37b28c1ce4608d60b036343f280af3311ad490
* FS#12627 - March update of Czech languageMarek Salaba2012-03-28
| | | | Change-Id: I855f0f3d3a9a126beee03aa8071ff8a9a5fa16ed
* quickscreen: optionally display the shortcuts menu instead of the QSJonathan Gordon2012-03-28
| | | | | | | | | | | Adds an option under settings > general settings > system to allow the user to have the shortcuts menu displayed instead of the quick screen. (option is "shortcuts instead of quickscreen" in the .cfg) Change-Id: Id679b461c40ac617629422736d1509384364084d Reviewed-on: http://gerrit.rockbox.org/199 Reviewed-by: Marek Salaba <marek.salaba@gmail.com> Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
* shortcuts: Don't enter shortcuts menu if there are noneJonathan Gordon2012-03-28
| | | | Change-Id: I83bef377a428829d99343acdefc7a9b826c78dd5
* skin_engine: Allow negative numbers for the start offset in %ssJonathan Gordon2012-03-27
| | | | | | i.e %ss(-1, -, %ia) will get the last letter in the %ia tag Change-Id: I6b2764d30c072b549e7424fc6e847ec48850b46a
* (Hopefully) fix overlay plugins.Thomas Martitz2012-03-26
| | | | Change-Id: I210db2109493d296dcc644d643e8814862101652
* build system: unify/simplify library handling a bit.Thomas Martitz2012-03-26
| | | | | | | libs in $ROOT/lib now add to $(CORE_LIBS) and $(EXTRA_LIBS) and are automatically linked by the core and codecs/plugins respectively. Change-Id: Iff482c792a8c8142718f6a16a450c6e2f1497c9a
* skin_engine: fix scrolling lines with dynamic contentJonathan Gordon2012-03-26
| | | | Change-Id: If85220c8b59123814e0e6b1a3b8e00c981271021
* buflib/shrink_callback: Resume playback only if it was playing (not paused).Thomas Martitz2012-03-25
| | | | Change-Id: Ie4884ec4554890f8bdb03f48bcf215ece00a5560
* Redraw simplelist if/when necessary-Thomas Martitz2012-03-22
| | | | Change-Id: I14a1cce8967af60a52d2d13e0b035b71fece8a63
* Don't hardcode cpu frequency in test_codecMarcin Bukat2012-03-22
| | | | Change-Id: Idcd7b024edb7a550b42b935fadfb3d869bab14c6
* revert changes in test_disk.c introduced by accident in r30459Marcin Bukat2012-03-22
| | | | Change-Id: Ib133070e8f307be7d54b422c37a33ddac67ec639
* Fix FS#12606 - next track can cause the screen to be clearedJonathan Gordon2012-03-20
| | | | | | | | | | | | | This is a bit of a hack. We now trigger an event when the skin engine is doing a full redraw (which means fullscreen clear) before the lcd_update() to give the current screen a chance to redraw to avoid the screen flicker. This commit fixes the issue for screens which are entirely the list widget (i.e browser and menus), other screens will need aditional fixes (i.e quickscreen, time&date screen) Change-Id: I3725c51518be724ce7aacee9877663c2de6866fa
* Option to constrain get_next_dir() to directories below ↵Nick Peskett2012-03-19
| | | | | | | | | | | | | | global_settings.start_directory. When enabled, if the user has set "Start File Browser Here" (config.cfg: start directory) to anything other than root and "Auto-Change Directory" is set to "Yes" or "Random", the directory returned when an auto change is required will be constrained to the value of "start directory" or below. Change-Id: Iaab773868c4cab5a54f6ae67bdb22e84642a9e4b Reviewed-on: http://gerrit.rockbox.org/182 Reviewed-by: Nick Peskett <rockbox@peskett.co.uk> Tested-by: Nick Peskett <rockbox@peskett.co.uk>
* Build librbcodec with DSP and metadata.Sean Bartell2012-03-18
| | | | | | All associated files are moved to /lib/rbcodec. Change-Id: I572ddd2b8a996aae1e98c081d06b1ed356dce222
* Correct polish translation.Szymon Dziok2012-03-17
| | | | | | | Author: Przemyslaw Holubowski Flyspray: FS#12531 Change-Id: I7490a162f5034da47d83d8f1812b36b7981f1d77
* More meaningful name and type for 'root menu' settingAlexander Levin2012-03-16
| | | | | | | The patch changes 'int root_menu' to 'bool root_menu_customized' which better expresses what the value means. Change-Id: Ic272ac161fc05f5d3298e1e46578977dd590ebaf
* skin_engine: Reenable skin debugging in the sim (use --debugwps)Jonathan Gordon2012-03-15
| | | | Change-Id: I2881edda45cd3ea69f5284d93bc93c47bb63b3f2
* Fix compile errorsJonathan Gordon2012-03-15
| | | | Change-Id: Ic985bf57da04847bff716ee41db8f107100ff95b
* skin_engine: New tag to draw a rectangle (optionally with a gradient)Jonathan Gordon2012-03-15
| | | | | | | | | | | %dr(x, y, width, height, [colour1[, colour2]]): x,y - viewport relative pixel coordinates to start the rectangle. width, height - obvious. can be '-' to fill the viewport if both colours are left out the viewports foreground colour will be used if one colour is specified it will fill the rectangle that colour. if both colours are specified it will gradient fill the rectangle. Change-Id: Iad451e99ded663bc7c5d182443659db7d909b388
* Fuze+/calendar's plugin update keymaps and manualJean-Louis Biasini2012-03-15
| | | | | | | | | | | - fuze+ keymaps for calculator updated - manual updated accordingly - also correct a little problem with a line only used by mpio hd300 manual but that appears on all other target's manual. Change-Id: I9c4d3c21dc6174079edbde8035bad318e09ec74a Reviewed-on: http://gerrit.rockbox.org/125 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Fuze+: update minor keymaps mapping for manual consistency/simplicityJean-Louis Biasini2012-03-15
| | | | | | | | | HID navigator zoom reset: moved from Play to long Play this will avoid having a new /opt{fuzeplus} entry in manual Change-Id: Ic1dbc7258eb280b35c761b451dcda428245978cb Reviewed-on: http://gerrit.rockbox.org/117 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Revert "Fix FS#12606 - next track can cause the screen to be cleared"Jonathan Gordon2012-03-15
| | | | This reverts commit cb9bc3bbc8a66c3d5296bfbc68f4487c39c6ac68.
* Fix FS#12606 - next track can cause the screen to be clearedJonathan Gordon2012-03-14
| | | | | | | | | | | | | This is a bit of a hack. We now trigger an event when the skin engine is doing a full redraw (which means fullscreen clear) before the lcd_update() to give the current screen a chance to redraw to avoid the screen flicker. This commit fixes the issue for screens which are entirely the list widget (i.e browser and menus), other screens will need aditional fixes (i.e quickscreen, time&date screen) Change-Id: I3ffdcd8ccad2c663732f8d5983049c837de00fe5
* Add new actions to %Tp (Touchscreen areas)Osborne Jacobs2012-03-13
| | | | | | | | | | | | | | | Add the following actions to %Tp: createbookmark create a new bookmark from the wps listbookmarks list bookmarks from the wps trackinfo show track info from the wps My main motivation was to allow bookmarking and jumping around audio books from the wps on touch enabled targets. You can do it now through the context menu but it requires 4 screen presses instead of 1. Change-Id: I1fa1bf0064dfd22b897eca7c56acc1ce8956f14c Reviewed-on: http://gerrit.rockbox.org/171 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
* Fix minor bookmark problems/Enhance bookmark functionsOsborne Jacobs2012-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix: -fixes when the bookmark menu and submenus are displayed and hidden in the context menu. -'Create Bookmark' should be hidden when tracks are queued in the playlist or nothing is currently playing (previously it was never hidden) -'List Bookmarks' should be hidden if and only if no bookmark file exists for the current playlist (previously it was hidden if tracks were queued or nothing was playing neither of which hinder loading bookmarks) -'Bookmarks' main menu should be hidden if both 'Create Bookmarks' and 'List Bookmarks' submenus are hidden -fixes a problem where the 'Bookmark Error' message was not always displayed on bookmarking failure -adds BOOKMARK_USB_CONNECTED return value to the bookmark functions to distinguish if the bookmark list was exited due to a USB connection. -fixes other minor logic problems in the bookmarking functions Change-Id: If6394b2e77f027773a7c94ffdcb52dbb15e2922b Reviewed-on: http://gerrit.rockbox.org/177 Reviewed-by: Osborne Jacobs <ozziejacks@gmail.com> Tested-by: Osborne Jacobs <ozziejacks@gmail.com> Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
* rds: show rds clock-time as broken down time instead of UTC time in debug menuBertrik Sikken2012-03-12
| | | | Change-Id: I931182ccd20cf8899f3ce9b6b8d7c7c5f4ea006f
* Change EQ settings to use a struct array in global_settings.Michael Sevakis2012-03-12
| | | | | | | | | | The previous pseudo array access of separate members wasn't very nice or clear. Change-Id: I74a2b39bb9c71a1370a455c01c4d5a860765e040 Reviewed-on: http://gerrit.rockbox.org/179 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* Tweak paramters of mp3_play_data and callback.Michael Sevakis2012-03-04
| | | | | | | | | Use generic void * and size_t and make mp3_play_data and its callback agree on types. Use mp3_play_callback_t instead of prototyping right in the function call (so it's not so messy to look at). Change doesn't appear to require plugin API version increment. Change-Id: Idcab2740ee316a2beb6e0a87b8f4934d9d6b3dd8
* test_X plugins PLA integrationJean-Louis Biasini2012-03-03
| | | | | | | | | 1) change all keymaps to PLA 2) add alternative exit keymaps Change-Id: I5cb8b1fcc515d2b6f9934482e72b80767b2c2fb0 Reviewed-on: http://gerrit.rockbox.org/158 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* One more *_filesize() to removeFrank Gevaerts2012-03-03
| | | | Change-Id: I82884712a660ad91c0e5c329ca0f8488edec21c8
* filesize() isn't prefixed anymore for sims.Frank Gevaerts2012-03-03
| | | | Change-Id: Icc08b874785ab2b8e0ebefa5e35dae4ce94e068a
* matrix: shorten statement.Thomas Martitz2012-03-03
| | | | Change-Id: I08ac097cab4c2378a4e042b47934ef5870df003d
* Plugin Matrix PLA integration (code)Jean-Louis Biasini2012-03-03
| | | | | | | | | | | | | | | This commit changes: 1) replace all keymaps with PLA ones and remove all now useless precompiler instruction. 2) add an alternative exit button (PLA_EXIT or PLA_CANCEL) 3) add the possibility to change values repeatily by holding key pressed. note: no manual for matrix yet Change-Id: Id3ace2863dd407dd5e5ab9b7b5b460c88bb007ad Reviewed-on: http://gerrit.rockbox.org/128 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
* Add the warble test program.Sean Bartell2012-03-03
| | | | | | | | | | | | Warble uses Rockbox's codecs to play files with SDL or convert them to WAV or raw formats. It also prints metadata and supports some of the DSP effects. In the future, warble could be used to implement an automated test suite for codecs, metadata, and DSP. Change-Id: Ife1a63d2354496016277bfcbae4a9c23423ebd86 Reviewed-on: http://gerrit.rockbox.org/135 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
* Plugin mosaique PLA integration (code + manual)Jean-Louis Biasini2012-03-03
| | | | | | | | | | | | | | This commit change: 1) replace all keymaps with PLA ones. 2) add an alternative exit button (PLA_EXIT or PLA_CANCEL) 3) do the required change to the manual in order to match code's changes. 4) add a missing key in the manual and show them in a table Change-Id: Ie983c7673c9dec1a9daeb34f5edaaa3c8be7dd5e Reviewed-on: http://gerrit.rockbox.org/129 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
* Correct actionable offense for misappropriation of action context.Michael Sevakis2012-03-03
| | | | | | | Just use a bool to indicate raw button instead of action code. No bother with plugin version yet again so soon. Change-Id: I4aa075c0c1fb5308c9d49bebb30ac76f671b2335
* Change keyclick_click so that it may accept raw buttons or actions.Michael Sevakis2012-03-03
| | | | | | | | Adds a new context, CONTEXT_RAWBUTTON, that I hope is out of the way of everything. Unfortunately have to increment min plugin API version for the second time today to accomodate additional parameter. Change-Id: Iaa46b926e57cf377fd4906f2d42bb98e87215033
* Plugin Starfield PLA integration (code + manual)Jean-Louis Biasini2012-03-03
| | | | | | | | | | | | | This commit changes: 1) replace all keymaps with PLA ones. 2) do the required changes to the manual in order to match code's changes. 3) add an alternative exit button (PLA_EXIT or PLA_CANCEL) Change-Id: I0cea909dd2ff44b8c5a2daba11c192965c4a02c7 Reviewed-on: http://gerrit.rockbox.org/131 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
* Plugin logo PLA integration (code + manual)Jean-Louis Biasini2012-03-03
| | | | | | | | | | | | | | | This commit changes: 1) replace all keymaps with PLA ones. 2) do the required change to the manual in order to match code's changes. 3) add an alternative exit button (PLA_EXIT or PLA_CANCEL) 4) add the possibility to change values repeatily by holding key pressed. Change-Id: Ie68fd4e94830bba8a592941ee4e8b10aeacda923 Reviewed-on: http://gerrit.rockbox.org/127 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
* Plugin snow PLA integration (code + manual)Jean-Louis Biasini2012-03-03
| | | | | | | | | | | | | this commit changes: 1) replace all keymaps with PLA ones. 2) do the required change to the manual in order to match code's changes. 3) add an alternative exit button (PLA_EXIT or PLA_CANCEL) Change-Id: I8a064b98c118e369f8464de5e43c7641d8a08e9e Reviewed-on: http://gerrit.rockbox.org/130 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
* Add a %cs(current screen) state for the "Track Info" screenOsborne Jacobs2012-03-03
| | | | | | | | | | Added a new state (current activity) to the %cs tag for the Track Info screen. This will allow the Track Info screen to be detectable when skinning using sbs files. Change-Id: I9319ebce2f8e64b0c974f4a6e3b44f9accee32c5 Reviewed-on: http://gerrit.rockbox.org/170 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>