Commit Graph

29682 Commits

Author SHA1 Message Date
Yuri Roubinsky
4d52456613 Fix small reconnection bug in visual shader 2020-07-31 10:40:05 +03:00
Rémi Verschelde
bb6adf4ef9
Merge pull request #40872 from Calinou/makerst-generate-abbreviations
makerst: Add descriptions to method qualifiers
2020-07-30 22:46:01 +02:00
Hugo Locurcio
c162a39c7b
makerst: Add descriptions to method qualifiers
This closes https://github.com/godotengine/godot-docs/issues/1753.
2020-07-30 22:11:02 +02:00
Rémi Verschelde
7488b07220
Merge pull request #40883 from Xrayez/tests-macros
Hide implementation details of doctest macros
2020-07-30 18:15:06 +02:00
Rémi Verschelde
9833f9cc11 doc: Fix typo in BBcode tag 2020-07-30 16:24:37 +02:00
Andrii Doroshenko (Xrayez)
0512cc01d9 Hide implementation details of doctest macros
`test_macros.h` is created to provide various macros acting as aliases for
doctest macros to work better with Godot internals and conventions. This also
makes it accessible for those who'd like to start writing tests in Godot, as
most vital information can be put together and documented directly in
`test_macros.h` header.

Developers are encouraged to include the new `tests/test_macros.h` for writing
new tests over `thirdparty/doctest/doctest.h`.

Added `TEST_CASE_PENDING("name")` as an alias for
`TEST_CASE("name", doctest::skip())` which could be used to mark failing tests
for issues yet to be fixed, so as to not affect CI testing results.

