Commit Graph

35435 Commits

Author SHA1 Message Date
lawnjelly
0aa22b8f13 Vertex cache optimizer
Optimizes indices to make good use of vertex cache on GPU.
2024-02-07 09:35:50 +00:00
Rémi Verschelde
828cedb569
Merge pull request #67347 from Mickeon/3.x-scene-tree-filter-woohoo
[3.x] Improve Scene Tree Dock's Node filter (Allow multiple terms & more)
2024-02-07 09:50:08 +01:00
Rémi Verschelde
e96ebf9218
Merge pull request #61568 from lawnjelly/merge_node
[3.x] Add MergeGroup node to simplify merging Meshes at runtime
2024-02-07 09:49:45 +01:00
Rémi Verschelde
dc776e46b6
Merge pull request #60246 from Calinou/directional-light-add-fade-start-3.x
[3.x] Backport DirectionalLight `fade_start` property
2024-02-07 09:49:21 +01:00
Rémi Verschelde
6f8d35138b
Merge pull request #87920 from kleonc/image-doc-unlocking-methods-3x
[3.x] Document some `Image` methods can unlock it (making `set_pixel` fail)
2024-02-07 09:41:46 +01:00
Rémi Verschelde
5eeb4f220d
Merge pull request #87713 from lawnjelly/portal_include_in_bound
[3.x] Portals - include in bound and special cases in start room
2024-02-07 09:41:22 +01:00
Rémi Verschelde
991e922877
Merge pull request #86786 from lawnjelly/calinou_sdf_fixed
[3.x] Fix signed distance field font rendering
2024-02-07 09:40:59 +01:00
Rémi Verschelde
2a1917482a
Merge pull request #86744 from Listwon/custom-shader-compilation-determinism
[3.x] Prevent shuffling custom shader functions (shader cache requires determinism)
2024-02-07 09:40:36 +01:00
Rémi Verschelde
273d5897a0
Merge pull request #85229 from ztc0611/3.x-ios-add-pause-resume-notifs
[3.x] Enhance mobile suspend MainLoop notifications
2024-02-07 09:40:13 +01:00
Rémi Verschelde
862d63e9f7
Merge pull request #81559 from matorin57/3.x-backport-finished-singal-GPU-particles
[3.x] Backport "Add `finished` signal to GPUParticles"
2024-02-07 09:39:49 +01:00
Rémi Verschelde
60b34ed67d
Merge pull request #81426 from Rubonnek/expose-inspector-methods
[3.x] Expose `EditorInspector::get_edited_object` to GDScript
2024-02-07 09:39:24 +01:00
Rémi Verschelde
70ed07c8d1
Merge pull request #68454 from dalexeev/3.x-gds-fix-get-method-list
[3.x] GDScript: Fix `get_method_list` for custom functions
2024-02-07 09:38:56 +01:00
Danil Alexeev
e922e49b13
[3.x] GDScript: Fix get_method_list for custom functions 2024-02-07 10:10:32 +03:00
lawnjelly
bc607fb607 Fix signed distance field font rendering
This fix works in both GLES3 and GLES2.

The rendering formula in the shader was adjusted to further improve the
sharpness/antialiasing quality balance.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-02-05 17:50:33 +00:00
kleonc
d0f9fe2ac5 [3.x] Document some Image methods can unlock it (making set_pixel fail) 2024-02-04 02:30:45 +01:00
Micky
8049fbdb9f [3.x] Improve Scene Tree Dock's Node filter (Allow multiple terms & more) 2024-01-31 10:27:16 +01:00
lawnjelly
7f3800ece2 Portals - include in bound and special cases in start room
* Re-introduces a property for portals to decide whether they are included in room bounds during room conversion.
* Adds a special case for portals that extend into the start room, which may be caused by level design inaccuracies.
2024-01-31 09:22:33 +00:00
lawnjelly
8b79135538 Add MergeGroup node to simplify merging Meshes at runtime 2024-01-31 08:28:51 +00:00
Rémi Verschelde
a81d96c637
mbedtls: Update to upstream version 2.28.7
(cherry picked from commit dec635119e)
2024-01-30 19:39:19 +01:00
Rémi Verschelde
8fe6d9db44
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@232c738ce0

