Fredia Huya-Kouadio
79c1cf600b
Add overridable init method for the Godot fragment instance.
2020-09-18 16:59:09 -07:00
Leleat
adb205a150
add description for ScriptEditor.open_script_create_dialog()
2020-09-19 00:03:24 +02:00
Rémi Verschelde
7fff7b863c
Merge pull request #42174 from akien-mga/zstd-1.4.5
...
zstd: Update to upstream version 1.4.5
2020-09-18 22:02:35 +02:00
Rémi Verschelde
914591c9ae
zstd: Update to upstream version 1.4.5
2020-09-18 21:47:12 +02:00
PouleyKetchoupp
54eaaf456f
Fix popup menu item selected when opening the menu
...
In order to allow selecting items by either holding left click, or click
to open and click again to select, mouse button release was invalidated
based on the amount of mouse motion.
This was causing issues in some scenarios where an item could be
selected while opening the menu if the mouse moved enough between button
press and release.
This case could happen in the language selection of the project manager,
especially on linux, because of the order and timing of the mouse
events on x11.
This change invalidates mouse release based on a timing condition rather
than moved distance to handle any case from the display server properly.
2020-09-18 20:45:59 +02:00
Bartłomiej T. Listwon
b0b5cd07ec
Fix custom modules in Visual Studio
2020-09-18 19:33:03 +02:00
Fabio Alessandrelli
27ab97501b
[HTML5] Add override keyword, cleanup methods.
2020-09-18 18:48:59 +02:00
Fabio Alessandrelli
179e6fabb4
Fix RasterizerDummy, override, cleanup.
...
Add override keyword to RasterizerDummy methods.
Plus cleanup unused methods, remove virtual keyword.
2020-09-18 18:43:15 +02:00
Rémi Verschelde
a332e2f5b2
Merge pull request #41861 from Razoric480/fix-vscript-value-by-type
...
Add a function to sanitize variant values in visual script
2020-09-18 17:36:01 +02:00
Francois Belair
a598c77058
Add a VScript func to sanitize variant values
...
Fixes #27611
2020-09-18 11:19:53 -04:00
Rémi Verschelde
cff43e5326
Merge pull request #41930 from RandomShaper/fix_gdscript_leaks
...
Fix leaks in GDScript
2020-09-18 16:18:57 +02:00
Rémi Verschelde
cb244f0b50
Merge pull request #42165 from akien-mga/codespell
...
Fix typos with codespell
2020-09-18 14:01:51 +02:00
Rémi Verschelde
3e78963bb9
Fix typos with codespell
...
Using codespell 1.17.1.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2020-09-18 13:44:25 +02:00
Rémi Verschelde
b1b56fd045
Merge pull request #42157 from akien-mga/math-RANDOM_MAX-netbsd
...
Linux/BSD: Fix support for NetBSD
2020-09-18 12:35:07 +02:00
Rémi Verschelde
413ff7938d
X11: Try to load libXrandr.so.3 if libXrandr.so.2 isn't found
...
All Linux distros, and FreeBSD and OpenBSD seem to have libXrandr.so.2,
but for some reason recent NetBSD versions seem to have libXrandr.so.3 now.
2020-09-18 11:55:12 +02:00
Rémi Verschelde
01185acecb
NetBSD: Implement OS_Unix::get_executable_path()
...
Same implementation as OpenBSD seems to work fine.
2020-09-18 11:54:18 +02:00
Rémi Verschelde
5f4d64f4f3
Linux/BSD: Fix support for NetBSD
...
Add __NetBSD__ to `platform_config.h` so that it can find `alloca`
and use the proper `pthread_setname_np` format.
Rename RANDOM_MAX to avoid conflict with NetBSD stdlib.
Fixes #42145 .
2020-09-18 10:27:55 +02:00
Dashcell
5355169d3c
Fixes the resize of tile shapes when a vertex is outside of the tilesheet. Fix #34970
2020-09-17 21:14:46 -03:00
Rémi Verschelde
2d9b409103
Merge pull request #41528 from keegano/physics-fix-wrap-angle
...
Wrap angles to (-pi, pi) in momentum calculation.
2020-09-17 16:32:53 +02:00
Rémi Verschelde
377c3bb256
Merge pull request #39944 from bruvzg/click-through-4
...
Add mouse event pass-through support for window.
2020-09-17 12:27:06 +02:00
bruvzg
6a14c72b12
Add window click-through support.
2020-09-17 12:36:18 +03:00
Rémi Verschelde
fdfcce1c03
Merge pull request #42120 from raulsntos/fix-expr-match
...
Fix C# Match stackoverflow
2020-09-17 08:43:48 +02:00
clayjohn
40159244cd
expose local RenderingDevice creation to RenderingServer
2020-09-16 21:11:39 -07:00
booer
3d69385655
Fix changing icons' colors when switch dark and light theme
2020-09-17 09:33:19 +07:00
Rémi Verschelde
6ac7b90097
Merge pull request #42013 from Xrayez/fix-list-swap
...
Fix `List` swap behavior on front, back and adjacent elements
2020-09-16 17:39:43 +02:00
Rémi Verschelde
1777211271
Merge pull request #42114 from Calinou/doc-mesh-aabb-methods
...
Cross-reference AABB getter methods in the documentation
2020-09-16 16:21:05 +02:00
Rémi Verschelde
92d1964d1a
Donors: Add Gamblify, remove Interblock from splash screen
2020-09-16 16:10:35 +02:00
Hugo Locurcio
9712f8fd2d
Cross-reference AABB getter methods in the documentation
...
This also clarifies that `get_aabb()` returns the AABB in local space.
See https://github.com/godotengine/godot/issues/42095 .
2020-09-16 15:53:10 +02:00
Raul Santos
d425cf6fed
Fix ExprMatch stackoverflow
2020-09-16 15:44:52 +02:00
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
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
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
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
Pawel Lampe
b2d8c5140e
Add test cases for numeric literals with underscores
2020-09-14 20:21:07 +02:00