Commit Graph

3511 Commits

Author SHA1 Message Date
lawnjelly
f09cdf5954 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-02-08 15:10:00 +01:00
Rémi Verschelde
f073af9af6 zlib/minizip: Update to version 1.3
Remove `infback.c` which we don't need.

The `OF` macro was also removed so I can drop the patch where I yell
at Gentoo developers.

(cherry picked from commits e0e1f2e4a2056db1a908af75612daaaf5b129ebd
and 071499ac0d8e33e6f269437c3ce4fab52cc43f90)
2024-02-08 15:06:20 +01:00
Rémi Verschelde
4e199523f9 minizip: Backport patch to fix CVE-2023-45853
(cherry picked from commit c8dee05bf09cefdc33941aec1a76d3c563899995)
2024-02-08 15:05:47 +01:00
Rémi Verschelde
18047141eb brotli: Sync with upstream 1.1.0
https://github.com/google/brotli/releases/tag/v1.1.0
(cherry picked from commit 0402205ce66779805dcfbbc3e14c5756448f3bc7)
2024-02-08 15:05:40 +01:00
Rémi Verschelde
b44ee23cee 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 0a10f09ce4321695940a626eef9c64b36f599193)
2024-02-08 15:05:20 +01:00
floatingpointer
808103890a Add XInput device ID for wireless Series 2 Elite controller
(cherry picked from commit 81f9c0345c963ab1f06c2ed1d2d76368bdbd8f56)
2024-02-08 15:05:04 +01:00
nikitalita
cda33386ca SCons: Add stack_size and default_pthread_stack_size options to Web target
(cherry picked from commit 6788bc6bc2be68db9b9f1a37bf5edb8497eafb93)
2024-02-08 15:04:41 +01:00
Adam Scott
89ebe3f570 Set what were default values for some emscripten linkflags
- Set `-sSTACK_SIZE` to what it was before emscripten 3.1.27.
  It was renamed in 3.1.25 so also set `-sTOTAL_SIZE` for older
  versions for consistency.
- Set `-sDEFAULT_PTHREAD_STACK_SIZE` to what it was before 3.1.30.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 8e5fbd43488ad39a9b987c9abc38134841f44024)
2024-02-08 15:02:18 +01:00
Max Hilbrunner
0d560ab6f6 Fix generating vsproj with SCons 4.6.0+
(cherry picked from commit 72110134d62b82b0a3a98cffddb6e60948831edf)
2024-02-08 15:02:04 +01:00
Rémi Verschelde
d111a460b3 Linux: Add support for arm64 and arm32 export templates
This is done in a hacky way, mostly to keep it simple and avoid having
to do a refactoring of the `EditorExportPlatform` interface.

Only Windows and Linux use `EditorExportPlatformPC`, and thus to
handle the new architectures for Linux, we simply do a few checks here
and there with a couple new methods to register the export template
names for Linux arm64 and arm32.

For Godot 4.0, we did refactor everything to allow exporting binaries
for different architectures cleanly. For 3.6, which is likely the last
feature release for the 3.x branch, I tend to cut corners as these
improvements will be shorter lived and thus new tech debt isn't as big
a concern.
2024-02-08 15:01:00 +01:00
lawnjelly
3a04d5adfe GLES2 / GLES3 - Use gl_FragColor temporary
On some hardware, modifying gl_FragColor multiple times can cause large performance drops. This PR writes to a standard temporary variable instead, and copies across to gl_FragColor once only at the end of the fragment shader.