(cherry picked from commit 10445d80d8)
2024-01-30 15:16:22 +01:00
Rémi Verschelde
72ab4af489
Merge pull request #87739 from akien-mga/3.x-scons-web-workaround-emscripten-version-check
[3.x] SCons: Fix Web build when compiler version isn't properly detected
2024-01-30 15:10:06 +01:00
Rémi Verschelde
4206975e3a
SCons: Fix Web build when compiler version isn't properly detected
Quick fix for #82585.

A better fix requires refactoring the way we detect the compiler version
to make it more reliable, and get a consistent output. But I prefer to
keep changes minimal for 3.x branches at this point.

Also set CI version to 3.1.39, which is what we use for official 3.6 builds
since 3.6-beta4.
2024-01-30 14:54:49 +01:00
Rémi Verschelde
561a6cd503
Style: Mark clang-format 16 as supported for pre-commit hook
It only introduced a difference in a .glsl file, which I've worked
around by removing an empty line. This keeps formatting consistent
between clang-format 15 and 16.

Also added a change in the 3-to-4 project converter to fix bogus
formatting in clang-format < 17.

(cherry picked from commit 49f4860ce3)
2024-01-30 14:42:46 +01:00
Rémi Verschelde
ebd65eeb23
certs: Sync with Mozilla bundle as of Dec 13, 2023
bef37a977c
(cherry picked from commit c6e829b4c6)
2024-01-30 14:27:08 +01:00
Rémi Verschelde
f255fb89db
CI: Update mymindstorm/setup-emsdk to v14, should fix cache folder conflicts
https://github.com/mymindstorm/setup-emsdk/releases/tag/v14

Co-authored-by: Yuri Sizov <yuris@humnom.net>
(cherry picked from commit 35ef0b32b3)
2024-01-30 14:25:16 +01:00
Rémi Verschelde
7885b5814c
zlib/minizip: Update to version 1.3.1
Minizip includes previously backported fix for CVE-2023-45853,
and a Debian patch for CVE-2014-9485 was also upstreamed.

