Commit Graph

27099 Commits

Author SHA1 Message Date
Rémi Verschelde e0e4610ace
Merge pull request #36591 from aaronfranke/key-order
Make internal editor key order consistent
2020-02-27 14:17:29 +01:00
Rémi Verschelde 2ceaa6a096
Merge pull request #36572 from qarmin/coverage
Added code coverage support to Godot
2020-02-27 14:13:23 +01:00
Rémi Verschelde c1abfd437e
Merge pull request #36568 from AndreaCatania/optimized_rpc_with_bytes
Optimized rpc packet size when only the `PackedByteArray` is sent.
2020-02-27 14:11:52 +01:00
Rémi Verschelde d94155e10b
Merge pull request #36050 from eswartz/line-edit-move-cursor-on-unselect
Use left/right arrow to move cursor when unselecting in LineEdit
2020-02-27 14:04:19 +01:00
Yuri Roubinsky e437bcbccf
Merge pull request #36595 from Chaosus/vs_popup_menu2
Place paste after copy in new popup menu in visual shader
2020-02-27 14:19:02 +03:00
Yuri Roubinsky 7aaad99afb Place paste after copy in new popup menu in visual shader
+ renamed _on_nodes_delete to _delete_nodes
2020-02-27 13:55:41 +03:00
Yuri Roubinsky 3b9b2c9a01
Merge pull request #36594 from Chaosus/vs_popup_menu
Added popup menu for some actions in visual shaders
2020-02-27 13:15:39 +03:00
Yuri Roubinsky 2d548b4d1a Added popup menu for some actions in visual shaders 2020-02-27 12:54:26 +03:00
Aaron Franke b8a79d7530
Make internal editor key order consistent
Godot already displays controls in the order Control+Shift+Alt, so the order used with the bitmask flags should be the same.
2020-02-27 03:32:58 -05:00
Rémi Verschelde 947a6636f7
Merge pull request #36558 from Chaosus/vs_docs3
Docs for some nodes in visual shader(part 3)
2020-02-27 08:35:12 +01:00
Andrea Catania 1afd60d8f5 Optimized rpc packet size when only the `PackedByteArray` is sent.
This work has been kindly sponsored by IMVU.
2020-02-27 08:19:59 +01:00
Yuri Roubinsky 15e757ec60 Docs for some nodes in visual shader(part 3) 2020-02-27 09:12:08 +03:00
nathanwfranke 2dd498df70 Fix autocomplete and GDScript Highlighting for types
Types include new integer types and others
2020-02-26 16:13:28 -06:00
Rémi Verschelde f64342fca9
Merge pull request #36578 from Calinou/fix-typo-single-convex-sibling
Fix a typo in the "Create Single Convex Collision Sibling" option
2020-02-26 22:51:09 +01:00
Dominik 'dreamsComeTrue' Jasiński 64cf691d32 Remove friend reference to non-existing class RefBase
Commit
7ad14e7a3e
removed RefBase class - but still there is hanging reference in....Reference :) class (no pun intended)
2020-02-26 22:36:40 +01:00
Hugo Locurcio 7348dfb5b7
Fix a typo in the "Create Single Convex Collision Sibling" option 2020-02-26 22:25:55 +01:00
Rémi Verschelde fde1211771
Merge pull request #33690 from Phischermen/area-enhancement
Bullet: Fix detection of concave shape in Area
2020-02-26 21:51:37 +01:00
Pedro J. Estébanez 18fbdbb456 Reimplement Mutex with C++'s <mutex>
Main:
- It's now implemented thanks to `<mutex>`. No more platform-specific implementations.
- `BinaryMutex` (non-recursive) is added, as an alternative for special cases.
- Doesn't need allocation/deallocation anymore. It can live in the stack and be part of other classes.
- Because of that, it's methods are now `const` and the inner mutex is `mutable` so it can be easily used in `const` contexts.
- A no-op implementation is provided if `NO_THREADS` is defined. No more need to add `#ifdef NO_THREADS` just for this.
- `MutexLock` now takes a reference. At this point the cases of null `Mutex`es are rare. If you ever need that, just don't use `MutexLock`.
- Thread-safe utilities are therefore simpler now.

