Commit Graph

30607 Commits

Author SHA1 Message Date
Rémi Verschelde 6f4384f206
Merge pull request #42098 from Faless/crypto/mbedtls_2.16.8_fix
Fix certificate generation with mbedtls 2.16.8 .
2020-09-15 19:26:26 +02:00
Fabio Alessandrelli 60687ce778 Fix certificate generation with mbedtls 2.16.8 .
When generating certificates with
`Crypto.generate_self_signed_certificate` we generate the PEM in a
buffer via `mbedtls_x509write_crt_pem`.

Since version 2.16.8, mbedtls adds spurious data at the end of the
buffer due to internal optimizations, this breaks our logic when we try
to immediately parse it and return a proper `X509Certificate` object.

This commit updates the code to find the actual PEM length to parse
using `strlen`, takes extra caution always adding the terminator to the
buffer, and slightly improve error messages.
2020-09-15 18:47:51 +02:00
Rémi Verschelde 7f0352b4d1
Merge pull request #42093 from Xrayez/virtual-to_string
Make `Object::to_string` virtual
2020-09-15 18:04:46 +02:00
Rémi Verschelde 7f24914b9e
Merge pull request #36374 from kuruk-mm/tilemap_filter_set_and_update
TileMap: Set texture_filter and texture_repeat to generated CanvasItems...
2020-09-15 17:15:09 +02:00
Andrii Doroshenko (Xrayez) cfead57d1d Make `Object::to_string` virtual
Allows to override printing via C++, not only via script.
2020-09-15 18:14:45 +03:00
JFonS 5cd9e04447 Improve rotation gizmo
Hide the back sides of the rotation gizmo circles and add a white
outline for better visualization of the rotation "sphere".
2020-09-15 17:12:53 +02:00
Rémi Verschelde 3f5f087af2
Merge pull request #42090 from Calinou/changelog-camera2d-offset-limit
Mention compatibility-breaking Camera2D offset change in the changelog
2020-09-15 16:36:39 +02:00
Hugo Locurcio dc1e79589a
Mention compatibility-breaking Camera2D offset change in the changelog
See https://github.com/godotengine/godot/issues/42088.
2020-09-15 15:56:36 +02:00
Francois Belair 9c273307d8 Make LSP ignore $/ messages
Fixes #38814
2020-09-15 09:49:26 -04:00
skyace65 75adefd4b6 Add documentation for shelf filters 2020-09-15 09:34:12 -04:00
Rémi Verschelde 4450764479
Merge pull request #42086 from akien-mga/makerst-newline-eof
makerst: Add missing newline at EOF
2020-09-15 15:18:50 +02:00
Rémi Verschelde dd1c30d807
Merge pull request #42082 from aterlamia/show-corrrect-connection-title
Show correct name of signal when editing an existing one
2020-09-15 15:05:04 +02:00
Rémi Verschelde 2b07126cd6
Merge pull request #42084 from Calinou/doc-projectsettings-cell-size-unit
Clarify that 2D cell sizes are defined in pixels
2020-09-15 15:02:10 +02:00
Hugo Locurcio f83249f224
Clarify that 2D cell sizes are defined in pixels
See https://github.com/godotengine/godot/issues/40577#issuecomment-662329021.
2020-09-15 14:06:42 +02:00
Melvin Louwerse eeb6c2e22c Show correct name of signal when editing an existing one
Use popup_dialog() instead of popup_centered() to show edit dialog/

With popup_centered it is not possible to change the displayed
signal name. When this is not set the previous shown name is show
for the current dialog.

This is no problem when creating a new conenction as popop_dialog
is used there and this would update the title.

