Commit graph

34855 commits

Author SHA1 Message Date
Pedro J. Estébanez
9cd84224bd Warn users about unsafe usage of InputEvent 2023-01-31 14:41:27 +01:00
smix8
b5213cceac Fix navigation related nodes not propagating parent class config warnings
Fixes that navigation related nodes do not propagate config warnings from their parent classes.
2023-01-30 16:26:42 +01:00
Rémi Verschelde
9b0f0a7136
Merge pull request #72110 from m4gr3d/implement_godot_editor_3_kill_process
[3.x] Provide a delegate implementation for the `killProcess` logic on Android
2023-01-26 13:21:55 +01:00
Rémi Verschelde
768e998b7a
Merge pull request #71966 from lawnjelly/occluder_portal_index_docs
Improve error messages and classref for occluders and portals
2023-01-26 13:21:52 +01:00
Rémi Verschelde
a8c829cd91
Merge pull request #71880 from dsnopek/webxr-godot3-world-scale
Correctly apply world_scale in WebXR (Godot 3.x)
2023-01-26 13:21:47 +01:00
Fredia Huya-Kouadio
48a55ffad3 Provide a delegate implementation for the killProcess logic on Android
The implementation forwards the kill request to the Godot host for handling. If the Godot host is unable to handle the request, it falls back to the `OS_Unix::kill(...)` implementation.
2023-01-26 03:33:22 -08:00
Fredia Huya-Kouadio
71654485b8
Merge pull request #71969 from m4gr3d/update_godot_editor_label_3x
Update the Godot Android Editor name from `Godot Editor` to `Godot Editor 3`
2023-01-25 09:15:13 -08:00
lawnjelly
5a0cb54b3a Improve error messages and classref for occluders and portals
Misused functions would previously produce no error messages which was confusing for users.
2023-01-24 14:05:48 +00:00
Fredia Huya-Kouadio
e59752bcb7 Update the Godot Android Editor name from Godot Editor to Godot Editor 3
Keep things consistent with the label used for `Godot Editor 4`, and avoid user confusion regarding the different versions of the engine.
2023-01-24 05:11:08 -08:00
David Snopek
82be475a85 Correctly apply world_scale in WebXR 2023-01-23 17:27:44 -06:00
Rémi Verschelde
5a7997c794
Merge pull request #71838 from m4gr3d/fix_godot_editor_cropping_3x
[3.x] Update the logic to calculate the screen scale on Android
2023-01-23 22:28:32 +01:00
Rémi Verschelde
627d688c80
Merge pull request #71699 from jordo/PR-windows-heap-overflow-fix
Windows: Fix heap overflow setting native icon
2023-01-23 22:24:01 +01:00
Rémi Verschelde
93c76825ce
Merge pull request #64329 from jordo/fix/control-theme-cache
[3.x] Add theme item cache to `Control`
2023-01-23 22:23:33 +01:00
Yuri Sizov
1647f4d85e Add dumb theme item cache to Control
(cherry picked from commit 9f88300007)

