summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-10130-513/+969
| | | | | | | Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
* Style: Add missing copyright headersRémi Verschelde2020-05-1016-4/+394
|
* Merge pull request #37160 from ↵Rémi Verschelde2020-05-102-4/+27
|\ | | | | | | | | ThakeeNathees/saveing-cyclic-inheritance-crash-fix Fix: saving gdscript with cyclic inheritance crash the editor
| * fixed: saving gdscript with cyclic inheritance crash the editorThakee Nathees2020-05-102-4/+27
| | | | | | | | Fix: #9609
* | Merge pull request #37020 from aaronfranke/rangeRémi Verschelde2020-05-103-49/+105
|\ \ | | | | | | Allow using integer vectors for iteration and make range() use them
| * | Change get_completion_identifier_is_function to return a boolAaron Franke2020-05-092-2/+2
| | | | | | | | | | | | A minor bugfix
| * | Allow Vector2/Vector3 iterators to have non-integer valuesAaron Franke2020-05-091-10/+10
| | |
| * | Allow using integer vectors for iteration and make range() use themAaron Franke2020-05-092-39/+95
| | |
* | | Merge pull request #36937 from ThakeeNathees/statement-end-error-message-fixRémi Verschelde2020-05-102-12/+23
|\ \ \ | | | | | | | | Fix: more clearer unexpected statement end error messages
| * | | more clearer unexpected statement end error messagesThakee Nathees2020-05-102-12/+23
| | |/ | |/|
* | | Merge pull request #38505 from KoBeWi/ms_visual_docsRémi Verschelde2020-05-1037-1/+176
|\ \ \ | | | | | | | | Add documentation for the VisualShader nodes
| * | | Add documentation for the VisualShader nodesTomasz Chabora2020-05-0837-1/+176
| | | |
* | | | Merge pull request #38613 from MCrafterzz/planeRémi Verschelde2020-05-1036-126/+126
|\ \ \ \ | | | | | | | | | | Renamed plane's d to distance
| * | | | Renamed plane's d to distanceMarcus Elg2020-05-1036-126/+126
| | |/ / | |/| |
* | | | Merge pull request #38617 from madmiraal/fix-38514Rémi Verschelde2020-05-101-0/+3
|\ \ \ \ | | | | | | | | | | Prevent CapsuleShape2D height from being less than zero.
| * | | | Prevent CapsuleShape2D height from being less than zero.Marcel Admiraal2020-05-101-0/+3
|/ / / /
* | | | Merge pull request #38606 from cbscribe/kcc_classdoc_updatesRémi Verschelde2020-05-103-4/+4
|\ \ \ \ | |/ / / |/| | | [DOCS] minor description changes
| * | | [DOCS] minor description changesChris Bradfield2020-05-093-4/+4
|/ / /
* | | Revert "register RenderingDevice as gdscript singleton"Rémi Verschelde2020-05-091-1/+0
| | | | | | | | | | | | | | | | | | | | | This reverts commit 1058a57666cafadbbeeed5a42a72f0e4f627a389. RenderingDevice is meant to be instantiated in scripts, not a singleton. This actually doesn't work properly right now, but reduz will fix it.
* | | Merge pull request #38481 from RandomShaper/improve_yieldRémi Verschelde2020-05-095-32/+91
|\ \ \ | | | | | | | | Fix object leaks caused by unfulfilled yields
| * | | Fix object leaks caused by unfulfilled yieldsPedro J. Estébanez2020-05-055-32/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now the stack saved in a `GDScriptFunctionState` is cleared as soon as the `yield()` operation is known not to be resumed because either the script, the instance or both are deleted. This clears problems like leaked objects by eliminating cases of circular references between `GDScriptFunctionState`s preventing them and the objects they refer to in their saved stacks from being released. As an example, this makes using `SceneTreeTimer` safer. Furthermore, with this change it's now possible to print early warnings about `yield()`s to released script/instances, as now we know they won't be successfully resumed as the condition for that happens. However, this PR doesn't add such messages, to keep the observed behavior the same for the time being. Also, now a backup of the function name in `GDScriptFunctionState` is used, since the script may not be valid by the time the function name is needed for the resume-after-yield error messages.
* | | | Merge pull request #38357 from ThakeeNathees/dict2inst-crash-fixRémi Verschelde2020-05-091-0/+5
|\ \ \ \ | | | | | | | | | | fix: dict2inst crash when constructor has arguments
| * | | | fix: dict2inst crash when constructor has argumentsThakee Nathees2020-04-301-0/+5
| | | | |
* | | | | Merge pull request #37598 from ThakeeNathees/GDScript-type-resolve-bug-fixRémi Verschelde2020-05-091-0/+4
|\ \ \ \ \ | | | | | | | | | | | | GDScript class var type resolve bug fixed
| * | | | | GDScript class var type resolve bug fixedThakee Nathees2020-04-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fix: #37545
* | | | | | Merge pull request #37033 from ThakeeNathees/python-like-str-escapeRémi Verschelde2020-05-091-11/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | python like string escape implemented
| * | | | | | python like string escape implementedThakee Nathees2020-03-151-11/+13
| | | | | | |
* | | | | | | Merge pull request #38412 from ThakeeNathees/static-func-var-accessRémi Verschelde2020-05-091-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | parser error for static func access non-static variables
| * | | | | | | parser error for static func access non-static variablesThakee Nathees2020-05-031-0/+4
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Fix: #38408
* | | | | | | Merge pull request #38598 from neikeq/csharp-remove-stringextensions-emptyIgnacio Roldán Etcheverry2020-05-091-13/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | C#: Remove StringExtensions.Empty() function
| * | | | | | | C#: Remove StringExtensions.Empty() functionIgnacio Etcheverry2020-05-091-13/+5
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Causes issues with some editors as it's confused with `string.Empty`. Should use `string.IsNullOrEmpty(str)` instead.
* | | | | | | Merge pull request #38596 from neikeq/msbuild-restoreIgnacio Roldán Etcheverry2020-05-094-132/+25
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | Mono: Use msbuild instead of nuget.exe for restoring
| * | | | | | Mono: Use msbuild instead of nuget.exe for restoringIgnacio Etcheverry2020-05-094-132/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make GodotTools output directly to the SCons output directory. - Removed xbuild_fallback from the build system.
* | | | | | | Merge pull request #38595 from neikeq/fix-nested-class-hotreload-monoIgnacio Roldán Etcheverry2020-05-093-6/+21
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Mono: Fix hot-reloading of nested classes
| * | | | | | Mono: Fix hot-reloading of nested classesIgnacio Etcheverry2020-05-093-6/+21
|/ / / / / /
* | | | | | Merge pull request #38589 from MCrafterzz/lineRémi Verschelde2020-05-094-23/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | Rename Lineshape's d to distance
| * | | | | | Rename Lineshapes d to distanceMarcus Elg2020-05-094-23/+23
| | | | | | |
* | | | | | | Merge pull request #38588 from akien-mga/freetype-2.10.2Rémi Verschelde2020-05-09439-808/+3844
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | freetype: Update to upstream version 2.10.2
| * | | | | | freetype: Update to upstream version 2.10.2Rémi Verschelde2020-05-09439-808/+3844
| | | | | | |
* | | | | | | Merge pull request #38563 from Calinou/anisotropic-filtering-enumRémi Verschelde2020-05-084-9/+9
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Turn the anisotropic filtering setting into an enum
| * | | | | | Turn the anisotropic filtering setting into an enumHugo Locurcio2020-05-084-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since it only accepts power-of-two values, exposing it as an enum makes more sense. This also allows for adding property hints to indicate the performance cost of each value. This also improves property hints for MSAA and FXAA.
* | | | | | | Merge pull request #38555 from ThakeeNathees/rotation-gizmo-visible-fixRémi Verschelde2020-05-081-0/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | rotation gizmo visible = false; when camera preview
| * | | | | | | rotation gizmo visible = false; when camera previewThakee Nathees2020-05-081-0/+2
| | | | | | | |
* | | | | | | | Merge pull request #38561 from bruvzg/wintab_extra_mm_eventsRémi Verschelde2020-05-081-0/+55
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | WinTab: Make movement smoother and handle pressure/tilt changes when cursor is not moving.
| * | | | | | | | WinTab: Adds extra "mouse move" events to make movement smoother and ↵bruvzg2020-05-081-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | correctly handle pressure/tilt change when cursor is not moving.
* | | | | | | | | Merge pull request #38304 from JFonS/improve_rotation_widgetRémi Verschelde2020-05-082-3/+11
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | Keep mouse inside 3D viewport rotation widget
| * | | | | | | | Keep mouse inside 3D viewport rotation widgetJFonS2020-05-072-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hide and keep the mouse in place when the user oribts the scene via the 3D rotation widget.
* | | | | | | | | Merge pull request #38556 from EricEzaM/fix-menu-key-windowsRémi Verschelde2020-05-081-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Added mapping for KEY_MENU to VK_APPS (0x5d) so context menu's triggered by the keyboard menu button work
| * | | | | | | | | Added mapping for KEY_MENU to VK_APPS (0x5d) so context menu's triggered by ↵Eric M2020-05-081-1/+1
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | the keyboard menu button work
* | | | | | | | | Merge pull request #38557 from hoontee/patch-1Rémi Verschelde2020-05-081-0/+3
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | Re-add __XINPUT_DEVICE__