Fixes #42074
2020-09-15 12:20:45 +02:00
Rémi Verschelde d435537f7e
makerst: Add missing newline at EOF 2020-09-15 10:47:35 +02:00
Rémi Verschelde 6f0fa8519f
Merge pull request #41776 from EricEzaM/PR/tooltip-bugfixes
Tooltip flickering and targeting fixes.
2020-09-15 10:24:17 +02:00
Yuri Roubinsky f137f14e1c Renames Type to OpType in VisualShaderNodeMultiplyAdd
To prevent possible conflicts with C# and other languages.
2020-09-15 11:06:18 +03:00
Eric M 07cb95bbda Tooltip flickering and targeting fixes. 2020-09-15 17:34:29 +10:00
Rémi Verschelde bc15704c42
Merge pull request #42065 from Calinou/editor-toggle-console-subsystem
Only display the Windows toggle console option if it can actually be used
2020-09-15 09:18:58 +02:00
Rémi Verschelde 3a8a0bc5d3
Merge pull request #42061 from madmiraal/fix-41743
Fix Bullet prioritised list of Areas a RigidBody is a member of element shift.
2020-09-15 09:13:15 +02:00
Hugo Locurcio 4df86f8b04
Only display the Windows toggle console option if it can actually be used 2020-09-14 21:52:04 +02:00
Rémi Verschelde ee36e08c26
Merge pull request #42064 from Scony/add-numeric-literals-test-cases
Add test cases for numeric literals with underscores
2020-09-14 21:07:00 +02:00
Rémi Verschelde 2b0e1dc87d
Merge pull request #42059 from dalexeev/docs_improvements
Several documentation improvements
2020-09-14 20:59:52 +02:00
Danil Alexeev fb6eb21afc Improvement for the Copy button in the Output Log
Now if no text is selected, pressing the Copy button copies the entire text.
2020-09-14 21:57:54 +03:00
Pawel Lampe b2d8c5140e Add test cases for numeric literals with underscores 2020-09-14 20:21:07 +02:00
Marcel Admiraal 7e73dd0b2e Fix RigidBodyBullet areasWhereIam element shift. 2020-09-14 18:43:21 +01:00
Danil Alexeev a4c5790350 Several documentation improvements 2020-09-14 20:02:19 +03:00
Rémi Verschelde c5f7a581f7
Merge pull request #42036 from Calinou/doc-object-metadata-remove
Document how to remove metadata from an Object
2020-09-14 14:22:15 +02:00
Hugo Locurcio cba4d73b71
Document how to remove metadata from an Object
This closes https://github.com/godotengine/godot-docs/issues/4010.
2020-09-14 14:01:13 +02:00
Rémi Verschelde 6ee1b78624
Merge pull request #42042 from tdaffin/log_fatal_mono_errors
Add mono log message to error for fatal errors
2020-09-14 12:05:57 +02:00
Rémi Verschelde 8818a93a3c
Merge pull request #41987 from skyace65/Audio1
Improve AudioEffectDistortion and AudioEffectFilter documentation
2020-09-14 09:23:04 +02:00
Rémi Verschelde 45f4d8fc92
Merge pull request #42038 from hoontee/_42027
Fix "Create Trimesh Collision Sibling" transform
2020-09-14 09:19:42 +02:00
Yuri Roubinsky 95314e3568
Merge pull request #42044 from Chaosus/vs_fix_regression2
Fix visual shader connection regression
2020-09-14 09:22:48 +03:00
Tom Daffin c15fb42d45 Add mono log message to error for fatal errors 2020-09-13 19:53:06 -06:00
hoontee 3cbd626328 Fix "Create Trimesh Collision Sibling" transform 2020-09-13 17:42:52 -05:00
Yuri Roubinsky 0fd9ad8801 Fix visual shader connection regression 2020-09-13 23:48:59 +03:00
Rémi Verschelde de465c41dc
Merge pull request #36407 from timothyqiu/maybe-copy-paste-error
Fixes crash when saving scene
2020-09-13 19:53:09 +02:00
Yuri Roubinsky d2b1326562
Merge pull request #42031 from Chaosus/vs_fix_ports
[VisualShader] Fixes default node's input port not hiding on connection
2020-09-13 20:41:05 +03:00
Yuri Roubinsky f726ef1cd7 [VisualShader] Fixes default node's input port not hiding on connection 2020-09-13 19:59:01 +03:00
Leleat 8cf9d09d61 creater user-dir, if non-existant and pressing 'Open Project Data Folder' 2020-09-13 14:51:29 +02:00
Haoyu Qiu 38147da819 Fixes crash when saving scene 2020-09-13 16:15:46 +08:00
Rémi Verschelde 43725691b9
Merge pull request #42012 from vnen/variant-fix-vectori-mult
Fix Vector{2,3}i casting on Variant multiplication with numbers
2020-09-13 08:13:34 +02:00
Rémi Verschelde 4331bea18c
Merge pull request #42000 from aaronfranke/cs-arr-concat
Add concatenation support and a new constructor to Godot.Collections.Array
2020-09-13 08:12:48 +02:00
Rémi Verschelde f5c6079404
Merge pull request #42019 from neikeq/issue-41909
C#: Fix csproj not synced on file move/removal from FS dock
2020-09-13 08:11:04 +02:00
Ignacio Etcheverry 1db0395950 C#: Fix csproj not synced on file move/removal from FS dock
When NormalizePath was called with an absolute
path (with drive letter) on Windows, it would
prepend a file path separator to the path, e.g.:
'\C:\Program Files\'.
Apparently this was still accepted as a valid
path by DotNetGlob and it stopped working when
we switched to MSBuildGlob.
2020-09-13 03:46:27 +02:00
Leleat 32e52217ff striped edges on node rename in SceneTreeDock 2020-09-13 00:32:24 +02:00
Aaron Franke a4dcd48d16
Add concatenation support and a new ctor to Godot.Collections.Array 2020-09-12 18:15:24 -04:00
Andrii Doroshenko (Xrayez) 4e6b5169b0 Add a test suite for `List`
Adds a number of test cases for `List::swap()`.
2020-09-13 00:14:51 +03:00
Andrii Doroshenko (Xrayez) ac69f092fc Fix `List` swap behavior on front, back and adjacent elements
- immediately return if A == B;
- first and last elements (front, back) are updated upon relinking;
- handles a special case of forward and backward adjacent elements.
2020-09-12 23:58:56 +03:00