Commit graph

29936 commits

Author SHA1 Message Date
George Marques
ec678c5e94
Merge pull request #40992 from vnen/fix-input-call
Fix _input being mistakenly called twice on script
2020-08-04 09:17:01 -03:00
Antoine Félix
f3626364fc Modify the scene only when color changed
Editor now changes a color in the inspector only when it is different
from the current one.

Solves fake unsaved changes in editor after using the ColorPicker.

Resolves: #40879
2020-08-03 19:46:44 +02:00
George Marques
9adf6d3441
Merge pull request #40690 from ThakeeNathees/arithmetic-assign-type-check-bug-fix
GDScript arithmetic assignment type check bug fix
2020-08-03 09:26:09 -03:00
George Marques
9048e72ae9
Merge pull request #40986 from Anutrix/grammer-fix
Fixed tiny grammar issues in error messages
2020-08-03 09:23:16 -03:00
George Marques
b8671b61fc
Fix _input being mistakenly called twice on script
Instead it calls both the script and the native method.
2020-08-03 08:40:08 -03:00
Marcel Admiraal
3a05ca9c2b Reload Bullet space override modifier even when RigidBody is inactive. 2020-08-03 11:39:16 +01:00
unknown
561af0c17d Fixed tiny grammar issues in error messages 2020-08-03 14:03:28 +05:30
Arkadiusz Marcin Kołek
8e1c9ff1c1 Shape3D::get_debug_mesh_lines const methods 2020-08-02 11:10:43 +02:00
Christopher Davis
41d8c0c818 platform: Update metadata for export platforms
Updates the logos of for macOS, Android, and iOS; Also
changes "Mac OSX" to "macOS"

Addresses https://github.com/godotengine/godot-proposals/issues/1161
2020-08-01 23:43:14 -07:00
Andrii Doroshenko (Xrayez)
76e00d2405 Stringify Variant compatible types for doctest output 2020-08-02 01:38:24 +03:00
bruvzg
ee973f5b90
[GDScript] Add static HashMap cleanup. 2020-08-01 22:08:12 +03:00
K. S. Ernest (iFire) Lee
98b709c3f8 Port Basis tests to use doctest. 2020-08-01 08:27:10 -07:00
Markus Sauermann
8335f00949 Wake up RigidBody 2D after applying torque 2020-08-01 14:36:24 +02:00
Rémi Verschelde
ec9302cecc
Merge pull request #40927 from 27thLiz/dinput-id
DirectInput: Use correct joypad id
2020-08-01 10:13:15 +02:00
hoontee
fc8574fbac Transform CSGShape collision when necessary 2020-08-01 01:45:22 -05:00
Rémi Verschelde
bc813fd061
Merge pull request #40930 from Xrayez/fix-leak-test-args
Fix memory leak in test args
2020-07-31 23:23:03 +02:00
Rémi Verschelde
5af5331474
Merge pull request #40929 from KoBeWi/starhack
Properly disambiguate unsaved scripts
2020-07-31 23:07:28 +02:00
Andrii Doroshenko (Xrayez)
db1259ac70 Fix memory leak in test args 2020-07-31 23:58:22 +03:00
Tomasz Chabora
3082def404 Properly disambiguate unsaved scripts 2020-07-31 22:43:40 +02:00
Rémi Verschelde
be435608b0
Merge pull request #40922 from opl-/fix/x11-size-hints
Fix losing X11 window normal size hint properties
2020-07-31 21:42:50 +02:00
Rémi Verschelde
29df1919e1
Merge pull request #40928 from bruvzg/fix_test_heap_use_after_free
Fix heap use after free in the doctest "main".
2020-07-31 21:21:18 +02:00
Rémi Verschelde
92d39d1bd3
Merge pull request #40850 from Calinou/test-add-color
Add a test suite for Color
2020-07-31 21:19:52 +02:00
Hugo Locurcio
979072b9a4
Add a test suite for Color 2020-07-31 21:04:16 +02:00
bruvzg
0a89498f51
Fix heap use after free in the doctest "main". 2020-07-31 21:52:48 +03:00
Andreas Haas
802a0316c5
DirectInput: use correct joypad id
Previously `joypad_count` was used as the index into the d_joypads array when initializing a new gamepad.
This caused the accidental override of an already connected device when a gamepad with a lower id was disconnected and connected again.

