Commit Graph

3702 Commits

Author SHA1 Message Date
Bartłomiej T. Listwon
fab0dad4bb Fix crash in AudioServer when switching audio devices with different audio channels count (connecting PS5 controller, bluetooth 5.1 headphones etc.) 2022-07-25 18:02:52 +02:00
Pawel Lampe
0909a9adb5 Fix get_simple_path behavior in 2D, fixes #56852 2022-07-25 18:02:26 +02:00
Yuri Roubinsky
e77e34db8e Fix shader crashing when attempting to access length() at global space 2022-07-25 18:01:12 +02:00
ConteZero
36def404b2 Fix X11 is_window_maximized 2022-07-25 18:00:34 +02:00
Hugo Locurcio
8b9333a67c Improve documentation related to 3D material vertex lighting 2022-07-25 17:59:39 +02:00
Ellen Poe
94c765d065 instance audio streams before AudioServer::lock call 2022-07-25 17:58:48 +02:00
Haoyu Qiu
18d0362cc0 Fix crash when using Camera2D::set_custom_viewport() 2022-07-25 17:57:41 +02:00
Hugo Locurcio
b2f4c2ec10 Clarify what set_as_toplevel() does in CanvasItem 2022-07-25 17:56:45 +02:00
Nicholas Huelin
344d18b2ee Hide "Normal Map" import option when using lossless compression on Texture
This pull request resolves an issue where images being imported with lossless compression allowed you to select a normal map, but the normal map only applies if you're using VRAM compression. Thereby making it redundant to appear when using lossless compression. This pull request hides the normal map option when lossless compression is selected.

Resolves: #59435
(cherry picked from commit 01ca9d3eec71154b6b0d32d34cab6b9fdb6fd24c)
2022-07-25 17:49:58 +02:00
Daniel Kříž
62dc43396c Fix persistent favorites after rename
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
(cherry picked from commit 0535ef549a6563e374c95ff9bdf6171117a59e6a)
2022-07-25 17:49:27 +02:00
Vitika9
41eb735bb2 Made reload current project ask for confirmation with unsaved changes
(cherry picked from commit eb81ac8fc524edf7fa3fdcaaa1e7f22ffbbe287c)
2022-07-25 17:48:55 +02:00
Rémi Verschelde
9197fd8d1e Improve range property hints for various collision shapes
Fixes #36419.

Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
(cherry picked from commit 0d772c6e6ecf210fa5b38df790b448cb80d4eb8c)
2022-07-25 17:48:29 +02:00
Rémi Verschelde
d25e588af7 doc: Fix String.rsplit code example
Fixes #36898.
Supersedes and closes #36951.

(cherry picked from commit e7fd0ec31f29b325edf0e17e8ba77a3ba0741d08)
2022-07-25 17:47:52 +02:00
taigi100
4ce3baf8f9 Update properties to properly filter for templates.
(cherry picked from commit d8d73cdd023253d778acf0e826b38be4046a6e1f)
2022-07-25 17:45:18 +02:00
Haoyu Qiu
e234602d01 Document how to specify explicit value for PROPERTY_HINT_ENUM names
(cherry picked from commit 405bc96a1e191cb65fa5db65ae03546c653d8b8a)
2022-07-25 17:44:25 +02:00
Haoyu Qiu
10eba686fb Fix crash when exporting projects with shared libraries
(cherry picked from commit 680bcef82546fa0f50b431f20423b62621d1c5ac)
2022-07-25 17:43:42 +02:00
Rémi Verschelde
92561386ec ResourceImporterWAV: Allow configuring loop mode on import
The new `edit/loop_mode` import options lets user choose to either:
- Detect loop points from the WAV (default, same behavior as before)
- Set the loop mode and loop points manually like in AudioStreamSample

Fixes #46164.

