Commit Graph

46463 Commits

Author SHA1 Message Date
Andy Maloney 394a7826be [macOS] Fix Maya navigation with ALT + mouse scroll
Methods were being called with InputEventMouseMotion instead of InputEventPanGesture, and they were null.

Fixes godotengine/godot#16181 on the master branch
2020-07-23 10:38:31 -04:00
HaSa1002 5b51ae1c5d Add multiple programming language support to class reference 2020-07-23 15:19:09 +02:00
Rémi Verschelde dfdc48a9de Merge pull request #40628 from reduz/fix-dynamic-light-crash
Fixes RenderingServer crashes reported by #39951
2020-07-23 13:13:37 +02:00
Juan Linietsky acf32e87d5 Fixes RenderingServer crashes reported by #39951
Supersedes #40026
2020-07-23 07:58:23 -03:00
Rémi Verschelde bd00ab7516 Merge pull request #40625 from akien-mga/gitignore-binutils-stXXXXXX
gitignore: Ignore binutils linker temp stXXXXXX objects
2020-07-23 10:42:40 +02:00
Rémi Verschelde 460a00619e Merge pull request #40605 from QbieShay/spring-arm-doc-fix
fixed documentation for get_hit_length of spring arm 3D
2020-07-23 10:34:16 +02:00
Rémi Verschelde 5e8b188365 gitignore: Ignore binutils linker temp stXXXXXX objects
Fixes #40607.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-23 10:25:43 +02:00
Rémi Verschelde 2267caa4a1 Merge pull request #40606 from adam-bates/issue-40396_add_missing_json_errors
issue-40396 - Added missing error strings to JSON parsing when array …
2020-07-23 10:01:33 +02:00
Rémi Verschelde f0b58928ea Merge pull request #40623 from akien-mga/scons-remove-debug-memory-enabled
SCons: Remove unused DEBUG_MEMORY_ENABLED define
2020-07-23 09:58:19 +02:00
Rémi Verschelde 5671469724 Merge pull request #37336 from dreamsComeTrue/canvas-editor-change-cursor
Request immediate refresh of cursor in 2D editor while using shortcuts
2020-07-23 09:49:48 +02:00
Rémi Verschelde 6ad0aecb3b Merge pull request #39871 from aaronfranke/pr-template
Add a PR template with a message about PRs needing to be for master
2020-07-23 09:47:11 +02:00
Rémi Verschelde b51688f6b0 Merge pull request #40602 from follower/patch-12
Fix presumed copy/paste error: "Returns" -> "Sets"
2020-07-23 09:42:25 +02:00
Rémi Verschelde df2eb860a6 Merge pull request #40611 from mega-bit/GodotSharpDocTypos
Fix typos in GodotSharp code docs
2020-07-23 09:41:52 +02:00
Rémi Verschelde dcf902df85 SCons: Remove unused DEBUG_MEMORY_ENABLED define
Its last use was removed in Godot 3.0, so it no longer makes sense to define.

Also removed `D3D_DEBUG_INFO` for Windows as it's likely a left over from a
long time ago pre-opensourcing when Godot had some form of Direct3D 9 support?
2020-07-23 09:39:10 +02:00
Rémi Verschelde e38ad5d3de Merge pull request #40616 from reduz/refactor-light-clustering
Refactor light clustering
2020-07-23 08:25:59 +02:00
Lorenzo Cerqua d670a49612 DisplayServer: separate window showing into another function
When creating a window, Godot would first register it to the WM(show it) and then set its flags.
This works fine on a floating WM, but on tiling WMs as soon as a window gets registered
the WM immediately acts on the window by scaling it up and treating it as a generic window,
being registered without any special flags.

This commit separates the showing of the window into another function and calls it after the most important flags are set,
making windows with special flags(eg. all popups) work again on tiling WMs.

Fixes #37930
2020-07-23 07:58:10 +02:00
Juan Linietsky ee7c98da7c Refactor light clustering
Move from high end to shared, so all renderers use clustering.
2020-07-22 20:39:51 -03:00
QbieShay d1bff73611 fixed documentation for get_hit_length of spring arm 3D
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-22 23:08:37 +02:00
mega-bit 0ca96ae2c1 Fix typos in GodotSharp code docs 2020-07-22 22:46:04 +02:00
Adam Bates 8f84dfa91d issue-40396 - Added missing error strings to JSON parsing when array or object is never closed. 2020-07-22 15:06:57 -04:00
Aaron Franke 78693cdc55 Add a PR template with a message about PRs needing to be for master
[ci skip]

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-07-22 13:04:58 -04:00
follower e38b63400c Fix presumed copy/paste error: "Returns" -> "Sets"
I might be going out on a limb here... :D
2020-07-23 04:21:29 +12:00
Rémi Verschelde 0cd98ec7e1 Merge pull request #40600 from akien-mga/vs-duplicate-branches-warning
VisualScript: Fix -Wduplicate-branches warning
2020-07-22 17:29:22 +02:00
Rémi Verschelde 938e2e966f Merge pull request #40599 from akien-mga/vulkan-init-structs
Vulkan: Fix struct init for VkClearAttachment
2020-07-22 17:00:40 +02:00
Rémi Verschelde 9a586defed VisualScript: Fix -Wduplicate-branches warning
When VSDEBUG is a no-op (default), those branches did the same (nothing).
2020-07-22 16:57:28 +02:00
Rémi Verschelde dfdfee04df Vulkan: Fix struct init for VkClearAttachment
The changes from #38835 were not sufficient to fix #38829, as VkClearAttachment
still had uninitialized member structs in its VkClearColor member struct.

