Commit graph

30499 commits

Author SHA1 Message Date
Rémi Verschelde
819c3524a5
OS: Remove unused get_splash_tick_msec
It was added in 3e20391bf6 but it doesn't seem
particularly useful, and it was only implemented for the custom splash branch
and not the default one, so it could return an uninitialized int.
2020-09-24 15:40:30 +02:00
Rémi Verschelde
93303737ac
i18n: Sync translations with Weblate
(cherry picked from commit 510d87e468)
2020-09-24 15:35:55 +02:00
Rémi Verschelde
f87c75f77b
Merge pull request #41934 from timothyqiu/parallax-ignore-zoom
Fixes ParallaxLayer offset when camera zoom is ignored
2020-09-24 15:23:24 +02:00
Rémi Verschelde
6cb11cf41c
Merge pull request #42014 from Leleat/strip-edges-on-node-rename
Strip edges on node rename in SceneTreeDock
2020-09-24 15:21:59 +02:00
Rémi Verschelde
4b3a566cf1
Merge pull request #42018 from Leleat/create-user-dir-if-nonexistant
Create user-dir, if non-existant, so it can be opened with Godot
2020-09-24 15:21:01 +02:00
Rémi Verschelde
915ac7360a
Merge pull request #42066 from dalexeev/output_copy
Improvement for the Copy button in the Output Log
2020-09-24 15:18:59 +02:00
Rémi Verschelde
3e4627ab6f
Merge pull request #42283 from Calinou/doc-print-push-error-warning
Improve documentation related to printing error/warning messages
2020-09-24 15:16:27 +02:00
Rémi Verschelde
a5885d6987
Merge pull request #42089 from skyace65/ShelfFilters
Add documentation for shelf filters
2020-09-24 15:16:04 +02:00
Rémi Verschelde
fc8904236b
Merge pull request #42070 from Razoric480/ignore-cancel-request
Make LSP ignore $/cancelRequest msgs
2020-09-24 15:15:25 +02:00
Rémi Verschelde
079b6753c3
Merge pull request #42287 from Calinou/doc-color-constants-cheatsheet
Reference the Color constants cheatsheet in the class reference
2020-09-24 15:13:52 +02:00
Rémi Verschelde
9c9f3365b2
Merge pull request #42296 from akien-mga/messagequeue-default-size-4096-kb
MessageQueue: Change default queue size to 4096 KB
2020-09-24 15:11:17 +02:00
Hugo Locurcio
50f3a8e312
Improve documentation related to printing error/warning messages 2020-09-24 14:23:53 +02:00
Rémi Verschelde
5e24232597
Merge pull request #42300 from KoBeWi/noline
Remove unnecessary empty line from Dictionaries
2020-09-24 14:12:44 +02:00
Tomasz Chabora
7b1ad6fbe0 Remove unnecessary empty line from Dictionaries 2020-09-24 13:23:06 +02:00
Rémi Verschelde
5009ba54b2
MessageQueue: Change default queue size to 4096 KB
1024 KB was low enough that many users seem to hit it, which can lead to the
editor freezing.

The proper fixed as described in #35653 would be to implement a page allocator
to prevent this overflow, but as a stop-gap measure, we can increase the
default value to a more lenient 4096 KB which should be high enough for the
vast majority of use cases.

The default size can be brought down again if/when #35653 is properly fixed,
and if it's actually relevant from a memory point of view.
2020-09-24 09:05:12 +02:00
Rémi Verschelde
a6bb4f70e0
Merge pull request #42293 from ricardoalcantara/fix_basis_csharp
Basis RotationQuat should be public.
2020-09-24 08:16:24 +02:00
Rémi Verschelde
1e376958b3
Merge pull request #42284 from Calinou/doc-button-basebutton
Reference the BaseButton class explicitly in button class documentations
2020-09-24 08:12:10 +02:00
Ricardo Alcantara
a676b8ea66 Basis RotationQuat should be public. 2020-09-24 00:59:54 -03:00
Hugo Locurcio
de49085567
Reference the Color constants cheatsheet in the class reference 2020-09-23 23:48:37 +02:00
Hugo Locurcio
038baede5a
Reference the BaseButton class explicitly in button class documentations
Users are sometimes confused as to the `pressed` property not being
visible in the Button class documentation. This is because `pressed`
is defined in BaseButton.
2020-09-23 23:34:28 +02:00
Rémi Verschelde
72aaf81518
Merge pull request #42259 from zaevi/fix-mono-IsAbsPath
Fix C# string.IsAbsPath()
2020-09-23 18:12:27 +02:00
Rémi Verschelde
215fa6e85b
Merge pull request #42274 from KoBeWi/nullevents
Check for null in InputMap::_find_event
2020-09-23 15:55:57 +02:00
Rémi Verschelde
7b1de6deda
Merge pull request #42126 from Calinou/doc-videoplayer-formats
Improve documentation about VideoPlayer video formats
2020-09-23 15:40:50 +02:00
Tomasz Chabora
f4e34ac353 Check for null in InputMap::_find_event 2020-09-23 15:39:06 +02:00
Hugo Locurcio
1efe57848a
Improve documentation about VideoPlayer video formats
This closes https://github.com/godotengine/godot-docs/issues/4021.
2020-09-23 14:28:16 +02:00
Rémi Verschelde
9a463cb1d6
Merge pull request #42263 from Faless/js/servers_no_threads
Ignore thread models when compiling with NO_THREAD
2020-09-23 11:50:23 +02:00
Fabio Alessandrelli
f3c6ac1d71 Ignore thread models when compiling with NO_THREAD
The thread model option for physics (2D) and rendering (single-unsafe,
single-safe, multithread), was causing crashes/locks when set as
multithreaded and exported for a platform that does not support threads
(namely HTML5).

