Commit graph

25440 commits

Author SHA1 Message Date
Bruno Lourenço
d7f9d71be2 Fix contact shadow when light is outside of viewport. 2019-12-21 16:55:41 +00:00
Rémi Verschelde
a10449bbbc
Merge pull request #34514 from neikeq/remove-dep-on-mono-posix
Mono/C#: Remove GodotTools dependency on the Mono.Posix assembly
2019-12-21 17:07:18 +01:00
Fabio Alessandrelli
f8f5696394 Correct size for PacketPeerStream in Debugger.
We wanted 8 MiB but we were getting 16 MiB (minus 4 bytes for the
separator). We are now getting 8 MiB minus 4 bytes for encoding.
2019-12-21 16:50:29 +01:00
Fabio Alessandrelli
9afdb9dcd3 WSLPeer now prevents receiving data after close.
Used to spit error and report empty packets when connection was still
half-closed (waiting for confirmation from other end).
2019-12-21 16:38:36 +01:00
Ignacio Etcheverry
5a3ccf4f14 Mono/C#: Remove GodotTools dependency on the Mono.Posix assembly
MSBuild on Windows uses the system .NET Framework BCL instead of Mono's. Because
of this, it may not be able to find the Mono.Posix assembly, so it's better
not to depend on it. We needed Mono.Posix to call Syscall.access, so we can
replace this with an internal call that does the same in C++.
2019-12-21 15:55:45 +01:00
Rémi Verschelde
78f1513928
Merge pull request #34508 from timothyqiu/i18n
Makes more editor strings translatable
2019-12-21 14:41:18 +01:00
Rémi Verschelde
0b776ebbe4
Merge pull request #34498 from KoBeWi/bad_idea
Mention that bbcode_text += string is a bad idea
2019-12-21 14:38:54 +01:00
Haoyu Qiu
0693718164 Makes more editor strings translatable
* "Add" button text in Groups Editor
* "Receiver Method" in Connect Signal Dialog
* "Play Mode" in Animation State Machine Editor
* "Mesh Library" button text in Mesh Library editor plugin
* Compose Array node button texts in Visual Script
* Various button texts in TileSet Editor
* Various Run Script errors
2019-12-21 20:58:17 +08:00
Rémi Verschelde
2019d8001d i18n: Sync translations with Weblate 2019-12-21 12:28:47 +01:00
Tomasz Chabora
abbff65dc8 Mention that bbcode_text += string is a bad idea 2019-12-21 10:45:26 +01:00
Rémi Verschelde
569e9c1d51
Merge pull request #34499 from KoBeWi/your_dialog_was_cancelled
Mention how to handle cancel in ConfirmationDialog
2019-12-21 10:11:27 +01:00
Tomasz Chabora
2b1fb0375d Mention how to handle cancel in ConfirmationDialog 2019-12-21 00:19:16 +01:00
PouleyKetchoupp
6ffbd36e3d Fixed StyleBoxFlat border size with aa on
The different Rect used to draw rings were wrongly calculated when anti-aliasing was enabled. Also getting rid of some overlapping glitches when using transparent colors for the filling or borders.

