Commit Graph

30107 Commits

Author SHA1 Message Date
Eric M 8c4c2bceab Added search box to signals dock.
Also made localised code changes for better documentation and readability.
2020-08-08 14:15:46 +10:00
Hugo Locurcio e506479fce
Document the lack of kerning support in DynamicFont 2020-08-07 15:03:35 +02:00
Hugo Locurcio 028de11db8
Improve the inspector easing editor
- Make it possible to drag a negative easing or an easing of 0 back to
  a positive value.
- Clamp the value between -1000000 and 1000000 to avoid issues
  related to infinity.
- Display more decimals for numbers closer to 0, less for large numbers.
- Display trailing zeroes in decimals to avoid flickering when dragging.

This closes #18712 and closes #22079.
2020-08-07 14:51:55 +02:00
George Marques 241e709462
Merge pull request #41062 from ThakeeNathees/unsafe-arithmatic-assignment-bug-fix
GDScript: unsafe arithmetic assignment bug fix
2020-08-06 10:51:48 -03:00
Thakee Nathees 38c7d080e8 GDScript: unsafe arithmetic assignment bug fix
Fix: #41051
2020-08-06 11:12:26 +05:30
Stephen Nichols fbd07bf3bf Adding error message for empty grouping expression 2020-08-05 14:42:33 -05:00
Stephen Nichols 8a13be50ab Fixing null callee crash. 2020-08-05 14:41:46 -05:00
Aman Jain 2b89944a3d Add 'Export App Bundle' to Android Export Options 2020-08-05 12:55:02 -04:00
Andrea Catania 6831da630f
Merge pull request #40989 from madmiraal/fix-40739
Reload Bullet space override modifier even when RigidBody is inactive.
2020-08-05 13:54:25 +02:00
Andrea Catania 8de57bde13
Merge pull request #41040 from qarmin/fixes_leak_bulet
Fixes leak when creating bullet shape
2020-08-05 13:22:42 +02:00
Vivraan 8629cfdb08 Fix Vector3i and Vector2i AXIS_* constants 2020-08-05 14:15:28 +05:30
Rafał Mikrut ac1b2da96e Fixes leak when creating bullet shape 2020-08-05 10:04:04 +02:00
Maganty Rushyendra cf04aabef1 Fix tile placement preview for rotated, skewed or scaled TileMaps
Ensures that the editor preview when placing a tile on a TileMap takes
into account the transformation of the TileMap. Previously, only the
origin of the Tile was transformed, but not its orientation or
scaling.
2020-08-05 10:12:08 +08:00
Tomasz Chabora a09078e64b Improve Vector2.angle() description 2020-08-05 00:18:19 +02:00
Fabio Alessandrelli fceb64827e Remap script path when registering class.
Was causing `class_name`-defined scripts to not being loaded in exported
games due to the remap from `*.gd` to `*.gdc`/`*.gde`.
2020-08-04 15:46:40 +02:00
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
Hugo Locurcio 2a8bbda2a7
Improve the documentation related to overriding GUI theme items
Overriding theme items is a common point of confusion.
Hopefully, these code samples should clear things up.
2020-08-04 12:57:53 +02:00
Maganty Rushyendra 5e77eea216 Updated cursor positioning description for File open()
Added more details about the cursor offsets for the different ModeFlags
in the `File` class.
2020-08-04 13:53:52 +08: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
Hugo Locurcio 2f577facc9
Document HTTPRequest not supporting request data with GET method
This also improves the HTTPClient class documentation to be easier
to read and more informative.

This closes #40564.
2020-08-03 14:57:27 +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
Hugo Locurcio c73c327bab
Reference the online documentation in collision layer/mask properties
See https://github.com/godotengine/godot-docs/pull/3863.
2020-08-03 13:58:51 +02: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