fixes #17566
2020-07-31 20:16:51 +02:00
Rémi Verschelde
970ce06b34
Merge pull request #40923 from opl-/fix/update-window-size
Fix window max_size acting as min_size
2020-07-31 19:16:42 +02:00
opl-
48d55e46d0 Fix window max_size acting as min_size 2020-07-31 17:38:34 +02:00
opl-
a31b164071 Fix losing X11 window normal size hint properties
This was caused by `XSetWMNormalHints` being called multiple times, each time with different values. Calling the method replaces the old data completely, resulting in some of the settings being lost.

Since the method was called 3 times before the window was mapped, this resulted in the position hint being lost and the window always getting opened at a position determined by the WM.
2020-07-31 17:32:46 +02:00
hoontee
001b6075cb
Properly handle empty CSGCombiners 2020-07-31 10:11:26 -05:00
Rémi Verschelde
5d880bf7db
Merge pull request #40613 from HaSa1002/multi-lang-docs
Add multiple programming language support to class reference
2020-07-31 14:51:33 +02:00
Rémi Verschelde
6d4d8349b6
Merge pull request #40915 from akien-mga/ci-pin-emscripten
CI: Pin Emscripten version for reproducible builds
2020-07-31 14:34:25 +02:00
Rémi Verschelde
bfd5226a8d CI: Pin Emscripten version for reproducible builds
Emscripten is a fast-moving target which gets tons of improvements all the time,
but it's not rare that some regressions affect us and make our CI builds fail.
(See e.g. #33728, #35237, #39168, #40563, and #40914.)

Let's pin to a stable version to avoid having external factors impact our CI,
and update this version manually regularly in a PR to ensure that the new
version works well for us.
2020-07-31 14:19:40 +02:00
Rémi Verschelde
4fb0ae3e9f
Merge pull request #40913 from godotengine/localv
Fixes issue with LocalVector remove function
2020-07-31 14:03:59 +02:00
Andrea Catania
9fb587b702
Fixes issue with LocalVector remove function 2020-07-31 13:49:15 +02:00
Rémi Verschelde
8b28553de8
Merge pull request #40816 from codetorex/master
Added missing information about File.open_encrypted function to docs
2020-07-31 13:07:42 +02:00
Rémi Verschelde
b1efa0f07f
Merge pull request #40418 from Calinou/doc-button-code-example
Add an example for creating a button in the Button class documentation
2020-07-31 13:05:48 +02:00
Rémi Verschelde
932a719f6e
Merge pull request #40540 from TheDuriel/patch-2
Clarify TreeItem return values
2020-07-31 13:04:13 +02:00
Rémi Verschelde
1cee89467b
Merge pull request #40591 from madmiraal/fix-24526
Update Linux gamepad detection to match SDL.
2020-07-31 13:02:35 +02:00
codetorex
3f6a7c74e3 Added missing information about File.open_encrypted function to docs. 2020-07-31 12:57:44 +02:00
Rémi Verschelde
13d785241c
Merge pull request #40835 from Xrayez/tests-port-astar
Port AStar tests to use doctest
2020-07-31 12:56:31 +02:00
Rémi Verschelde
ba853f86af
Merge pull request #40903 from Calinou/doc-json
Improve JSON-related documentation
2020-07-31 10:39:56 +02:00
Yuri Roubinsky
cb8efc4be3
Merge pull request #40904 from Chaosus/vs_fix_bug
Fix incorrect colors for member variables and numbers in visual shaders
2020-07-31 11:23:46 +03:00
Yuri Roubinsky
0594da324c Fix incorrect colors for member variables and numbers in visual shaders 2020-07-31 11:06:48 +03:00
Hugo Locurcio
930e10ffff Improve JSON-related documentation
This closes https://github.com/godotengine/godot-docs/issues/3848.
2020-07-31 09:56:11 +02:00
Yuri Roubinsky
c4da3b0248
Merge pull request #40902 from Chaosus/vs_fix_bug
Fix small reconnection bug in visual shader
2020-07-31 10:51:55 +03:00
Yuri Roubinsky
4d52456613 Fix small reconnection bug in visual shader 2020-07-31 10:40:05 +03:00
Andrii Doroshenko (Xrayez)
3645317036 Port AStar tests to use doctest 2020-07-31 02:09:40 +03:00
Rémi Verschelde
bb6adf4ef9
Merge pull request #40872 from Calinou/makerst-generate-abbreviations
makerst: Add descriptions to method qualifiers
2020-07-30 22:46:01 +02:00
Hugo Locurcio
c162a39c7b
makerst: Add descriptions to method qualifiers
This closes https://github.com/godotengine/godot-docs/issues/1753.
2020-07-30 22:11:02 +02:00
Rémi Verschelde
7488b07220
Merge pull request #40883 from Xrayez/tests-macros
Hide implementation details of doctest macros
2020-07-30 18:15:06 +02:00