summaryrefslogtreecommitdiff
path: root/apps/plugins
AgeCommit message (Collapse)Author
2017-02-09puzzles: fix up makefileFranklin Wei
- rewrote a bunch of repetitive rules with a pattern rule Change-Id: I86a61a7ed8398f18789e5efaf4996d9eafd50651
2017-02-04Fix dangerous castsAmaury Pouly
On Windows 64-bit, the size of long is 32-bit, thus any pointer to long cast is not valid. In any case, one should use intptr_t and ptrdiff_t when casting to integers. This commit attempts to fix all instances reported by GCC. When relevant, I replaced code by the macros PTR_ADD, ALIGN_UP from system.h Change-Id: I2273b0e8465d3c4689824717ed5afa5ed238a2dc
2017-02-01Fix for Chessbox bug FS#10363William Wilgus
Chessbox was overflowing GameList[240] causing the board to flip + crash GameCnt changed to unsigned char which allows the array to roll over to 0 after 255 define MAX_GAME_CNT 256 and GameList[MAX_GAME_CNT] along with 1 byte GameCnt should fix this issue dbg save routine left in for now to help identify any other problems Added bounds checking to prevent second bug found when loading .pgn files Change-Id: I2b615c8ecbed4368724412f80ce07346f3cf30a7
2017-01-31Remove Whitespaces from chessboxWilliam Wilgus
Remove 1616 Whitespaces from chessbox Change-Id: I84c0dbd4a177eba50b9f7427f5695ae4b266aa5e
2017-01-16puzzles: more accurate sin() and cos()Franklin Wei
- now uses fp_sincos() Change-Id: I20c8224cac98fc677097161737d25dd9038bede2
2017-01-16puzzles: change default optimization to -O2Franklin Wei
Change-Id: I606df468f92f8d550827c122a9cfd5248866afdb
2017-01-16puzzles: fix copyright yearFranklin Wei
Change-Id: Iaa02e7a1fe4c17be7c4decbd5eb71206469710e9
2017-01-16puzzles: fix overlay loader (monolithic builds only)Franklin Wei
Change-Id: I7f27e96036b5d22e946cc72146cd0f5a791deaf7
2017-01-16puzzles: disable unplayable puzzles (Solo and Loopy)Franklin Wei
- accidentally enabled in c200v2 fix Change-Id: I252191fc47da9fe1a664a260cb53f6a5a1eea437
2017-01-15Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is alreadyMatthias Mohr
defined in mingw environments. Renamed defines of UNALIGNED to ROCKBOX_UNALIGNED so that they don't conflict with definitions in mingw32 cross-compiling environments (defined in _mingw.h). Change-Id: I369848c0f507e6bf5ff9ab4a60663bbbda6edc52
2017-01-15fix whitespaceFranklin Wei
Change-Id: I9b0659c218f92051a4de99ec03b97a2b1d067e29
2017-01-15puzzles: fix building on c200v2Franklin Wei
- disables Solo and Loopy Change-Id: I3de15c0ad001683a4303950972af2f5988d438d0
2017-01-15puzzles: antialiased line drawing via Wu's algorithm and optional ↵Franklin Wei
"shortcuts" for undo/redo - line drawing should eventually be moved to xlcd, but for now it's very unportable code - also fixes a minor issue with the configuration screens Change-Id: I897f01b7210cbbec32665c2bc67920c965ea0bec
2017-01-15Fix compilation of puzzles on WindowsAmaury Pouly
mingw exports vsscanf and that clashes with rbwrappers' definition. Change-Id: I87481ff4e93547059b2e1fa8083bedcf8633343a
2017-01-13Revert "puzzles: antialiased line drawing and optional "shortcuts" for ↵Franklin Wei
undo/redo" This reverts commit 8e4429853d1ac024ac2b8069636cc210cf5bab1b. Change-Id: Id622d58ad4b3b9dd3313811c8a2f83202d21f5ee
2017-01-13puzzles: fix configuration menu (again!)Franklin Wei
Change-Id: I440f3cea1bbeb3e7bda4aebefaaece3e8f3d44fd
2017-01-13puzzles: antialiased line drawing and optional "shortcuts" for undo/redoFranklin Wei
- line drawing should eventually be moved to xlcd, but for now it's very nonportable code - fixes a minor issue with the configuration screens Change-Id: I897f01b7210cbbec32665c2bc67920c965ea0bec
2017-01-13puzzles: enable fallback to audiobuf when smalloc() failsFranklin Wei
- upon a failed smalloc(), the audio buffer will be used for further allocations - should fix things on low-memory targets (c100 and c200v2), but breaks playback - playback should still be intact on other targets Change-Id: Ic239f1316efadc957050afacf5c614dbbca3f805
2017-01-07puzzles: add cursor interface to untangleFranklin Wei
- makes it playable - submitted to upstream Change-Id: Ib672ee374d500a994bc8e78eb01fea529ec5132f
2017-01-06Midiplay: only boost cpu in sensible code partsSebastian Leonhardt
Change-Id: I9aaf7f2844e9f90030dbf0a63ebec80db4851e18
2017-01-06Midi Player: fix premature stopping of audio buffer playbackSebastian Leonhardt
Change-Id: I3794e8d8837722442b25e2b48db1b5b3c3c2dc51
2017-01-06Midi Player: fix playback of buffer remains when seekingSebastian Leonhardt
Change-Id: Iccf4444b9c8ae421b9e44332791a789a767ae411
2017-01-06Fix red (midi plugin: action rename)Sebastian Leonhardt
Change-Id: Ie21711cbf98aad1fbfc24924c9281caf39f22af5
2017-01-06Midi Player: give button actions meaningful namesSebastian Leonhardt
Change-Id: I53183e024c202f6c35903fc9a74db7e49d4bdc20
2017-01-06midi: Recalculate (and rename) the note frequency table.Frank Gevaerts
gustable[] contained plain note frequencies in milliHertz, but was named and documented to appear like a table of magic numbers. The values also seemed to be slightly inaccurate (up to about 0.01Hz, so probably irrelevant). This changes the name to freqtable to make the purpose clearer, and uses slightly better values. Change-Id: I6b568d834c8c2c92161bed5290572a29733e28dc
2017-01-04puzzles: fix a minor bug in the configuration screenFranklin Wei
- when an invalid string setting was entered, the string value would continue to be used after being freed Change-Id: I3a9da016f6f32eac8636b9f55e4e09006bc6059e
2017-01-04puzzles: minor polishing touches on the user interfaceFranklin Wei
- the debug menu has been neatly hidden away in the classic Android style ;) - playback control option added to the pause menu when possible - also fixes a minor redraw issue Change-Id: I00d0186986a8e659991948336b26b4f2e2a0ce66
2017-01-04puzzles: fix a few thingsFranklin Wei
- old acos() function was broken, replaced with a call to atan2(); this fixes "Cube!" - Makefile extended to support building "unfinished games", but not enabled - a backdrop issue fixed in rockbox.c Change-Id: I9393e958d43de32f4ccf18e1cb409f75c2e1ed3c
2017-01-03puzzles: rename bcopy() to bcopy_wrapper() and make staticFranklin Wei
- fixes a name collision on linux Change-Id: I9f162b5c8a1f319fa6495ff9343fb6007cc20edf
2017-01-01Fixes and re-sync for puzzlesFranklin Wei
- Updates to latest upstream (7cae89fb4b22c305b3fd98b4e1be065ad527a9f7). - Also fixes a bug relating to updating parts of the display. - Adds some docs. Change-Id: Idfcce66e0cf3c59e467bab42eafc161df2e495bb
2016-12-18work around little bugs in puzzlesFranklin Wei
Change-Id: I80d72a6bb0189eb842385aa622506d5efe319053
2016-12-18Add circle drawing/filling to xlcdFranklin Wei
Change-Id: I5d28ade42145d9d82babcf62c0db7948927cafec
2016-12-18add missing file to puzzlesFranklin Wei
Change-Id: I63b80718f48eede54c3312d9e66c77bfd2472a79
2016-12-18Port of Simon Tatham's Puzzle CollectionFranklin Wei
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. Currently builds one plugin per puzzle (about 40 in total, around 100K each on ARM), but can easily be made to build a single monolithic overlay (800K or so on ARM). The following games are at least partially broken for various reasons, and have been disabled on this commit: Cube: failed assertion with "Icosahedron" setting Keen: input issues Mines: weird stuff happens on target Palisade: input issues Solo: input issues, occasional crash on target Towers: input issues Undead: input issues Unequal: input and drawing issues (concave polys) Untangle: input issues Features left to do: - In-game help system - Figure out the weird bugs Change-Id: I7c69b6860ab115f973c8d76799502e9bb3d52368
2016-12-04Add tentative new element names, IUPAC approval expected around NovemberFranklin Wei
Change-Id: I40adb1adb27894b15d3bc3a2388bd2059e75636e
2016-11-19remove debug macroFranklin Wei
Change-Id: I1bf6ecc5bb5275fd4addd3fdb62a89df441afe81
2016-11-19XWorld: some fixesFranklin Wei
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
2016-10-12pdbox: fix bug shown by new gcc warningFrank Gevaerts
Change-Id: Ife308a3090f9bc62f2e98d2d979fdf393c22054d
2016-10-03Rockboy: revert FS#11745 patchSebastian Leonhardt
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
2016-08-12Fix misleading indentation as pointed out by the new gcc warningFrank Gevaerts
Change-Id: Ia9c0b09ffb57dccbc7d13fce3b3a8a7d46b84857
2016-08-03test_mem: print clock speed in MHz so it fits on smaller screens.Michael Giacomelli
Change-Id: I81383c115bd9abac44ffc2ecdd8807855c80cf0e
2016-06-28Fix endianness handling for sha1 (used by the otp plugin)Frank Gevaerts
Change-Id: I408d88d984f9026539c2d1bc2a9608243802c152
2016-06-05One-Time Password client (HOTP and TOTP)Franklin Wei
* 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
2016-05-14Manually unboost if not using boost in test_codecMichael Giacomelli
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
2016-04-07Plugin 2048: Optimize for 128x96 screenSebastian Leonhardt
Change-Id: I47c2d857fbf9e53696e005b075d8a6f041738fe3
2016-04-01Align test_disk buffer for DMA.Boris Gjenero
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
2016-04-01Fix FS#12981 JPEG decoding problem when entropy data starts with FFBoris Gjenero
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
2016-03-18lua: don't include rockbox-specific libc headers for the button helper tool.Frank Gevaerts
This fixes the "implicit declaration of function 'printf'" warning Change-Id: I97d247bcab26ddba4d22e0fd19af45fdb47b8cce
2016-03-13A better fix than b58b9c2.Frank Gevaerts
I misunderstood the code a bit when I committed b58b9c2. The read_char_no_whitespace() probably have to be done. Change-Id: I024420149a04dbeed4d714795282bb7f88a8e1da
2016-03-13Remove clearly broken error checking, as pointed out by newer gcc.Frank Gevaerts
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