Added `ERR_PRINT_OFF` and `ERR_PRINT_ON` to control error printing for testing
various **expected** failure paths within Godot without polluting the test
summary with error messages.
2020-07-30 16:58:12 +03:00
Rémi Verschelde
b64bdf2c3e
Merge pull request #40880 from madmiraal/fix-csg-make_dirty
Ensure CSG parent's _make_dirty() is called when entering a tree.
2020-07-30 15:19:42 +02:00
Rémi Verschelde
49be94ec39
Merge pull request #40875 from Xrayez/ci-show-tests-name
CI: Show `tests=yes` for builds which run tests
2020-07-30 14:50:39 +02:00
Marcel Admiraal
9be7b30f35 Ensure CSG parent's _make_dirty() is called when entering a tree. 2020-07-30 13:34:37 +01:00
Rémi Verschelde
829039d8b1
Merge pull request #40874 from Calinou/doc-editorinterface-get_editor_viewport
Improve the `EditorInterface.get_editor_viewport()` description
2020-07-30 14:29:09 +02:00
Rémi Verschelde
718db9b396
Merge pull request #40873 from Calinou/doc-thread-safe-apis
Link to Thread-safe APIs in the Thread class documentation
2020-07-30 13:27:24 +02:00
Andrii Doroshenko (Xrayez)
ceb338d672 CI: Show tests=yes for builds which run tests 2020-07-30 14:00:45 +03:00
Hugo Locurcio
60d40d8430 Improve the EditorInterface.get_editor_viewport() description
This closes https://github.com/godotengine/godot-docs/issues/1109.
2020-07-30 12:21:49 +02:00
Hugo Locurcio
f50a4b8a3b Link to Thread-safe APIs in the Thread class documentation
This closes https://github.com/godotengine/godot-docs/issues/2276.
2020-07-30 12:18:00 +02:00
Rémi Verschelde
35ff38b3d4
Merge pull request #40761 from naithar/feature/ios-safe_area
[iOS] Safe area reimplementation
2020-07-30 00:43:03 +02:00
Rémi Verschelde
dd9b89580f
Merge pull request #40852 from SkyLucilfer/FixLeak2
Refix GDScriptTranslationParser leak
2020-07-29 23:58:47 +02:00
SkyJJ
9cd1ef573c Refix GDScriptTranslationParser leak 2020-07-29 23:17:58 +02:00
Rémi Verschelde
b27bdcb51e
Merge pull request #40851 from Paulb23/fix_text_edit_width_cache
Fix TextEdit line width cache not being updated
2020-07-29 22:56:21 +02:00
Paulb23
51dd4792d7 Fix TextEdit line width cache not being updated 2020-07-29 21:42:38 +01:00
Rémi Verschelde
00e1175b7d
Merge pull request #40841 from Paulb23/fix_info_clicked_signal
Fixed script_editor info_clicked signal not being connected
2020-07-29 19:09:43 +02:00
Paulb23
b289bb514b Fixed script_editor info_clicked signal not being connected 2020-07-29 17:51:27 +01:00
Rémi Verschelde
fa6cd2cd77
Merge pull request #40838 from Faless/dtls/enet_refuse_fix
Fix crash in ENet changing refuse_new_connections
2020-07-29 18:06:19 +02:00
Fabio Alessandrelli
e5f3159a23 Fix crash in ENet changing refuse_new_connections
When the host is not started.
2020-07-29 17:53:41 +02:00
Rémi Verschelde
7b17cd2a73
Merge pull request #40832 from Xrayez/tests-cleanup
Cleanup obsolete tests from displaying in help
2020-07-29 14:23:53 +02:00
Andrii Doroshenko (Xrayez)
63720648e8 Cleanup obsolete tests from displaying in help 2020-07-29 15:07:16 +03:00
Rémi Verschelde
157958c77c
Merge pull request #40823 from Calinou/doc-string-split-regex
Document how to perform advanced string splitting using RegEx
2020-07-29 12:42:15 +02:00
Rémi Verschelde
25c030b1c5
Merge pull request #40824 from lyuma/gdscript_get_member
GDScript: Fix crash caused by inconsistent get_member
2020-07-29 12:40:53 +02:00
Hugo Locurcio
5f2b6bd476 Document how to perform advanced string splitting using RegEx
This closes https://github.com/godotengine/godot-docs/issues/3607.
2020-07-29 12:12:01 +02:00
Lyuma
68566b7bec GDScript: Fix crash caused by inconsistent get_member 2020-07-29 02:56:03 -07:00
Rémi Verschelde
3890638d84
Merge pull request #40821 from Calinou/doc-canvasitem-draw_string-example
Add an example to the `CanvasItem.draw_string()` documentation
2020-07-29 11:32:05 +02:00
Rémi Verschelde
c1bb45fcd5
Merge pull request #40818 from Calinou/doc-animation-fix-code-sample
Fix incorrect key name in the Animation documentation code sample
2020-07-29 10:52:57 +02:00
Hugo Locurcio
0c7735be5b Add an example to the CanvasItem.draw_string() documentation
This closes https://github.com/godotengine/godot-docs/issues/3374.
2020-07-29 10:43:10 +02:00
Hugo Locurcio
4257aa5c5c Fix incorrect key name in the Animation documentation code sample
This closes https://github.com/godotengine/godot-docs/issues/3841.
2020-07-29 10:13:44 +02:00
Rémi Verschelde
227494be59
Merge pull request #40781 from Rubonnek/fix-inconsistent-class-detection
Fixed inconsistent base class detection
2020-07-28 23:42:30 +02:00
Rémi Verschelde
7a31baf3b9
Merge pull request #40800 from briansemrau/fix-shader-comment-highlighting
Fixed Shader editor single-line comment highlight
2020-07-28 21:44:30 +02:00
Rémi Verschelde
8c6c9e017e
Merge pull request #40806 from nekomatata/android-keyboard-cleaning
Move PopupWindow logic to GodotEditText on Android
2020-07-28 21:44:17 +02:00
PouleyKetchoupp
cac7eb3a64 Move PopupWindow logic to GodotEditText on Android 2020-07-28 21:19:17 +02:00
Brian Semrau
69d1c48b73 Fixed shader editor comment highlighting 2020-07-28 15:16:24 -04:00
Yuri Roubinsky
af598858c7
Merge pull request #40802 from Chaosus/vs_fix_preview_color
Fix functions name color in visual shader code preview and expressions
2020-07-28 21:39:12 +03:00
Yuri Roubinsky
a33171ad23 Fix functions name color in visual shader code preview and expressions 2020-07-28 20:58:23 +03:00
Rémi Verschelde
a1ca21f46d
Merge pull request #40792 from briansemrau/fix-next-pass-not-drawing
Fixed Shader Material next_pass not being drawn
2020-07-28 18:31:26 +02:00
Rémi Verschelde
91b21e5fbc
Merge pull request #40676 from Xrayez/test-variant
Add test suite for `Variant`
2020-07-28 18:27:44 +02:00
Andrii Doroshenko (Xrayez)
3f77056dc6 Add test suite for Variant
Added a test case for `VariantWriter` and `VariantParser` overflows.
2020-07-28 18:34:55 +03:00
Brian Semrau
63dfe79fbe Fixed next_pass materials not being drawn 2020-07-28 10:51:41 -04:00
Wilson E. Alvarez
e264ae20d2
Check if global class file still exists before registering it 2020-07-28 09:25:34 -04:00
Yuri Roubinsky
cf03f90fa8
Merge pull request #40785 from Chaosus/vs_uniform_ref
Added UniformRef visual shader node
2020-07-28 16:17:37 +03:00
Yuri Roubinsky
7ddaff47a3 Added UniformRef visual shader node 2020-07-28 14:44:53 +03:00
Rémi Verschelde
eb0a67c6b8
Merge pull request #40754 from Chaosus/vs_default_uniforms
Added default value for uniforms in visual shaders
2020-07-28 13:40:49 +02:00
Rémi Verschelde
12feb9d633 i18n: Sync translations with Weblate
(cherry picked from commit ed20772c09)
2020-07-28 13:08:52 +02:00
Rémi Verschelde
2efba27089
Merge pull request #40783 from aaronfranke/bom
Fix incorrect comments in file formatting script
2020-07-28 10:02:59 +02:00