This commit ensures that when threads support is not available, that
option is ignored, and the equivalent of "single-unsafe" is always used
instead.
2020-09-23 11:24:01 +02:00
Rémi Verschelde
78304b904f
Merge pull request #42150 from DashCell/resize_tile_shape_fixed
Resize the tile shapes when a vertex is outside of the tilesheet
2020-09-23 10:51:02 +02:00
Rémi Verschelde
3e8d1de515
Merge pull request #42129 from kotelifelif/33477
Fix changing icons' colors when switch dark and light theme
2020-09-23 10:43:09 +02:00
Rémi Verschelde
7b3759a94e
Merge pull request #42130 from clayjohn/RenderingDeviceHack
Expose local RenderingDevice creation to RenderingServer
2020-09-23 10:41:58 +02:00
Rémi Verschelde
c10e8ac1de
Merge pull request #42178 from Faless/js/sync_fs_size_handlers
[HTML5] Synchronous main, better persistence, handlers fixes, optional full screen.
2020-09-23 10:14:22 +02:00
Fabio Alessandrelli
dccd71c7a3 JS synchronous start, better persistent FS sync.
The engine now expects to emscripten FS to be setup and sync-ed before
main is called. This is exposed via `Module["initFS"]` which also allows
to setup multiple persistence paths (internal use only for now).

Additionally, FS syncing is done **once** for every loop if at least one
file in a persistent path was open for writing and closed, and if the FS
is not syncing already.

This should potentially fix issues reported by users where "autosave"
would not work on the web (never calling `syncfs` because of too many
writes).
2020-09-23 09:51:06 +02:00
Fabio Alessandrelli
53f04aa1b9 Make canvas resize optional in HTML5. 2020-09-23 09:51:06 +02:00
Fabio Alessandrelli
806edcae5b Better HiDPI support in HTML5. 2020-09-23 09:51:06 +02:00
Fabio Alessandrelli
7d0896e763 Window event listener do not use capture. 2020-09-23 09:51:06 +02:00
Fabio Alessandrelli
48aa0b5b03 Small refactor to JavaScript handlers.
Crated helper class in native/utils.js.
Simplify code in OS/DisplayServer.
2020-09-23 09:51:06 +02:00
Fabio Alessandrelli
7d045b8543 Expose request_quit method to JS in HTML5 export. 2020-09-23 09:51:06 +02:00
Rémi Verschelde
0c449aefa2
Merge pull request #42173 from nekomatata/popup-menu-click-delay
Fix popup menu item selected when opening the menu
2020-09-23 09:36:00 +02:00
Rémi Verschelde
77945a91d2
Merge pull request #42260 from kotelifelif/42255
CPUParticles emission shape values update dynamically
2020-09-23 09:34:48 +02:00
Rémi Verschelde
c16ef5cb4f
Merge pull request #42181 from Leleat/document-open-open_script_create_dialog
Add description for ScriptEditor.open_script_create_dialog()
2020-09-23 09:31:00 +02:00
Rémi Verschelde
63d206e61e
Merge pull request #42187 from m4gr3d/main_android_subview_init_update
Add overridable init method for the Godot fragment instance.
2020-09-23 09:30:12 +02:00
booer
113921b56c Fixes updating CPUParticles emmision shape values 2020-09-23 14:17:47 +07:00
Rémi Verschelde
6f50571eff
Merge pull request #42195 from extrawurst/patch-1
add iOS Simulator platform
2020-09-23 09:13:41 +02:00
Rémi Verschelde
bb2466bbc0
Merge pull request #42196 from Calinou/fix-file-access-zip-crash
Fix crash when opening a ZIP data pack
2020-09-23 09:13:05 +02:00
Rémi Verschelde
cadba267b5
Merge pull request #42203 from rcorre/physicsmat_hint
Fix hints on PhysicsMaterial bounce/friction.
2020-09-23 09:06:59 +02:00
Rémi Verschelde
d21b3c2693
Merge pull request #42217 from Calinou/doc-richtextlabel-append-bbcode-no-close
Document `RichTextLabel.append_bbcode()` not closing previously open tags
2020-09-23 08:59:14 +02:00
Zae
b5eea5cfd4 Fix C# string.IsAbsPath() 2020-09-23 13:53:35 +08:00
Yuri Roubinsky
e40ba13e59
Merge pull request #42254 from Chaosus/vs_fix_expressions
Fix expressions nodes in visual shaders
2020-09-22 23:19:04 +03:00
Yuri Roubinsky
81a44a4145 Fix expressions nodes in visual shaders 2020-09-22 23:07:55 +03:00
Rémi Verschelde
94529d0e1e
Merge pull request #41912 from skyace65/NavigationMesh
Document some properties of NavigationMesh
2020-09-22 16:38:27 +02:00