Yuri Roubinsky
8fefdcf113
Added default value for uniforms in visual shaders
2020-07-27 15:44:22 +03:00
Rémi Verschelde
303515981b
Merge pull request #40750 from Calinou/doc-canvasitem-node3d-visible
...
Improve visibility documentation for CanvasItem and Node3D
2020-07-27 14:38:55 +02:00
Rémi Verschelde
6e577a5b80
Merge pull request #40755 from Faless/js/fix_and_cancel_swap
...
Cancel/OK swap on HTML5 platform, small fixes.
2020-07-27 14:32:48 +02:00
Hugo Locurcio
27b09dfc44
Improve visibility documentation for CanvasItem and Node3D
...
This closes https://github.com/godotengine/godot-docs/issues/3840 .
2020-07-27 14:26:46 +02:00
Fabio Alessandrelli
0b286a287c
Implement HTML5 cancel/ok button swap on Windows.
...
Platform is detected on init via the `navigator.platform` string.
2020-07-27 14:17:10 +02:00
Fabio Alessandrelli
3e96ba220e
Correctly include <stdlib.h> in javascript main.
...
Already fixed in 3.2, this header is needed since it's where setenv
is declared and we should not assume it to be already included.
2020-07-27 14:17:10 +02:00
Fabio Alessandrelli
757af6a69f
Properly set HTML5 DisplayServer init error value.
...
Checked in main.cpp, would cause the engine to not load.
2020-07-27 14:17:10 +02:00
Rémi Verschelde
3e87022ecc
Merge pull request #40252 from AndreaCatania/flush
...
Improved Bullet Physics flush algorithm, Lazy collision filter reload, Shape reload regression fix.
2020-07-27 13:57:47 +02:00
Rémi Verschelde
bd9fc75768
Merge pull request #40706 from akien-mga/style-fix-file_format-macos
...
Fix code format scripts compat with non-GNU Unices
2020-07-27 13:27:56 +02:00
Rémi Verschelde
c71e189efd
Style: Fix code format scripts compat with non-GNU Unices
...
It's too hard to get compatibility between GNU and BSD sed,
so let's just use perl oneliners.
And improve it to also remove trailing tabs, not just spaces.
2020-07-27 13:11:44 +02:00
Rémi Verschelde
08d3d06ed7
Merge pull request #40749 from madmiraal/fix-9097
...
Clarify the difference between contacts and collisions.
2020-07-27 12:04:55 +02:00
Marcel Admiraal
6f1c99e5b4
Clarify the difference between contacts and collisions.
2020-07-27 10:35:15 +01:00
Rémi Verschelde
8965ec124d
Merge pull request #40744 from Chaosus/vs_optimize_fresnel
...
Optimize code generation for fresnel node in visual shaders
2020-07-27 11:23:03 +02:00
Rémi Verschelde
a5c0ee0128
Merge pull request #40746 from akien-mga/no-dominion-outside-borders
...
Script editor: Fix open dominant logic for language-specific external editors
2020-07-27 11:13:01 +02:00
Rémi Verschelde
4fdc3e683a
Merge pull request #40743 from Calinou/doc-object-vs-reference
...
Improve the Object, Reference and Resource class documentations
2020-07-27 10:38:56 +02:00
Yuri Roubinsky
167f033782
Optimize code generation for fresnel node in visual shaders
2020-07-27 11:35:53 +03:00
Rémi Verschelde
6b3f013a82
Script editor: Fix open dominant logic for language-specific external editors
...
Follow-up to #40735 .
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-07-27 10:30:03 +02:00
Hugo Locurcio
4275e6aad5
Improve the Object, Reference and Resource class documentations
2020-07-27 10:03:46 +02:00
Rémi Verschelde
6de86946ea
Merge pull request #40671 from nekomatata/virtual-keyboard-height-fix
...
Fix virtual keyboard height regression
2020-07-27 08:57:19 +02:00
Rémi Verschelde
3e99059129
Merge pull request #40714 from ThakeeNathees/Object-type-bug-fix
...
GDScript: "Object" datatype changed from BUILTIN to NATIVE
2020-07-27 08:50:16 +02:00
Andrea Catania
8d0d6d6921
- Enhanced the flush mechanism by flushing only needed thing.
...
- Flushing Areas before anything else.
- Make sure to correctly fetch gravity when the integrate_forces function is used
- Lazy reload body when layer and mask changes
- Shapes are reloaded just before the physics step starts.
- Improved some other parts of the code.
- Added override keyword
- Using LocalVector
2020-07-27 08:25:47 +02:00
Rémi Verschelde
0a7942f4bb
Merge pull request #40735 from akien-mga/no-dominion-outside-borders
...
Script editor: Don't open dominant script in external editor
2020-07-26 23:55:43 +02:00
Rémi Verschelde
b5f110c77e
Script editor: Don't open dominant script in external editor
...
Fixes #13429 .
2020-07-26 23:18:05 +02:00
Rémi Verschelde
8636be35b2
Merge pull request #40732 from bruvzg/macos_refocus_after_alert
...
[macOS] Refocus last key window after `DisplayServer::alert` is closed.
2020-07-26 22:45:09 +02:00
bruvzg
a05776e20d
[macOS] Refocus last key window after DisplayServer::alert
is closed.
2020-07-26 23:00:49 +03:00
Rémi Verschelde
d7e00a20a6
Merge pull request #40724 from KoBeWi/weird_condition_ 🤔
...
Fix ultra long node names
2020-07-26 21:58:06 +02:00
Rémi Verschelde
dc456059a4
Merge pull request #40595 from neikeq/godot-net-sdk-and-net-standard
...
C#: Switch games to MSBuild Sdks and .NET Standard
2020-07-26 20:47:35 +02:00
Rémi Verschelde
b19b896e06
Merge pull request #40487 from nekomatata/virtual-keyboard-enter-fixes
...
Fix Return key events in LineEdit & TextEdit on Android
2020-07-26 20:25:53 +02:00
PouleyKetchoupp
8c05dadcff
Fix Return key events in LineEdit & TextEdit on Android
...
Depending on the device implementation, editor actions could be
received with different action ids or not at all for multi-line.
Added a parameter to virtual keyboards to properly handle single-line
and multi-line cases in all situations.
Single-line:
Input type set to text without multiline to make sure actions are sent.
IME options are set to DONE action to force action id consistency.
Multi-line:
Input type set to text and multiline to make sure enter triggers new lines.
Actions are disabled by the multiline flag, so '\n' characters are
handled in text changed callbacks.
2020-07-26 20:06:07 +02:00
Rémi Verschelde
f5a224ac92
Merge pull request #40731 from akien-mga/ci-black-git
...
CI: Install master version of psf/black
2020-07-26 20:01:57 +02:00
Rémi Verschelde
f940e5e000
CI: Install master version of psf/black
...
Until https://github.com/psf/black/pull/1328 makes it in a stable release,
we have to use the latest from Git.
Apply new style fixes done by latest black.
2020-07-26 19:48:25 +02:00
Rémi Verschelde
326c303fc6
Merge pull request #40730 from RevoluPowered/msvc_fix_crash_debugging_tests
...
Fixes msvc debugging tests crashing
2020-07-26 19:36:36 +02:00
Gordon
968bfdb72a
Crash when debugging tests by disabling thread_local in /MT context
2020-07-26 18:24:52 +01:00
Rémi Verschelde
3842e8c465
Merge pull request #38727 from Riteo/tiling-wm-issues-tests
...
Fixes for windows in X11 tiling WMs
2020-07-26 17:41:28 +02:00
Rémi Verschelde
33d423e240
Merge pull request #39898 from Meriipu/master_gdscript
...
GDScript: Clarified/fixed inaccuracies in the built-in function docs.
2020-07-26 17:12:13 +02:00
Rémi Verschelde
c75f4c06f0
Merge pull request #40647 from Xrayez/blank-tabs-fix
...
Make unsaved scripts in the script editor more user-friendly
2020-07-26 17:11:31 +02:00
Rémi Verschelde
b2096ba53e
Merge pull request #40670 from vnen/remove-multilevel-call
...
Remove multilevel calls
2020-07-26 17:09:41 +02:00
Rémi Verschelde
94ff5ee535
Merge pull request #40655 from madmiraal/fix-40636
...
Ensure Bullet HeightMapShape3D data width and depth are at least 2.
2020-07-26 17:09:02 +02:00
Rémi Verschelde
b35be146da
Merge pull request #40720 from Xrayez/modules-tests
...
Enable support for C++ modules tests
2020-07-26 17:04:41 +02:00
Rémi Verschelde
e7a56a2454
Merge pull request #40726 from akien-mga/scons-tests-self-contained
...
SCons: Build tests/ and main/ in cloned environments
2020-07-26 16:57:06 +02:00
Rémi Verschelde
1a829621e3
Merge pull request #33548 from Calinou/shader-editor-tweak-builtins-color
...
Tweak the built-ins color highlighting in the shader editor
2020-07-26 16:50:50 +02:00
Rémi Verschelde
da621ab0c5
Merge pull request #40442 from Calinou/doc-tile-get-shapes
...
Document an example dictionary returned by `TileSet.tile_get_shapes()`
2020-07-26 16:42:35 +02:00
Andrii Doroshenko (Xrayez)
60f53140b8
Enable support for C++ modules tests
...
Modules-specific tests can be written under respective module folders.
Each module should have "tests" folder created with the tests implemented
as `doctest` headers, so they can be collected by the buildsystem and
included directly in `tests/test_main.cpp` to be compiled.
2020-07-26 17:41:46 +03:00
Rémi Verschelde
a3a980eb0d
SCons: Build tests/ and main/ in cloned environments
...
Allows switching `tests=yes`/`no` and rebuilding only tests and main,
instead of the whole engine.
Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
2020-07-26 16:03:11 +02:00
Rémi Verschelde
df6f867806
Merge pull request #39624 from naithar/fix/ios-touch-events-master
...
[4.0] Fix for iOS touch recognition
2020-07-26 15:42:51 +02:00
Tomasz Chabora
d3f2062d86
Fix ultra long node names
2020-07-26 15:29:50 +02:00
Sergey Minakov
e6d7e01a72
iOS: added delay gesture recognizer
...
This gesture recognizer will prevent GodotView from processing unwanted gestures.
Emulates UIScrollView behavior.
Fires delayed touches on significant movement.
2020-07-26 16:05:58 +03:00
Andrii Doroshenko (Xrayez)
7247247522
Make unsaved scripts in the script editor more user-friendly
...
Unsaved scripts were previously displayed with blank tabs, which are
mostly a result of deleted or improperly moved scripts.
This patch makes sure that those kind of scripts are displayed as
"[unsaved]" now, and ensures that scripts are removed from the list
while deleting scripts from the filesystem dock preventing the unsaved
tabs to appear in the first place (a user is already prompted with
"no undo" warning while deleting any file).
A user is always prompted to save those "[unsaved]" scripts if they
attempt to close them without saving in any case except as described
above.
2020-07-26 16:05:44 +03:00
Rémi Verschelde
cab0f12aee
Merge pull request #40721 from bruvzg/macos_tooltip_nofocus
...
[macOS] Fix tooltips stealing focus.
2020-07-26 15:02:44 +02:00
bruvzg
4c0081105f
[macOS] Prevent setting BORDERLESS
flag and calling window_move_to_foreground
from giving focus to window with NO_FOCUS
flag.
2020-07-26 15:46:07 +03:00