summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-03ARM: Rejigger the asm corelock functionsSolomon Peachy
This appears to solve _some_ of the crashes experienced when using gcc494 on the multicore PP targets (eg most older ipods). (With this change, the asm vs plain-C versions behave identically) corelock_lock(), corelock_unlock(), and corelock_trylock() were declared with the 'naked' attribute. However, naked functions are only allowed to have 'Basic Asm' components, and we used some extended asm, but without declaring clobbered registers, making assumptions about register arguments, and also directly returned to the caller via asm code. This is what the GCC docs have to say about this stuff: "While using extended asm or a mixture of basic asm and C code may appear to work, they cannot be depended upon to work reliably and are not supported." Change-Id: I79a9c4895584f9af365e6c2387595e9c45d89c7d
2020-07-03Fix logf warnings in more codecsMoshe Piekarski
Change-Id: I7e83a9979aedadf3b7c2b162a8202efdc6227e88
2020-07-02build: add '-fcommon' to the toolchain build flags.Solomon Peachy
This allows binutils 2.16 to build successfully with GCC10. Change-Id: Iddcd4156720f4fa05936ea459991866fc6e1524d
2020-07-02puzzles: enhancements to mouse mode, zoom featureFranklin Wei
- zoom now remembers position between activations (but not when exiting the plugin) - key repeat enabled when panning - moving mouse out of frame while zoomed will pan - mouse can be moved diagonally Change-Id: I39380ef7f36238700b6baa54cac036832933df67
2020-07-02FS#13208: More Polish language improvements (Adam Rak)Solomon Peachy
Change-Id: I7938375711703a545c8c555232db37e34b893e64
2020-06-30imageviewer: Fix potential null pointer dereferenceSolomon Peachy
(caught by clang-analyzer) Change-Id: Ie24b7cd75c5e9814007674925f33b1a321f1d06d
2020-06-30Try mounting as "superfloppy" firstMoshe Piekarski
This allows for a superfloppy that has MBR-like data in the BPB. this solves FS#12294 while allowing arbitrary partition types. Change-Id: I53880fe7dd53e5015f5f15be0ddba11105fcd778
2020-06-30Also remove the fat_partition_types array.Moshe Piekarski
If we aren't going to check for the partition type, we don't need the array of known FAT partition types. Original Author: Torne Wuff <torne@wolfpuppy.org.uk> Change-Id: I558d4287189408c513dfbca49e13906cdb7918b1
2020-06-30Allow any partition type, not just known FAT types.Moshe Piekarski
Instead of only mounting partitions with a FAT partition type, try any partition that isn't type 0 (unallocated) or 5 (extended). This makes it easier to reformat SDXC cards which have the exFAT partition type, and also brings us in line with pretty much every other OS at this point. Anything with a valid-looking FAT superblock will get mounted. original author: Torne Wuff <torne@wolfpuppy.org.uk> Change-Id: I3ea8d437a79f9da270f9d119cc670e472331a9da
2020-06-30mac: Fix build rule for dmg.Dominik Riebeling
Also add the version string to the folder used for creating the dmg, since that will appear when mounting it. Change-Id: Ibf5918bf51ae37082d7b2ca5baf919319f6e568d
2020-06-30rbutil: Fix filename for additional rule to create dmg image on macOS.Dominik Riebeling
2020-06-30fractals: Clean up ARM asmSolomon Peachy
No functional change, just using modern syntax. Change-Id: I211bbcebd11da168c81dff4c409112d7a535b6ed
2020-06-30database: Fix makefile syntax for GNU Make 4.3+Solomon Peachy
Change-Id: If8749aff19f92aae28f5f73aaf843428d7f4b462
2020-06-30Fixed system state information loss when it is saved in fileIgor B. Poretsky
Change-Id: If2aca712af4152e144ec919cfc4b4d9cb23bf4f2
2020-06-28Update American English translationSolomon Peachy
Change-Id: If25a242a3d4d47eff577547dea03325d6d3e135c
2020-06-28FS#13207: Update Polish Translation (Adam Rak)Solomon Peachy
Change-Id: I0168eef494670ce9329a8eb9efc296f84187ac0d
2020-06-28Partially revert the last commit.Franklin Wei
The \if->\If replacement is a bit premature for texlive-2019, apparently. Change-Id: Iab198c2f5e2f00ecdf7e2431e2b77c423e6afc07
2020-06-28fix a few manual warningsMoshe Piekarski
Change-Id: I6abcceeb84d70e32be203049950c6fe4711e8df8
2020-06-28Fix logf build warnings in speex codecMoshe Piekarski
Change-Id: I8ce9473c98f863cc53273c16b2e55321d7b0795a
2020-06-27puzzles: clean up and document some voodooFranklin Wei
Change-Id: I13d987cc148f053778474e99c719cc8439ec53c0
2020-06-27puzzles: fix crash when loading a corrupt saveFranklin Wei
I misread the documentation here, thinking that the pointer would be set to *point to* a null byte, not to a null pointer itself. [1] [1]: https://www.chiark.greenend.org.uk/~sgtatham/puzzles/devel/midend.html#identify-game Change-Id: I9b76bba9b1611dfd8e05d076a69f7554b5b74c53
2020-06-27puzzles: refuse to draw non-ASCII charactersFranklin Wei
We had some issues in Keen with the arithmetic operators not being rendered properly. This is still a kludge (we should intelligently search the font) but is still less ugly than the garbage it was drawing before. Change-Id: I5b957c7371b659ea6d64847145f9913b2a892e48
2020-06-27puzzles: replace menu title kludge with more elegant solutionFranklin Wei
This hack has survived for far too long. Change-Id: Idca0b647bd6e77f2afcd9a538513a6b9aa970fc7
2020-06-27puzzles: disable software poweroff in all puzzlesFranklin Wei
We have a couple games like Untangle and mouse-mode games in which the software poweroff is very annoying. Change-Id: I554b89aecf8c7cc20c6c7f305be1b8807dc9283b
2020-06-27button: allow disabling software poweroffFranklin Wei
On some devices, the button driver allows a "software poweroff" by long- pressing a certain key. This behavior is inconvnient when that button needs to be held down for other purposes, such as moving the cursor in rockpaint or sgt-untangle. This patch allows selectively disabling the software poweroff (enabled by default) from both core and plugin code. Change-Id: I7580752888ae5c7c7c5eb1be5966e3d67f17d4b4
2020-06-27puzzles: allow secondary select in Rectangles and MapFranklin Wei
Change-Id: Ia32d41cd872140481e73b7565904fc196b7c5b01
2020-06-26Pictureflow Whitespace CleanupWilliam Wilgus
Change-Id: I7cda111a8d7a24cae31e3eeca1454480e27ebaaa
2020-06-26Pictureflow Fixes UniqBufWilliam Wilgus
rework of the unique name buffer shares 1/4 of the total buffer Change-Id: I17e46292ac880a082cb3f035e3c21abc318d8a31
2020-06-26Revert "Pictureflow Fixes: Sansa C200"William Wilgus
This reverts commit b7f2cc5d6d697aa40d8a568cf573ee100c32b9c4. Change-Id: I51ec9f5fade10ce0173ed45739af6baaa5c7f746
2020-06-25CREDITS: Remove duplicate entrySolomon Peachy
Change-Id: I8882d2d726748ad7283df8eaecf48b749681271d
2020-06-25Pictureflow Fixes: Sansa C200William Wilgus
Sansa C200 fix Change-Id: I548b7142dde9ea4da5455686bed650aa40c9c90a
2020-06-25puzzles: fix numerical chooser while zoomed inFranklin Wei
We need to blit the zoom framebuffer to the screen in our chooser loop. Change-Id: Id2ba1a79b61f14cc34ca9804486f69a2b32484ff
2020-06-25docker-rbclient: use CMD instead of ENTRYPOINTFranklin Wei
This makes it easier to override from the command line. Change-Id: I4bbd2995ed442b119b696da94ce1670304e59933
2020-06-25puzzles: fix text centering when zooming inFranklin Wei
For some reason lcd_getstringsize was occasionally reverting to the system font, rather than the loaded font. This was leading to improper font sizes being reported. Change-Id: Ie5fc31de9a6a7af739beb22efc3ec1383206eaea
2020-06-25puzzles: update READMEFranklin Wei
Change-Id: Ifea2580989f87bb1c4b357b847121bb5f66f4dfe
2020-06-25puzzles: update copyright dateFranklin Wei
Change-Id: I57c0554cb0d2951631d28e249eacb34c4b36ef21
2020-06-25puzzles: clean up error messagesFranklin Wei
Expands buffer size, and prints to LOGF. Change-Id: I6dbcf60152d69c928270023c550976b802269d95
2020-06-25puzzles: fix crashes and odd behavior on loadFranklin Wei
I can't believe this has gone unnoticed for so long... We need to update the game size upon loading games. Who knew? Change-Id: I929f8139457853440ae687bd937af989fa7c6f93
2020-06-25puzzles: resync with upstreamFranklin Wei
This brings the upstream version to 9aa7b7c (with some of my changes as well). Change-Id: I5bf8a3e0b8672d82cb1bf34afc07adbe12a3ac53
2020-06-25puzzles: remove dependency on gamedesc.txtFranklin Wei
This should allow syncing with fully clean upstream source trees. Change-Id: Ie476a4d2ef72a411150cacc2bd45265170670e1d
2020-06-25Pictureflow Fixes -- FixesWilliam Wilgus
The name buffer is using too much ram for some targets will revisit later... removed extraneous call to set_scrol_lline Change-Id: I56d658149bcb0c50857d25924e37bcb46a612c75
2020-06-25 PictureFlow fixes:Adrián Tinoco
- Extra data structure to store artist info. - Create_album_index modified to perform a different query. - Added load and save functions to store the data index in HDD. - Album collisions fixed. - New config options to perform rescans. - Extra fields added to lang files: english and spanish. Update CREDITS Change-Id: I31814b38d8b4e7fa4b65f5e6e51aa5f00d271ece
2020-06-25lua boomshine update to use rockevents libraryWilliam Wilgus
using rockev for button presses misc code refactoring, comments drawing code is now split from game logic cpu boost for targets that support it removed quite a few if then statements by using dynamic functions for ball draw, step, hit_check shows two ways to do OO functions (closure and reference) Change-Id: I63e795bbe90b033eabadc1f519cf3b635cf5e1a7
2020-06-23SVG image of the Sony NWZ-A10 and other formats for the manual.Szymon Dziok
Change-Id: I0f17499b9c3135f6254eea98ab6efc8783c9e3ae
2020-06-23SVG image of the Sony NW-A20 and other formats for the manual.Szymon Dziok
Change-Id: Ibc9d3e8c4897f3899a7c820c97ae1cebf8777da5
2020-06-23lua RockEv timing fixesWilliam Wilgus
just a few tweaks to the RockEv backend to allow tighter event timing originally there was a timeout where events would be consolidated prior to running the event thread, this slowed the faster events but it turns out this isn't really a big waster of time The callback from C => lua is a far bigger bottleneck Change-Id: Iffacbe49c4b83155099b1304590450f746576fa4
2020-06-22Add support for some native AIFF metadata fieldsMoshe Piekarski
Change-Id: I710480a119e0a9b930a13184ed6571fd2dc1bd01
2020-06-21rbutil: Fix compiling 32bit Rockbox Utility on 64bit Linux.Dominik Riebeling
Pass the machine options for libs to the c++ compiler as well. Change-Id: I56bfbbe4aca4b3a7b86bb0d5323a1f7d78d4f60c
2020-06-21sbtools: Avoid calling pkg-config on each compiler invocation.Dominik Riebeling
Only expand pkg-config calls once by making the compiler flags simply expanded variables. Makes things more predicable and slightly faster. Change-Id: Ie2ed066f205a95ec8a7708cefeb29e9989815db6
2020-06-20rbutil: Add extra build rule on Linux to create AppImage.Dominik Riebeling
Build the "appimage" target to create an AppImage file from the binary. The needed linuxdeploy tools will be downloaded first. Change-Id: Ia1e8977ea7689fb547c5d1a6abe6448a94f1b1af