Commit Graph

607 Commits

Author SHA1 Message Date
Mikael Hermansson a11e23e3e2 Only print to stdio before setup and during/after cleanup 2026-03-24 15:22:07 +01:00
Rémi Verschelde 98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Pāvels Nadtočajevs eb6dedf30f Fix String::split_ crash on empty string. 2026-03-12 08:34:02 +02:00
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
Yyf2333 282e4544b0 Split VariantCaster from binder_common.h 2026-03-10 17:59:33 +08:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Thaddeus Crews abdde1b69d Core: Remove class_db.h include from ref_counted.h 2026-02-26 18:14:23 -06:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Thaddeus Crews 4d92b0b8a5 Merge pull request #116543 from AR-DEV-1/various-typo-fixes-1
Fix various typos & UI paper cuts
2026-02-24 09:29:11 -06:00
Thaddeus Crews a3e84cc2af Merge pull request #116542 from Ivorforce/char-range-cpp
Move char ranges from `char_range.inc` to `char_range.cpp` (non-constexpr)
2026-02-21 12:17:02 -06:00
Thaddeus Crews 9a19d32fdb Merge pull request #116541 from Ivorforce/a-variant-shaped-pool
Move variant pools to their own compile unit.
2026-02-21 12:17:01 -06:00
Lukas Tenbrink e9465cd380 Move variant pools to their own compile unit. 2026-02-21 13:24:17 +01:00
Thaddeus Crews e0d0a65830 Merge pull request #116528 from Ivorforce/clang-tidy-revival
Re-activate a few clang-tidy options.
2026-02-20 14:34:22 -06:00
Lukas Tenbrink 9dfc2c977b Move char ranges from char_range.inc to char_range.cpp (non-constexpr). 2026-02-20 20:09:46 +01:00
Lukas Tenbrink abadedefc1 Re-activate a few clang-tidy options. 2026-02-20 19:07:35 +01:00
AR e9ee5798d4 Fix various typos listed in https://github.com/godotengine/godot/issues/91521 2026-02-20 21:32:29 +05:00
Pāvels Nadtočajevs f69edf810e [String] Allow using Java style %[arg$] prefix in sprintf. 2026-02-20 15:07:58 +02:00
Lukas Tenbrink 6e345f80ec Integrate (a nerfed version of) clang-tidy into CI.
For now, it's integrated into core, main and scene only.
Fix a few superficial clang-tidy failures.
2026-02-20 00:49:00 +01:00
Thaddeus Crews fa56f71ddd Merge pull request #107452 from Ivorforce/bit-math-header
Move binary math functions to `Math` namespace in `math_funcs_binary.h`
2026-02-17 09:28:31 -06:00
Lukas Tenbrink 0ea5ece984 Move binary math functions to Math namespace in math_funcs_binary header. 2026-02-17 12:24:35 +01:00
Lukas Tenbrink c9249346c4 Change HashSet copy constructor from implicit to explicit. 2026-02-16 23:10:33 +01:00
Thaddeus Crews 14ef1c49f0 Merge pull request #102787 from EGAMatsu/master
Add Toki Pona (tok) to language/locale list.
2026-02-16 15:02:27 -06:00
Thaddeus Crews 7dae5da198 Style: Convert *.gen.inc to *.gen.h 2026-02-05 19:47:56 -06:00
Lukas Tenbrink c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Thaddeus Crews 64b962215d Merge pull request #115121 from Chubercik/unicode_17.0.0
Update various Unicode-related files to version 17.0.0
2026-01-28 12:27:08 -06:00
Lukas Tenbrink a6e952c160 Fix the NodePath hash function to not yield the same value for similar paths. 2026-01-27 20:50:10 +01:00
Jakub Marcowski c26adbb929 Update various Unicode-related files to version 17.0.0 2026-01-19 10:24:17 +01:00
Fabio Alessandrelli 65ce1360b4 network: Normalize IP parsing, fix IPv6, tests 2026-01-13 18:55:55 +01:00
Rémi Verschelde 30c2fc148e Merge pull request #113575 from bruvzg/fix_path
[Unix] Remove leading `..` from absolute paths and apply `simplify_path` to Unix current directory path.
2025-12-18 14:23:59 +01:00
Pāvels Nadtočajevs 997f326b58 Improve language selection when shaping text. 2025-12-18 09:05:07 +02:00
Pāvels Nadtočajevs 6c6c184c32 [Unix] Remove leading .. from absolute paths and apply simplify_path to Unix current directory path. 2025-12-04 20:15:26 +02:00
Thaddeus Crews 66333f9d92 Merge pull request #113322 from nikitalita/fix-translation
Fix loading old-style translation files
2025-12-03 16:50:35 -06:00
Thaddeus Crews 51d5a17055 Merge pull request #113447 from TokageItLab/opt-nodepath
Optimize NodePath
2025-12-02 11:51:58 -06:00
Pāvels Nadtočajevs a9ef3e5804 Fix duplicate minus in print output.
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2025-12-02 18:58:55 +02:00
Silc Lizard (Tokage) Renew b97aa0ba3c Optimization NodePath
co-authored-by: Ryan-000 <73148864+Ryan-000@users.noreply.github.com>
2025-12-02 21:45:35 +09:00
nikitalita 349b61cb14 Fix loading old-style translation files 2025-11-29 10:22:46 -05:00
Yarvin 364e98afc5 Fix String::rfindn for strings with only one character.
----

Remove optimization – no need to introduce extra complexity for
negligible (if any) gains.
2025-11-22 16:52:55 +01:00
Haoyu Qiu ec860ffe4a Add methods for querying loaded Translation instances 2025-11-21 08:51:26 +08:00
Lukas Tenbrink 43a8009a56 Clean up String::find to remove duplicate code, and speed up comparison with memcmp where possible. 2025-11-19 22:39:05 +01:00
Haoyu Qiu 04ac5cbb89 Prevent the main locale from being set to an empty string 2025-11-18 10:07:35 +08:00
kobewi e14263f917 Remove empty constructors and destructors from core/ 2025-11-17 20:09:05 +01:00
Thaddeus Crews 910133fda6 Merge pull request #104280 from Ivorforce/span-equality
Add `Span` equality (`==` and `!=`) operators.
2025-11-17 10:56:55 -06:00
Lukas Tenbrink d7f5c13db8 Add Span equality (== and !=) operators.
Exchange duplicate equality iteration implementations across `Vector` and `String` with the `Span` version, for a speed boost.
2025-11-15 14:21:54 +01:00
Haoyu Qiu 43e323dce5 Remove TranslationPO 2025-11-15 10:13:07 +08:00
Thaddeus Crews 8327dfa215 Merge pull request #112092 from timothyqiu/ts-nums
Move localized number formatting methods to `TranslationServer`
2025-11-10 17:47:09 -06:00
Thaddeus Crews 9ac55bcc7f Merge pull request #112415 from timothyqiu/project-name-localized
Allow localizing the application name with project translations
2025-11-10 08:20:00 -06:00
Thaddeus Crews 32242dbe4d Merge pull request #112026 from timothyqiu/plural-default
Use more practical default plural rules
2025-11-10 08:19:58 -06:00
Haoyu Qiu 72d437c030 Move localized number formatting methods to TranslationServer
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-11-10 15:01:22 +08:00
Haoyu Qiu b8a8f8b35a Allow localizing the application name with project translations 2025-11-08 13:06:55 +08:00