summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-07-07Samsung YP-R0: fix simulator buildLorenzo Miori1-0/+2
Protect source code files which are not meant to be built on simulator builds. Change-Id: I81ad440d8f86e9eda27807e6b71647ced5071b44
2020-07-07FS#9788: Include timestamp in logf filename (Yoshihisa Uchida)Solomon Peachy1-0/+12
For example, logf_202007071157.txt Change-Id: Ia50c0ca67772e3d26b49dd8e1a3519816e5211c6
2020-07-07docs: Get rid of the long-obsolete KNOWN_ISSUES fileSolomon Peachy1-42/+0
Change-Id: I6ed1a96f690f6ff227e9abb1e9815e9e36914f32
2020-07-06puzzles: Follow cursor in zoom mode and general code cleanup.Franklin Wei48-25/+834
Frontends now have a way to retrieve the backend cursor position with some changes I've submitted upstream. With this information, we can now follow the cursor around in "interaction mode" while zoomed in, eliminating (most) need for mode switching. Also does some cleanup of the frontend code. Change-Id: I1ba118f67564a3baed95435f5619b73cfa3ae87a
2020-07-07plugin windows_lnk: fix missing return-on-errorSebastian Leonhardt1-0/+1
(found by peachy & clang's static analyzer) Change-Id: Idcc9b3bd0c3c1164892002b8f814d74b4a6b2a2d
2020-07-06sdl: Get rid of duplicate instantiation of 'button_queue'Solomon Peachy1-4/+0
(Caused a build failure under GCC10's stricter '-fno-common' default) Change-Id: I7d49c630771e8294e2ad8c740a4ada136a6befd7
2020-07-062048: use larger bitmaps on 96x96 screens (e.g. Clip Zip)Franklin Wei1-1/+1
Apparently the smallest bitmaps are hard to see. Change-Id: I0265ce4da15677f9c4c64457b1a1f849a0f3a7f8
2020-07-05portalplayer: Fix three set-but-not-used warnings.Solomon Peachy3-1/+8
(They show up when building with gcc494) Change-Id: Id5e2bccf18114ed78a557ac1b369f46b4f07d042
2020-07-05imx31: Fix regression in bootloader caused by cd9906Solomon Peachy1-1/+1
Change-Id: I1b561c9136a727f49e02e53798e46ef9197a3958
2020-07-05imx233: Fix bootloader link regression caused by cd9906Solomon Peachy1-2/+2
Change-Id: I6341069aa3855a8a3ea9ed021c27aaa742cab698
2020-07-05arm: Fix PortalPlayer linker scripts with binutils 2.21+Solomon Peachy5-7/+7
For reasons that are still unclear, the 'ncbss' region was overlapping the "audiobuffer" when linked with 2.21, but okay with 2.20. Fixed it by making the audiobuffer explcitly use the current position instead of relying on it being implicit. With this change, portalplayer-based targets generate working binaries when built with binutils 2.21 or newer. This bug also theoretically affects imx233/imx31 targets as they also have NOCACHE_BASE games in their linker scripts, but I lack access to one to test with. Change-Id: Idb38ab20f03599b9ed3d4bc0eafe519f38677438
2020-07-03ARM: Rejigger the asm corelock functionsSolomon Peachy1-34/+37
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 Piekarski2-6/+7
Change-Id: I7e83a9979aedadf3b7c2b162a8202efdc6227e88
2020-07-02build: add '-fcommon' to the toolchain build flags.Solomon Peachy1-1/+1
This allows binutils 2.16 to build successfully with GCC10. Change-Id: Iddcd4156720f4fa05936ea459991866fc6e1524d
2020-07-02puzzles: enhancements to mouse mode, zoom featureFranklin Wei1-65/+94
- 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 Peachy1-98/+98
Change-Id: I7938375711703a545c8c555232db37e34b893e64
2020-06-30imageviewer: Fix potential null pointer dereferenceSolomon Peachy1-4/+6
(caught by clang-analyzer) Change-Id: Ie24b7cd75c5e9814007674925f33b1a321f1d06d
2020-06-30Try mounting as "superfloppy" firstMoshe Piekarski1-35/+37
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 Piekarski1-11/+0
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 Piekarski1-3/+2
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 Riebeling1-3/+3
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 Riebeling1-1/+1
2020-06-30fractals: Clean up ARM asmSolomon Peachy1-4/+4
No functional change, just using modern syntax. Change-Id: I211bbcebd11da168c81dff4c409112d7a535b6ed
2020-06-30database: Fix makefile syntax for GNU Make 4.3+Solomon Peachy1-2/+4
Change-Id: If8749aff19f92aae28f5f73aaf843428d7f4b462
2020-06-30Fixed system state information loss when it is saved in fileIgor B. Poretsky1-1/+5
Change-Id: If2aca712af4152e144ec919cfc4b4d9cb23bf4f2
2020-06-28Update American English translationSolomon Peachy1-0/+99
Change-Id: If25a242a3d4d47eff577547dea03325d6d3e135c
2020-06-28FS#13207: Update Polish Translation (Adam Rak)Solomon Peachy1-0/+99
Change-Id: I0168eef494670ce9329a8eb9efc296f84187ac0d
2020-06-28Partially revert the last commit.Franklin Wei6-19/+19
The \if->\If replacement is a bit premature for texlive-2019, apparently. Change-Id: Iab198c2f5e2f00ecdf7e2431e2b77c423e6afc07
2020-06-28fix a few manual warningsMoshe Piekarski7-19/+19
Change-Id: I6abcceeb84d70e32be203049950c6fe4711e8df8
2020-06-28Fix logf build warnings in speex codecMoshe Piekarski1-10/+11
Change-Id: I8ce9473c98f863cc53273c16b2e55321d7b0795a
2020-06-27puzzles: clean up and document some voodooFranklin Wei1-17/+55
Change-Id: I13d987cc148f053778474e99c719cc8439ec53c0
2020-06-27puzzles: fix crash when loading a corrupt saveFranklin Wei1-2/+1
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 Wei1-3/+34
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 Wei1-19/+8
This hack has survived for far too long. Change-Id: Idca0b647bd6e77f2afcd9a538513a6b9aa970fc7
2020-06-27puzzles: disable software poweroff in all puzzlesFranklin Wei1-1/+8
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 Wei6-3/+55
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 Wei1-3/+11
Change-Id: Ia32d41cd872140481e73b7565904fc196b7c5b01
2020-06-26Pictureflow Whitespace CleanupWilliam Wilgus1-11/+8
Change-Id: I7cda111a8d7a24cae31e3eeca1454480e27ebaaa
2020-06-26Pictureflow Fixes UniqBufWilliam Wilgus1-18/+22
rework of the unique name buffer shares 1/4 of the total buffer Change-Id: I17e46292ac880a082cb3f035e3c21abc318d8a31
2020-06-26Revert "Pictureflow Fixes: Sansa C200"William Wilgus1-21/+9
This reverts commit b7f2cc5d6d697aa40d8a568cf573ee100c32b9c4. Change-Id: I51ec9f5fade10ce0173ed45739af6baaa5c7f746
2020-06-25CREDITS: Remove duplicate entrySolomon Peachy1-1/+0
Change-Id: I8882d2d726748ad7283df8eaecf48b749681271d
2020-06-25Pictureflow Fixes: Sansa C200William Wilgus1-9/+21
Sansa C200 fix Change-Id: I548b7142dde9ea4da5455686bed650aa40c9c90a
2020-06-25puzzles: fix numerical chooser while zoomed inFranklin Wei1-2/+8
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 Wei1-1/+1
This makes it easier to override from the command line. Change-Id: I4bbd2995ed442b119b696da94ce1670304e59933
2020-06-25puzzles: fix text centering when zooming inFranklin Wei1-3/+5
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 Wei1-1/+2
Change-Id: Ifea2580989f87bb1c4b357b847121bb5f66f4dfe
2020-06-25puzzles: update copyright dateFranklin Wei1-1/+1
Change-Id: I57c0554cb0d2951631d28e249eacb34c4b36ef21
2020-06-25puzzles: clean up error messagesFranklin Wei2-4/+6
Expands buffer size, and prints to LOGF. Change-Id: I6dbcf60152d69c928270023c550976b802269d95
2020-06-25puzzles: fix crashes and odd behavior on loadFranklin Wei1-0/+2
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 Wei60-332/+1889
This brings the upstream version to 9aa7b7c (with some of my changes as well). Change-Id: I5bf8a3e0b8672d82cb1bf34afc07adbe12a3ac53