Hugo Locurcio
66de28ada5
Add a test suite for Gradient
2020-08-19 01:33:40 +02:00
Ignacio Etcheverry
6e7da72648
C#: Fix editor unable to play game after IDE PlayRequest
...
The editor wasn't clearing the debugger agent
settings properly after a processing a play
request from an IDE. This caused consequent play
attempts to fail if not launched from the IDE,
as the game would still attempt and fail to
connect to the debugger.
The concrete cause: Forgetting to clear the
`GODOT_MONO_DEBUGGER_AGENT` environment variable.
2020-08-19 00:14:57 +02:00
Rémi Verschelde
9218f0f1b0
Merge pull request #41352 from Calinou/bmp-loader-error-explanations
...
Add more error explanations in the BMP image loader
2020-08-18 23:22:43 +02:00
Rémi Verschelde
e2fb55471c
Merge pull request #41359 from vnen/gdscript-2-fixes
...
Assorted fixes for GDScript bugs
2020-08-18 23:18:40 +02:00
George Marques
35176247af
GDScript: Allow enum values to be set to constant expressions
...
Also allow them to access previous values wihout referencing the enum.
2020-08-18 17:44:20 -03:00
George Marques
99d4ea8c79
GDScript: Allow supertype objects to be assigned to a subtype variable
...
It allows `get_node()` to be used with typed variables
This is marked as unsafe to warn the user.
2020-08-18 15:12:51 -03:00
Hugo Locurcio
40485e2479
Add more error explanations in the BMP image loader
...
This closes #32166 and closes #30629 .
2020-08-18 19:41:40 +02:00
Rémi Verschelde
65730ab9f6
Merge pull request #41247 from EricEzaM/project-settings-fix-bugs-and-add-delete-confirmation
...
Fixed issues with adding custom project settings and added confirmation dialog when deleting settings.
2020-08-18 18:24:20 +02:00
George Marques
8bc9b3a2ae
GDScript: Allow implicit type conversion when constructing variants
...
Incidentally fix error message when no valid constructor is found which
was missing an end parenthesis.
2020-08-18 13:12:18 -03:00
George Marques
8088e9e6ac
GDScript: Add script to cache on reload
...
This ensures that scripts created without a resource loader are properly
included in the cache (such as builtin scripts) and are not tried to be
loaded from the disk.
2020-08-18 11:21:09 -03:00
George Marques
0f9923e67f
GDScript: Allow empty files to be valid scripts
2020-08-17 21:32:49 -03:00
George Marques
3abb3c0d6e
GDScript: Fix crash when superclass file is non-existent
...
Incidentally, allow EOF to be an end of statement.
2020-08-17 21:30:39 -03:00
George Marques
fda6f3b600
GDScript: Fix LSP getting wrong union value on unnamed enums
2020-08-17 21:10:30 -03:00
George Marques
d06ce2f11e
GDScript: Fix editor crash when writing @tool annotation
2020-08-17 21:02:49 -03:00
George Marques
f374021d52
GDSript: Prevent crash when completing unary operators
2020-08-17 20:49:04 -03:00
Rémi Verschelde
f97280a012
Merge pull request #41330 from Calinou/doc-animatedtexture-atlas
...
Make the lack of AtlasTexture support in AnimatedTexture more prominent
2020-08-18 01:16:33 +02:00
George Marques
9ecd042e78
GDScript: Allow "match" to be used as an identifier
...
This is needed to call the String.match() function.
2020-08-17 20:14:46 -03:00
Eric M
8f54e8bfb5
Fixed issues with adding custom project settings and added confirmation dialog when deleting settings.
2020-08-18 09:12:02 +10:00
George Marques
d45e1befe3
GDScript: Fix wrong argument check for formatting operator
2020-08-17 19:49:54 -03:00
Hugo Locurcio
a7ad7ce3bd
Make the lack of AtlasTexture support in AnimatedTexture more prominent
...
See https://github.com/godotengine/godot/issues/33855 .
2020-08-17 17:34:40 +02:00
Rémi Verschelde
ba1109a3b3
Merge pull request #41280 from Calinou/editor-3d-add-invert-x-option
...
Add an editor setting to invert 3D pan/orbit on the X axis
2020-08-17 15:54:40 +02:00
Rémi Verschelde
261f2c1e03
Merge pull request #41326 from bruvzg/win_tablet_modifiers4
...
[Windows] Fix modifier keys when using tablet input.
2020-08-17 14:37:55 +02:00
bruvzg
ee76775792
[Windows] Fix modifier keys when using tablet input.
2020-08-17 14:43:16 +03:00
Rémi Verschelde
a17fba3f21
Merge pull request #41302 from Jlalond/divide-by-zero
...
Update ResourceLoaderText::load to not update progress if resources a…
2020-08-16 22:37:27 +02:00
jjjlalonde@gmail.com
94b09da9a1
Update ResourceLoaderText::load to not update progress if resources are 0
...
Include check in other progress update statement
Update additional progress update statement
2020-08-16 13:12:21 -07:00
Rémi Verschelde
75e2a405d0
Merge pull request #40980 from Xrayez/port-classdb-tests
...
Port ClassDB tests to use doctest
2020-08-16 22:06:29 +02:00
Andrii Doroshenko (Xrayez)
6f426c3360
Port ClassDB tests to use doctest
...
Extracted the most minimal core initialization functionality from
`setup()` and `setup2()` so that `ClassDB` could be tested properly
(input, audio, rendering, physics etc, are excluded).
Display and rendering servers/singletons are not initialized at all.
Due to the fact that most subsystems are disabled, fixed various crashes in the
process (in order):
- `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while
`register_scene_types()`);
- `make_default_theme` which depends on `RenderingServer`;
- `XRServer` singleton access while calling `register_modules_types()`;
- hidden bug in a way joypads are cleaned up (MacOS and Linux only).
Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`.
ClassDB tests:
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-08-16 16:41:02 +03:00
Rémi Verschelde
87ae509905
Merge pull request #40920 from qarmin/test_linux_sanitizers
...
Add Linux sanitizer build to github workspace to test tests and editor
2020-08-16 09:15:59 +02:00
Rafał Mikrut
2fec1b9363
Add Linux sanitizer build to github workspace
2020-08-16 08:32:44 +02:00
Rémi Verschelde
ac5619f521
Merge pull request #41223 from javidcf/sprite_frames_editor_zoom
...
Added zoom functionality to sprite frames editor plugin
2020-08-15 18:46:48 +02:00
Rémi Verschelde
d4665e7859
Merge pull request #41285 from bruvzg/macos_on_top_4
...
[macOS] Fix "on top" incorrectly set on init and resetting on window update.
2020-08-15 17:59:05 +02:00
Rémi Verschelde
dfc0986ae1
Merge pull request #41273 from RevoluPowered/fix_linker_flags
...
fixed linker being slow on OSX
2020-08-15 17:20:53 +02:00
Rémi Verschelde
e264d04c94
Merge pull request #41265 from YeldhamDev/rename_diag_tweaks
...
Minor visual improvements to the "Batch Rename" dialog
2020-08-15 17:12:18 +02:00
bruvzg
9d1cf0b6af
Fix "on top" incorrectly set on init (all platforms).
...
Fix "on top" reseting on window update. (macOS).
2020-08-15 17:53:18 +03:00
Rémi Verschelde
4ee779e6d3
Merge pull request #41103 from Calinou/editor-improve-easing-inspector
...
Improve the inspector easing editor
2020-08-15 16:22:36 +02:00
Rémi Verschelde
789dab3fb2
Merge pull request #41105 from Calinou/doc-dynamicfont-no-kerning
...
Document the lack of kerning support in DynamicFont
2020-08-15 16:20:02 +02:00
Hugo Locurcio
2c9d4ef961
Add an editor setting to invert 3D pan/orbit on the X axis
...
This also makes the invert Y axis option apply to 3D panning.
This closes #28082 .
2020-08-15 13:18:57 +02:00
Gordon MacPherson
788c521ce8
fixed linker being slow on OSX
2020-08-15 01:55:36 +01:00
Rémi Verschelde
103a95cf2c
Merge pull request #41258 from YeldhamDev/projsettings_header_fixes
...
Fix and tweak the new header in "Project Settings"
2020-08-15 00:25:28 +02:00
Michael Alexsander
25d18e3491
Minor visual improvements to the "Batch Rename" dialog
2020-08-14 15:57:07 -03:00
Michael Alexsander
3e8f3049f4
Fix and tweak the new header in "Project Settings"
2020-08-14 12:14:23 -03:00
Rémi Verschelde
aded76cb84
Merge pull request #41256 from YeldhamDev/editor_checkbutton_small
...
Make the editor's 'CheckButton' icon be smaller
2020-08-14 16:05:47 +02:00
Rémi Verschelde
167d48fde1
Merge pull request #41114 from Cheeseness/indent_fix
...
Skip indentation of empty lines when indenting a selection.
2020-08-14 16:03:55 +02:00
Cheeseness
1f159306ed
Skip indentation of empty lines when indenting a selection.
2020-08-14 23:53:34 +10:00
Michael Alexsander
0c182ce8e8
Make the editor's 'CheckButton' icon be smaller
2020-08-14 10:13:18 -03:00
Rémi Verschelde
5100bb42ae
Merge pull request #41116 from EricEzaM/signal-list-filter
...
Added search box to signals dock.
2020-08-14 14:57:52 +02:00
Rémi Verschelde
f82c96c1f0
Merge pull request #41249 from javidcf/tile_set_editor_flat_buttons
...
Made toolbar buttons in tile set editor flat
2020-08-14 14:55:26 +02:00
Rémi Verschelde
f165761075
Merge pull request #41242 from geekrelief/folder_reimport
...
Modified FileSystemDock so folders can be selected for reimport.
2020-08-14 14:07:40 +02:00
Rémi Verschelde
51358bb546
Merge pull request #41121 from Calinou/doc-slider-range-signals
...
Reference Range signals in the Slider class documentations
2020-08-14 13:12:09 +02:00
Rémi Verschelde
c9dbe14a8f
Merge pull request #41117 from 3akev/master
...
Port OrderedHashMap tests to doctest
2020-08-14 13:08:57 +02:00