Co-authored-by: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
2023-01-23 10:31:17 -06:00
Jordan Schidlowsky
86945ffc78 Windows: Fix heap overflow setting native icon
Fixes #71697.
2023-01-23 10:25:44 -06:00
Rémi Verschelde
ae47e1d37c
Merge pull request #71889 from Calinou/doc-environment-background-energy
Document Environment's `background_energy` property affecting lighting
2023-01-23 17:04:25 +01:00
Rémi Verschelde
dd7f517407
Merge pull request #66711 from rsubtil/port_popup_menu_rework
[3.x] PopupMenu rework and enhancements
2023-01-23 17:04:17 +01:00
Rémi Verschelde
d4da275969
Merge pull request #69367 from dogboydog/3.x_csharp_build_exit_code
3.x Exit editor with non-zero return code if --build-solutions fails
2023-01-23 17:03:50 +01:00
Hugo Locurcio
646a2d9d94
Document Environment's background_energy property affecting lighting
Godot 4.0 allows controlling ambient and specular light intensity
separately, but 3.x doesn't.
2023-01-23 00:43:59 +01:00
Fredia Huya-Kouadio
8170b7ae1e Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices 2023-01-22 07:09:48 -08:00
Fredia Huya-Kouadio
48aedb239e Update the logic to calculate the screen scale on Android
Takes into account the ratio between the screen size and the default window dimensions.
2023-01-21 22:47:02 -08:00
EricEzaM
6a5992c9f1 PopupMenu rework and enhancements
Many scrolling behaviour improvements and the ability to limit popup size.
2023-01-21 21:36:26 +00:00
Rémi Verschelde
f747967444
i18n: Sync classref translations with Weblate (3.5 branch)
(cherry picked from commit c9ae52f32e)
2023-01-20 12:31:09 +01:00
Rémi Verschelde
6a45e56e5c
i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit b06d93aec6)
2023-01-20 12:31:04 +01:00
Tom Beckmann
52919ff352
Fix writing value for hand-tracking V2.0 to AndroidManifest.xml
(cherry picked from commit 0116d50fdd)
2023-01-20 12:16:31 +01:00
Hugo Locurcio
04225415c3
Document image size restrictions for custom mouse cursors in HTML5
(cherry picked from commit 296b8f299a)
2023-01-20 12:15:07 +01:00
Rémi Verschelde
8b9b488a62
Merge pull request #71722 from akien-mga/3.x-macos-sprintf
macOS: Fix sprintf deprecation warning
2023-01-20 12:13:03 +01:00
Rémi Verschelde
161134e969
Merge pull request #71672 from RandomShaper/compat_hooks_3.x
[3.x] Let make_rst.py be forward compatible with 4.0's
2023-01-20 12:12:58 +01:00
Rémi Verschelde
606101cacd
Merge pull request #70555 from stmSi/3.x-suggest-filename-save-branch-remote-tree
[3.x] suggest filename save branch remote tree
2023-01-20 12:12:51 +01:00
Rémi Verschelde
6088a4802c
Merge pull request #70584 from stmSi/3.x-save-branch-as-scene-not-working-in-remote-without-pausing
[3.x] Fixed: `Save Branch as Scene` not working in Remote Tree without Pausing
2023-01-20 12:12:46 +01:00
Rémi Verschelde
f3da393b44
Merge pull request #70378 from Calinou/os-expose-read-from-stdin-3.x
Expose `OS.read_string_from_stdin()` to the scripting API (3.x)
2023-01-20 12:12:35 +01:00
Rémi Verschelde
a297a69ac8
macOS: Fix sprintf deprecation warning
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-01-20 11:18:40 +01:00
Pedro J. Estébanez
373e545f55 Let make_rst.py be forward compatible with 4.0's 2023-01-19 13:34:21 +01:00
Rémi Verschelde
a0ddc595a6
Merge pull request #71510 from lawnjelly/gles2_oct_unpack
GLES2 fix octahedral half float unpacking
2023-01-17 10:55:37 +01:00
Rémi Verschelde
d4f66544ce
Merge pull request #71146 from dalexeev/3.x-fix-sprite-frames-doc
[3.x] Fix wrong `SpriteFrames` docs
2023-01-16 22:22:02 +01:00
lawnjelly
c6a428b3d6 GLES2 fix octahedral half float unpacking
The strides in _unpack_half_floats() were incorrectly calculated in the case where octahedral normals and tangents were in use.
2023-01-16 11:55:06 +00:00
Hugo Locurcio
badcfa2523
Expose OS.read_string_from_stdin() to the scripting API
This can be used in scripts to read user input in a blocking manner.

This also removes the unused `block` argument, which is always `true`.
2023-01-16 11:39:53 +01:00
Jóhannes Gunnar Þorsteinsson
e09d4d255e
Add independent spinbox arrow step precision
Backported from the `master` branch, with a property hint added.
2023-01-14 20:14:17 +01:00
Rémi Verschelde
7d6db300d2
Merge pull request #71358 from Calinou/csharp-editor-settings-require-restart
Mark C# editor settings to require a restart to be effective
2023-01-14 00:41:59 +01:00
Rémi Verschelde
031401fe09
Merge pull request #71320 from timothyqiu/collision-shape-aabb
[3.x] Make CollisionShape selection box use shape AABB
2023-01-14 00:41:12 +01:00
Hugo Locurcio
a93d651293
Mark C# editor settings to require a restart to be effective 2023-01-13 22:42:13 +01:00
Haoyu Qiu
d16a1c7579 Make CollisionShape selection box use shape AABB 2023-01-13 18:19:26 +08:00
Rémi Verschelde
2d5f9c49a4
CI: Use clang-format 15
No change compared to version 13 in our codebase.

(cherry picked from commit 02a1a335f7)
2023-01-11 14:34:52 +01:00
heppocogne
aa8d6c5633
Fix get_path() is not working when files are opend with open_compressed
And also fixed `get_absolute_path()` in the same way

(cherry picked from commit ea11ffc88c)
2023-01-11 14:34:51 +01:00
Pedro J. Estébanez
5703cc861f
Support Git worktrees in generation of hash header
(cherry picked from commit 078ab7fe05)
2023-01-11 14:24:39 +01:00
dependabot[bot]
90132061f5
Bump json5 from 1.0.1 to 1.0.2 in /platform/web
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit a20c8443af)
2023-01-11 14:24:29 +01:00
Marius Seufzer
bf577a6c2a
iOS: Add new model identifiers for DPI metrics
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
(cherry picked from commit ee5057a42e)
2023-01-11 14:24:08 +01:00
DeeJayLSP
a49fa86cca
zlib/minizip: Update to version 1.2.13, remove zlib from freetype
Security update, fixes CVE-2022-37434 in zlib.

Only applications exposing/using `inflateGetHeader()` seem to be affected,
which is not our case, so this is not critical for Godot.

Remove duplicated copy of zlib in freetype sources to force using the updated
version in `thirdparty/zlib/`.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 93409b8e64)
2023-01-11 14:23:34 +01:00
bruvzg
456cdf84c1
[macOS] Fix stylus tilt Y direction.
(cherry picked from commit 5478f9b842)
2023-01-11 14:23:11 +01:00
Rémi Verschelde
abf5f72073
Merge pull request #70717 from Calinou/particles-tweak-animation-offset-property-hint-3.x
Tweak particles animation offset property hint to allow more precise values (3.x)
2023-01-11 11:57:38 +01:00