This could potentially lead to large gains in performance on affected hardware.
2024-02-08 14:58:12 +01:00
Micky
e53dcc1432 Mention InputEventJoypadButton's pressure not working 2024-02-08 14:57:01 +01:00
Micky
d1621245e6 Add Editor Description group
Backport from 4.0
2024-02-08 14:56:04 +01:00
Danil Alexeev
0c92de12c1 GDScript: Fix get_method_list for custom functions 2024-02-08 14:50:56 +01:00
Zach Coleman
92a8e047e0 Add APP_PAUSED and APP_RESUMED MainLoop notifications 2024-02-08 14:49:18 +01:00
Bartłomiej T. Listwon
7101e4aed7 Prevent shuffling custom shader functions (shader cache requires determinism) 2024-02-08 14:48:50 +01:00
kleonc
b952bfcc36 Document some Image methods can unlock it (making set_pixel fail) 2024-02-08 14:47:00 +01:00
Micky
f3833e82ac Improve Scene Tree Dock's Node filter (Allow multiple terms & more) 2024-02-08 14:46:41 +01:00
kobewi
1a98244aac Preserve selection when focusing SpinBox 2024-02-08 14:44:21 +01:00
Micky
fa226ade2a Rewrite most of Resource's documentation 2024-02-08 14:35:34 +01:00
bruvzg
bf8d0672f6 Update linker flags for Xcode 15.0 - 15.2. Bump min. iOS version to 12. 2024-02-08 14:30:10 +01:00
Rémi Verschelde
c27a3cf9bc UWP: Fix VS 2017 build with new get_unique_id method
Fixes this error:
```
platform\uwp\os_uwp.cpp(715): error C3149: 'Windows::Storage::Streams::IBuffer': cannot use this type here without a top-level '^'
```
2024-02-08 14:19:32 +01:00
Caroline Joy Bell
0f099eca32 Fix #if *_ENABLED inconsistencies, should check if defined
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-02-08 14:16:03 +01:00
Alessandro Famà
57c4c9455a Fix Dummy audio driver initialization issue on WASAPI output device initialization failure 2024-02-08 14:09:49 +01:00
Cody Roberts
eb8ca6d2ed Add project settings for AVAudioSessionCategory on iOS
Co-authored-by: Georg Wacker <contact@georgwacker.com>
2024-02-08 14:06:59 +01:00
A Thousand Ships
8341ddc450 Fix AABB.encloses failing on shared upper bound
This differs from `Rect2` and was fixed for those classes in the past
2024-02-08 14:00:08 +01:00
DylanCheetah
d04de8ef62 Implement UWP version of OS.get_unique_id function. 2024-02-08 13:59:32 +01:00
James
4d93f4434d Prevent using name with leading dot when create/rename/duplicate scene/folder/script/resource Fixes #62497 2024-02-08 13:58:32 +01:00
Bastien JAUNY
15cccb331f Fix unitialized variables in core 2024-02-08 13:43:25 +01:00
08895824aa Fix typo. 2024-02-08 13:42:46 +01:00
5049db8c63 Added a backport helper script. 2024-02-08 13:38:38 +01:00
Micky
4e68cd0251 Remove unused struct in GradientTexture1D 2024-02-08 13:25:47 +01:00
Danil Alexeev
a70e3ce4b3 GDScript: Prevent native class shadowing 2024-02-08 13:23:04 +01:00
8ddf92681e Fixed smaller issues in VariantOP. 2024-01-20 12:50:13 +01:00
c03536414c Fixed typo. 2024-01-19 15:32:17 +01:00
441c52afd3 Implemented clearing custom fonts in the editor's text editor module. Also small improvements. 2024-01-12 14:45:07 +01:00
2a0b2b696a Fixed custom font support in the editor's text editor module. 2024-01-12 14:25:37 +01:00
b9a0b8253f Fixed reopening files from the previous session in the editor's text editor module. Also small cleanups. 2024-01-12 14:05:34 +01:00
7747a4ee36 Added more extensions to the editor's text editor module. 2024-01-12 13:45:24 +01:00
caa3c095cd Fixed all the crashes (and potential crashed) in the editor's text editor module I could find. Also fixed some smaller usability issues. 2024-01-12 13:41:19 +01:00
810711bc89 Re-enabled previews in the editor's text editor module. 2024-01-12 13:08:46 +01:00
03b1de9564 Fix lots of potential crashes in the editor's text editor module. Now it also won't add an additional newline to the end of files. 2024-01-12 13:06:15 +01:00
41aa3cbd67 Removed the delete file option from the editor's text editor module. 2024-01-12 12:56:23 +01:00
929461fb08 Temporarily disabled the Preview menu in the Editor's Text File Editor module. It was not working properly anyways. 2024-01-12 12:51:46 +01:00
2b26a8a1de Disabled syntax highlighting in the editor's text editor module. It will need to be reworked. 2024-01-12 12:48:14 +01:00
1d8e1f7065 Fixed TextEdit width calculation after it's font changes. This fixes lines being too long to scroll to in the editor. 2024-01-12 12:43:39 +01:00
8d67178204 Backported from godot4: Fix TextEdit.get_rect_at_line_column returning negative pos even though cursor is in viewable area of the control
- MJacred
6170381bd7
2024-01-12 12:24:09 +01:00
a38d3e5d61 Fix typo. 2024-01-12 12:18:05 +01:00
e9f7ef263f Fix build on windows. 2024-01-11 01:31:54 +01:00
b08959ab59 Fixed issues with the SMTPClient and EMail. 2024-01-11 01:24:16 +01:00