Commit Graph

33252 Commits

Author SHA1 Message Date
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
Rémi Verschelde 3c65550816
Merge pull request #39606 from aaronfranke/pause
Update documentation for the new ProcessMode
2021-02-19 16:53:36 +01:00
Aaron Franke 78de8a762b
Update documentation for the new ProcessMode 2021-02-19 10:22:09 -05:00
Rémi Verschelde 6d0c502ee4
Merge pull request #46086 from ellenhp/new_resampling
Implement a new resampling algorithm in AudioStreamPlaybackResampled
2021-02-19 16:17:04 +01:00
Rémi Verschelde 4c4931eeae
Merge pull request #46196 from nmrkr/visual-shader-invalid-forced-connect
Fix crash when calling connect_nodes_forced with invalid params
2021-02-19 15:49:56 +01:00
Rémi Verschelde 480c5f28ab
Merge pull request #46200 from Faless/js/4.x_canvas_size_pr
[HTML5] Easier HTML templates, better canvas size handling
2021-02-19 15:16:23 +01:00
Rémi Verschelde efddb8a0cb
Merge pull request #46194 from Calinou/os-delay-no-negative
Don't allow negative values for `OS.delay_usec()`/`OS.delay_msec()`
2021-02-19 15:14:36 +01:00
Rémi Verschelde bc395c2549
Merge pull request #46221 from akien-mga/doc-sync-classref
doc: Sync classref with current source
2021-02-19 15:06:50 +01:00
Rémi Verschelde a59305ff08
Merge pull request #46222 from bruvzg/make_ft_optional
Make FreeType optional for export templates.
2021-02-19 15:01:53 +01:00
Rémi Verschelde 0d1d719178 doc: Sync classref with current source
And fix various bogus bindings following previous PRs.
2021-02-19 14:39:14 +01:00
bruvzg 2d66f364d9
Make FreeType optional for export templates. 2021-02-19 15:01:46 +02:00
Rémi Verschelde aaaaaf5bb6
Merge pull request #46219 from pycbouh/doc-editor-plugin-build
Add documentation for EditorPlugin's build method
2021-02-19 13:59:00 +01:00
Rémi Verschelde 04cb7e638c
Merge pull request #46191 from reduz/refactor-process-mode
Refactor Process Mode
2021-02-19 13:46:50 +01:00
Rémi Verschelde b84f65f13c
Merge pull request #44737 from KoBeWi/touch_shape_screen_centered_button
Fix shape_centered property in TouchScreenButton
2021-02-19 13:45:23 +01:00
Yuri Sizov 724ed88215 Add documentation for EditorPlugin's build method 2021-02-19 15:42:41 +03:00
Rémi Verschelde 13303dd56d
Merge pull request #46216 from Chaosus/fix_scenetree_timeout
Fix connecting signal to `SceneTreeEditor::update_timer`
2021-02-19 13:39:50 +01:00
Yuri Roubinsky a82d231e06 Fix `SceneTreeEditor::update_timer` - timeout signal 2021-02-19 14:58:18 +03:00
Rémi Verschelde b4aba47969
Merge pull request #46197 from RandomShaper/volatile_robustness
Improve robustness of atomics
2021-02-19 12:05:52 +01:00
Rémi Verschelde 61e26d4431
Merge pull request #44181 from EricEzaM/PR/INP5-new-input-editor
New Input Map Editor and Editor Settings Shortcut Editor
2021-02-19 11:25:58 +01:00
Rémi Verschelde c8c3bcd32f
Merge pull request #46202 from ellenhp/fix_mix_before_start
Always call start() on audio stream before mixing
2021-02-19 11:24:57 +01:00