Commit Graph

17 Commits

Author SHA1 Message Date
Ed_
c4efd1890d Misc changes 2023-04-03 03:53:59 -04:00
Ed_
e301b400ba More readme additions and another debug line out fix. 2023-03-31 17:27:59 -04:00
Ed_
6bc4346652 Update readme, fix an issue with stb_image.refactor script (needed newline at eof), some script changes. 2023-03-31 16:17:02 -04:00
Ed_
6e91555a20 Script additions and improvements, fix IO bug. 2023-03-31 01:04:56 -04:00
Ed_
d73d22282b Some code cleanup 2023-03-30 19:54:19 -04:00
Ed_
f9b8f02351 Corrections to debug code for release builds. 2023-03-30 19:33:35 -04:00
Ed_
048fcac1bf Bloat.cpp: Bad static on Global_Arena 2023-03-30 18:46:22 -04:00
Ed_
c4f0b35a30 Fixed bugs with spec file parsing related to word ignores. 2023-03-30 17:35:57 -04:00
Ed_
17458b4b4c Got include refactors (sig to sub) to work.
Just need to make sure the test case works with the refactored zpl file
2023-03-30 13:59:49 -04:00
Ed_
1cd4287eb2 Fixed issue with ignoring multi-line comments. 2023-03-27 20:14:04 -04:00
Ed_
87c939e2b6 Got include ignores to work, comment ignores work
Not sure yet if include renames work just yet (need to test)

Comment signatures are currently hardcoded for C/C++.
2023-03-25 22:44:36 -04:00
Ed_
d0fad572bc Non-include refactors work. Multi-file works. 2023-03-18 03:10:43 -04:00
Ed_
97967e56d9 WIP - Got it somewhat working, still have issues with multiple files. 2023-03-17 18:12:20 -04:00
Ed_
7e120ae5e9 fixing grammatical mistakes 2023-03-17 02:19:32 -04:00
Ed_
231c893c6b Rework of project implementation
For include and multi-file support. I still need to debug it,
Test will be adjusted as well; I want to get all the files not just zpl refactored using a powershell script.

I dropped the idea of semantically identifiying macros. While it may be possible, I don't see the utility vs the regular idendentifier distinction.
I want to keep the refactoring as simple as possible, where it just takes one pass to go through a file without any context to other files.

So far the ignores behave as a good guard filter for unwanted refactors and the only true weak area was the includes (which should be aleviated with the coming support for it.
2023-03-17 02:09:19 -04:00
Ed_
d44f7ed6fa Updated test to use latest from my fork of zpl. 2023-03-14 02:31:18 -04:00
Ed_
aec095a9f0 did some reorganization, build script changes
Moved header and source to code

Changed all build scripts to just be powershell (preferred)
Added clang format (but forgot that you cannot format zpl because it hangs clang format)

Code changes:
* Removed long names just using short names (there is an issue with the opts_compile...)
* Removed zpl.refactored.h (its generated now when `.\build.ps1 test` is run
* Modified zpl.h to just have the radix sort modification.
2023-03-13 20:17:12 -04:00