summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-24Area2D: Fix argument type of body_* signalsRémi Verschelde
Those signals receive either a PhysicsBody2D or a TileMap object, and what the emitting method checks internally is only that the object is a Node. In theory any Node could go through these signals if they talk directly to the PhysicsServer2D. Also updated docs. Fixes #27076. Might need further (compat breaking) improvement as this API is a bit confusing, cf. #24739.
2019-06-24Merge pull request #29948 from lawnjelly/androidkeyboardRémi Verschelde
Fix some keyboards not working with Android
2019-06-24Merge pull request #30009 from Anutrix/tree-icons-height-fixRémi Verschelde
Fixed script and visibility icons's highlight height in tree
2019-06-24Merge pull request #30031 from qarmin/prevent_setting_bad_index_enumsRémi Verschelde
Set to enum variables, only correct values
2019-06-24Merge pull request #30035 from mbrlabs/autoload-fixRémi Verschelde
Check if autoload nodes are != NULL before deleting them
2019-06-24Check if autoload nodes are != NULL before deleting them.Marcus Brummer
This fixes #27854
2019-06-24Set to enum variables, only correct valuesqarmin
2019-06-24Merge pull request #29974 from clayjohn/particles_restartRémi Verschelde
Properly set emitting when particles restart
2019-06-24Merge pull request #30026 from akien-mga/fix-undo-convert-cpuparticlesRémi Verschelde
Fix undo references for conversion to CPUParticles
2019-06-24Merge pull request #30018 from GlaceGwyneth/typo-fix-selected-fontRémi Verschelde
TextEdit: Correct typo that broke custom selected font color
2019-06-24Fix undo references for conversion to CPUParticlesRémi Verschelde
The 'undo' reference should be the node to free when the undo history is lost, i.e. the original (GPU) Particles node. Similarly, the 'do' reference should point to the CPUParticles (result of the 'do' call). Fixes #29742.
2019-06-24Correct typo that broke custom selected font colorGwyneth Lowe
Change several font_selected_color to font_color_selected; the actual name of the override
2019-06-24doc: Sync classref with current sourceRémi Verschelde
2019-06-24Merge pull request #30019 from Faless/tls/stream_checkFabio Alessandrelli
Add NULL check in SSL connect_to_stream
2019-06-24Add NULL check in SSL connect_to_streamFabio Alessandrelli
2019-06-24Merge pull request #30011 from akien-mga/animation-invalid-keyRémi Verschelde
Display invalid value keys in AnimationTrackEdit
2019-06-23Merge pull request #29376 from hilfazer/editor_layouts_dialogRémi Verschelde
Saving/deleting editor layouts dialog with layout list
2019-06-23Merge pull request #24764 from SoIAS/double_clicking_24444Rémi Verschelde
Center script line when double clicked on error in debugger
2019-06-23Merge pull request #29987 from Chaosus/fix_crashesRémi Verschelde
Fix expression node crashes
2019-06-23Display invalid value keys in AnimationTrackEditRémi Verschelde
Godot 2.1 and 3.0 had this feature but it was lost in the rewrite of the animation editor in 3.1. Drop unused KeyValid icon, since all valid keys now have a custom type icon.
2019-06-23Fixed script and visibility icons's highlight height in treeunknown
2019-06-23Merge pull request #30004 from akien-mga/tileset-false-positivesRémi Verschelde
TileSet: Don't error out on tile_ getters with wrong shape id
2019-06-23Center script line when double clicked on error in debuggerDawid Wdowiak
2019-06-23TileSet: Don't error out on tile_ getters with wrong shape idRémi Verschelde
Partial revert of 02319dceb2e17184eb765c67719a306f56dafc1b, previous code handled this cases without errors and the TileSet and TileSetEditorPlugin are written with the expectation that those will not error out. This is a bit wonky and these classes should likely be refactored, but until then it's best to keep things as they were. Fixes #29962.
2019-06-23Merge pull request #29998 from akien-mga/x11-builtin-libpngRémi Verschelde
SCons: Default to builtin libpng/freetype on Linux
2019-06-23SCons: Default to builtin libpng/freetype on LinuxRémi Verschelde
The rationale for keeping those shared by default is that they're typical dependencies found on any Linux system, and it saves compilation time and binary size to link their dynamically. But since official builds default to all-builtin, and Debian/Ubuntu still don't have libpng16 (which we now require) readily available on all their supported releases, it's simpler to bundle all the things. This does not change the fact that those dependencies *can* be unbundled on Linux, it's only the default option changing.
2019-06-22Fix expression node crashesChaosus
2019-06-21properly set emitting when particles restartclayjohn
2019-06-21Merge pull request #24448 from lukad/toggle-system-consoleRémi Verschelde
Add option to toggle console window
2019-06-21Merge pull request #29959 from akien-mga/dont-reset-my-curvesRémi Verschelde
Curve: Prevent forcing 1.0 min value to 0.99
2019-06-21editor save/delete layout dialog with layout listhilfazer
2019-06-21Curve: Prevent forcing 1.0 min value to 0.99Rémi Verschelde
The setters are called when the property is first initialized, and before that its default min and max are 0.0 and 1.0 respectively. If you configured min_value to 1.0 and max_value to e.g. 3.0, since the min_value setter can be called before that of max_value (which thus still defaults to 1.0), the min will be set to 0.99. Same conflict could happen with a configured max_value of 0 if its setter is called before that of a valid, negative min value.
2019-06-21Merge pull request #29958 from akien-mga/keep-calm-and-do-particlesRémi Verschelde
Particles: Fix uninitialized angular velocity, fix inconsistency in linear velocity between CPU and GPU Particles
2019-06-21Merge pull request #29957 from Calinou/doc-improve-engine-version-infoMax Hilbrunner
Improve the `Engine.get_version_info()` documentation
2019-06-21CPUParticles: Set linear velocity to 0, like GPU ParticlesRémi Verschelde
2019-06-21Particles: Properly initialize angular velocity parameterRémi Verschelde
Right now it would take garbage values when loading scenes, which could end up written to the scene file.
2019-06-21Improve the `Engine.get_version_info()` documentationHugo Locurcio
This documents some keys that were missing and improves formatting.
2019-06-21Fix some keyboards not working with Androidlawnjelly
Fixes #17004 Currently the keydown and keyup messages are handled with method like this: if ((source & InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK || (source & InputDevice.SOURCE_DPAD) == InputDevice.SOURCE_DPAD || (source & InputDevice.SOURCE_GAMEPAD) == InputDevice.SOURCE_GAMEPAD) { // joystick input } else { // keyboard input } The constant for SOURCE_DPAD is 513 10 0000 0001 and the constant for SOURCE_KEYBOARD is 257 1 0000 0001 However, rather confusingly, for many keyboards the source sent by android is 769 11 0000 0001 Thus the keyboard is passing the check as being a DPAD and being processed as a joystick rather than keyboard. This PR handles the specific case of 769, allowing input from physical keyboards.
2019-06-21Merge pull request #29947 from qarmin/fix_some_editor_crashesRémi Verschelde
Fix some editor crashes
2019-06-21Fix some editor crashesqarmin
2019-06-21Merge pull request #29935 from Faless/net/get_if_multicast_prRémi Verschelde
Multicast, more network interfaces info
2019-06-21Multicast support in NetSocket/PacketPeerUDPFabio Alessandrelli
2019-06-21Implement IP.get_local_interfaces.Fabio Alessandrelli
Allow getting interfaces names and assigned names. On UWP this is not supported, and the function will return one interface for each local address (with interface name the local address itself).
2019-06-20Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde
Remove always true/false values
2019-06-20Merge pull request #29930 from zaksnet/document-referencerectRémi Verschelde
Document ReferenceRect Node
2019-06-20Fix always true/false valuesqarmin
2019-06-20Add option to toggle console window on WindowsLuka Dornhecker
This is an editor setting and its value can also be toggled using an entry in the Editor toolbar. The console will still appear briefly when starting the project manager or editor, as it's still compiled as console application. Does not impact exported games, which will still run without console in release and with console in debug mode. A project setting or export option could be added to disable it in debug mode if there's demand for it, but that would greatly reduce the usefulness of debug builds if Windows users can no longer report error and crash messages. Fixes #17889. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-20Document ReferenceRect NodeZak
Added missing documentation for ReferenceRect Node
2019-06-20Merge pull request #24116 from Calinou/editor-theme-improved-checkbuttonsRémi Verschelde
Improve CheckButtons in the default editor theme
2019-06-20Merge pull request #24249 from zorbathut/zorbathut/animimmediateRémi Verschelde
Implement AnimationPlayer call modes as per #23498.