-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organized source file structure, Removed unused SM5 files, Moved libraries #455
Conversation
Files removed in this commit were not used in any way, and had zero references in other project source files.
Note: While this commit states that source files have been removed, that is not true. All files have been kept, and only moved. Git will only detect a file as renamed when the source stays exactly the same before and after the change. This is not the case since include references were changed. |
Will work on this getting this merged after the |
The last merge should prep this PR for an easy merge into develop. The stb related files were left at their locations in |
👍 |
|
I think this PR should be split into 3 separate PRs so it's easier to review, one for each bullet point in the initial comment. |
I can do that. Though I just want to confirm it, since this project already has a .clang-format file, which seems to be more recently updated compared to the .editor-format file. The .editor-config file was originally added by the SM5 devs and has remained unmodified since
I can definitely keep this in mind for next time and make smaller PR's. I understand there a lot of changes happening all at once here. I tried my best to keep each change within its own commit. |
After some discussiong it seems editorconfig has very few settings, so keeping it consistent with clang format in the future should be trivial. And using it gives the advantage of your editor using the correct tab width automatically without having to run the formatter (On commit or file save). I think the only change needed on the editorconfig file is changing the tab width to 4 |
Sure, I'll push a commit to add it back. I was under the impression it wasn't used whatsoever. |
Me too |
This PR LGTM, I suppose it's not worth splitting it for now. |
This is my first pull request on this repository.
Here is a summary of everything changed in this pull request.
(Largest change) The
src
folder with every source file has been refactored to match the Visual Studio filters as defined in thesrc/CMakeData-XXXX.cmake
files. Mostly a QOL commit so contributors not using visual studio can still see some separation of the files. This does change how things are included, as now the full directory needs to be included instead of only the desired header file. The MSVC filter is unchanged outside adding files which were in-use, but not showing in the MSVC filters (specificallyNoteDateStructures.h
andOptionsBinding.h
).Removed unused SM5 files. Included files can be seen in commit
08adaec
. These files had zero references anywhere else in the source, or were unused altogether.libtomcrypt
andlibtommath
were moved from thesrc
to theextern/libtomXXX
directories. Having them next to in the source of Etterna was out of place as every other library was placed inextern
. The way this library gets imported is now done with just the header.I was able to get it building on both Ubuntu and Windows, though I am currently unable to test myself with macOS.
Please let me know if there is anything I could do to help get this pull request merged.