summaryrefslogtreecommitdiff
path: root/apps/plugins (follow)
Commit message (Collapse)AuthorAge
* [WIP] Port of Simon Tatham's Puzzle CollectionpuzzlesFranklin Wei2016-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original revision: 5123b1bf68777ffa86e651f178046b26a87cf2d9 MIT Licensed. Some games still crash and others are unplayable due to issues with controls. Still need a "real" polygon filling algorithm. The following games are at least partially broken for various reasons: Cube: crash with certain settings Galaxies: crash Inertia: crash Keen: input issues Loopy: weird stuff happens Map: crash on input Mines: weird stuff happens on target Palisade: input issues Signpost: crash on input Solo: input issues Towers: input and drawing issues Train Tracks: drawing issues Twiddle: weird animation on target Undead: input and drawing issues Unequal: input and drawing issues Untangle: input issues All in all, about 40% of the games are at least partially broken. Change-Id: I7c69b6860ab115f973c8d76799502e9bb3d52368
* Add circle drawing/filling to xlcdFranklin Wei2016-11-20
| | | | Change-Id: I5d28ade42145d9d82babcf62c0db7948927cafec
* XWorld: some fixesFranklin Wei2016-11-19
| | | | | | | | | | | Fixes sound on most platforms, original root cause was bad menu code as well as DMA callbacks taking too long. Worked around with smaller chunk sizes. Permanent fix would include moving mixing out of the callback. Rewrites input with code from rockboy/doom. Cherry-picks a change from Gregory Montoir's `rawgl' to patch the code wheel screen. Finally, adds a motion blur filter on select targets. Change-Id: I8df549c923c5075800c6625c36c8202e53de1d27
* pdbox: fix bug shown by new gcc warningFrank Gevaerts2016-10-12
| | | | Change-Id: Ife308a3090f9bc62f2e98d2d979fdf393c22054d
* Rockboy: revert FS#11745 patchSebastian Leonhardt2016-10-03
| | | | | | | | | | | | | | | | | | | | | | William Shipley sent this patch via mailing list. Original Message: "There was a patch to rockboy in 2010 that fixed a problem where the bottom tile row would be rendered at the top. Here's the relevant issue from that time: http://www.rockbox.org/tracker/11745 Note that Stummi openly admits it was a hack, not a true fix. Sometime in the 6 years since, the root cause was fixed. Currently, rockboy on the Clip+ and other 64px models shows the top of the gb screen along the bottom of the display. I confirmed that reversing this patch fixes the issue on my own Clip+" I don't have any of the mentioned targets, so someone else has to test. Change-Id: Id29b78c4ece0af53ba1280029c18b76808a21da2
* Fix misleading indentation as pointed out by the new gcc warningFrank Gevaerts2016-08-12
| | | | Change-Id: Ia9c0b09ffb57dccbc7d13fce3b3a8a7d46b84857
* test_mem: print clock speed in MHz so it fits on smaller screens.Michael Giacomelli2016-08-03
| | | | Change-Id: I81383c115bd9abac44ffc2ecdd8807855c80cf0e
* Fix endianness handling for sha1 (used by the otp plugin)Frank Gevaerts2016-06-28
| | | | Change-Id: I408d88d984f9026539c2d1bc2a9608243802c152
* One-Time Password client (HOTP and TOTP)Franklin Wei2016-06-05
| | | | | | | | | | * Implements RFC 4226 (HOTP) and RFC 6238 (TOTP) * Adds sha1.c to apps/plugins/lib (orignally tools/hmac-sha1.c) * See manual entry for more information Change-Id: Ia4a4031b29f97361b541e71438aa7f3ea82212f2
* Manually unboost if not using boost in test_codecMichael Giacomelli2016-05-14
| | | | | | | | Right now GUI boost interfers with test_codec running unboosted by varying the CPU frequency. This at least makes it more consistent if run without user input. Change-Id: I121615098d6bd72ccd13c4e665cc2e4d45d7b58c
* Plugin 2048: Optimize for 128x96 screenSebastian Leonhardt2016-04-07
| | | | Change-Id: I47c2d857fbf9e53696e005b075d8a6f041738fe3
* Align test_disk buffer for DMA.Boris Gjenero2016-04-01
| | | | | | | | | Some targets can only use storage DMA if the memory location is storage aligned. The required alignment can be more strict than word alignment, which was used previously. This change ensures that aligned transfers in test_disk can use DMA. Change-Id: I605b4d57f9e9c04920587017032f14449645693a
* Fix FS#12981 JPEG decoding problem when entropy data starts with FFBoris Gjenero2016-04-01
| | | | | | | | | | This changes JPEG fill and invalid byte handling to be like mozjpeg, and bases entropy data start on SOS marker location. Thanks to Stefan Waldmann and Dean Tersigni for reporting. Change-Id: I3c79cc6ac8d714fdc75c12b57ba427d611c99519 Chaange-Id: Ibc7c17d38d5be63642bdaf6adfd6acc2a6cf4450
* lua: don't include rockbox-specific libc headers for the button helper tool.Frank Gevaerts2016-03-18
| | | | | | This fixes the "implicit declaration of function 'printf'" warning Change-Id: I97d247bcab26ddba4d22e0fd19af45fdb47b8cce
* A better fix than b58b9c2.Frank Gevaerts2016-03-13
| | | | | | | I misunderstood the code a bit when I committed b58b9c2. The read_char_no_whitespace() probably have to be done. Change-Id: I024420149a04dbeed4d714795282bb7f88a8e1da
* Remove clearly broken error checking, as pointed out by newer gcc.Frank Gevaerts2016-03-13
| | | | | | | | | Note that the error checking is probably useful if done correctly, but I have no way to test this, so just removing the offending code is the only way forward. Thanks to the fairly creative bug, the code did nothing at all anyway. Change-Id: Ifeef57202f31e842ca1befa331f8b34e1c76757c
* Replace SAMSUNG_YH920_PAD with YH92XSebastian Leonhardt2016-01-25
| | | | | | | seems more logical to me, and is more consistent, since "SAMSUNG_YH92X_PAD" is already used in the tex files. Change-Id: Ie9a9d850ea86155a7dcf86c88a22a420a10a3837
* Plugin 2048: optimize small tilesSebastian Leonhardt2016-01-11
| | | | | | | | Change 12x12 and 22x22 sized tiles to hand-optimized ones with better readibility :) Tile values >= 1024 are abbreviated to "1k", "2k" etc. Change-Id: I15f4649b20442b71027a3b1564bc51c7e72105ce
* Plugin Frotz: Match keymap and manualSebastian Leonhardt2016-01-09
| | | | | | | Change source to match manual description: use UP key to open virtual keyboard. Change-Id: I5c6ffc356db42f305c918053c31a9595bf0dc3ac
* Samsung YH820/92x keymap bugfixesSebastian Leonhardt2015-12-27
| | | | | | | | | This patch fixes some (mostly small) plugin issues with the "big" YH-keymap patch (a507b). Only one fix affects the main keymaps (virtual keyboard "DONE" now exits after long key /release/ instead of long button /press/). Change-Id: Id34f925ebfa97ae4974cd9405fbe1fee4f597833
* fix yellow.Szymon Dziok2015-11-16
| | | | Change-Id: I3fb322f28b23e4b7a27a71e66c50887d298de554
* YH8xx,YH9xx: Keymap improvementSebastian Leonhardt2015-11-15
| | | | | | | | | | | | | | | The main "innovation" in this patch are two "virtual buttons" for the record switch on YH92x targets. When the switch state changes, a single BUTTON_REC_SW_ON or .._OFF button event will be generated. Thus keymap code can react on switching, but not on the actual state of the switch. Wherever sensible, the following user scheme is applied: - use PLAY as confirm button - use REW button or Long REW to exit - use REC (YH820) or FFWD (YH92X) as modifier key for button combos Change-Id: Ic8d1db9cc6869daed8dda98990dfdf7f6fd5d5a1
* Fix chessbox keymap handlingSebastian Leonhardt2015-09-30
| | | | | | Let's give the defined, yet unused keymaps some sense :) Change-Id: I372217351f7edc35c69c8c29fba782d32c895d5b
* Snake2: add 128x96x16 bitmapsSebastian Leonhardt2015-09-28
| | | | | | These fit by pure chance exactly the YH820 screen :) Change-Id: I0f7a7f5d14aa0497da5ddf63cf1f95a2c4989460
* Fix Pong button handlingSebastian Leonhardt2015-09-25
| | | | | | | * allow button combos for QUIT (fixes MPIO_HD300) * allow quitting during PAUSE mode Change-Id: Iaf8ffc65cdcfe6c1d25bfbad3e38764eea2664cc
* Chip8: implement missing keySebastian Leonhardt2015-09-25
| | | | | | | KEYA is defined for Fuze+ (even in the manual), but wasn't implemented yet. Change-Id: Ib0a93544926c15893b1cce967db931f3b515422c
* Shopper: slightly improve plugin and manualSebastian Leonhardt2015-09-24
| | | | | | | | | | * improve manual (hopefully fixes fs#11988). Parts of the description are taken from fs#10820. * move ACTION_STD_CONTEXT from alternate select to alternate menu action, as not all targets have ACTION_STD_MENU * add menu entries for "Quit" and "Quit without saving" Change-Id: Iec86a1608756a899f9f9d7ec7d479838dfd1d95f
* 2048: CleanupFranklin Wei2015-04-19
| | | | | | | | | - more whitespace to enhance readability - better/fixed/more comments ;) - some minor optimizations - general code cleanup Change-Id: I2b5f69aba0f83f989abb2c636920646e4315583f
* Rename 'expanded' to 'expended'. Was this a typo?Christ van Willegen2015-04-19
| | | | Change-Id: I2feaee4225f04e3b93f8ccde555090437238ee0f
* Chopper game improvementSebastian Leonhardt2015-04-11
| | | | | | | | This tiny patch gives the player a bit time to overlook the terrain and move the thumb to the action button. Change-Id: I63a4347c5bdafdd354f8c95b2bcdc64e046133a5
* Re-seed the random generator for each new game.Christ van Willegen2015-04-08
| | | | Change-Id: I1b814e8475798830d204b4838d98b8b671d93e02
* Revert "PictureFlow: Add move callback for buflib allocations"Thomas Jarosch2015-03-01
| | | | | | | | | | | | | | | | | | | It's not needed as picture flow has it's own buffer. This reverts commit 9076b433d18b5db1a1987fe99ca7c70808f22b0e. Detailed explanation from Thomas Martiz (thanks!): buflib buffers can be passed to yielding functions just fine. Problems only arise if the are concurrent allocations, for example if two threads allocate from the same context simultaneously or if the callee does it's own allocations. This can't happen in the pictureflow case, it has it's own context and a single thread allocating from it. Therefore the problem isn't yield() itself, but possible concurrent buflib_alloc() calls that result from the thread switch. This is because compaction only ever happens on allocation (and not in a backgroud thread or so).
* Lamp plugin: Allow toggling the button light using "select".Frank Gevaerts2015-02-22
| | | | Change-Id: I0f276a74010ef463ebdb0eb0cc00fc50123966f0
* Enhancement of the metronome plugin:Thomas Orgis2015-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - square sine tick and tock sounds (more annoying, more useful;-) - optical indication of tics on display - unification of mode of operation for SWCODEC and HWCODEC (tested on simulator) Both playback and display drawing happen in main loop, always. - operating in two modes now: -- 1. classic dumb metronome --- active when openened as application without file to open --- the usual functionality with tapping and bpm change --- controls indicated on display -- 2. track mode with programmable series of parts --- active when started as viewer for a .tempo file --- differing meters (4/4, 3/4, 6/8, etc.) --- patterns (tick/tock/silence on each beat) --- smooth tempo changes in those tracks This version had lots of testing regarding metronome accuracy, resulting in the realization that PLL A and PLL B differ on the Clip+, causing drift. There is still drift when the timer intervall is too small, so I settled on 2 ms as compromise. This is the final version, after adding documentation and extensive help from Sebastian Leonhardt testing it on slower hardware (YH820), where it works up to 650 actual bpm with display indication. Latest change: Documentation nitpicks. Change-Id: I764c8252526db188352385c5462f9453d882beb9
* iBasso DX50/DX90: Major code cleanup and reorganization.Udo Schläpfer2015-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reorganization - Separated iBasso devices from PLATFORM_ANDROID. These are now standlone hosted targets. Most device specific code is in the firmware/target/hosted/ibasso directory. - No dependency on Android SDK, only the Android NDK is needed. 32 bit Android NDK and Android API Level 16. - Separate implementation for each device where feasible. Code cleanup - Rewrite of existing code, from simple reformat to complete reimplementation. - New backlight interface, seperating backlight from touchscreen. - Rewrite of device button handler, removing unneeded code and fixing memory leaks. - New Debug messages interface logging to Android adb logcat (DEBUGF, panicf, logf). - Rewrite of lcd device handler, removing unneeded code and fixing memory leaks. - Rewrite of audiohw device handler/pcm interface, removing unneeded code and fixing memory leaks, enabling 44.1/48kHz pthreaded playback. - Rewrite of power and powermng, proper shutdown, using batterylog results (see http://gerrit.rockbox.org/r/#/c/1047/). - Rewrite of configure (Android NDK) and device specific config. - Rewrite of the Android NDK specific Makefile. Misc - All plugins/games/demos activated. - Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa. Includes - http://gerrit.rockbox.org/r/#/c/993/ - http://gerrit.rockbox.org/r/#/c/1010/ - http://gerrit.rockbox.org/r/#/c/1035/ Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight interface and new option for hold switch, touchscreen, physical button interaction. Rockbox needs the iBasso DX50/DX90 loader for startup, see http://gerrit.rockbox.org/r/#/c/1099/ The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If /mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit gracefully and the loader will restart Rockbox on USB disconnect. Tested on iBasso DX50. Compiled (not tested) for iBasso DX90. Compiled (not tested) for PLATFORM_ANDROID. Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
* Fix red/yellowMarcin Bukat2015-01-12
| | | | Change-Id: Ie01251af2cd843979b5fdefcfa541ba377d13bd7
* Get rid of stupid _backlight_* function namesMarcin Bukat2015-01-12
| | | | | | _remote_backlight_* and _buttonlight_* are cleaned as well Change-Id: I73653752831bbe170c26ba95d3bc04c2e3a5cf30
* Limit more variables to file scopeThomas Jarosch2015-01-11
| | | | Change-Id: I30219d626316776eb73b4205d63376fa3dbc6361
* Remove playback control from XWorld, fix comments a bitFranklin Wei2015-01-08
| | | | | | XWorld grabs the audio buffer when it starts, so there can be no playback, making the playback control menu useless :P Change-Id: Ia4e2c207f41619ef9b028917130d6dbf7dfba054
* Clarify usb_powered() and fix some code.Amaury Pouly2015-01-08
| | | | | | | | | | Either by mistake or because its meaning changed, usb_powered() doesn't mean what the name suggest, so clarify its meaning by renaming it to usb_powered_only. So use of usb_powered() are replaced by usb_inserted() when it makes more sense. Change-Id: I112887e2d8560e84587bee5f55c826dde8c806d8 Reviewed-on: http://gerrit.rockbox.org/1097 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Make thirty functions static to reduce binary sizeThomas Jarosch2015-01-05
| | | | | | | | | | | If any of those functions should be (unused) API functions, they can easily be turned back once really needed. Detected using a new cppcheck check that uses the internal symbol database to catch functions that are only used in the current file. Change-Id: Ic2b1e5b8020b76397f11cefc4e205f3b7ac1f184
* PictureFlow: Add move callback for buflib allocationsThomas Jarosch2015-01-01
| | | | | | | | | | If we don't provide a callback to buflib_alloc(), the buffer is always movable (to reduce fragmentation). Since we pass our buffer to functions that call yield(), this could lead to memory corruption on buflib compaction. Change-Id: Id1fad1822479d692551c55cb8bc87cea7b78f759
* XWorld: fix some typos in keymaps.hFranklin Wei2015-01-01
| | | | | | | | | Happy New Year! Change-Id: I228e4b9af9561eb70f75ebb57e333c78065873df Reviewed-on: http://gerrit.rockbox.org/1093 Reviewed-by: Thomas Jarosch <tomj@simonv.com> Tested: Thomas Jarosch <tomj@simonv.com>
* XWorld: cleanupFranklin Wei2014-12-28
| | | | | | | | | | - Comment keymaps.h - Tie XWORLD_DEBUG into ROCKBOX_HAS_LOGF to ease debugging - Fix up the manual a little bit Change-Id: I12cfb58001199036cd67dbaa27f164e6790a199d Reviewed-on: http://gerrit.rockbox.org/1084 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
* Fix for DX50 xworld keymaps.hBenjamin Brown2014-12-24
| | | | | | Change-Id: I6bf564cf009d935ebb1d7fb77ccb2eab8c87d2c7 Reviewed-on: http://gerrit.rockbox.org/1083 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Fixes more red for xworlds keymapsBenjamin Brown2014-12-24
| | | | | | | | A temporary fix for keymaps.h, the logic needs rewritten Change-Id: Ic8c81a5f01620ffc409cf6220b2916c0ec428dbe Reviewed-on: http://gerrit.rockbox.org/1082 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Xworld - Fixes warnings for cowond2, hifimanhm60x, ibassodx50, andBenjamin Brown2014-12-24
| | | | | | | | ondavx747. Also fixes errors for ondavx777. Change-Id: I1a5daa844759316df4dec7b869425ea9a174814b Reviewed-on: http://gerrit.rockbox.org/1081 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* Fixes xworld keymaps for ondavx747, hifimanhm60x, and cowond2Benjamin Brown2014-12-24
| | | | | | Change-Id: I62d7702d2e6541777f5553e27e166470004cd06d Reviewed-on: http://gerrit.rockbox.org/1080 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
* fix xworld building with 24-bit lcdFranklin Wei2014-12-24
| | | | | | | | also fix a couple unused vars Change-Id: Ib05d2e22dd7477bc9bd193232bd3de8a0816beb2 Reviewed-on: http://gerrit.rockbox.org/1079 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
* Fix compilation error.Michael Giacomelli2014-12-24
| | | | Change-Id: Ic565444bf1df955703dfe91adaf3094e8ab9b990