Fixes #34104
2019-12-20 13:29:43 +01:00
Rémi Verschelde
48edf63330
Merge pull request #34472 from timothyqiu/quote-property
Fixes property names serialization in project.godot
2019-12-20 12:44:56 +01:00
Rémi Verschelde
9abbf517ff
Merge pull request #34479 from volzhs/filedialog-icon
Set proper icons for FileDialog in editor theme
2019-12-20 10:21:16 +01:00
Rémi Verschelde
d1a6b394d7
Merge pull request #34473 from clayjohn/GLES2-renderbuffer-format
Always use 16 bit renderbuffer depth on WebGL
2019-12-20 09:29:09 +01:00
Rémi Verschelde
b3a70f0b80
Merge pull request #34357 from clayjohn/DOCS-VisualServer
Updated docs for many VisualServer methods
2019-12-20 09:20:29 +01:00
volzhs
1acbbfc3f1 Set proper icons for FileDialog in editor theme 2019-12-20 17:13:31 +09:00
volzhs
02d5591d9d Make sure no additional slash being added with localize_path 2019-12-20 14:49:01 +09:00
clayjohn
28543667fd Always use 16 bit renderbuffer depth on WebGL 2019-12-19 20:41:32 -08:00
Haoyu Qiu
e7e095da3f Encodes property names properly in project.godot 2019-12-20 10:42:08 +08:00
clayjohn
f88f762240 Updated docs for many VisualServer methods 2019-12-19 18:24:51 -08:00
Rémi Verschelde
2a4c528d06
Merge pull request #34465 from neikeq/no-hardcode-debugger-wait
Mono/C#: Remove hard-coded debugger wait at initialization
2019-12-19 21:27:59 +01:00
Rémi Verschelde
30ffd273a3
Merge pull request #34464 from neikeq/null-is-null-not-Null-👍
Mono/C#: Fix Variant -> MonoString* when type is Variant:NIL
2019-12-19 19:52:10 +01:00
Ignacio Etcheverry
f3c6c63b94 Mono/C#: Remove hard-coded debugger wait at initialization
Up until now debug builds would always wait up to 500 ms during initialization
to give time for debuggers to attach to the game.
We no longer want this as it increases startup time unnecesarily.
The way forward is to setup the debugger agent as client instead of server.
This way it's the game that connect to the debugger, not the other way around.
If server mode is still desired, suspend=y can be used to indefinitely wait
for the debugger to attach. This all can be specified with the environment
variable 'GODOT_MONO_DEBUGGER_AGENT' when launching the game.
2019-12-19 17:07:20 +01:00
Ignacio Etcheverry
98dc07f25f Mono/C#: Fix Variant -> MonoString* when type is Variant:NIL
`Variant::operator String()` returns "Null" if the type is `Variant:NIL`.
We must consider that and return a null `MonoString*` instead when marshalling.
This was also causing a "Null" error to be displayed when exporting a game
because null string members would be set to "Null" during hot-reload.
2019-12-19 16:51:32 +01:00
alexchond
e26b066871 DUPlICATE_USING_INSTANCE documentation update 2019-12-19 17:17:57 +02:00
Rémi Verschelde
981c6aa102
Merge pull request #34445 from JFonS/fix_13364
Fix selection on 3D viewport with half resolution
2019-12-19 14:47:34 +01:00
JFonS
8da8518ba3 Fix selection on 3D viewport with half resolution 2019-12-19 12:53:20 +01:00
Rémi Verschelde
791c84bbbb
Merge pull request #34421 from Chaosus/fix_strcpy_warning
Fix build warning in ustring.cpp on Windows/MSVC platform
2019-12-19 12:19:45 +01:00
Rémi Verschelde
8189f23e8c
Merge pull request #34437 from Chaosus/fix_toggle_scripts4
Fix ScriptTextEditor encapsulation
2019-12-19 12:19:29 +01:00
Rémi Verschelde
481eb63a15
Merge pull request #34450 from timothyqiu/curve-editor
Fixes Curve Editor margin
2019-12-19 09:36:35 +01:00
Yuri Roubinsky
c89df816c1 Fix ScriptTextEditor encapsulation 2019-12-19 09:30:40 +03:00
Haoyu Qiu
72f392a135 Fixes Curve Editor margin 2019-12-19 11:02:26 +08:00
Juan Linietsky
28599e6c20 Suggest use of deferred or oneshot on disconnect if the signal is locked. Closes #34443. 2019-12-18 19:32:00 -03:00
Tomasz Chabora
b8bbf5a55f Fix code editor not always centering to bookmarks 2019-12-18 21:58:47 +01:00
Rémi Verschelde
9cda7f7333
Merge pull request #34430 from volzhs/error-log-with-container
Fix error log when selecting child of Containers
2019-12-18 16:45:05 +01:00
volzhs
2fa9585bdf Fix error log when selecting child of Containers 2019-12-19 00:04:10 +09:00
Yuri Roubinsky
8674655a45 Fix build warning in ustring.cpp on Windows/MSVC platform 2019-12-18 17:40:51 +03:00
Rémi Verschelde
589f27933d
Merge pull request #34419 from akien-mga/mono-osx-copy-libs
Mono: Copy native and btls libs on macOS
2019-12-18 13:28:44 +01:00
Yuri Roubinsky
5bc427a95e
Merge pull request #34423 from Chaosus/fix_toggle_scripts3
Updates toggle scripts switch tooltip (if user changed the shortcut)
2019-12-18 12:10:03 +03:00
Yuri Roubinsky
9f223616f1 Updates toggle scripts switch tooltip (if user changed the shortcut) 2019-12-18 12:00:02 +03:00
Rémi Verschelde
d1bce5c679
Merge pull request #34417 from volzhs/profiler-calls-right-align
Make right align for calls number in Profiler
2019-12-18 08:43:27 +01:00
Rémi Verschelde
45ff16ad24
Merge pull request #34418 from timothyqiu/docs
Updates docs of AABB and Plane
2019-12-18 08:43:07 +01:00
Rémi Verschelde
1c6b9bfdff Mono: Copy native and btls libs on macOS 2019-12-18 08:39:37 +01:00
Rémi Verschelde
3d6f991a17 Revert "Allow tab key to be used for shortcuts"
This reverts commit cafb888361.

Fixes #34405.
Reopens #8799, #24064.
2019-12-18 08:30:39 +01:00
volzhs
7dff2a9167 Make right align for calls number in Profiler 2019-12-18 16:16:22 +09:00
Haoyu Qiu
a58deee648 Updates docs of AABB and Plane 2019-12-18 15:14:38 +08:00
Rémi Verschelde
4f18c134b9
Merge pull request #34412 from flyingpimonster/docs-optionbutton
Docs: OptionButton
2019-12-18 07:59:32 +01:00
Zacxalot
13b77c9acd Update VehicleWheel.xml
VehicleWheels roll influence values in the tool tip were the wron way round.
2019-12-17 23:27:41 +00:00