Fabio Alessandrelli
f6cca77d8f
Disable SO_REUSEADDR for UDP.
...
It allows binding multiple sockets to the same ADDR:PORT (unlike TCP,
which still requires different ADDR:PORT combinations).
(cherry picked from commit 4b6a35c74a
)
2020-12-01 09:00:52 +01:00
Rémi Verschelde
dbb69f8f49
doc: Mention iOS support for Input gravity/gyroscope sensors
...
It has been implemented for iOS a long time ago already with #7127 .
(cherry picked from commit 2d0fda3ca2
)
2020-12-01 09:00:48 +01:00
Rémi Verschelde
037a6c5b57
Merge pull request #43991 from volzhs/fix-lock-preview-dymanicfont
...
Fix editor locked by generating preview of dynamic font
2020-11-30 17:21:52 +01:00
volzhs
a1f63bac0e
Fix editor locked by generating preview of dynamic font
2020-12-01 01:09:00 +09:00
Rémi Verschelde
58ca8de52c
Merge pull request #43986 from Faless/js/3.x_em_fixes
...
[3.2] [HTML5] HiDPI, emscripten fixes
2020-11-30 14:45:48 +01:00
Rémi Verschelde
896b776c6a
Merge pull request #43984 from lawnjelly/ewok_ninepatch_break
...
Fix ninepatch batch break logic.
2020-11-30 14:44:24 +01:00
Rémi Verschelde
307a85872b
Merge pull request #43982 from akien-mga/3.2-enabled_focus_mode
...
Buttons: Don't use deprecated set_enabled_focus_mode
2020-11-30 12:32:58 +01:00
lawnjelly
4c588c21e8
Fix ninepatch batch break logic.
...
I'd forgotten to add check for need for a new batch. Fixes visual anomalies, particularly tab container.
2020-11-30 10:29:52 +00:00
Fabio Alessandrelli
0f40391924
[HTML5] Fix broken layout on load in HiDPI screens
...
This was caused by the devicePixelRatio being applied twice, once by the
HTML code, once by the OS code.
More specifically, OS.get_window_size() would return the canvas element
size, while OS.set_window_size() would set the element size to the
specified value times the devicePixelRatio.
Calling OS.set_window_size(OS.get_window_size()) would reapply the
devicePixelRatio every time.
This commit changes the behaviour so that OS.set_window_size() do not
apply the devicePixelRatio to the canvas element size, by it divides the
CSS size instead.
2020-11-30 11:29:35 +01:00
Fabio Alessandrelli
8d93c723f1
[HTML5] Remove file flags from writeFile in setup.
...
Flags where deprecated and partly in removed in emscripten 2.0.9.
2020-11-30 11:29:32 +01:00
Rémi Verschelde
f7061fd559
Buttons: Don't use deprecated set_enabled_focus_mode
...
It's better to use the equivalent, non-deprecated API.
Follow-up to #43974 .
2020-11-30 11:16:15 +01:00
Rémi Verschelde
4f30cdfc33
Merge pull request #43972 from volzhs/fix-tab-container-3
...
Fix TabContainer crashes
2020-11-30 09:41:39 +01:00
Rémi Verschelde
848b9e7deb
Merge pull request #43974 from FIF15/restore-default-focus-mode
...
fix #43695 on 3.2 by revert part of #41577
2020-11-30 09:39:19 +01:00
FIF15
f07fb4e595
fix #43695 by revert part of #41577
...
Restore the default focus mode for MenuButton and LinkButton,
since it is different from the default of BaseButton.
2020-11-30 10:47:26 +08:00
volzhs
efade4034b
Fix no padding between icon and text in TabContainer
2020-11-30 11:36:57 +09:00
volzhs
8e10e33762
Fix TabContainer crashes
2020-11-30 11:02:18 +09:00
Rémi Verschelde
803f6d2388
Merge pull request #43885 from Firepal/3.2
...
Use correct normal for ReflectionProbe in GLES2
2020-11-26 16:16:30 +01:00
Firepal
ec7a9ca018
Use correct normal for ReflectionProbe in GLES2
2020-11-26 13:08:30 +01:00
Rémi Verschelde
b9b773c3f0
Merge pull request #43881 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.4) - 10th batch
2020-11-26 10:39:20 +01:00
Rémi Verschelde
5b504eaa69
Merge pull request #43866 from madmiraal/fix-43852-3.2
...
[3.2] Check joint nodes and generate configuration warning messages.
2020-11-26 10:21:54 +01:00
Rémi Verschelde
97e7d637e0
i18n: Sync translations with Weblate
2020-11-26 09:47:40 +01:00
jfons
bdc6f2fd95
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
...
It was commented for some reason I can't remember.
(cherry picked from commit e6949dae72
)
2020-11-26 09:38:47 +01:00
Marcel Admiraal
e4b3461441
Fix useless assignement in webrtc/library_godot_webrtc.js
...
(cherry picked from commit 4f654dad13
)
2020-11-26 09:38:47 +01:00
Tomasz Chabora
0c50509326
Update clear button when clicked
...
(cherry picked from commit 836b78f329
)
2020-11-26 09:38:47 +01:00
volzhs
8aeeec034d
Fix to update scroll bar has correct max value in ScrollContainer
...
(cherry picked from commit 67c2f2445f
)
2020-11-26 09:38:47 +01:00
Hugo Locurcio
9706b78a3f
Document C# garbage collection caveats in Reference and Resource
...
(cherry picked from commit 0565c76e8b
)
2020-11-26 09:38:47 +01:00
Sergey Minakov
067d015d38
iOS: fix native video
...
Fixed view not being displayed.
Fixed view orientation change.
(cherry picked from commit 6b2483c331
)
2020-11-26 09:38:47 +01:00
Hugo Locurcio
b2b5d9a7a3
Improve the AudioStreamPlayer3D class documentation
...
(cherry picked from commit 95618e2937
)
2020-11-26 09:38:47 +01:00
greenfox
b7a712d9f3
fixed Camera2D rotation with non-square zoom
...
(cherry picked from commit b9c0897713
)
2020-11-26 09:38:46 +01:00
Hugo Locurcio
922136b30d
Document that WebM videos don't support the alpha channel
...
(cherry picked from commit 1a616726cf
)
2020-11-26 09:38:46 +01:00
Hugo Locurcio
fe69bb262e
Bind the editor's Search Help function to F1 by default
...
Now that the F1 key is available, we can bind Search Help to the key
generally used in other applications to open the help menu.
(cherry picked from commit 42685f514f
)
2020-11-26 09:38:46 +01:00
Hugo Locurcio
f2a20893cc
Use a power-of-two value for Primary Grid Steps in the 3D editor
...
This matches the 2D editor default behavior.
Powers of two are usually better for grid divisions as they are often
used in level design.
(cherry picked from commit 31cf3e2572
)
2020-11-26 09:38:46 +01:00
Rémi Verschelde
6553cd368b
nanosvg: Sync with upstream 3e403ec
...
Includes some loop condition fixes after fuzzing.
The previously identified regression (#43641 ) is now fixed upstream.
(cherry picked from commit 1bb6491992
)
2020-11-26 09:38:46 +01:00
Rémi Verschelde
4a1643114e
Export: Reorder options for consistency across platforms
...
(cherry picked from commit 504efc5f9b
)
2020-11-26 09:38:46 +01:00
Rémi Verschelde
ac8dedd532
doc: Warn about using Node internal processing
...
See #43689 .
Also 'fixed' some spelling for behavior in publicly visible strings.
(Sorry en_GB, en_CA, en_AU, and more... Silicon Valley won the tech spelling
war.)
(cherry picked from commit a655de89e3
)
2020-11-26 09:38:45 +01:00
Andrii Doroshenko (Xrayez)
e95e934d88
Do not start Timer
upon manual switching of internal process
...
Prevents `Timer` to prematurely start and timeout immediately if internal
processing is enabled manually with `Timer.set_process_internal(true)` or
`Timer.set_physics_process_internal(true)`.
Even if the internal processing is enabled manually, the user still has to
actually start the timer with `start()` method explicitly.
(cherry picked from commit afcb6f38db
)
2020-11-26 09:38:45 +01:00
Rémi Verschelde
eafb021015
SCons: Remove unnecessary $LINK overrides
...
As of SCons 4.0.1, the default value for $LINK is $SMARTLINK, which itself
is a function that will use $CXX as linker for C++:
https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L327-L328
https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L54-L76
So we don't need to manually specify the same value as $CXX for $LINK.
(cherry picked from commit 2e4bff1cfe
)
2020-11-26 09:38:45 +01:00
Rémi Verschelde
797850321b
Merge pull request #42685 from nekomatata/x11-clipboard-fixes-3.2
...
[3.2] Fix issues with Linux clipboard
2020-11-26 09:34:53 +01:00
Rémi Verschelde
94c31175de
Merge pull request #43152 from Chaosus/color_autocompletion_3.2
...
[3.2] Shows ColorRect in Color constants autocompletion
2020-11-26 09:32:32 +01:00
Rémi Verschelde
17eb869231
Merge pull request #43858 from JFonS/fix_baked_lights_gles2
...
[3.2] Fix regression in baked lights when using GLES2
2020-11-25 23:11:38 +01:00
Rémi Verschelde
7b7ef98ec9
Merge pull request #43863 from akien-mga/3.2-TYPED_METHOD_BIND
...
SCons: Do not define TYPED_METHOD_BIND on Linux/OSX with clang
2020-11-25 22:13:39 +01:00
Marcel Admiraal
e0e7332135
Check joint nodes and generate configuration warning messages.
2020-11-25 20:53:48 +00:00
Rémi Verschelde
0b38c50311
SCons: Do not define TYPED_METHOD_BIND on Linux/OSX with clang
...
Port of #43862 .
2020-11-25 21:17:48 +01:00
jfons
69939028b3
Fix regression in baked lights when using GLES2
...
Lights with bake mode set to "All" were behaving erratically because of a
faulty check in the renderer. This should be the correct way to check if
a geometry instance is using baked light.
2020-11-25 18:12:50 +01:00
Rémi Verschelde
83f7c2d957
Merge pull request #43818 from lawnjelly/back_buffer_fix
...
Batching - BackBuffer copy fix
2020-11-25 08:26:20 +01:00
lawnjelly
7c4cf1c043
Batching - BackBuffer copy fix
...
For fixing a previous issue state.canvas_texscreen_used was reset to false at the start of each render_joined_item. This was causing a later shader that used SCREEN_TEXTURE to force recapturing the back buffer immediately prior to use, which we don't want.
This PR preserves the state across joined items, and also prevents joining of items that copy the back buffer as this may be problematic.
It turns out that the original issue that needed the line is now fixed, and the later issue is also fixed by removing it.
2020-11-24 14:59:15 +00:00
Rémi Verschelde
5a66e66448
Merge pull request #43776 from lawnjelly/ewok_asserts3
...
2d Legacy - close vulnerabilities and more debug checks
2020-11-24 09:14:17 +01:00
Rémi Verschelde
633c9555dc
Merge pull request #43804 from m4gr3d/update_signing_and_zipalign_logic_3_2
...
[3.2] Update gradle build files to automatically perform signing and zipalign tasks for custom builds
2020-11-24 08:39:16 +01:00
Rémi Verschelde
2800ab75ad
Merge pull request #43739 from dakennedyd/3.2
...
Fix duplicated entries in script editor menu
2020-11-23 15:49:33 +01:00
David Kennedy
473cb79cc1
Fix duplicates entries in script editor menu
...
This was a regression from #40461 .
Fixes #43707 .
2020-11-23 11:33:59 -03:00