Commit Graph

  • 31f23ea6b4 Add CONTRIBUTORS generation, and migrate CONTRIBUTORS file to said format. main Quinn 2026-02-05 15:51:40 +01:00
  • d4e281a477 fix: makefile .PHONY directives were non-functional Quinn 2026-02-05 15:46:03 +01:00
  • 8a01cd3a47 Update files' copyright headers (final time, promice) Quinn 2026-02-05 12:15:48 +01:00
  • af0b82ea32 Define .mailmap due to e-mail change. Quinn 2026-02-04 10:56:57 +01:00
  • dee2b33e9b Update all documentation files to be more accurate. Quinn 2026-02-03 09:03:30 +01:00
  • 9a96134872 Add a warning for variable length arrays Quinn 2026-02-02 11:32:27 +01:00
  • 11a5e8dc4a Switch over to GNU17 C standard. Quinn 2026-02-02 11:14:41 +01:00
  • 455072f0e7 fix: not using NAME for install and install-strip prerequisites Quinn 2026-01-25 09:40:14 +01:00
  • ae2989b5eb fix: potential NULL-dereference if buffer is corrupt. Quinn 2026-01-23 12:40:46 +01:00
  • 5db8156824 Include cflags in sprase invoke Quinn 2026-01-23 12:27:00 +01:00
  • fa5dc7ed45 fix: licence badge was not linking to the correct file. Quinn 2026-01-22 17:41:32 +01:00
  • c4504e61d4 Reflow documentation Quinn 2026-01-22 17:37:22 +01:00
  • 3518df8191 Add comment annotations Quinn 2026-01-22 17:36:27 +01:00
  • a73e03be50 Allow for customising makefile behaviour consistently. Quinn 2026-01-22 17:37:39 +01:00
  • d79fec3f91 fix the simple semantic type issues. Quinn 2026-01-22 16:14:25 +01:00
  • dae2c5bda4 Add force attribute to the casts in endian.h Quinn 2026-01-22 13:05:36 +01:00
  • 568f4e48cb fix: use && instead of & Quinn 2026-01-22 15:43:52 +01:00
  • a082fc8a4e fix: Using 0 instead of NULL when assigning to tmp. Quinn 2026-01-22 15:39:22 +01:00
  • 94f4688ba6 fix: ASSUME not defined if unavailable Quinn 2026-01-22 15:39:02 +01:00
  • 0d59153a58 fix: sparse issue with EXIT_FAILURE. Quinn 2026-01-22 15:35:45 +01:00
  • ebcd150415 Delete all rendering / graphics code. Quinn 2026-01-22 15:26:11 +01:00
  • d81502588f add a static assertion to ensure that the platform compiles right-shifts to sar. Quinn 2026-01-22 14:08:21 +01:00
  • 401d7acc69 fix: Sparse executing one-by-one is more of an issue than a help. Quinn 2026-01-22 15:19:32 +01:00
  • 4679d6bbc5 clean makefile Quinn 2026-01-22 12:54:43 +01:00
  • bfc108bd78 Write install, install-strip, and uninstall targets. Quinn 2026-01-22 12:53:08 +01:00
  • 7ef3d16b53 Use NAME instead of hard-coding the name. Quinn 2026-01-22 12:52:47 +01:00
  • 51dc8f85a6 Rewrite endian.h to utilise the new endian-specific integer types, for better type safety. Quinn 2026-01-22 12:21:49 +01:00
  • 44b3af2b46 Add differing integer types for integers with different endianess. Quinn 2026-01-22 12:20:54 +01:00
  • 1400e93b6d Add format specifiers for logging macros. Quinn 2026-01-22 12:22:22 +01:00
  • 102f9295fd Delete __VA_OPT__ from logging macros, since this is unnecessary. Quinn 2026-01-22 12:23:30 +01:00
  • a4a0b2e845 Add check recipe, which checks the code using sparse. Quinn 2026-01-22 12:15:48 +01:00
  • 52d1f9a6f7 Add C files produced in /res to gitignore Quinn 2026-01-22 12:25:37 +01:00
  • 8f49ae45bb Modify clang format to allow short functions to be put on a singular line. Quinn 2026-01-21 17:21:04 +01:00
  • f5784844a8 Move more of the utility headers into /include/mcaselector-lite. Quinn 2026-01-21 16:26:23 +01:00
  • cf79f7fdc8 Use native packages over included submodules. Quinn 2026-01-21 15:57:22 +01:00
  • 2192acbc9d fix: Second LDFLAGS not used. Replace variable appending with escaping. Quinn 2026-01-21 10:47:08 +01:00
  • 2ae24f588c Remove a large section of .editorconfig to allow for customisation with specifying a tab width. Quinn 2026-01-21 10:14:59 +01:00
  • c259a90fa4 Rename CONF_I* to CONF_S, to match the recent typedef change. Quinn 2026-01-20 11:24:03 +01:00
  • aa09b6591f Migrate from i* signed integer type definitions to s* integer definitions. Quinn 2026-01-20 10:26:14 +01:00
  • 1b1e906015 Rework Makefile, to be more robust, reliable and minimal. Quinn 2026-01-15 16:51:42 +01:00
  • 91383e205f Remove /test and /.github, the CI/testing framework. Quinn 2026-01-15 13:35:04 +01:00
  • 0d0038735f Rework some values in .clang-format for better consistency. Quinn 2026-01-15 10:52:32 +01:00
  • 40c1fd7dc4 fix: GNU Make predefines variables, and ?= will not behave as expected. Quinn 2025-12-22 14:22:37 +01:00
  • b595d83468 add value processing to conf.c Quinn 2025-12-16 11:36:31 +01:00
  • 3a2041194c switch to GPL-2.0-only licence Quinn 2025-12-18 15:19:01 +01:00
  • 9e8f5958c7 write conf scripts Quinn 2025-12-15 18:52:47 +01:00
  • bc0743a72b add __assume__ macro definition in atrb.h Quinn 2025-12-15 12:32:34 +01:00
  • 81b21ff7ce move windowing code into io/win Quinn 2025-12-15 10:02:54 +01:00
  • 7df20e9aa1 remove mapcolour files, since we don't use them Quinn 2025-12-15 09:56:45 +01:00
  • 5cf0292ebe delete configuration logic Quinn 2025-12-15 09:54:57 +01:00
  • 64b06d88c8 fix: error headers were needlessly backing out of util/ Quinn 2025-12-15 09:54:17 +01:00
  • 8bb8671fb0 rephrase the header a little, to not be confusing when a file is copy-pasted. Quinn 2025-11-13 22:29:41 +01:00
  • 8d0e825157 rewrite copyright file header to provide more information about where the file is from. Quinn 2025-11-13 22:24:09 +01:00
  • 5f909d1d65 rework the flow of the Makefile. Quinn 2025-10-23 15:28:42 +02:00
  • 87541d5789 modify Makefile to be more in-line with the GNU standard. Quinn 2025-10-20 15:04:17 +02:00
  • 316726a610 tmp: revert enabling a column limit Quinn 2025-10-16 23:35:30 +02:00
  • 1aa34f7d3f enable a column limit. Quinn 2025-10-09 21:12:53 +02:00
  • 00719b1933 refactor code with new formatting rules Quinn 2025-10-09 18:43:09 +02:00
  • eb45650178 fix: use uintptr over usize in locations where applicable Quinn 2025-10-09 12:33:28 +02:00
  • 8ca49aa4fa fix: ssize got removed in rework of intdef.h/types.h. Quinn 2025-10-09 12:28:24 +02:00
  • d4fabf437c reformat the code by enabeling assignment- and declaration alignment. Quinn 2025-10-09 12:17:04 +02:00
  • cebe0df8a2 move /src/error.? to /src/util/error.? Quinn 2025-10-09 12:08:57 +02:00
  • aa58d931aa move /src/util/intdef.h to /src/util/types.h Quinn 2025-10-09 12:05:01 +02:00
  • 27c862c215 rework intdef.h to not rely upon standard library headers by using predefined macros. Quinn 2025-10-09 11:59:59 +02:00
  • 6eb7d126da create a custom definition for size_t and ssize_t, which is ssize and usize, for conveinience. Quinn 2025-09-18 10:39:57 +02:00
  • 1e24a4ee92 add a CI status badge to the README.md Quinn 2025-09-18 09:58:05 +02:00
  • 181fca6828 fix: windows test; USERPROFILE should also result in a roaming path. Quinn 2025-09-18 09:50:56 +02:00
  • f6e5712876 fix: testing warnings Quinn 2025-09-18 09:47:31 +02:00
  • 47d34b3f7d rewrite testing code to be a bit more durable and clean. Quinn 2025-09-17 16:52:18 +02:00
  • e623a352d2 fix: windows cache is not caching correctly. Quinn 2025-09-17 13:59:03 +02:00
  • 079361771f fix-test: windows compilation; append some extra libraries when compiling windows. Quinn 2025-09-17 13:44:34 +02:00
  • 66e3d0d06f revert previous, since the compilation has concluded Quinn 2025-09-17 12:55:33 +02:00
  • adfca88d3c push compilation of libraries on everything to get rid of turtle compilation speeds Quinn 2025-09-17 12:51:20 +02:00
  • e9c922d3cd revert forced usage of bash, instead opt for (more) explicit compiler selection. Quinn 2025-09-17 12:26:50 +02:00
  • d46f8c0900 always use bash as the shell. Quinn 2025-09-17 12:13:46 +02:00
  • 2261209d8d win: increase cores, to hopefully not spend 20min on compilation. Quinn 2025-09-17 12:13:34 +02:00
  • a16f454396 drop macosx support; the fix introduced a new bug Quinn 2025-09-17 11:32:36 +02:00
  • 945a82e5f6 test-fix: windows compilation Quinn 2025-09-17 11:24:53 +02:00
  • 88d39150dd test-fix: macosx compilation Quinn 2025-09-17 11:07:21 +02:00
  • 76c992efdc note about the memory leak I could not locate within my code. Quinn 2025-09-15 15:13:48 +02:00
  • 28b98705f5 refactor the lot a bit, for clairity. Quinn 2025-09-15 15:08:15 +02:00
  • 057b234251 fix: don't free window twice Quinn 2025-09-15 15:07:41 +02:00
  • dd2f4c403c add copyright information to error.c Quinn 2025-09-15 14:15:51 +02:00
  • dc3abf992b handle window exits more gracefully and appropriately. Quinn 2025-09-15 14:15:40 +02:00
  • 1e10fec9c6 rename input callback to something more appropriate. Quinn 2025-09-15 14:12:18 +02:00
  • 41d944ac21 remove old/stale code from main.c Quinn 2025-09-15 14:00:40 +02:00
  • faa93f4372 remove needless inline function from main.c Quinn 2025-09-15 13:57:43 +02:00
  • e3c0afbb2f fix: glfw error logging inconsistent with how the rest of our application logs errors. Quinn 2025-09-15 13:55:32 +02:00
  • 11c8748262 define GLFW_INCLUDE_NONE, so glfw knows we're using custom headers. Quinn 2025-09-15 13:51:31 +02:00
  • 25fa078c98 add a check for debug logging, to only log when the environment variable DEBUG is set to 1 Quinn 2025-09-15 13:36:42 +02:00
  • 023123e54f make debug loggers not be needlessly abbreviated. Quinn 2025-09-15 13:06:20 +02:00
  • b13739c782 do not bother with recompiling the libraries, if we got a cache hit. Quinn 2025-09-15 12:51:48 +02:00
  • 5db42a2b15 disable windows from the CI. Quinn 2025-09-15 12:42:59 +02:00
  • 2277b8ec77 use a more accurate hash for caching submodule objects. Quinn 2025-09-15 12:41:52 +02:00
  • fa26a3561d disable macosx for the time being, it is non-functional and I can't/won't test it anyway. Quinn 2025-09-15 12:34:30 +02:00
  • 15b5430611 Instead of using cmake, I *obviously* need to use cmake -G 'Unix Makefiles'. How silly of me. Quinn 2025-09-15 12:25:53 +02:00
  • 6c184a4d36 re-enable windows, and see what happens. Quinn 2025-09-15 12:17:37 +02:00
  • 82ebe1f4d1 fix: use CC instead of LD, and deprecate LD Quinn 2025-09-15 12:08:39 +02:00
  • 5f3bd40a47 potato time. Quinn 2025-09-15 12:01:54 +02:00
  • 158a7f8383 fix: don't use UNIX sh based ifs, instead opt for GNU Make. Quinn 2025-09-15 11:57:26 +02:00