Commit Graph

  • 5fa60c4d46 Unequal: use %u to format an unsigned int Ben Harris 2023-02-18 21:32:58 +00:00
  • 448095ede8 Undead: be a bit more careful about sprintf buffer sizes Ben Harris 2023-02-18 21:26:38 +00:00
  • fccd2a55e7 Revert "Stop persistent-mode fuzzpuzz exiting prematurely" Ben Harris 2023-02-18 20:23:23 +00:00
  • a35405ca35 Make emcc.c clean under -Wmissing-prototypes etc Ben Harris 2023-02-18 18:12:49 +00:00
  • 85cf484e7a Mosaic: ignore taps above/left of the grid Chris Boyle 2022-05-09 22:22:19 +01:00
  • b91f9824b6 Stop persistent-mode fuzzpuzz exiting prematurely Ben Harris 2023-02-18 12:28:29 +00:00
  • 150c05a298 Support Honggfuzz's persistent mode in fuzzpuzz Ben Harris 2023-02-18 11:59:08 +00:00
  • b107decdaf Use -Wmissing-prototypes with GCC as well Ben Harris 2023-02-18 13:52:18 +00:00
  • b591bbdb5f Buildscr: include a test build with clang + STRICT. Simon Tatham 2023-02-18 08:53:59 +00:00
  • 873d613dd5 Fix missing statics and #includes on variables. Simon Tatham 2023-02-18 07:14:05 +00:00
  • dbced097ac Fix unused variable warnings from clang. Simon Tatham 2023-02-18 07:06:27 +00:00
  • 615a337e42 Add -Wmissing-prototypes to STRICT clang builds. Simon Tatham 2023-02-18 07:16:12 +00:00
  • 3a3e491a8b Enable -Wmissing-declarations in STRICT mode on GCC Ben Harris 2023-02-16 21:31:47 +00:00
  • 0186d78da9 Mark many more function (and some objects) static Ben Harris 2023-02-16 21:21:15 +00:00
  • a7e738aceb Call deallocate() in matching.c test routines Ben Harris 2023-02-16 21:17:09 +00:00
  • 1717d5b685 Adjust fuzzpuzz sample shell commands to not include "/*" Ben Harris 2023-02-16 23:40:40 +00:00
  • 111db0743b Tracks: set drag_s{x,y} even if starting off-grid Chris Boyle 2023-02-10 15:23:33 +00:00
  • a1f1d7c247 Update and expand comment at the head of fuzzpuzz Ben Harris 2023-02-16 23:26:43 +00:00
  • 100cfd2e99 Separate fuzzing and harness in fuzzpuzz Ben Harris 2023-02-16 22:57:23 +00:00
  • ec4335e07f js: Hide type menu if there's only one preset and no configuration Ben Harris 2023-02-16 19:15:42 +00:00
  • 3cd51d0017 Solo: cope with pencil marks when tilesize == 1 Ben Harris 2023-02-16 15:54:17 +00:00
  • 232cbaf5a8 Note in the documentation that Pattern clues are in order Ben Harris 2023-02-15 23:17:04 +00:00
  • 9394e9c74b Tighten grid-size limit in Mines Ben Harris 2023-02-15 14:07:34 +00:00
  • 7364ce8e26 Make sure that moves in Flood use only valid colours Ben Harris 2023-02-14 22:02:35 +00:00
  • 5a0a2b9166 Fix over-long lines in devel.but Ben Harris 2023-02-13 22:58:46 +00:00
  • e8668dc883 More validation of solve moves in Flood Ben Harris 2023-02-13 00:00:30 +00:00
  • c3a5a7842e Validate that save file values are ASCII (mostly) Ben Harris 2023-02-12 23:04:12 +00:00
  • ffe2fa169f Extend fuzzpuzz to test more code Ben Harris 2023-02-12 22:57:51 +00:00
  • a2bf0508c7 Reserialise the game in fuzzpuzz Ben Harris 2023-02-12 16:25:48 +00:00
  • df783b93e3 Avoid division by zero in Cube grid-size checks Ben Harris 2023-02-13 00:14:22 +00:00
  • da2767a3f9 Mosaic: don't duplicate the description being validated Ben Harris 2023-02-13 21:00:11 +00:00
  • e336513be7 Loopy: free the grid description string if it's invalid Ben Harris 2023-02-13 20:17:58 +00:00
  • 73c7bc0901 Twiddle: don't read off the end of parameter strings ending 'm' Ben Harris 2023-02-13 14:31:39 +00:00
  • d577aaecab Free new game_state properly in Mosaic's execute_move() Ben Harris 2023-02-13 11:21:11 +00:00
  • 1aa67e7a75 Remember to free the numcolours array from Pattern's drawstate Ben Harris 2023-02-13 11:13:03 +00:00
  • 19401e95e0 Don't leak duplicate edges in Untangle Ben Harris 2023-02-13 11:08:14 +00:00
  • 0a7c531e8f Undead: check the return value of sscanf() in execute_move() Ben Harris 2023-02-13 10:04:47 +00:00
  • 493bf16ddb Remember to free the to_draw member from Net's drawstate Ben Harris 2023-02-13 09:48:16 +00:00
  • 11b631ea87 Don't leak grids in Loopy's validate_desc() Ben Harris 2023-02-13 09:45:08 +00:00
  • 0f20b72269 Remember to free the actual_board array in Mosaic Ben Harris 2023-02-13 09:36:27 +00:00
  • bb31efdbc9 Fix memory leaks in Keen's validate_desc() Ben Harris 2023-02-13 09:31:03 +00:00
  • c139aba078 Allow more general cross-shaped boards in Pegs Ben Harris 2023-02-12 01:24:58 +00:00
  • 97b03cc67a Don't allow moves that change the constraints in Unequal Ben Harris 2023-02-11 22:49:36 +00:00
  • 896a73bd7f Cleanly reject more ill-formed solve moves in Flood Ben Harris 2023-02-11 22:00:49 +00:00
  • c0b2f0fc98 Check state is valid at the end of a move in Pearl Ben Harris 2023-02-11 21:22:49 +00:00
  • ec84b45ba4 Mention how old the 15-puzzle is Ben Harris 2023-02-11 19:35:32 +00:00
  • ad2fb760fc Forbid game descriptions with joined islands in Bridges Ben Harris 2023-02-10 18:28:36 +00:00
  • bf9abb2a12 Forbid impossible moves in Bridges Ben Harris 2023-02-10 17:09:18 +00:00
  • bd5c0a37a0 Unequal: fix sense error in latin_solver_alloc fix. Simon Tatham 2023-02-08 18:22:23 +00:00
  • 49841bd0fc Mines: Add assertions to range-check conversions to short Ben Harris 2023-01-31 21:08:05 +00:00
  • c0e08f3087 Limit width and height to SHRT_MAX in Mines Ben Harris 2023-01-28 22:27:21 +00:00
  • ae73ad76ef Range: Don't fail an assertion on an all-black board Ben Harris 2023-02-04 16:50:55 +00:00
  • 84ec2a0a77 Unequal: Don't insist that solve moves must actually solve Ben Harris 2023-02-04 16:18:27 +00:00
  • 9ce0a6d932 Pearl: fix bounds check in previous commit. Simon Tatham 2023-02-05 12:05:28 +00:00
  • 05c536e50d Pearl: fix assertion failure on bad puzzle. Simon Tatham 2023-02-05 11:19:30 +00:00
  • 5030d87903 latin_solver_alloc: handle clashing numbers in input grid. Simon Tatham 2023-02-05 10:29:42 +00:00
  • 517b14e666 Palisade: replace dfs_dsf() with a simple iteration. Simon Tatham 2023-02-03 23:12:38 +00:00
  • 843d4ca17d Tolerate incorrect solutions in Inertia Ben Harris 2023-02-03 20:52:05 +00:00
  • 15f4fa851a Forbid lines off the grid in Pearl Ben Harris 2023-02-02 23:09:19 +00:00
  • 294a3ac6e7 Dominosa: require the two halves of a domino to be adjacent Ben Harris 2023-02-02 22:26:24 +00:00
  • ed682bd5c6 Tighten validation of Tents game descriptions Ben Harris 2023-02-02 21:58:10 +00:00
  • ed0e4c304b Fix move validation in Netslide Ben Harris 2023-02-01 23:00:14 +00:00
  • 875f0af21f Avoid invalid moves when solving Tracks Ben Harris 2023-02-01 21:28:35 +00:00
  • 2a9be2b89d Mines: Don't check if the player has won if they've already lost Ben Harris 2023-02-01 20:12:29 +00:00
  • 1736445518 Mines: forbid moves that flag or unflag an exposed square Ben Harris 2023-02-01 17:07:12 +00:00
  • 37df1f2bbc Document numeric input in Undead Ben Harris 2023-02-01 00:40:07 +00:00
  • aecbbc9220 Remove an odd mention of NO_PRINTING from Mosaic Ben Harris 2023-01-31 23:10:43 +00:00
  • e2f4463c3e Explicitly document that various function pointers can be NULL Ben Harris 2023-01-31 22:27:16 +00:00
  • 789e11f8f8 Remove various unused game functions Ben Harris 2023-01-31 21:05:47 +00:00
  • ccd579e72e Loopy: Specify can_solve as true, rather than 1 Ben Harris 2023-01-31 21:03:36 +00:00
  • 4359f59dd2 Validate the number of pegs and holes in a Pegs game ID Ben Harris 2023-01-28 23:45:48 +00:00
  • 75e8a1a9ca Limit number of mines in Mines game description Ben Harris 2023-01-28 23:12:52 +00:00
  • 28671e76b7 Don't segfault on premature solve moves in Mines Ben Harris 2023-01-28 19:34:28 +00:00
  • e4112b322e Cleanly reject ill-formed solve moves in Flood Ben Harris 2023-01-28 19:06:24 +00:00
  • eb1ae3f3d0 Forbid moves that fill with the current colour in Flood Ben Harris 2023-01-28 18:49:47 +00:00
  • a98ac4bb42 Don't allow Bridges games with < 2 islands Ben Harris 2023-01-28 00:45:38 +00:00
  • 1f72a1a2ec Move KaiAds menu option Ben Harris 2023-01-23 23:50:39 +00:00
  • 31badae3c1 KaiOS: explicitly set the font family to Open Sans Ben Harris 2023-01-23 01:09:08 +00:00
  • 890b004acd Increase KaiAds timeout to 10 seconds Ben Harris 2023-01-22 16:06:51 +00:00
  • b907e27875 Add validate_params bounds checks in a few more games. Simon Tatham 2023-01-22 09:30:57 +00:00
  • 5cac6a09c4 Black Box: reject negative ball counts in game_params. Simon Tatham 2023-01-22 08:54:06 +00:00
  • 806ae71ca4 Add myself to copyright holders and update copyright years Ben Harris 2023-01-21 18:36:13 +00:00
  • 667ce17729 Add a content security policy for the KaiOS app Ben Harris 2023-01-21 13:23:38 +00:00
  • eb366cb6c6 Update comment in manifest.pl based on experience Ben Harris 2023-01-21 13:07:30 +00:00
  • eac7fc1665 kaios/manifest.pl: canonicalise the JSON output. Simon Tatham 2023-01-21 11:57:13 +00:00
  • 88872fe806 Install KaiOS app docs even without Halibut Ben Harris 2023-01-20 09:50:24 +00:00
  • a7bbd897fc Use the main Web site version of the docs for KaiOS apps Ben Harris 2023-01-19 22:27:02 +00:00
  • 860d79c874 kaios: Add hooks for the KaiAds API Ben Harris 2023-01-05 21:20:19 +00:00
  • b0203e8f72 js: Quicker keyboard access to menu items Ben Harris 2023-01-02 00:16:07 +00:00
  • b8e9bfa7f6 kaios: Make F10 open and close the menu Ben Harris 2023-01-01 23:29:25 +00:00
  • b6f783e26e Correct type of "locales" in KaiOS manifest Ben Harris 2022-12-31 16:04:29 +00:00
  • aac72f2cd8 Deliver banner images from build script Ben Harris 2022-12-19 23:29:39 +00:00
  • 87f21b2de4 Generate a possibly suitable marketing banner for the KaiStore Ben Harris 2022-12-19 14:23:02 +00:00
  • 2a4abce8a8 kaios: Provide a populated "locales" field in the manifest Ben Harris 2022-12-11 15:01:34 +00:00
  • fb13ce8d71 kaios: Turn off :hover highlighting in menus Ben Harris 2022-12-11 14:11:32 +00:00
  • eb60f001b7 Buildscr bits for making KaiOS builds Ben Harris 2022-12-11 14:10:16 +00:00
  • cc2e94ab2b kaios: Put version numbers in manifest files Ben Harris 2022-12-11 14:08:12 +00:00
  • 1eba6388bf kaios: Hack out everything that needs dialogue boxes Ben Harris 2022-12-11 13:05:16 +00:00
  • 81b6bccab6 js: Remove an outdated reference to the "invisible Custom option" Ben Harris 2022-12-11 12:25:11 +00:00
  • 5ba1bf5560 js: Tolerate the absence of various UI elements from the HTML Ben Harris 2022-12-11 12:17:54 +00:00