Commit graph

73011 commits

Author SHA1 Message Date
Stuart Carnie
2e99565bcb Editor: Refactor parse_message into handler functions
Move the individual message handlers to separate functions, to make it
easier to follow and add additional message handlers. The function
is also more efficient as it only performs a single hash lookup for
the handler and then dispatches to the member function.

Similar to #104425
2025-04-02 08:39:40 +11:00
Thaddeus Crews
d52b84e472
Merge pull request #103993 from aaronfranke/geometry-segment
Directly use segment points in Geometry2D/3D function parameters
2025-04-01 08:01:34 -05:00
Thaddeus Crews
dee3ee77c6
Merge pull request #104849 from syntaxerror247/overflow
Fix input config dialog overflow on Android Editor
2025-04-01 08:01:33 -05:00
Thaddeus Crews
c23832b265
Merge pull request #104878 from bruvzg/color_mod_f
Add font import flag to toggle modulation of colored glyphs.
2025-04-01 08:01:33 -05:00
Thaddeus Crews
03d460ff4a
Merge pull request #102283 from matmas/fix-docs-log-multiplayer
Fix `LogMultiplayer` example in documentation
2025-04-01 08:01:32 -05:00
Thaddeus Crews
f7f2e79b64
Merge pull request #104841 from akien-mga/scons-gcc--Wvirtual-inheritance
SCons: Only set GCC `-Wvirtual-inheritance` for C++ and `warnings=extra`
2025-04-01 08:01:31 -05:00
Thaddeus Crews
fd27e4f795
Merge pull request #104485 from EricEzaM/2025-shortcut-context-improvements
Fix EditorProperty shortcuts being global and unintentionally triggering
2025-04-01 08:01:15 -05:00
Eric M
e539b62aa7 Fix EditorProperty shortcuts being global and unintentionally triggering 2025-04-01 22:24:58 +10:00
Pāvels Nadtočajevs
19f360d65a
Add font import flag to toggle modulation of colored glyphs. 2025-04-01 13:36:10 +03:00
Anish Mishra
a7b7220d86 Fix input config dialog overflow on Android Editor 2025-04-01 12:41:19 +05:30
Thaddeus Crews
cc7217970d
Merge pull request #104762 from smix8/depr_map_force_update
Deprecate NavigationServer `map_force_update()`
2025-03-31 19:02:09 -05:00
Thaddeus Crews
9b242a230b
Merge pull request #104856 from Calinou/moviewriter-fix-time-display
Fix time display in MovieWriter window title and console output
2025-03-31 19:02:08 -05:00
Thaddeus Crews
4778212be1
Merge pull request #101270 from aaronfranke/gltf-export-img-num-pad
GLTF: Only pad zeros when exporting numbered images
2025-03-31 19:02:07 -05:00
Thaddeus Crews
abd565eb19
Merge pull request #104844 from Ivorforce/gdsoftclass
Add and require `GDSOFTCLASS` for `Object` subclasses that want to cast but do not use `GDCLASS`.
2025-03-31 19:02:03 -05:00
Thaddeus Crews
7ba2ebd7fb
Merge pull request #104523 from rsubtil/fix-dap_bugs
Fix crash when removing breakpoints from DAP, and multiple fixes
2025-03-31 19:02:02 -05:00
Thaddeus Crews
e5f7ec0c30
Merge pull request #104777 from smix8/fix_boxmesh
Fix EditorNode3DGizmo::add_solid_box() GPU stalling
2025-03-31 19:02:02 -05:00
Thaddeus Crews
de9cdfea4b
Merge pull request #104803 from Repiteo/ci/smarter-cache
CI: Validate `scons-cache` via action output
2025-03-31 19:02:01 -05:00
Thaddeus Crews
0f570977fd
Merge pull request #104864 from scgm0/Fix-Windows-Mono-build
Fix Windows Mono build
2025-03-31 19:02:01 -05:00
scgm0
c8ade8618b Fix Windows Mono build 2025-04-01 06:45:33 +08:00
Rémi Verschelde
a2f200c5d6
SCons: Only set GCC -Wvirtual-inheritance for C++ and warnings=extra 2025-03-31 23:46:42 +02:00
Ricardo Subtil
0272e35451 Fix DAP bugs: crash when removing breakpoints, duplicated breakpoint data, source checksums not updating 2025-03-31 21:42:23 +01:00
Lukas Tenbrink
fa0a3c9c6e Add and require GDSOFTCLASS for Object subclasses that want to cast but do not use GDCLASS. 2025-03-31 20:49:50 +02:00
Hugo Locurcio
5cdd612c54
Fix time display in MovieWriter window title and console output
Following the change to `String::num()`, decimals were added even when
numbers were being rounded to whole integers beforehand. Additionally,
the frame remainder is displayed as a timecode to the window title and
console output.

