Commit graph

8931 commits

Author SHA1 Message Date
Haoyu Qiu
c1ee8e52e4 Improve CSV translations
- Adds context and plural support
- Adds unescape import options
- Better document OptimizedTranslation

Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-10-27 17:47:45 +08:00
Lukas Tenbrink
65bf516006 Fix memnew_placement with char * arguments. Before, it would call the description version, allocating on the heap instead of ni the given memory. 2025-10-25 18:50:22 +02:00
Fredia Huya-Kouadio
5277c94fe4 Update the source sets configuration for the app and lib modules to match the default configuration
Both the `app` and `lib` modules had custom source sets configuration originating from the early days of the project. This updates the configuration to match the default Android Studio configuration which will simplify the addition of unit tests and instrumented tests to the project.

Note that for backcompat reasons, some folders (such as the `res` folder in the `app` module) are left as is.
2025-10-24 07:44:19 -07:00
Thaddeus Crews
06bdfa5a16
Merge pull request #110478 from beicause/opt-node-path-to-string
Optimize NodePath to String by using cached path
2025-10-23 11:03:53 -05:00
Thaddeus Crews
37764110f6
Merge pull request #110271 from BlueCube3310/image-conv-opti-incompatible
Image: Optimize manual format conversion
2025-10-22 13:48:46 -05:00
Thaddeus Crews
38e20331c8
Merge pull request #107303 from passivestar/close-dialog-action
Add support for closing dialog windows with Cmd+W on macOS
2025-10-22 13:48:36 -05:00
Thaddeus Crews
1b84fe745b
Merge pull request #110308 from BlueCube3310/image-mip-renorm-fix
Image: Fix normalization of mipmaps for half and float formats
2025-10-22 13:48:35 -05:00
BlueCube3310
4266a4e4eb Image: Fix normalization of mipmaps for half and float formats 2025-10-22 15:03:57 +02:00
devloglogan
1a8306bbc1 Allow custom monitors to select desired type 2025-10-22 07:31:44 -05:00
BlueCube3310
b63ec3d0f0 Image: Optimize format conversion 2025-10-22 14:30:18 +02:00
passivestar
979f8fa342 Add support for closing dialog windows with Cmd+W on macOS 2025-10-22 09:51:14 +04:00
Thaddeus Crews
9cd297b6f2
Merge pull request #107487 from roughbits01/fix-shortcut-names
Remove the need to have a display name for built-in action overrides
2025-10-21 19:09:34 -05:00
Thaddeus Crews
3f34e38703
Merge pull request #109596 from atlasapplications/splash-screen-stretch-mode
Add Stretch Modes for Splash Screen
2025-10-21 19:09:33 -05:00
Thaddeus Crews
e870cd911b
Merge pull request #110895 from Giganzo/input-focus
Add setting for when to show the focus state for mouse input
2025-10-21 19:09:25 -05:00
Justin Sasso
b6b3e1ef9e Add Stretch Modes for Splash Screen
Co-authored-by: Samuel Pedrajas <samuelpedrajaspz@gmail.com>
2025-10-21 18:20:44 -04:00
marwen.azouzi
6dd5266a0e
Removes the need to have a display name for built-in action overrides 2025-10-21 16:45:18 +02:00
Thaddeus Crews
f50d7fa1e8
Merge pull request #110709 from DeeJayLSP/dict-reserve
Add `reserve()` to `Dictionary`, apply to constructors on GDScript VM
2025-10-20 18:09:58 -05:00
Thaddeus Crews
06c0985fee
Merge pull request #105450 from raulsntos/MissingNode/default_properties
Make `MissingNode`/`MissingResource` non-virtual and hide from dialogs
2025-10-20 18:09:55 -05:00
Thaddeus Crews
9cefa0d283
Merge pull request #111841 from blueskythlikesclouds/mipmap-normalize-fix
Round values after renormalization when generating mipmaps.
2025-10-20 18:09:51 -05:00
Thaddeus Crews
d64a86a35f
Merge pull request #111661 from Repiteo/core/typed-container-migration-v2
Core: Consolidate typed container logic with `type_info.h`
2025-10-20 18:09:36 -05:00
Skyth
3d4f248fda Round values after renormalization when generating mipmaps. 2025-10-20 13:36:41 +03:00
Thaddeus Crews
acdb8667b5
Core: Sidestep GCC false-positive 2025-10-17 18:57:34 -05:00
Thaddeus Crews
540ea0b96c
Merge pull request #111761 from Ivorforce/fixed-array-warn
Fix false positive warning with `FixedVector` array bounds in gcc.
2025-10-17 11:26:49 -05:00
Lukas Tenbrink
6733345f73 Fix false positive warning with FixedVector array bounds in gcc. 2025-10-17 13:11:33 +02:00
Thaddeus Crews
60710df3b6
Merge pull request #94047 from KoBeWi/resource_printer
Improve `to_string()` and add it to Resource
2025-10-16 12:48:11 -05:00
Thaddeus Crews
9e96c7d9b8
Merge pull request #110378 from timothyqiu/rtl-preview
Make text-related nodes translation domain aware
2025-10-16 12:48:05 -05:00
Thaddeus Crews
20430236e7
Merge pull request #107999 from timothyqiu/translation-cleanup
Clean up editor translation related methods
2025-10-15 16:31:09 -05:00
Thaddeus Crews
49219de402
Merge pull request #108862 from timothyqiu/plural-rules
Move context and plural support to `Translation`
2025-10-15 16:31:07 -05:00
Thaddeus Crews
7390c358f5
Core: Consolidate typed container logic 2025-10-15 08:04:51 -05:00
Thaddeus Crews
a364d6ad75
Merge pull request #111561 from StarryWorm/core/variant-includes-rework
Core: Fix missing includes in `type_info.h`
2025-10-14 17:13:40 -05:00
Thaddeus Crews
4d3a899c64
Merge pull request #111633 from YYF233333/ccb-include
Remove `callable_bind.h` from `object.h`
2025-10-14 10:31:29 -05:00
Thaddeus Crews
879d4439e7
Merge pull request #111617 from HolonProduction/hotfix
Add missing initialization for bitpacked object members
2025-10-14 10:31:22 -05:00
StarryWorm
c17e76572d Fix type_info.h includes 2025-10-14 11:12:41 -04:00
Yufeng Ying
7d3c25d083 Remove callable_bind.h from object.h 2025-10-14 16:24:05 +08:00
HolonProduction
bad44931a8 Add missing initialization for bitpacked object members 2025-10-13 21:55:44 +02:00
Thaddeus Crews
0450686035
Merge pull request #111460 from KoBeWi/dialoging_shortcut_files
Rework FileDialog shortcuts
2025-10-13 12:29:57 -05:00
Raul Santos
6faa4e369a
Make MissingNode/MissingResource non-virtual and hide from dialogs
This allows ClassDB to get the default values for inherited properties.
The `MissingNode` and `MissingResource` types are excluded from the create
dialog and the inspector's Resource selector.
2025-10-12 09:58:50 +02:00
kobewi
263a2bdec6 Rework FileDialog shortcuts 2025-10-11 14:37:40 +02:00
Clay John
8b06cdf277
Revert "Handle NaN and Infinity in JSON stringify function" 2025-10-10 18:22:24 -07:00
Thaddeus Crews
16a11ac88b
Merge pull request #111358 from Ivorforce/no-variant-hasher
Remove `VariantHasher` and `VariantComparator` in favour of specialising `HashMapHasherDefault` and `HashMapComparatorDefault`.
2025-10-10 10:26:12 -05:00
Thaddeus Crews
e33f89fe27
Merge pull request #111323 from HolonProduction/rm-script
Remove `Object::script`
2025-10-10 10:26:09 -05:00
Thaddeus Crews
89ce203427
Merge pull request #106997 from Ivorforce/fixed-move-semantics
Fix `FixedVector` move and copy semantics.
2025-10-10 10:26:06 -05:00
Thaddeus Crews
d4a87d9bb3
Merge pull request #106636 from Ivorforce/dictionary-mutating-fix
Fix `Dictionary::operator[]` from C++ accidentally modifying `const` dictionaries.
2025-10-10 10:26:01 -05:00
Thaddeus Crews
dd3b17de88
Merge pull request #105449 from raulsntos/MissingNode/recording_signals
Add `recording_signals` to MissingNode, and rename `MTVIRTUAL` to `DEBUG_VIRTUAL`
2025-10-10 10:25:57 -05:00
Thaddeus Crews
21e5b41642
Merge pull request #108837 from aaronfranke/json-handle-nan-inf
Handle NaN and Infinity in JSON stringify function
2025-10-10 10:25:55 -05:00
Raul Santos
09ad9e535b
Rename MTVIRTUAL to DEBUG_VIRTUAL 2025-10-09 22:11:18 +02:00
Thaddeus Crews
c41e47034e
Merge pull request #111342 from Ivorforce/dict-assert-no-string
Assert that `dictionary.h` does not include `String`, and that neither of the fundamental containers include `Object`
2025-10-09 11:46:50 -05:00
Thaddeus Crews
5913469309
Merge pull request #111431 from Ivorforce/registration-order-3
Reorder registration of types, to register supertypes before subtypes.
2025-10-09 11:46:47 -05:00
Thaddeus Crews
7efb51c9d3
Merge pull request #111361 from Ivorforce/cleanup-hashfuncs
Clean up `hashfuncs.h`
2025-10-09 11:46:43 -05:00
Lukas Tenbrink
9843a016f5 Reorder registration of types, to register supertypes before subtypes. 2025-10-09 11:50:32 +02:00