Commit Graph

38 Commits

Author SHA1 Message Date
ed 018286be6f Some refinement to the gh-workflow 2023-03-30 19:34:07 -04:00
ed a0a3e42e6a Various updates to scripts 2023-03-30 19:33:46 -04:00
ed f9b8f02351 Corrections to debug code for release builds. 2023-03-30 19:33:35 -04:00
ed 5bfa8395db Fixing issue with build script not being able to find refactor script in gh-actions. 2023-03-30 18:50:45 -04:00
ed 048fcac1bf Bloat.cpp: Bad static on Global_Arena 2023-03-30 18:46:22 -04:00
ed eccbdac3b2 Powershell is dumb 2023-03-30 18:43:22 -04:00
ed 2933393f55 Still dumb 2023-03-30 18:39:39 -04:00
ed 61880e8dee I'm dumb 2023-03-30 18:37:01 -04:00
ed 9bf6af8ce5 Fix issue with cls command on gh-actions. 2023-03-30 18:34:55 -04:00
ed 20dd92a684 Possible fix for gh-action yml error. 2023-03-30 18:32:33 -04:00
ed be6b37ae00 attempting to just run the pwsh script with just hardcoded command. 2023-03-30 18:31:41 -04:00
ed e867768862 GH-Actions: Installing meson with pip instead. 2023-03-30 18:28:06 -04:00
ed b08ff787a8 Switching to chocolately as for some reason gh-actions doesn't support winget... 2023-03-30 18:20:33 -04:00
ed 263fa66f7f GH-Actions: Using winget instead, win-server 2019. 2023-03-30 18:13:45 -04:00
ed 6e9d35cb37 Attempt to fix issue with scoop usage in admin mode. 2023-03-30 18:08:33 -04:00
ed 2176314adf Merge pull request #3 from Ed94/build_workflow
Create main.yml
2023-03-30 18:04:00 -04:00
ed 484c2ac35c Create main.yml 2023-03-30 18:02:57 -04:00
ed 2419f407a8 Merge pull request #2 from Ed94/includes_n_multi-file
Update main with feature updates in includes_n_multi-file
2023-03-30 17:42:11 -04:00
ed 503df85733 Setup new test and sucessfuly compiles! 2023-03-30 17:36:36 -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 892d0cba64 Updated clang format. 2023-03-13 22:45:45 -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
ed 9129b5a9fc renamed test files to make a clearer distinction between the regular files.
Removed c8 typedef.
2023-03-12 22:46:08 -04:00
ed d01625d464 fixed up debug logs and fatal asserts. 2023-03-12 22:38:21 -04:00
ed 71d9aa79eb Remove other dir; added gitignore 2023-03-12 22:19:00 -04:00
ed d6345c58bf Merge branch 'main' of https://github.com/Ed94/refactor 2023-03-12 22:13:30 -04:00
ed 3e6ede0fbe Update zpl.h.refactor to expose chang ehte native typedefs.
Updated zpl to original state. (Will require minor refactor of the radix sort to compile in the processed version).
2023-03-12 22:13:18 -04:00
ed 6f76b43c12 Merge pull request #1 from Ed94/add-license-1
Create LICENSE
2023-03-12 21:47:30 -04:00
ed 719eedd16c Create LICENSE 2023-03-12 21:47:10 -04:00
ed 581afa9154 First working prototype.
TODO: I need to cleanup memory.
2023-03-12 21:34:55 -04:00