Skip to content

Small random commits#337

Merged
texus merged 5 commits intotexus:1.xfrom
jjuhl:small-random-commits
Mar 24, 2026
Merged

Small random commits#337
texus merged 5 commits intotexus:1.xfrom
jjuhl:small-random-commits

Conversation

@jjuhl
Copy link
Contributor

@jjuhl jjuhl commented Mar 23, 2026

A few small commits for you..

jjuhl added 5 commits March 23, 2026 17:47
After reviewing the new policies between cmake 4.2 and 4.3 and testing
locally on Arch Linux with cmake 4.3.0 I believe that no user of TGUI would
be negatively impacted by using the NEW version of the new policies,
so bump the maximum version.
There's no reason to declare/re-open the namespace twice - just fold
everything into a single 'namespace tgui'.
It gets included transitively, so the project compiles, but clangd and
qtcreator can't work out that it actually gets included eventually and
thus show all kinds of errors for various macros, so let's just
includew it - it is directly used and doing so makes some tools behave
nicer.
They are not used consistently.
They increase the file size.
They serve no practical purpose.
They make the file more cluttered and harder to read.
It doesn't make sense to call the functions and then don't check
whether loading succeeded or not or if it does in a few rare cases,
then those cases can check the return value or ignore it explicitly.
@texus texus merged commit 0198bbd into texus:1.x Mar 24, 2026
15 checks passed
@jjuhl jjuhl deleted the small-random-commits branch March 24, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants