OneLiteFeatherNET / BetterGoPaint

Based on the original goPaint but better
https://discord.onelitefeather.net
GNU General Public License v3.0
6 stars 1 forks source link

Code cleanup and performance improvements #17

Closed NonSwag closed 3 months ago

NonSwag commented 3 months ago

Description

This PR is rather unorganized, but in general it provides code quality and performance improvements

Temporarily replaced the old broken surface mode algorithm with a simpler, faster and more intuitive one

known issue: exported brushes cannot be parsed anymore

I tested it quite a bit but cannot yet ensure that nothing else is broken

Checklist

TheMeinerLP commented 3 months ago

Take a look at https://sonarcloud.io/project/issues?id=OneLiteFeatherNET_BetterGoPaint&pullRequest=17&resolved=false&sinceLeakPeriod=true

NonSwag commented 3 months ago

Take a look at https://sonarcloud.io/project/issues?id=OneLiteFeatherNET_BetterGoPaint&pullRequest=17&resolved=false&sinceLeakPeriod=true

I would rather focus on implementing i18n instead of caring about duplicated hard-coded strings I fixed a few issues that were worth it, but most parts of the system are gonna be replaced anyway (e.g. GUI, Brushes and the Utility classes)

NonSwag commented 3 months ago

I think splitting that up into three parts would make more sense First getting this PR ready to merge Second adding annotations Third documenting (or vice versa)

TheMeinerLP commented 3 months ago

Merge the second and third pr into this one. Makes more sense to me because merge chain and unstable code

NonSwag commented 3 months ago

Alright

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
25 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud