e21adf2bc6
Don't handle BaseException in build scripts
2020-12-12 10:10:23 +00:00
f73c9e555f
Remove now unused FileAccessBuffered.
...
(cherry picked from commit 781efc26e0 )
2020-12-09 11:36:58 +01:00
8542d6ecd5
Tweak log file names for consistency between Mono and non-Mono logs
...
- Avoid spaces in Mono log file names.
- Use a `.log` extension for Mono logs, just like non-Mono logs.
- Use periods to separate hours/minutes/seconds for non-Mono logs.
(cherry picked from commit 4d81776fc9 )
2020-12-09 11:22:05 +01:00
cc86b11858
Fix .pck lookup for extensionless binary in macOS resources.
...
(cherry picked from commit 7be8759991 )
2020-12-02 16:08:29 +01:00
deda90bad7
add root_node as property of MultiplayerAPI
...
(cherry picked from commit d4c4d2db4c )
2020-12-01 09:00:54 +01:00
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
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
8ec5ffe17e
Make warning about Reference singletons more accurate
2020-11-23 10:42:50 +01:00
9df6edc7d7
Warn about singleton being a Reference
...
(cherry picked from commit e1150bd912 )
2020-11-19 17:15:28 +01:00
ebdcf1cc60
Fix crash duplicating local-to-scene resources
...
(cherry picked from commit e99cf6bfe5 )
2020-11-19 17:15:27 +01:00
58e9bf494d
Fix crash in resoure duplicate
...
(cherry picked from commit 9450717571 )
2020-11-17 12:07:02 +01:00
3a46e01af3
Remove property groups for Pause Mode and Script
...
Each of those only grouped 1 property, making them useless.
This closes https://github.com/godotengine/godot-proposals/issues/1840 .
(cherry picked from commit 5770e08c2a )
2020-11-17 12:07:02 +01:00
8361caad86
Allows HTTPClient to talk to proxy server
...
* Makes request uri accept absolute URL and authority
* Adds Host header only when missing
(cherry picked from commit d92ca6fbb1 )
2020-11-17 12:07:01 +01:00
00c631b13c
Release pressed action if event is removed
...
(cherry picked from commit b7c612bd54 )
2020-11-17 12:07:00 +01:00
4d667dadb9
Merge pull request #43554 from lawnjelly/refactor_pixel_snap
...
Add 2d snap transforms option
2020-11-16 18:24:10 +01:00
aeb3557f94
Merge pull request #43539 from zaevi/3.2_fix_loader_saver_broken
...
[3.2] Fix custom loader/savers broken
2020-11-15 15:43:03 +01:00
a79293e0fc
Add 2d snap transforms option
...
This is a cut back backport of reduz snapping PR #43194 .
It just offers a global project setting for transform snapping.
2020-11-15 09:40:07 +00:00
171768ab7c
fix custom loader/saver broken
2020-11-14 23:30:57 +08:00
92ff6c5164
Implement OS.get_screen_orientation() for Android
2020-11-13 10:14:06 -05:00
98774000e2
Add append_array() method to Array class
...
(cherry picked from commit 9f23a94b8a )
2020-11-11 15:44:14 +01:00
1bb81488bb
Minor clamp and float fixes
...
(cherry picked from commit ee79fc627c )
2020-11-11 15:30:57 +01:00
2652f6fc69
doc: Override default value for RandomNumberGenerator.seed
...
It's non-deterministic so it's better to show a fixed value like 0 instead of
having it potentially change whenever `randomize()` is called.
Fixes #43317 .
(cherry picked from commit 35e6070a35 )
2020-11-11 15:30:56 +01:00
7db872b55a
Add Image.load_bmp_from_buffer() for run-time BMP image loading
...
This partially addresses
https://github.com/godotengine/godot-proposals/issues/676 .
(cherry picked from commit 0209e3790e )
2020-11-11 15:30:55 +01:00
2c6b3074fc
Increase the default HTTPClient download chunk size to 64 KiB
...
This improves download speeds at the cost of increased memory usage.
This change also effects HTTPRequest automatically.
See #32807 and #33862 .
(cherry picked from commit 13357095ee )
2020-11-11 15:30:55 +01:00
1dd2cf7914
Merge pull request #40747 from RandomShaper/improve_packed_fs_api_3.2
...
Improve/fix packed data API (3.2)
2020-11-10 10:59:59 +01:00
f7d99c9a1f
Merge pull request #43259 from lyuma/get_parent_class_reentrancy_3.2
...
3.2: Backport Avoid reentrant OBJTYPE_RLOCK in ClassDB
2020-11-01 12:56:56 +01:00
d3be8477f0
Avoid reentrant OBJTYPE_RLOCK in ClassDB
...
Fixes #43020 when a thread uses ClassDB while main thread calls is_parent_class().
2020-11-01 00:50:46 -07:00
1e9a774ac2
Make Variant aware that an Object may be a Reference
2020-10-29 21:04:57 +01:00
943db2ca34
Make randbase member protected in RandomNumberGenerator
...
Allows to extend `RandomNumberGenerator` via C++ modules.
(cherry picked from commit 1923f0d302 )
2020-10-28 14:05:42 +01:00
c2a7df79ce
Favor project.binary over project.godot
...
(cherry picked from commit 37d515e99c )
2020-10-28 14:05:40 +01:00
374253242d
[3.2] Shows ColorRect in Color constants autocompletion
2020-10-28 12:39:41 +03:00
438e4f1e1a
Merge pull request #42981 from lyuma/command_queue_fix_3.2
...
[3.2] Backport Command queue fix
2020-10-22 09:55:49 +02:00
f994666bbe
core/command_queue_mt: Fix crash/hang when buffer fills up
...
This patch fixes two related issues. One is the race condition in issue #42107..
The other is a crash which happens when the reader is lapped near the end of the buffer.
Backport of 48e8da4 to 3.2
2020-10-21 16:39:54 -07:00
074a098df6
core/command_queue_mt: Customizable size
...
Partial backport of 9f654b4 to 3.2
2020-10-21 16:39:52 -07:00
04fb41a0f3
Merge pull request #42531 from BastiaanOlij/add_get_native_handle
...
Add get native handle
2020-10-20 13:27:07 +02:00
1ea7358405
Add get_native_handle to OS
2020-10-20 20:23:37 +11:00
9119560d4d
Fixes HTTPClient::poll crash after connection is self-assigned
...
(cherry picked from commit 8226cee8d8 )
2020-10-19 16:10:00 +02:00
11cbe99ccc
Cancel rename if file does not exist
...
(cherry picked from commit bb2684f4a7 )
2020-10-19 16:09:58 +02:00
a46fd28ae3
Fix natural sort comparison for strings with large numbers
...
Fix errors when comparing strings with large numbers (> INT64_MAX).
Comparisons now occur by comparing individual digits, instead of
converting to int64_t first.
(cherry picked from commit de46c92711 )
2020-10-19 15:12:11 +02:00
b2897f1f7b
Check for global script class information before clearing it
...
(cherry picked from commit 1ca501d7d4 )
2020-10-05 22:09:49 +02:00
6c03ac6625
Improve format version mismatch error in binary loader
...
(cherry picked from commit e35bb04c53 )
2020-10-05 20:32:31 +02:00
fcaf17824f
Don't write global script class information if there is none
...
(cherry picked from commit 3163611f0c )
2020-10-04 20:53:50 +02:00
09a8dd7b3b
Fixed padding bug of sprintf function
...
(cherry picked from commit 9f2cdfea82 )
2020-10-04 20:51:58 +02:00
5766547e33
Make "function" a property of FuncRef
...
(cherry picked from commit b4e7edabf3 )
2020-10-01 16:00:47 +02:00
eb78d4e883
Allow retrieval of FuncRef function string
...
(cherry picked from commit 75154e64a9 )
2020-10-01 16:00:46 +02:00
4ad74609ce
Merge pull request #40205 from bruvzg/click-through-3
...
[3.2] Add mouse event pass-through support for window.
2020-10-01 13:58:24 +02:00
df2dcf5742
Merge pull request #41866 from RandomShaper/fix_41179
...
Disable decayment of freed Objects to null in debug builds
2020-10-01 13:43:08 +02:00
66cbcc1b7e
Merge pull request #41123 from lawnjelly/octree_fix
...
Optimize octree and fix leak
2020-09-30 23:11:31 +02:00
904773149d
Merge pull request #42341 from nekomatata/x11-events-thread-3.2
...
[3.2] Fix issues related to delay when processing events on Linux
2020-09-30 16:39:55 +02:00
b3a23b2efb
Remove unnecessary empty line from Dictionaries
...
(cherry picked from commit 7b1ad6fbe0 )
2020-09-29 13:57:56 +02:00