This also fixes a floating-point division by zero that occurred when
the movie was recorded in less than 1 second of real time.
2025-03-31 20:38:18 +02:00
Thaddeus Crews
0fcc19854f
Merge pull request #104829 from AThousandShips/fix_nav_perf
[Navigation] Fix typo in performance
2025-03-31 12:03:48 -05:00
Thaddeus Crews
8f6bb119f4
Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
Thaddeus Crews
4950deeea0
Merge pull request #104726 from Meorge/bugfix/reversed-buttons-do-not-spark-joy-con
Fix Apple's incorrect mapping of Joy-Con (L) and Joy-Con (R) face buttons
2025-03-31 12:03:46 -05:00
Thaddeus Crews
e8b56aac8c
Merge pull request #104725 from Meorge/gamecontroller-avoid-joystick-code-duplication
Make reusable functions for GameController joystick and trigger input
2025-03-31 12:03:46 -05:00
Thaddeus Crews
e99dc63fdc
Merge pull request #103764 from kleonc/multi_node_edit_update_on_property_list_changed
Update `MultiNodeEdit` property list on edited nodes' property list changed
2025-03-31 12:03:45 -05:00
Thaddeus Crews
64f80ca0e9
Merge pull request #104810 from kiroxas/utf8_cleanup
Replace `append_utfx` with direct `String::utfx`
2025-03-31 12:03:44 -05:00
Thaddeus Crews
f704113abe
Merge pull request #104649 from Ivorforce/move-semantics-ref-array-dict
Add move semantics to `Ref`
2025-03-31 12:03:44 -05:00
Thaddeus Crews
19afe67ebb
Merge pull request #101026 from Ivorforce/localvector-erase-unordered
Add `LocalVector.erase_unordered`, mimicking `erase` but with `remove_at_unordered`, to remove duplicate logic.
2025-03-31 12:03:27 -05:00
Lukas Tenbrink
ccdc5862e9 Add LocalVector.erase_unordered, mimicking erase but with remove_at_unordered, to remove duplicate logic.
`erase_unordered` should be preferred over `erase` where order is not important, for its performance benefits.

Co-authored-by: smix8 <smix8@users.noreply.github.com>
2025-03-31 13:31:53 +02:00
A Thousand Ships
b79c2221f0
[Navigation] Fix typo in performance 2025-03-31 11:19:26 +02:00
Malcolm Anderson
0f897f8c7e Make reusable functions for GameController joystick and trigger input
Update drivers/apple/joypad_apple.mm

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2025-03-30 21:04:30 -07:00
Aaron Franke
c1acc839a8
Directly use segment points in Geometry2D/3D function parameters 2025-03-30 16:25:59 -07:00
Kiro
23129a66ed Replace append_utfx with direct String::utfx 2025-03-30 19:56:38 +02:00
Thaddeus Crews
58d49cf087
CI: Validate scons-cache via action output 2025-03-30 10:30:50 -05:00
smix8
5e83618183 Deprecate NavigationServer map_force_update()
Deprecates map_force_update() function as it is incompatible with async updates.
2025-03-30 17:18:33 +02:00
Thaddeus Crews
e585e6a3eb
Merge pull request #104797 from beicause/rm-deprecated-version-macro
Android: Replace the deprecated version macro
2025-03-30 09:06:03 -05:00
Thaddeus Crews
3b1a481f13
Merge pull request #97843 from detomon/optimize-a-star-grid-2d-solve
Reduce allocations when solving path in `AStarGrid2D`
2025-03-30 09:06:02 -05:00
Thaddeus Crews
e471465d39
Merge pull request #104370 from BrotherShort/no-arrow-no-root-offset
Tree: Fix offset relationship lines with Hide Folding
2025-03-30 09:06:02 -05:00
Thaddeus Crews
6fed7a3000
Merge pull request #104745 from BlueCube3310/rgb565-typo-fix
Image: Fix typo at `_set_color_at_ofs` with `FORMAT_RGB565`
2025-03-30 09:06:01 -05:00
Thaddeus Crews
bc5c739ff8
Merge pull request #104708 from Alex2782/tree_cleanup
`Tree`: apply comment style guidelines and remove unused variables.
2025-03-30 09:06:00 -05:00
Thaddeus Crews
ac13efc822
Merge pull request #101443 from Repiteo/ci/replace-pytest
CI: Replace pytest with pre-commit hook
2025-03-30 09:06:00 -05:00
Thaddeus Crews
4b796b068a
Merge pull request #104768 from Rudolph-B/Issue-104763
Fix corrupted negative values for signed BC6
2025-03-30 09:05:59 -05:00
Thaddeus Crews
8b2952a71c
Merge pull request #101504 from AThousandShips/nav_split_new
[Navigation] Create a dedicated 2D navigation server
2025-03-30 09:05:43 -05:00
LuoZhihao
138e990262 Replace the deprecated version macro 2025-03-30 18:00:19 +08:00
smix8
6a54d2d552 Fix EditorNode3DGizmo::add_solid_box() GPU stalling
Fixes EditorNode3DGizmo::add_solid_box() stalling the GPU because it used a function that queries the mesh arrays from the GPU.
2025-03-29 21:42:28 +01:00
Thaddeus Crews
32de6285a8
SCons: Modernize shader builders 2025-03-29 11:51:54 -05:00
BlueCube3310
647b99c6d0 Image: Fix typo at _set_color_at_ofs with FORMAT_RGB565 2025-03-29 17:51:31 +01:00