jak-project/third-party
Tyler Wilding c162c66118
g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535)
This PR does two main things:
1. Work through the main low-hanging fruit issues in the formatter
keeping it from feeling mature and usable
2. Iterate and prove that point by formatting all of the Jak 1 code
base. **This has removed around 100K lines in total.**
- The decompiler will now format it's results for jak 1 to keep things
from drifting back to where they were. This is controlled by a new
config flag `format_code`.

How am I confident this hasn't broken anything?:
- I compiled the entire project and stored it's `out/jak1/obj` files
separately
- I then recompiled the project after formatting and wrote a script that
md5's each file and compares it (`compare-compilation-outputs.py`
- The results (eventually) were the same:

![Screenshot 2024-05-25
132900](https://github.com/open-goal/jak-project/assets/13153231/015e6f20-8d19-49b7-9951-97fa88ddc6c2)
> This proves that the only difference before and after is non-critical
whitespace for all code/macros that is actually in use.

I'm still aware of improvements that could be made to the formatter, as
well as general optimization of it's performance. But in general these
are for rare or non-critical situations in my opinion and I'll work
through them before doing Jak 2. The vast majority looks great and is
working properly at this point. Those known issues are the following if
you are curious:

![image](https://github.com/open-goal/jak-project/assets/13153231/0edfaba1-6d36-40f5-ab23-0642209867c4)
2024-06-05 22:17:31 -04:00
..
cmake/modules cmake: properly statically link SDL when applicable (#2762) 2023-06-20 23:25:47 -04:00
cubeb fix a few compiler warnings (#1419) 2022-06-05 15:00:35 -04:00
curl g/j2: Integrate highscores with Speedrun.com/JakSpeedruns.com when speedrunner mode is enabled (#3037) 2023-10-11 20:43:55 -04:00
discord-rpc g/j2: Integrate highscores with Speedrun.com/JakSpeedruns.com when speedrunner mode is enabled (#3037) 2023-10-11 20:43:55 -04:00
fmt deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
fpng cleanup our cmake and build warnings (#2876) 2023-08-08 20:53:16 -04:00
glad tfrag improvements (#970) 2021-11-15 20:07:10 -05:00
googletest random fixes + support clang-cl on visual studio (#1129) 2022-02-07 19:15:37 -05:00
gtest-parallel ci: speed up unit-test execution (#2586) 2023-04-30 14:27:08 -04:00
imgui Jak 2 pc subtitle support (#2672) 2023-06-08 01:04:16 +01:00
inja clean up some warnings and add some extra integer tests 2020-10-09 21:28:41 -04:00
libco Add a gltf level exporter (#1719) 2022-08-05 12:25:35 -04:00
libtinyfiledialogs game: Improve OpenGL version detection and make requirement errors more obvious to the user (#2787) 2023-06-30 21:05:58 -04:00
lzokay Fix GCC 12 build (#1530) 2022-06-23 16:16:48 -04:00
mman ci: Add an automated release process (#1262) 2022-03-29 22:47:08 -04:00
nasm ci: update chocolately syntax and update nasm to 2.16.1 (#2710) 2023-06-09 00:01:50 -04:00
replxx repl: update replxx and some configuration for bracketed paste (#2784) 2023-06-29 16:32:48 -04:00
run-clang-format Update script permissions and add build status 2020-08-27 16:52:50 -04:00
run-clang-tidy Update workflow 2020-09-04 23:24:07 -04:00
SDL deps: SDL update to 2.30.0 (#3384) 2024-03-05 22:12:13 -05:00
sqlite3 d/j2: Some work on the SQL editors (#2771) 2023-06-25 16:51:46 -04:00
sse2neon Get the project compiling on Apple Silicon macOS natively (arm64) (#2827) 2023-07-16 11:13:48 -04:00
stb_image Fix UTF-8 handling when running the game, env-vars, and setting the project path (#1632) 2022-07-10 19:03:24 -04:00
tiny_gltf Fix UTF-8 handling when running the game, env-vars, and setting the project path (#1632) 2022-07-10 19:03:24 -04:00
tree-sitter g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
xdelta3 Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
zstd add zstd library (#854) 2021-09-21 22:52:18 -04:00
zydis fix zydis alignment issue during build for intel macs (#3312) 2024-01-16 19:01:55 -05:00
BS_thread_pool.hpp overlord: perform file operations on a thread pool (#2749) 2023-06-24 10:19:35 -04:00
CLI11.hpp extractor: split up extraction process and allow overriding data dir path (#1302) 2022-04-15 18:01:47 -04:00
dragonbox.h Use dragonbox to print floats (#481) 2021-05-13 21:05:05 -04:00
filesystem.hpp extractor: cleanup, support unicode properly, and add multi-game support (#1609) 2022-07-05 20:38:13 -04:00
json.hpp LSP: OpenGOAL Feature Support - Part 1 (#2668) 2023-05-21 17:24:23 -04:00
magic_enum.hpp 989snd: Support version >= 2 sound effects (#1991) 2022-12-02 18:08:44 -05:00