Commit Graph

35610 Commits

Author SHA1 Message Date
Haoyu Qiu
51b03b8602 Fix PopupMenu margin and separation calculations 2024-10-23 11:20:40 +08:00
lawnjelly
3841d76515
Merge pull request #98234 from timothyqiu/locale-compare-cache
Some checks failed
🔗 GHA / 📊 Static (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🌐 JavaScript (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / ☁ Server (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
[3.x] Cache results for `TranslationServer.compare_locales()`
2024-10-17 09:00:41 +01:00
lawnjelly
3ee8ecdf25
Merge pull request #96135 from aaronfranke/3.x-bind-array-get-set
Some checks are pending
🔗 GHA / 📊 Static (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🌐 JavaScript (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / ☁ Server (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
[3.x] Bind Array and Pool*Array get and set functions
2024-10-16 14:13:37 +01:00
lawnjelly
147f032936
Merge pull request #96261 from jitspoe/3.x.audio_random_pitch_crash_fix
[3.x] Fix random multithreaded crash that happens when setting the audio stream on a AudioStreamRandomPitch stream.
2024-10-16 14:07:38 +01:00
Haoyu Qiu
7ebb63628d Cache results for TranslationServer.compare_locales() 2024-10-16 20:26:13 +08:00
lawnjelly
54b7231415
Merge pull request #98109 from jitspoe/3.x.fix_localization_default_codes
Some checks failed
🔗 GHA / 📊 Static (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🌐 JavaScript (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / ☁ Server (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
[3.x] Do not auto add default script and country codes to the locale.
2024-10-13 18:08:45 +01:00
jitspoe
62a8b7c62e [3.x] Do not auto add default script and country codes to the locale. 2024-10-12 01:04:42 -04:00
lawnjelly
019ca01ddc
Merge pull request #97575 from lawnjelly/warn_input_just_pressed
Some checks failed
🔗 GHA / 📊 Static (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🌐 JavaScript (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / ☁ Server (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
[3.x] Add warning when calling `is_action_just_pressed()` from `_input()`
2024-10-01 08:23:31 +01:00
lawnjelly
287bc6f41e Add warning when calling is_action_just_pressed() from _input()
Calling `is_action_just_pressed()` and `is_action_just_released()` from `_input()` is liable to cause duplicate detection bugs in user code.
2024-09-29 07:51:02 +01:00
lawnjelly
361b0dff17
Merge pull request #97574 from lawnjelly/doc_input_pressed
Some checks failed
🔗 GHA / 📊 Static (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🌐 JavaScript (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / ☁ Server (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
[3.x] Document that `Input.is_action` should not be used during input-handling
2024-09-29 07:18:35 +01:00
lawnjelly
c61a5edd7e Document that Input.is_action should not be used during input-handling
In most cases `InputEvent.is_action*` is more appropriate during input-handling.
2024-09-28 07:15:31 +01:00
lawnjelly
f70472f1cc
Merge pull request #93133 from Chaosus/glow_map_3x
Some checks failed
🔗 GHA / 📊 Static (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🌐 JavaScript (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / ☁ Server (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
[3.x] Implement glow map effect
2024-09-24 19:12:59 +01:00
Yuri Rubinsky
5d1e7e509d [3.x] Implement glow map effect 2024-09-24 20:47:32 +03:00
lawnjelly
26405db222
Merge pull request #95791 from timothyqiu/split-empty-3.x
Some checks are pending
🔗 GHA / 📊 Static (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🌐 JavaScript (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / ☁ Server (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
[3.x] Fix `split_floats` behavior when spaces are used as separators
2024-09-24 14:32:12 +01:00
Rémi Verschelde
53ccccab9f
Merge pull request #97316 from lawnjelly/fix_character_platform3
Some checks are pending
🔗 GHA / 📊 Static (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🌐 JavaScript (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / ☁ Server (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
[3.x] Fix physics platform behaviour regression
2024-09-23 12:56:51 +02:00
lawnjelly
d4cca62bb4 Fix physics platform behaviour regression
Lifetime checks for stored `RIDs` for collision objects assumed they had valid `object_ids`.
It turns out that some are not derived from `Object` and thus checking `ObjectDB` returns false for some valid `RIDs`.
To account for this we only perform lifetime checks on valid `object_ids`.
2024-09-22 08:51:43 +01:00
lawnjelly
553030b599
Merge pull request #97171 from Calinou/os-execute-windows-improve-cant-fork-error-message
Some checks failed
🔗 GHA / 📊 Static (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🌐 JavaScript (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / ☁ Server (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
[3.x] Improve error message when `OS.execute()` fails on Windows
2024-09-20 19:39:21 +01:00
Hugo Locurcio
7efd75972d
Improve error message when OS.execute() fails on Windows
This takes the error message from 4.x and backports it to 3.x.
2024-09-19 02:10:17 +02:00
lawnjelly
8c444fb9c9
Merge pull request #96862 from lawnjelly/selfdestruct_correctness
Some checks failed
🔗 GHA / 📊 Static (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🌐 JavaScript (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / ☁ Server (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
[3.x] `Object::call()` prevent debug lock accessing dangling pointer
2024-09-12 12:18:04 +01:00
lawnjelly
db511879f0
Merge pull request #96127 from RedOrbweaver/fix_msbuild_logger_crash
[3.x] Fix MSBuild logger exception thrown when processing a warning or an error with no associated file
2024-09-12 12:11:54 +01:00
RedOrbweaver
5cbe7fd750 Fixed issues relating to receiving an MSBuild warning/error that did not refer to any file 2024-09-12 12:46:41 +02:00
lawnjelly
d6d2951ca4
Merge pull request #96891 from timothyqiu/expression-period-3.x
Some checks are pending
🔗 GHA / 📊 Static (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🌐 JavaScript (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / ☁ Server (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
[3.x] Fix parsing of `4.` in Expression
2024-09-12 10:06:36 +01:00
lawnjelly
0ccd559d17 Object::call() prevent debug lock accessing dangling pointer
Self deleting an object within a call was leading to crashes due to referencing freed memory, due to a raw pointer stored in the debug lock.

Co-authored-by: RandomShaper <pedrojrulez@gmail.com>
2024-09-12 08:46:27 +01:00
Haoyu Qiu
905e8a39bf Fix parsing of 4. in Expression 2024-09-12 09:48:20 +08:00
Rémi Verschelde
32ddd4f4e0
Doctool: Remove version attribute from XML header
Some checks are pending
🔗 GHA / 📊 Static (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🌐 JavaScript (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / ☁ Server (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).

(cherry picked from commit 81064cc239)
2024-09-11 12:41:48 +02:00
Rémi Verschelde
5e0f2375e9
Bump version to 3.7-dev 2024-09-11 12:36:59 +02:00
Rémi Verschelde
de2f0f147c
Bump version to 3.6-stable \o/
Some checks failed
🔗 GHA / 📊 Static (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🌐 JavaScript (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / ☁ Server (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
At long last, after 2 years of development, Godot 3.6 is finally out!

Developing it in parallel to the 4.x branch proved to be a challenge,
as eventually I (Rémi) hardly had any time to focus on it.

Thankfully lawnjelly picked up the torch, both on the feature dev side
(most new rendering features are his work) but now also as release
manager for 3.x.

For anyone still using Godot 3.5 for their released or soon-to-be
published titles, upgrading to 3.6 should bring a lot of bug fixes, as
well as a number of useful features and quality of life improvements.
2024-09-08 22:41:28 +02:00
Rémi Verschelde
f4b57927c3
Merge pull request #96594 from lawnjelly/changelog_36
Some checks are pending
🔗 GHA / 📊 Static (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🌐 JavaScript (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / ☁ Server (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
[3.x] Update changelog for 3.6 stable
2024-09-08 22:33:15 +02:00
lawnjelly
e13584c931 Update changelog for 3.6 stable 2024-09-05 09:43:49 +01:00
lawnjelly
1b0526226f
Merge pull request #96557 from akien-mga/3.x-PopupMenu-update-margins-on-visibility-change
Some checks failed
🔗 GHA / 📊 Static (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🌐 JavaScript (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / ☁ Server (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
[3.x] PopupMenu: Update margins on visibility change
2024-09-04 12:14:31 +01:00
Rémi Verschelde
c84cf04e95
PopupMenu: Update margins on visibility change
Fixes #96149.

Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2024-09-04 11:35:41 +02:00
lawnjelly
67d4b7346f
Merge pull request #96032 from lawnjelly/safe_unproject
Some checks are pending
🔗 GHA / 📊 Static (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🌐 JavaScript (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / ☁ Server (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
[3.x] Safe `Camera::unproject_position()`
2024-09-03 16:37:57 +01:00
jitspoe
df74f14605 Fix random multithreaded crash that happens when setting the audio stream on a AudioStreamRandomPitch stream. 2024-08-28 23:46:57 -04:00
Aaron Franke
699a48d8f1
[3.x] Bind Array and Pool*Array get and set functions 2024-08-26 15:07:12 -07:00
lawnjelly
31940c784a Safe Camera::unproject_position()
`unproject_position()` can fail in some circumstances, and this needs to be conveyed to calling code.
2024-08-26 07:55:19 +01:00
lawnjelly
01c78d87fe
Merge pull request #94972 from lawnjelly/verify_gltf_inds
[3.x] Verify GLTF indices to prevent crash with corrupt files
2024-08-19 17:42:17 +01:00
Haoyu Qiu
a808f3e877 Fix split_floats behavior when spaces are used as separators 2024-08-19 15:14:10 +08:00
lawnjelly
3771078c02 Verify GLTF indices to prevent crash with corrupt files
Also verify prior to vertex optimization.
2024-07-31 10:39:17 +01:00
Rémi Verschelde
b58d16f0b8
Merge pull request #94482 from pablitar/3.x
[3.x] Fix external images getting embedded on import
2024-07-24 09:39:13 +02:00
pablitar
601a9eb4f5 GLTF: Fixed external images getting embedded on import
Added a map to keep track of external images during import, and used
that map to instance the textures using the resource loader instead of
creating a new texture from scratch
2024-07-22 17:10:19 -03:00
Rémi Verschelde
2cc5ca43ef
Merge pull request #94559 from rsubtil/bugfix-popup_menu_size_calculations
[3.x] Fix `PopupMenu` size calculations not taking into account control/canvas scale
2024-07-20 15:49:42 +02:00
Ricardo Subtil
1cf50364c1 Fix PopupMenu size calculations not taking into account control/canvas scale 2024-07-20 12:46:33 +01:00
lawnjelly
9a6b424c94
Merge pull request #93571 from Alex2782/g3.x_fix_GLSurfaceView
[3.x] Fix lost old callback when continuous call `requestRenderAndNotify`
2024-07-18 11:26:14 +01:00
Rémi Verschelde
863ab17e9c
Merge pull request #94470 from AThousandShips/cache_improve_3_x
[3.x] [CI] Upload build cache before running tests
2024-07-17 15:23:24 +02:00
Rémi Verschelde
9bbed7bb3c
Merge pull request #94386 from lawnjelly/revert_inner_parse
[3.x] Revert "Fix parsing inner class declaration"
2024-07-17 12:29:46 +02:00
lawnjelly
49339fd9ec
Merge pull request #94421 from lawnjelly/fix_action_press_tick
[3.x] Fix physics tick count in `Input.action_press` and `Input.action_rele…
2024-07-16 08:35:50 +01:00
lawnjelly
9221e6a466 Fix physics tick count in Input.action_press and Input.action_release
The physics tick count was not yet updated there.
2024-07-16 07:11:27 +01:00
lawnjelly
02fa77eb30 Revert "Fix parsing inner class declaration when "pass" keyword is on the same line"
This reverts commit 5bcc3d476c.
2024-07-15 10:37:21 +01:00
lawnjelly
ff77fe81d1
Merge pull request #94281 from mertkasar/3.x-ssr-orthogonal-warp-fix
[3.x] Fix SSR warp when using orthogonal camera
2024-07-14 17:59:46 +01:00
A Thousand Ships
078210bce1
[CI] Upload build cache before running tests 2024-07-13 17:50:46 +02:00