Commit Graph

34998 Commits

Author SHA1 Message Date
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
Rémi Verschelde 1426cd3b3a
One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".

Backported from #70885.
2023-01-10 15:26:54 +01:00
Rémi Verschelde 1ee7c5a62c
Merge pull request #62444 from lawnjelly/faster_queue_free3
[3.x] Faster queue free
2023-01-10 10:55:36 +01:00
Fabio Alessandrelli 450cd5f51e
Merge pull request #71132 from Faless/js/3.x_fs_force_sync
[3.x] [Web] Expose API to force file system sync.
2023-01-10 09:27:55 +01:00
Danil Alexeev 398ed4efc3
[3.x] Fix wrong `SpriteFrames` docs 2023-01-10 10:02:04 +03:00
Fabio Alessandrelli d0ba1517a7 [Web] Expose API to force file system sync. 2023-01-09 21:30:42 +01:00
Rémi Verschelde 111de09c03
Merge pull request #71103 from AThousandShips/array_find_fix_3_x
[3.x] Fix for comparisons with PoolArrays
2023-01-09 14:19:18 +01:00
Rémi Verschelde aa9265928c
Merge pull request #70786 from Calinou/gdscript-fix-dict2inst-init-parameters-3.x
[3.x] Make `dict2inst` to work with arbitrary `_init` parameters
2023-01-09 14:18:30 +01:00
Rémi Verschelde 106bfce7f3
Merge pull request #71093 from Banderi/debugger_locals_3.x
[3.x] Fix local variables not showing when breaking on final line
2023-01-09 14:18:10 +01:00
Ninni Pipping f26069e94d Fix for PoolArray comparison 2023-01-09 10:24:08 +01:00
SaracenOne 9fa4d3b1b0 Fix local variables not showing when breaking on final line
(cherry picked from commit 657b9b6596)
2023-01-09 09:46:27 +01:00