Misc.:
- `ScopedMutexLock` is dropped and replaced by `MutexLock`, because they were pretty much the same.
- Every case of lock, do-something, unlock is replaced by `MutexLock` (complex cases where it's not straightfoward are kept as as explicit lock and unlock).
- `ShaderRD` contained an `std::mutex`, which has been replaced by `Mutex`.
2020-02-26 20:40:10 +01:00
Rafał Mikrut b2b0210d66 Added code coverate support to Godot 2020-02-26 19:43:03 +01:00
Rémi Verschelde afa773f388
Merge pull request #36564 from dankan1890/quick_fix
Fixed TextureAtlas import size.
2020-02-26 19:07:43 +01:00
Rémi Verschelde fc850b956b
Merge pull request #36563 from Chaosus/fix_resizer_color
Fix resizer icon color in VisualScripts/Shaders when graph headers is on
2020-02-26 19:07:34 +01:00
Rémi Verschelde bd4497db75
Merge pull request #36562 from AndreaCatania/anim_crash_fix
Fixed editor crash when the animation player has no root assigned.
2020-02-26 19:07:05 +01:00
Rémi Verschelde be4a516b77
Merge pull request #36428 from clayjohn/VULKAN-ref-probe-sky
Properly flip sky when rendering reflection probes
2020-02-26 18:59:50 +01:00
Yuri Roubinsky 9cfd2ed564 Fix resizer icon color in VisualScripts/Shaders when graph headers is on 2020-02-26 17:48:58 +03:00
Rémi Verschelde 216d2ad31c
Merge pull request #36559 from akien-mga/scons-compiler-version-ints
SCons: Fix get_compiler_version() to return ints
2020-02-26 15:12:00 +01:00
Yuri Roubinsky 3ef37f05c6
Merge pull request #36561 from Chaosus/vs_index
Changed float type to int for INDEX visual shader input
2020-02-26 17:06:47 +03:00
Michael Alexsander 28d3f85e64 Don't show a copy of the property's name in the inspector's tooltip if there's no description 2020-02-26 11:03:42 -03:00
Andrea Catania c9b86d54bf Fixed editor crash when the animation player has no root assigned. 2020-02-26 14:50:22 +01:00
Yuri Roubinsky 1e8108310a Changed float type to int for INDEX visual shader input 2020-02-26 16:39:42 +03:00
Maurizio Petrarota 744c1fafff
Fixed TextureAtlas import. 2020-02-26 14:35:57 +01:00
Rémi Verschelde c7dc5142b5 SCons: Fix get_compiler_version() to return ints
Otherwise comparisons would fail for compiler versions above 10.
Also simplified code somewhat to avoid using subprocess too much
needlessly.
2020-02-26 14:23:34 +01:00
Christoph Schroeder 5134317afc Fixes touch events for HTML
Without this patch, the following exception is thrown when the touch
screen is used: TypeError: e.getBoundingClientRect is not a function.
No touch events arrive in the engine.

From my testing, this PR fixes the issue and behaves as expected.

Tested with godot-demo-projects/misc/multitouch_view/, emscripten 1.39.8
and Firefox mobile emulator as well as FF on Android
2020-02-26 12:04:18 +01:00
Rémi Verschelde 1e57b558f2
Merge pull request #36536 from Chaosus/vs_int
Add support for integer type in visual shaders
2020-02-26 10:11:24 +01:00
Rémi Verschelde 3a4c128f07
Merge pull request #36551 from AndreaCatania/navigation_destruction_flush
Flushes commands just before the navigation server is destroyed
2020-02-26 10:09:43 +01:00
Rémi Verschelde fc5a400ce2
Merge pull request #36550 from akien-mga/scons-compiler-version-check
SCons: Re-allow upcoming GCC 8.4, fixes C++17 copy elision
2020-02-26 09:54:36 +01:00
Andrea Catania c143b5c677 Flushes commands just before the navigation server is destroyed 2020-02-26 09:42:51 +01:00
Rémi Verschelde dd4eb5494f SCons: Re-allow upcoming GCC 8.4, fixes C++17 copy elision
Follow-up to #36484.

The patches for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 have now
landed in the `releases/gcc-8` branch and will be in GCC 8.4.
2020-02-26 09:06:39 +01:00
Rémi Verschelde 412d1f20d1
Merge pull request #36543 from dreamsComeTrue/navigation-2d-missing-destructor
Added missing destructor for Navigation2D
2020-02-26 08:31:54 +01:00
Rémi Verschelde c1fe53a933
Merge pull request #36521 from rafaeldelboni/master
Improve LSP completion using scene owner
2020-02-26 08:24:59 +01:00
Rémi Verschelde dfeab91a1b
Merge pull request #36547 from Lunadin/master
Improved docs wording and added links
2020-02-26 08:20:38 +01:00
Yuri Roubinsky 4a3d277623 Add support for integer type in visual shaders 2020-02-26 10:12:06 +03:00
Lunadin 4e226dc0d6 Docs: Improved wording and added links
- Added missing links to the Control node in BoxContainer
- Added Oxford commas in BoxContainer and CanvasItem
- Clarified ambiguous boolean wording in BoxContainer
- Improved paragraphing in ScrollContainer's description
- Simplified ControlPicker description
2020-02-26 14:47:06 +11:00
Rafael Delboni 06bce137e3
Improve LSP completion using scene owner
Fixes: #36473
2020-02-25 23:27:17 -03:00
Dominik 'dreamsComeTrue' Jasiński 51cbf414fc Added missing destructor for Navigation2D
Although destructor call was missing, it still doesn't heal #36537 memory leaks. Further description how that might be overcome - on GitHub

Partialy covers #36537
2020-02-25 23:43:59 +01:00
Rémi Verschelde 2d980f6f13
Merge pull request #36542 from akien-mga/doc-64-arrays
doc: Sync classref for Packed{Int,Float}{32,64}Array additions
2020-02-25 22:19:55 +01:00
Rémi Verschelde a7e1df4b1d doc: Sync classref for Packed{Int,Float}{32,64}Array additions 2020-02-25 22:02:36 +01:00
Rémi Verschelde 2ead439370
Merge pull request #36512 from AndreaCatania/AndreaCatania-patch-2
Fixed remove region method.
2020-02-25 20:11:19 +01:00
Rémi Verschelde 0e724fc871
Merge pull request #36538 from YeldhamDev/packed_arrays_bits_icons
Update PackedInt/FloatArray icons for the new types
2020-02-25 20:10:10 +01:00
Michael Alexsander 19d7428db6 Update PackedIint/FloatArray icons for the new types 2020-02-25 14:46:40 -03:00
Rémi Verschelde f708ab5553
Merge pull request #36510 from akien-mga/int-vectors-doc-bindings
Update docs and bindings for new integer vector types
2020-02-25 18:14:49 +01:00