Commit Graph

33272 Commits

Author SHA1 Message Date
Hugo Locurcio
e6abdc943d
Improve the get_node() error message to be more descriptive
- Mention the origin of the `get_node()` call.
- Mention whether the attempted path is absolute or relative.

See #46214.
2021-02-22 12:19:23 +01:00
Rémi Verschelde
caea551d41 CI: Build without debug symbols to reduce cache size
We often hit "Too Many Requests" errors when uploading the cache with
`actions/cache` because there's a limit of 10 GB every 5 minutes, and we can
easily go over it when we amend or merge several PRs in a short timespan.

This will make the CI artifacts less useful for debugging crashes but there's
no real way around this.
2021-02-22 11:51:55 +01:00
Pedro J. Estébanez
23907e6f19 Make glue generation shutdown more graceful 2021-02-22 11:06:33 +01:00
Rémi Verschelde
29f0ab0303 i18n: Sync translations with Weblate
(cherry picked from commit d0bc914491)
2021-02-22 11:06:33 +01:00
Rémi Verschelde
51d68919ff
Merge pull request #46263 from dalexeev/fix-help-shortcut-2
Fix "editor/editor_help" shortcut (again)
2021-02-22 10:37:15 +01:00
Rémi Verschelde
40191a748b
Merge pull request #46253 from asmaloney/docs-theme
[docs] Clarification on theme's get_stylebox
2021-02-22 10:35:35 +01:00
Rémi Verschelde
78f696a7a3
Merge pull request #46296 from madmiraal/remove-unused-variables
Remove unused variables from full-size.html
2021-02-22 10:18:06 +01:00
Rémi Verschelde
14f6f92a72
Merge pull request #46230 from gongpha/keep-hue-value
Keep Hue value when Saturation or Value is zero
2021-02-21 23:36:19 +01:00
Rémi Verschelde
54a1b0a2a4
Merge pull request #46297 from madmiraal/add-missing-semicolons
Add missing semicolons to webxr.eterns.js
2021-02-21 22:54:12 +01:00
Rémi Verschelde
fd5d1ed442
Merge pull request #46295 from Calinou/doc-spinbox-theming
Document theming a SpinBox's background
2021-02-21 20:00:19 +01:00
Hugo Locurcio
159581739a
Document theming a SpinBox's background
This closes #46248.
2021-02-21 19:32:11 +01:00
Marcel Admiraal
92e0a84a4c Add missing semicolons to webxr.eterns.js 2021-02-21 16:10:26 +00:00
Marcel Admiraal
548edfc4fe Remove unused variables from full-size.html 2021-02-21 16:02:15 +00:00
Rémi Verschelde
c97437a8b3
Merge pull request #46277 from angad-k/PathFollow2D-unit-test
PathFollow2D unit test
2021-02-21 16:39:54 +01:00
Angad Kambli
eecfe4c981 set up PathFollow2D unit test 2021-02-21 19:47:49 +05:30
Rémi Verschelde
ee093a14ef
Merge pull request #46286 from kleonc/label_set_lines_skipped
Label::set_lines_skipped Fail if passed a negative value
2021-02-21 15:08:19 +01:00
Rémi Verschelde
23f2f51924
Merge pull request #43731 from Calinou/test-add-resource
Add a test suite for Resource
2021-02-21 14:43:58 +01:00
Rémi Verschelde
5bf741509d
Merge pull request #46284 from kleonc/line2d_set_point_position
Line2D::set_point_position Fail if passed index is out of bounds
2021-02-21 14:42:26 +01:00
Rémi Verschelde
6fed9eb287
Merge pull request #46279 from hilfazer/prevent_select_noneditable_nodes_in_editors
Prevent selecting hidden nodes in 3D and Canvas Item editors
2021-02-21 14:39:34 +01:00
kleonc
d7bb7cad47 Label::set_lines_skipped Fail if passed a negative value 2021-02-21 14:23:57 +01:00
kleonc
df49fdd189 Line2D::set_point_position Fail if passed index is out of bounds 2021-02-21 13:50:11 +01:00
Rémi Verschelde
ff8a1fdc19
Merge pull request #46244 from Calinou/editorconfig-yaml-spaces
Use space indentation for all YAML files in `.editorconfig`
2021-02-21 12:38:28 +01:00
Rémi Verschelde
80a9408f1f
Merge pull request #46268 from Calinou/doc-button-touchscreenbutton
Document that Button doesn't interpret touch input (= no multitouch)
2021-02-21 12:37:32 +01:00
Rémi Verschelde
b87f448785
Merge pull request #46275 from Chaosus/shader_fix_struct_crash
Prevents shader crash if two struct with the same name are declared
2021-02-21 12:02:56 +01:00
hilfazer
442e550114 Prevent selecting hidden nodes in 3D and Canvas Item editors 2021-02-21 11:58:31 +01:00
Yuri Roubinsky
571f4396ea Prevents shader crash if two struct with the same name are declared 2021-02-21 13:47:09 +03:00
Rémi Verschelde
3bb628d8fe
Merge pull request #46272 from Chaosus/shader_fix_struct_crash
Prevents shader crash if passing invalid struct to the return statement
2021-02-21 09:43:51 +01:00
Rémi Verschelde
f6efa78173
Merge pull request #38565 from nekomatata/export-default-values
Fixed export var default value in PackedScene when script is not loaded in editor
2021-02-21 08:53:58 +01:00
Yuri Roubinsky
f91e7e3ba4 Prevents shader crash if passing invalid struct to the return statement 2021-02-21 07:55:40 +03:00
Hugo Locurcio
f6087d3f2b
Document that Button doesn't interpret touch input (= no multitouch)
TouchScreenButton should be used for gameplay actions instead.
2021-02-21 00:30:21 +01:00
Danil Alexeev
c6435e1d47 Fix "editor/editor_help" shortcut (again) 2021-02-21 00:15:26 +03:00
Hugo Locurcio
efd122a99a
Add a test suite for Resource 2021-02-20 19:47:20 +01:00
Hein-Pieter van Braam
d4d7535524
Merge pull request #46256 from hpvb/dri-prime-amd-master
Add 'AMD' GPU vendor name to PRIME detector
2021-02-20 17:18:46 +01:00
Rémi Verschelde
29d5976d92
Merge pull request #46255 from hpvb/fix-clang-atomic
Use -latomic when linking whe using clang on Linux
2021-02-20 16:59:28 +01:00
Hein-Pieter van Braam-Stewart
e6a5899646 Add 'AMD' GPU vendor name to PRIME detector
Apparently some recent Mesa version also changed AMD's vendor string. In
addition I found a small uninitialized variable that's corrected now.
2021-02-20 16:49:06 +01:00
Hein-Pieter van Braam-Stewart
c9b3a00a63 Use -latomic when linking whe using clang on Linux
According to the LLVM documentation when using GNU's libstdc++ clang
will not automatically link with -latomic. This is necessary since we
merged c++11 atomics support.