(cherry picked from commit b389ce5ccd664c993772a0b71ba99a875106b523)
2022-07-25 17:42:23 +02:00
Haoyu Qiu
a205072fbb Mention default output node name for AnimationNodeBlendTree
(cherry picked from commit 6bf01e056743c39ebc9a678a504eca7158af7bb9)
2022-07-25 17:41:54 +02:00
Vitika9
b6273a70ce Removed extra separator in absence of ChangeType and Rename
(cherry picked from commit 46ca4737f19f3701ec352f2e898514109c096587)
2022-07-25 17:41:16 +02:00
Priyansh Rathi
a834816352 fix same project opening mutliple times from project manager 2022-07-25 17:38:49 +02:00
Hugo Locurcio
26dedeab0b Increase the maximum number of concurrent DNS queries from 32 to 256
This makes the following error message less likely to be printed
when performing many concurrent HTTP requests:

    Condition ' resolving == IP::RESOLVER_INVALID_ID ' is true. returned: ERR_BUG
2022-07-25 17:36:02 +02:00
Haoyu Qiu
c14e9cc48b Update inspector layer names when project settings changed 2022-07-25 17:32:32 +02:00
fabriceci
75a882d02e Fix wrong collision reported on move_and_collide 2022-07-25 17:31:13 +02:00
Hugo Locurcio
2b3f3fdc9d Mention that Node's owner must be set for persistence to work
This is already done in `Node.add_child()` documentation, but
this copies the note in `Node.owner` for good measure.

(cherry picked from commit be1acf3b92b8b7104fe4d1fab9fbd2a28400ff95)
2022-07-25 17:28:36 +02:00
7d04e91768 Added a few things to the todo. 2022-07-24 18:09:56 +02:00
09acb9bfeb Added an api to the web server simple to add / remove mime types from scripts. 2022-07-24 18:09:45 +02:00
e0b2f048c2 Cleaned up and added UserManagerDB to the build. 2022-07-24 16:26:23 +02:00
13f0e82b6c Cleanups to the web server. 2022-07-24 15:33:32 +02:00
a1a94ab94e Went back from using an RWLock to a Mutex in WebServerSimple. 2022-07-24 15:15:08 +02:00
9106b5685e Removed multiple poll thread support related things from the web server, that was a bad idea. Also implemented single threaded mode. 2022-07-24 15:10:42 +02:00
731dbb427c Replace the mutex in the web server to an rwlock. 2022-07-24 14:27:58 +02:00
275c11cc6b Don't let changing properties if the server is running. 2022-07-24 14:18:04 +02:00
d55b66b7ff Only start the server thread when it's actually needed. 2022-07-24 14:15:00 +02:00
057d937d8f Added more binds to WebServerSimple. 2022-07-24 13:53:55 +02:00
3956c88859 Added threading settings binds to the SimpleWebServer. 2022-07-24 13:40:58 +02:00
aa8c6b35d1 IMplemented threading for the simple web server. 2022-07-24 13:19:21 +02:00
7d3486e5ee Now the simple server is using a List in a thread safe way. 2022-07-24 11:53:16 +02:00
492f29163c Refactored the SimpleHTTPServer to be able to multi thread it a bit later. 2022-07-24 02:40:39 +02:00
7b7b27297f Added a todo. 2022-07-24 02:04:57 +02:00
4baf5ed2da Remove unused method. 2022-07-24 02:00:53 +02:00
2db29ae49f Add Entity like to_dict and from_dict support to User, alongside to_json and from_json. 2022-07-24 01:42:55 +02:00
b479b6a1ab Added a new UserModule class. It can be used to easily add data to Users. 2022-07-24 01:08:56 +02:00
ae36b35436 Reimplemented UserLogoutWebPage. 2022-07-23 22:37:21 +02:00
299f714ed9 Fix memory allocation using new int HTTPSessionManager. Also small cleanups. 2022-07-23 22:37:11 +02:00
97dd727ee1 Reimplemented UserSettingsWebPage. 2022-07-23 22:22:08 +02:00
a5a327ad35 Reimplemented UserRegisterWebPage. 2022-07-23 22:08:07 +02:00
abb875f8a5 Use length() instead of size() for strings in the FormValidators. 2022-07-23 22:07:49 +02:00
c6191e1c26 Reimplemented UserLoginWebPage. 2022-07-23 20:33:10 +02:00
d0c99d0ef6 Set the user's id after creation. 2022-07-23 20:32:42 +02:00
40df361d7c Implemented UserWebPage. 2022-07-23 19:29:51 +02:00