Commit Graph

34665 Commits

Author SHA1 Message Date
Rémi Verschelde
98071ec136
Merge pull request #48887 from aaronfranke/round
Use global scope round method for rounding
2021-05-20 23:03:38 +02:00
Rémi Verschelde
78d85de13b
Merge pull request #48805 from radishes/noise-image-offset
Add support for generating noise images with an offset
2021-05-20 21:00:38 +02:00
Rémi Verschelde
28c7e28403
Merge pull request #48895 from JFonS/fix_viewport_rotation_control
Fix swapped front/rear directions in viewport rotation control.
2021-05-20 20:54:40 +02:00
Rémi Verschelde
557df29fc9
Merge pull request #48542 from Calinou/xdg-base-dirs-absolute-only
Only allow absolute paths in XDG environment variables
2021-05-20 20:53:44 +02:00
Hugo Locurcio
011a99316a
Only allow absolute paths in XDG environment variables
The XDG Base Directory specification does not allow using relative paths
(which broke things in Godot anyway). If a relative path is detected,
it should be ignored.
2021-05-20 18:37:28 +02:00
Casey Foote
97c8d9f348 Add support for generating noise images with an offset. 2021-05-20 08:20:23 -07:00
Rémi Verschelde
aa5552278d
Merge pull request #48719 from Faless/js/4.x_interfaces
[HTML5] Implement Godot <-> JavaScript interface.
2021-05-20 17:13:02 +02:00
jfons
e70e33ddcf Fix swapped front/rear directions in viewport rotation control. 2021-05-20 16:28:38 +02:00
Rémi Verschelde
f2d55f3c0f
Merge pull request #48863 from Ev1lbl0w/bugfix-zip_import
Fix zip_root not being defined when importing by drag&drop
2021-05-20 14:34:04 +02:00
Fabio Alessandrelli
9811035ebf [HTML5] Implement Godot <-> JavaScript interface. 2021-05-20 14:33:18 +02:00
Rémi Verschelde
a6a75e2c09
Merge pull request #48812 from groud/tilemap_scenes_painting
Implement scenes tiles in TileMaps
2021-05-20 14:32:40 +02:00
Rémi Verschelde
342f3efc7e
Merge pull request #48882 from aaronfranke/approx-use-double
Make is_equal_approx have explicit float and double versions
2021-05-20 14:17:58 +02:00
Rémi Verschelde
db4cf63482
Merge pull request #48860 from JohnM666/fix-basis-variant-initialization
Fix RigidBody3D.get_inverse_inertia_tensor() crash
2021-05-20 14:05:29 +02:00
Aaron Franke
b01aa69c80
Use global scope round method for rounding 2021-05-20 07:29:35 -04:00
Rémi Verschelde
f46a4841e7
Merge pull request #48880 from akien-mga/codespell-2.0.0
Fix typos with codespell
2021-05-20 13:26:50 +02:00
Gilles Roudière
d8bb53cd21 Implement scenes tiles in TileMaps 2021-05-20 13:12:03 +02:00
Rémi Verschelde
4219a4cb6f
Fix typos with codespell
Using codespell 2.0.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
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
```
2021-05-20 12:38:56 +02:00
Aaron Franke
b5b6d3a8ec
Make is_equal_approx have explicit float and double versions 2021-05-20 06:18:11 -04:00
Rémi Verschelde
42b6602f1d
Merge pull request #48879 from Faless/doc/4.x_no_unix_socks
[Doc] Remove reference to UNIX sockets in StreamPeer.
2021-05-20 12:13:41 +02:00
Fabio Alessandrelli
e858f7c2ea [Doc] Remove reference to UNIX sockets in StreamPeer.
That class can be used as a base to implement them, but there is no
actual implementation for it in Godot.
2021-05-20 11:25:47 +02:00
JohnM666
b19544e91d Fix #46282 Executing RigidBody3D.get_inverse_inertia_tensor() crashes Godot 2021-05-20 10:46:24 +03:00
Rémi Verschelde
c0de820d40
Merge pull request #48872 from Chaosus/editor_fix_script_list_theme
Updates script list colors after theme is changed
2021-05-20 09:17:58 +02:00
Rémi Verschelde
7f6ee00b4e
Merge pull request #48855 from Chaosus/shader_array_length_in_structs
Implements length() shader function for arrays in structs
2021-05-20 09:04:50 +02:00
Rémi Verschelde
ba7448f84e
Merge pull request #48867 from kleonc/node2d-z_index-docs-master
Document valid range of Node2D.z_index
2021-05-20 09:00:34 +02:00
Yuri Roubinsky
f100fb9f10 Updates script list colors after theme is changed 2021-05-20 09:02:59 +03:00
kleonc
99173fb0d7 Document valid range of Node2D.z_index 2021-05-20 01:22:13 +02:00
Ev1lbl0w
056deefa55
Fix zip_root not being defined when importing by drag&drop 2021-05-19 22:43:54 +01:00
Rémi Verschelde
1450a72bfa
Merge pull request #44201 from thebestnom/android-cursor-icons
Android: Add support for cursor icons
2021-05-19 21:41:17 +02:00
thebestnom
f5b5e00a01 Android: Add support for cursor icons 2021-05-19 22:01:51 +03:00
Yuri Roubinsky
6135744786 Implements length() shader function for arrays in structs 2021-05-19 21:50:11 +03:00
Rémi Verschelde
169268ae20
Merge pull request #48657 from Calinou/test-add-gdscript
Add a unit test suite for GDScript
2021-05-19 20:49:03 +02:00
Rémi Verschelde
896d84bd15
Merge pull request #48827 from Rhathe/set_iterations_master
Enable setting of collision iterations in PhysicsServer2D
2021-05-19 19:47:59 +02:00
Rémi Verschelde
9004943559
Merge pull request #48851 from akien-mga/android-remove-fno-integrated-as
Android: Remove `-fno-integrated-as`, it can break arm64v8 build
2021-05-19 19:42:31 +02:00
Rémi Verschelde
6cc6930ee9
Merge pull request #48823 from timothyqiu/bone-id
Fix ragdoll simulation when parent was readded to scene
2021-05-19 19:35:57 +02:00
Rémi Verschelde
d5c469acfe
Merge pull request #48849 from madmiraal/fix-quat-includes
Fix `Quat` includes
2021-05-19 19:28:17 +02:00
Rémi Verschelde
928fb7ae0f
Merge pull request #48821 from Calinou/test-add-vector
Add a test suite for Vector
2021-05-19 19:23:44 +02:00
Rémi Verschelde
23f7c75126
Android: Remove -fno-integrated-as, it can break arm64v8 build
We found that this flag causes this error on PR #48812 which does not add any
fancy inline assembly:
```
/tmp/tile_set-ce236a.s: Assembler messages:
/tmp/tile_set-ce236a.s:34676: Error: selected processor does not support `bfc x0,#32,#32'
clang++: error: assembler command failed with exit code 1 (use -v to see invocation)
```