This fixes linking using Clang on Linux
2021-02-20 16:40:55 +01:00
Andy Maloney
d397c32169 [docs] Clarification on theme's get_stylebox
Remove reference to "icon" (must have been a copy-paste error) & clarify where to find out what names & node_types are valid.
2021-02-20 10:10:28 -05:00
Rémi Verschelde
ed8333f6bc
Merge pull request #45158 from aaronfranke/cs-packedarray
Add C# array features from core PackedArrays
2021-02-20 09:42:30 +01:00
Rémi Verschelde
67916b6751
Merge pull request #46237 from hpvb/dylib_old_inttypes
An update to the dylibloader for older inttypes
2021-02-20 08:54:33 +01:00
Rémi Verschelde
bb13ec98f3
Merge pull request #34923 from Calinou/debug-collision-shapes-draw-outline
Draw an outline for 2D debug collision shapes
2021-02-20 08:45:28 +01:00
Hugo Locurcio
076b17ff6c
Use space indentation for all YAML files in .editorconfig
YAML only accepts spaces for indentation, not tabs.
2021-02-20 02:53:10 +01:00
Hein-Pieter van Braam-Stewart
5233d78f49 An update to the dylibloader for older inttypes
This #define's older inttypes to their newer versions and #includes
<stdint.h> in the generated files. This will help with older
glibc/compiler versions using headers generated on newer systems.

This closes #46223
2021-02-20 01:24:30 +01:00
Hugo Locurcio
23a1f616fd
Draw an outline for 2D debug collision shapes
This makes them easier to distinguish, especially when used
in a TileMap.

The default color's opacity has been slightly decreased to account
for the new outline.
2021-02-20 00:00:03 +01:00
Rémi Verschelde
dc1ae06557
Merge pull request #44864 from Calinou/editor-array-dictionary-increase-page-size
Increase the page size for array/dictionary editors to 20
2021-02-19 19:53:35 +01:00
Rémi Verschelde
7447af265b
Merge pull request #42427 from KoBeWi/achtung_size
Warn when setting Control size inside ready()
2021-02-19 19:13:09 +01:00
Rémi Verschelde
cfa09bacc9
Merge pull request #45990 from charles-l/master
improve error message when travel() is called on an AnimationNodeStateMachine when the state machine is not playing
2021-02-19 19:10:11 +01:00
Rémi Verschelde
5be6610db8
Merge pull request #46227 from Calinou/test-add-array
Add a test suite for Array
2021-02-19 19:08:52 +01:00
Tomasz Chabora
84da090a69 Warn when setting Control size inside ready() 2021-02-19 18:32:24 +01:00
Kongfa Waroros
27749711b2 Keep Hue value when Saturation or Value is zero 2021-02-19 23:53:00 +07:00
Sarav Noor Singh
dd9c8d85fa
Add a test suite for Array 2021-02-19 17:40:57 +01:00