The struct rabbit hole goes deep and trying to do validation as done in #38829
doesn't appear realistic.
2020-07-22 16:31:22 +02:00
Rémi Verschelde f54fd5ac10 Merge pull request #38835 from madmiraal/fix-38829
Fix may be used unitialized warnings in _render_pass_create() and  _draw_list_insert_clear_region().
2020-07-22 16:12:54 +02:00
George Marques a0f54cb95e Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
Rémi Verschelde 72d449b53e Merge pull request #40596 from neikeq/fix-msbuild-restore-not-called
C#: Fix restore not called when building game projects
2020-07-22 14:47:38 +02:00
Ignacio Etcheverry 4a30289eee C#: Fix restore not called when building game projects 2020-07-22 14:28:47 +02:00
Rémi Verschelde e196b8127c Merge pull request #40590 from Calinou/doc-inputeventmousemotion-polling-rate
Document polling rate limitations in InputEventMouseMotion
2020-07-22 13:17:03 +02:00
Marcel Admiraal 8fe2ecf565 Update Linux gamepad detection to match SDL. 2020-07-22 10:17:39 +01:00
Hugo Locurcio 924b7ea2f5 Document polling rate limitations in InputEventMouseMotion
This closes #40579.
2020-07-22 10:25:13 +02:00
Rémi Verschelde 1ab0644532 Merge pull request #40217 from theoway/visible_line_count_fix
Fixes the get_visible_line_count() of rich text label
2020-07-22 09:50:26 +02:00
Rémi Verschelde d8c3fba1d4 Merge pull request #40588 from nekomatata/virtual-keyboard-disable
Add option to disable virtual keyboard for LineEdit
2020-07-22 09:33:47 +02:00
Rémi Verschelde 0397ddf9d5 Merge pull request #40583 from aaronfranke/cs-xml-plane
Fix XML in Plane.cs
2020-07-22 09:30:02 +02:00
PouleyKetchoupp 0aa56e3ab8 Add option to disable virtual keyboard for LineEdit
Co-authored-by: Alexander Holland <alexander.holland@live.de>
2020-07-22 08:19:05 +02:00
Aaron Franke ad96b6314c Fix XML in Plane.cs 2020-07-21 20:13:51 -04:00
Ryan Roden-Corrent c6919a13da Fix bound return type on get_priority.
Also adds a description explaining gizmo priority.

Inferred from:
https://github.com/rcorre/godot/blob/e4363d001afd3e94e1c02f8af9291087dab7408e/editor/plugins/spatial_editor_plugin.cpp#L5867-L5880
https://github.com/rcorre/godot/blob/e4363d001afd3e94e1c02f8af9291087dab7408e/editor/plugins/spatial_editor_plugin.cpp#L6462-L6470
2020-07-21 18:18:33 -04:00
Rémi Verschelde a5fb445121 Merge pull request #40450 from asmaloney/spelling
Fix spelling & grammar in comments, docs, and messages
2020-07-21 22:14:04 +02:00
Rémi Verschelde 25d59a5a1a Merge pull request #40398 from thebestnom/android_keyboard_modifiers_and_arrows
Android: Keyboard modifier and arrow key support for text edit
2020-07-21 21:56:01 +02:00
Rémi Verschelde bb2c0d3c3a Merge pull request #40501 from aaronfranke/core-docs-cs
Update core documentation to match recent C# changes
2020-07-21 21:28:55 +02:00
Andy Maloney 4dda62f591 Fix spelling & grammar in comments, docs, and messages 2020-07-21 15:17:23 -04:00
thebestnom 166103c759 Android: Keyboard modifier and arrow key support 2020-07-21 22:13:24 +03:00
Aaron Franke e5df1362df Split CI builds into workflows for each OS 2020-07-21 15:12:16 -04:00
Rémi Verschelde 60fab23262 Merge pull request #32908 from Nehluxhes/node_update_twice
Remove duplicate displayed node update call
2020-07-21 21:09:47 +02:00
Rémi Verschelde 22ed721d15 Merge pull request #40448 from Paulb23/fix_txt_close_crash
Fix crash when closing a TextFile
2020-07-21 21:08:39 +02:00
Rémi Verschelde e73de413db Merge pull request #40457 from Calinou/doc-basebutton-pressed-toggled
Mention `toggled` signal for pressed state in BaseButton documentation
2020-07-21 21:05:58 +02:00
Aaron Franke 83e324d670 Update core documentation to match recent C# changes
Also a few minor API changes like adding AABB.abs()

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-07-21 14:44:53 -04:00
Rémi Verschelde 41d6c96590 Merge pull request #40567 from akien-mga/travis-emscripten-latest
Travis: Back to latest emsdk, use embedded mode properly
2020-07-21 20:11:46 +02:00