Commit Graph

3605 Commits

Author SHA1 Message Date
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
40e20146f6 Also use the queue in SMTPClient when not threading. 2024-01-11 00:39:52 +01:00
4a35fb9b44 Docs for the new classes. 2024-01-11 00:32:10 +01:00
2f44da6c00 Bind missing enum constants. 2024-01-11 00:05:42 +01:00
db36151c18 Re-extracted class docs. 2024-01-11 00:03:31 +01:00
92f1ab9e3e Fixed property. 2024-01-11 00:02:57 +01:00
8541890a78 Ported SMTPClient. 2024-01-11 00:02:48 +01:00