That flag is mentioned in various errors related to assembler failures on
arm64v8 with Clang from the Android NDK.

It was added in Godot in #6958 when migrating from GCC to Clang, and is indeed
referenced in the NDK's Clang migration guide:
https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md

> Especially for ARM and ARM64, Clang is much stricter about assembler rules
> than GCC/GAS. Use `-fno-integrated-as` if Clang reports errors in inline
> assembly or assembly files that you don't wish to modernize.

We don't get those errors nowadays so it seems the flag is no longer needed.
2021-05-19 18:55:43 +02:00
Rhathe
88b1802132 Enable setting of collision iterations in PhysicsServer2D
This allows fine-tuning of collision iterations for more
accurate collision physics with a performance cost.
2021-05-19 10:54:10 -04:00
Hugo Locurcio
114d556a42
Add a test suite for Vector
This test suite is based on the LocalVector test suite with significant
changes made.
2021-05-19 16:37:39 +02:00
Marcel Admiraal
0846943ad5 Fix Quat includes 2021-05-19 15:09:21 +01:00
Rémi Verschelde
f1f5b92b8e
Merge pull request #48818 from Calinou/fix-script-editor-save-crash
Fix crash when trying to save with no scenes and scripts open
2021-05-19 15:24:19 +02:00
Rémi Verschelde
8348332f49
Merge pull request #48839 from akien-mga/ci-android-ndk-21.4.7075529
CI: Install Android NDK 21.4.7075529
2021-05-19 15:20:32 +02:00
Rémi Verschelde
7eaf4d445d
CI: Install Android NDK 21.4.7075529
This is the version mandated by Godot's gradle setup anyway so it would get
installed when running gradlew. Now we pre-install the correct version.
2021-05-19 15:03:56 +02:00
Rémi Verschelde
365ab88894
Merge pull request #48836 from Chaosus/color_autocompletion_fix
Show colored rects for autocompletion of Color constants in functions
2021-05-19 14:22:47 +02:00
Yuri Roubinsky
7b261d1cb7 Show colored rects for autocompletion of Color constants in functions 2021-05-19 14:40:03 +03:00
Rémi Verschelde
26f0a86482
Merge pull request #48833 from Pineapple/remove-pywin32-from-github-workflow
pywin32 is no longer necessary for SCons install
2021-05-19 13:12:00 +02:00
Rémi Verschelde
804dd7bb46
Merge pull request #48831 from Faless/js/4.x_wasm_main_undef
[HTML5] Fix GDNative compilation with emcc 2.0.19+
2021-05-19 13:07:17 +02:00
Fabio Alessandrelli
14c057eab6 [HTML5] Fix GDNative compilation with emcc 2.0.19+
Add `WARN_ON_UNDEFINED_SYMBOLS=0` for the main module (which defines
`godot_js_main` as extern coming from the "side" module, i.e. the main
Godot binary).
2021-05-19 11:51:32 +02:00
Rémi Verschelde
d0aaf4a1fd
Merge pull request #48814 from Calinou/viewport-use-nonzero-default-size
Use a non-zero default size for SubViewports
2021-05-19 10:12:42 +02:00
Bartłomiej T. Listwon
b6f16671ee pywin32 is no longer necessary for SCons install
https://github.com/SCons/scons/releases/tag/4.1.0
2021-05-19 08:49:45 +02:00