Commit graph

29749 commits

Author SHA1 Message Date
Rémi Verschelde
b1efa0f07f
Merge pull request #40418 from Calinou/doc-button-code-example
Add an example for creating a button in the Button class documentation
2020-07-31 13:05:48 +02:00
Rémi Verschelde
932a719f6e
Merge pull request #40540 from TheDuriel/patch-2
Clarify TreeItem return values
2020-07-31 13:04:13 +02:00
Rémi Verschelde
1cee89467b
Merge pull request #40591 from madmiraal/fix-24526
Update Linux gamepad detection to match SDL.
2020-07-31 13:02:35 +02:00
codetorex
3f6a7c74e3 Added missing information about File.open_encrypted function to docs. 2020-07-31 12:57:44 +02:00
Rémi Verschelde
13d785241c
Merge pull request #40835 from Xrayez/tests-port-astar
Port AStar tests to use doctest
2020-07-31 12:56:31 +02:00
Rémi Verschelde
ba853f86af
Merge pull request #40903 from Calinou/doc-json
Improve JSON-related documentation
2020-07-31 10:39:56 +02:00
Yuri Roubinsky
cb8efc4be3
Merge pull request #40904 from Chaosus/vs_fix_bug
Fix incorrect colors for member variables and numbers in visual shaders
2020-07-31 11:23:46 +03:00
Yuri Roubinsky
0594da324c Fix incorrect colors for member variables and numbers in visual shaders 2020-07-31 11:06:48 +03:00
Hugo Locurcio
930e10ffff Improve JSON-related documentation
This closes https://github.com/godotengine/godot-docs/issues/3848.
2020-07-31 09:56:11 +02:00
Yuri Roubinsky
c4da3b0248
Merge pull request #40902 from Chaosus/vs_fix_bug
Fix small reconnection bug in visual shader
2020-07-31 10:51:55 +03:00
Yuri Roubinsky
4d52456613 Fix small reconnection bug in visual shader 2020-07-31 10:40:05 +03:00
Andrii Doroshenko (Xrayez)
3645317036 Port AStar tests to use doctest 2020-07-31 02:09:40 +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