(cherry picked from commit 8ead8d2ddb)
2024-01-30 14:21:37 +01:00
Rémi Verschelde
885926850d
Merge pull request #87737 from 20kdc/bone2d-fix-apply_rest
[3.x] Fix the documentation of `Bone2D::apply_rest`
2024-01-30 13:36:16 +01:00
20kdc
2f03ba77e9 Fix the documentation of Bone2D::apply_rest (squashed, backport)
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-01-30 12:13:02 +00:00
Rémi Verschelde
e9949a6db7
Merge pull request #87702 from lawnjelly/portal_export_logging
[3.x] Portals - Improve conversion logging
2024-01-29 23:30:11 +01:00
Rémi Verschelde
8b3eb38791
Merge pull request #87677 from Mickeon/3.x-oooh-Reduz-of-the-past-You're-so-quirky
[3.x] Mention InputEventJoypadButton's pressure not working
2024-01-29 23:29:49 +01:00
Rémi Verschelde
d1b6b6f725
Merge pull request #87588 from m4gr3d/update_android_dependencies_3x
[3.x] Update Android dependencies for the project
2024-01-29 23:29:27 +01:00
Rémi Verschelde
721eba5d5d
Merge pull request #87539 from SysError99/3.x-get_first_node_in_group
[3.x] Add `SceneTree::get_first_node_in_group` following 4.x
2024-01-29 23:29:04 +01:00
Rémi Verschelde
1aa4c2fed1
Merge pull request #86642 from Mickeon/3.x-doc-peeves-resourceful-uh-oh-stinky
[3.x] Rewrite most of Resource's documentation
2024-01-29 23:28:42 +01:00
Rémi Verschelde
30b81a4bd9
Merge pull request #84529 from lawnjelly/gles2_gl_fragcolor
[3.x] GLES2 & GLES3 - Use `gl_FragColor` temporary
2024-01-29 23:28:19 +01:00
Rémi Verschelde
6f3c5e63f3
Merge pull request #82584 from lawnjelly/lightcull_23
[3.x] Shadow volume culling and tighter shadow caster culling
2024-01-29 23:27:56 +01:00
Rémi Verschelde
24d1391af9
Merge pull request #64931 from Mickeon/3.x-tileset-collision-group
[3.x] Add Selected Collision Group in TileSet Editor
2024-01-29 23:27:33 +01:00
Rémi Verschelde
4e741ec2ba
Merge pull request #64493 from Mickeon/3.x-editor-group
[3.x] Add Node editor description group
2024-01-29 23:27:07 +01:00
lawnjelly
5e0b298d50 Portals - Improve conversion logging
Logging is now allowed in any TOOLS build (rather than just in the editor), but still prevented in final exports.
Logging can be switched off via project settings.
Autoplacement is now logged.
2024-01-29 14:21:22 +00:00
Micky
9b1f1d5b6e [3.x] Mention InputEventJoypadButton's pressure not working 2024-01-28 15:00:38 +01:00
Micky
211c707e67 [3.x] Add Selected Collision Group in TileSet Editor
Also moves the TileSet Script property down to its own category.
2024-01-26 16:26:55 +01:00
SysError99
99284482bc [3.x] Add SceneTree::get_first_node_in_group following 4.x 2024-01-26 21:26:40 +07:00
Rémi Verschelde
e184e626f7
Merge pull request #87579 from akien-mga/3.x-year-2024
[3.x] Update `year` property in `version.py` to 2024
2024-01-26 01:33:41 +01:00
Fredia Huya-Kouadio
eba77be573 Update Android dependencies for the project
- Update Java version from 11 to 17
- Update Android gradle plugin version from 7.2.1 to 8.2.0
- Update gradle version from 7.4.2 to 8.2
- Update target SDK from 33 to 34
- Update build tools version from 33.0.2 to 34.0.0
- Update kotlin version from 1.7.0 to 1.9.20
- Update Android fragment version from 1.3.6 to 1.6.2
- Update AndroidX window version from 1.0.0 to 1.2.0
- Update Nexus plugin version from 1.1.0 to 1.3.0
2024-01-25 13:58:08 -08:00
Rémi Verschelde
f61e2491e1
Update year property in version.py to 2024
Seems like we missed this one when changing the copyright statements
to use `present` instead of the hardcoded `year`.

And backport other minor improvements from #87543.
2024-01-25 13:38:03 +01:00
Rémi Verschelde
584dc09ff8
Merge pull request #87359 from bruvzg/ios_xc1520_3
[iOS, 3.x] Update linker flags for Xcode 15.0 - 15.2. Bump min. iOS version to 12.
2024-01-19 09:12:50 +01:00
bruvzg
e6fb19275e
[iOS, 3.x] Update linker flags for Xcode 15.0 - 15.2. Bump min. iOS version to 12. 2024-01-19 08:19:46 +02:00
Rémi Verschelde
93ac21cf8b
Merge pull request #87256 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 16th batch
2024-01-18 21:52:12 +01:00
Rémi Verschelde
c6fb284441
Merge pull request #87341 from KoBeWi/must_prot3.x_selection
[3.x] Preserve selection when focusing SpinBox
2024-01-18 21:23:23 +01:00
kobewi
c377bffaa1 Preserve selection when focusing SpinBox 2024-01-18 16:38:05 +01:00
Rémi Verschelde
f706a3bd54
Web: Clarify that OS.get_unique_id is not supported
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.

Fixes #82439.

(cherry picked from commit 0a10f09ce4)
2024-01-18 16:19:43 +01:00