summaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2019-07-12wolf3d: allow entering in-game jukebox by holding fire buttonFranklin Wei1-1/+7
Change-Id: I8936178191e682b70c64ef6ae04d6636e5cf3521
2019-07-11lua reduce heap allocated buffer sizes, organize luaconf.hWilliam Wilgus1-141/+194
Change-Id: Ib9e568ea73a01474facd57cc155e62fa3dc093f7
2019-07-11lua late bound cfunction tablesWilliam Wilgus1-0/+132
We have quite a bit of ram tied up in lua with our c libraries I was searching for a way to free up some of this when I came across read only tables in e-lua but that involved a lot of patching through the source Instead I came up with this.. it frees about 15k ram without much slowdown in code execution since after a function gets called it is automatically added to the table If you have a performance issue you can call the bind method to bind a specific function or the whole table in one shot for instance rb table rb("lcd_clear") -- binds/returns function rb.lcd_clear() rb(nil) -- binds every function in rb table + removes latebind metatable .. -- added pairs and ipairs code from lua 5.2 -- cleaned up code + made more seamless existing fields are now saved rather than overwritten when table is bound Change-Id: I1c20e76b736c032dedc727d2e58928641e40191d
2019-07-11lua inbinary stringsWilliam Wilgus10-25/+88
Allows saving of ram by reusing strings already stored in the binary and storing a pointer instead of malloc and copy to get them inside the lua state Saves about 1.5K overall Derivative of work by bogdanm RAM optimizations: pseudo RO strings, functions in Flash https://github.com/elua/elua/commit/d54659b5723bcd2b1e3900362398c72c18a9aa0b Change-Id: I21d6dcfa32523877efd9f70fb0f88f2a02872649
2019-07-10wolf3d: increase default viewport sizeFranklin Wei1-1/+1
Makes things a little bigger by default (but not maximized). Change-Id: I9e4ae725e22458f1e5140a560ff242159ef582d7
2019-07-10wolf3d: write configs to /.rockbox/wolf3d instead of /.wolf4sdlFranklin Wei2-2/+2
Let's keep things neat. Change-Id: I995b2c4949d3adbbd7ea4ef361f0712aa222612e
2019-07-10tagtree.c->loadroot() guard against overflowWilliam Wilgus1-0/+3
forum user chris_s noted an possible unhandled cache overflow Change-Id: Ia79399d6581ef6b635578896519fda8126c731d7
2019-07-10Fix possible truncation playlist_catalog.c->catalog_add_to_a_playlistWilliam Wilgus1-3/+3
Change-Id: Ib142b07916ccca044674e5cabec379316c07e9d9
2019-07-10Fix truncation warning color_picker.c->draw_screenWilliam Wilgus1-2/+2
Change-Id: I72f16163684aba6c9c3fcf4ade6f2906d80b3899
2019-07-10Fix possible truncation statusbar.c->gui_statusbar_icon_batteryWilliam Wilgus1-3/+4
limit percent range to 0 - 100% Change-Id: I46477cdfe954fb1ea3e6158949c920769447762e
2019-07-09Fix possible truncation albumart.cWilliam Wilgus1-2/+2
Change-Id: Ie0e576f26c0507cc12fbdc12093d6fe924377e1d
2019-07-10lua add track length & elapsed to rb.audio()William Wilgus1-4/+20
track elapsed is needed to use fast-forward and rewind effectively track length might as well be added too.. Change-Id: I906c92eb5260164c6177d8c0a8ff879b1fad7898
2019-07-09wolf3d: fix FM OPL alignment bug in a cleaner wayFranklin Wei2-9/+8
wl_def.h has a #pragma pack(1), which causes issues when we take the address of an unaligned struct field. This fixes the issue by disabling packing in fmopl_gpl.c. Change-Id: I526880fa73226e8028855896f7efc3a66571b3ec
2019-07-09sdl: fix buildFranklin Wei1-3/+3
-T flag is program-specific. Change-Id: I730a9c19be43e79c7ff4e6d4fb5b8f498f08515e
2019-07-09wolf3d: add missing SOURCES.wolfFranklin Wei1-0/+27
I'm dumb... Change-Id: I5e8ebcf3d7e739c1cd50509b15fe585819ba7fb9
2019-07-09Wolfenstein 3-D!Franklin Wei65-4/+44152
This is a port of Wolf4SDL, which is derived from the original id software source release. The port runs on top of the SDL plugin runtime and is loaded as an overlay. Licensing of the game code is not an issue, as discussed below (essentially, the Debian project treats Wolf4SDL as GPLv2, with an email from John Carmack backing it up): http://forums.rockbox.org/index.php?topic=52872 Included is a copy of MAME's Yamaha OPL sound chip emulator (fmopl_gpl.c). This file was not part of the original Wolf4SDL source (which includes a non-GPL'd version), but was rather rebased from from a later MAME source which had been relicensed to GPLv2. Change-Id: I64c2ba035e0be7e2f49252f40640641416613439
2019-07-09sdl: silence audio driver debug outputFranklin Wei1-2/+2
Change-Id: I7aae3419f56f9cf952d9383f2a6cf9e9950e9a6d
2019-07-09sdl: a couple minor fixesFranklin Wei3-20/+18
Prevents system SDL from interfering with thread driver selection. Also adds test code for alignment faults. Change-Id: I8bc181922c4a9e764429897dbbaa1ffaabd01126
2019-07-09lua remove error messages for pre-compiled chunksWilliam Wilgus2-3/+3
We don't have the functionality in the viewer to run pre-compiled chunks plus if anyone ever wants to add it its easy enough to remove the define frees 3K Change-Id: I8d2086e04b51e3ce147ab8741a7d354cb9bf1ade
2019-06-27Fix reversal of "always/never" in "LCD setting > Sleep (After Backlight Off)"Sebastian Leonhardt1-6/+6
The bug was introduced in a06d9c8. The patch also fixes some (more or less) related obsolete comments. Change-Id: I5e491d64574c37cdbc46b146d7cfc555d86b9a11
2019-06-17Boomshine Fix rb.touchscreen_set_mode()William Wilgus1-1/+1
Change-Id: I5bc835f1e006ed923cf0b7a3fcf91d4e357913ed
2019-06-16sdl: add pointer to wiki for docsFranklin Wei1-0/+2
Change-Id: I6e87658351f32d3c40d9ca2b635ae2f654fdd3aa
2019-06-16sdl: prevent simulator build from using pthreadsFranklin Wei1-2/+0
The simulator build will pull in the host SDL headers, which we can't filter out easily. A simple workaround is to simply remove the pthread include from our SDL. Change-Id: I09de0f2e85b891aa88958e21426ab450af516e76
2019-05-31Fix IRAM overflow introduced in 7a8c9daf7efMarcin Bukat1-3/+8
There is no easy way to determine iram available for test_mem plugin and PLUGIN_BUFFER_SIZE is definitely wrong. Restore previous IRAM buffer sizing Change-Id: Ia563efd46497438c111efc8d7d2bf65904ca9847
2019-05-15Work around DX90 compile errorFranklin Wei1-0/+1
Change-Id: I80751a41d0711c52558ba198c22d1f012998302c
2019-05-15puzzles: refactor rockbox frontendFranklin Wei3-33/+41
Cleaned up a bit of copy-pasted code and added some useful comments. Change-Id: I9a6f37acbeeda58b3ea8c65ee96230372400f323
2019-05-15puzzles: resync with upstreamFranklin Wei11-496/+2525
This brings the puzzles source to upstream commit e2135d5. (I've made my own changes on top of that.) This brings in a couple bugfixes and a new solver for Dominosa. Change-Id: I11d46b43171787832330a5e2e0d2f353f36f727d
2019-04-22Fix REMOTE_CONTEXT failureWilliam Wilgus1-1/+1
IRC user <sazmap> brought an error in the action system to my attention the REMOTE_CONTEXT flag should be added if any remote button is pressed Change-Id: Ie3aab97cf835eab108d4b2bdcd8464fcd649da42
2019-02-26Fix skin_engine.c Album Art never dealloc'd on theme changeWilliam Wilgus1-0/+7
Patch from forum user Chris_s http://forums.rockbox.org/index.php/topic,52708.0.html Change-Id: I29f8702ced300d1dc90dfa0e8baa609b9051903e
2019-02-07YH-820: prohibit to change time/date on some hardware versionsSebastian Leonhardt1-0/+18
This patch will autodetect these players, where setting the time/date would leave the player in an unusable state. Change-Id: I0579610ce7c10152ace27bb9c06cf6cb2aab8052
2019-02-07Fix tree.c static allocation detection during buffer moveWilliam Wilgus1-1/+1
Change-Id: I170177ff331f33961863eff0dd3ba5c570a3961d
2019-02-04pitchscreen: Fix compile on HWCODEC players.Solomon Peachy1-1/+5
Change-Id: Iffb7018e935e017baf84ddc8e742270f82b996ab
2019-02-04Fix minor issues introduced in fe95127 (Playlist playing time)Solomon Peachy1-3/+3
* Custom statusbars inappropriately overwriten * Off-by-one error displaying playlist position. Change-Id: I08df67110fab97ed213c53e8fa86d386367cd6be
2019-02-03Add speech feedback in pitchscreenSolomon Peachy2-1/+127
Patch by Igor Poretsky Change-Id: I8828cefdb3346a25071fba0afff2c9d3bca440a1
2019-02-03rocker: Correct a bad keymap in the bookmark screenSolomon Peachy1-1/+1
Bascially made it impossible to back out of the screen. Change-Id: Ied8a956d8be8c987d3695e1163bc44a0866a0bd9
2019-02-03FS#12353: For car adapter mode, make delay before resuming configurableSolomon Peachy6-3/+51
Original patch by Stanislav Chizhik Udpated by Igor Poretsky & myself Change-Id: I472d4852ac25885658245f077723e4c98b9ad9b8
2019-02-01blackjack: various fixesSebastian Leonhardt1-16/+19
- fix double down wins/looses too much money - fix splitting doubles lost/won amount of first split - fix insurance pays out too litle - fix splitting allows to overdraw account - fix insurance allows to overdraw account Change-Id: Ib58954d6b960fb2a78f5b4d29496974b7c58fb65
2019-01-31FS6338: Playlist playing timeSolomon Peachy2-21/+434
Originally by Stephane Doyon. Updated by Alex Wallis, Igor Poretsky, and myself. Change-Id: I15a06f7774c886cefd9c2cb93230d67de3e5f9a9
2019-01-31FS#10311 -- Add beep when navigating to beginning or end of list.Solomon Peachy3-15/+68
Originally by Stephane Doyon. Updated by Alex Wallis, Igor Poretsky, and myself. Change-Id: I996f18043bd3377d5aeaf65f4290250ea2a6832b
2019-01-25FS#13169: Initial Flemish translation from Nathan FollensSolomon Peachy2-0/+13817
Change-Id: I80607bc3ac0887b2cd28dbf2aaa487f8829a7810
2019-01-25FS#13168: Updated Dutch translation from Nathan FollensSolomon Peachy1-84/+264
Change-Id: If36420329cbb67dc5b40b10bcd03e295cf0418f6
2019-01-24lua rewrite boomshineWilliam Wilgus1-283/+386
rewrite the logic of boomshine to make it more difficult especially small screens rewrite of the game engine to make memory usage more consistent throught the level and decrease overall memory usage this also removes most of the stuttering in play Add test of device speed this should improve very slow devices but the threshold might still need tweaked Change-Id: I49f5269c69405f6b6060ab18f52c96e3f69ebb14
2019-01-24FS#13170: Updated Greek translation from Constantine MountantonakisSolomon Peachy1-23/+205
Change-Id: Icfe116d72fd7c73d2ec1b18ffcc294052b7d5159
2019-01-12Add HAVE_LINEOUT_DETECTION to features.txtSolomon Peachy1-0/+4
Change-Id: I164ed8c1a8135cb051e3342b20e474cc798f3c38
2019-01-08Add F_BANFROMQS to Advanced Keylock and Blacklight ExemptionsWilliam Wilgus1-4/+6
Both had 'Enabled' showing up a Add to Quick Screen option Change-Id: Ief48a4d0ea2a473704a9a42d5863f1451dbfc6af
2019-01-08Fix potential buffer overflow in settings.cWilliam Wilgus1-6/+9
Change-Id: Ie8953e3ffc5188685f1ea056863bfbdb817080a7
2019-01-04Add HAVE_LINEOUT_DETECTION and associated logicSolomon Peachy1-5/+26
This allows targets to automatically switch audio settings when the line out is plugged/unplugged. Only hooked up on the xDuoo X3, but there are other potential users. Change-Id: Ic46a329bc955cca2e2ad0335ca16295eab24ad59
2019-01-04playlist.c suppress playlist access error on usb plugWilliam Wilgus1-1/+3
Change-Id: I6bf446ecb17f5526c2f37158e672f06a5435f5a9
2019-01-02FS#11711: Add ability to create bookmark from WPS hotkeySolomon Peachy3-4/+8
Original patch Michael Gentry Updated by Igor Poretsky Change-Id: Id0fd67d2b2f6c257e3cbbe9bfda5c0eace5caca5
2019-01-02Fix compile wanings in pacbox and invadrox introduced in d4942ccSolomon Peachy2-4/+0
Change-Id: I5d599d4b25207dcf03ed3f4be76d10907d36a99b