Commit Graph

28394 Commits

Author SHA1 Message Date
Rémi Verschelde c404fe5848
Merge pull request #38515 from Calinou/cli-scene-allow-res-tres
Allow `.res` and `.tres` extensions in the scene CLI positional argument
2020-05-20 11:46:27 +02:00
Rémi Verschelde aec07538f4
Merge pull request #38309 from SkyLucilfer/AndroidLineEdit
Fix Android LineEdit editing bugs
2020-05-20 11:45:59 +02:00
Rémi Verschelde a325a777a6
Merge pull request #38834 from YeldhamDev/change_type_keep_meta
Keep "lock" metadata when changing a Node's type, if applicable
2020-05-20 11:42:06 +02:00
bruvzg d0b5174b6a
[Windows] Add tablet driver selection. 2020-05-20 09:37:32 +03:00
Paul Joannon b7a6946790 check the params section exist before erasing it in import_dock
related #38864
2020-05-20 01:04:21 +02:00
Rémi Verschelde cba1f492cc
Merge pull request #38863 from neikeq/csharp-no-false-error-objtype-reload
Mono/C#: Remove script load error about not a Godot.Object
2020-05-19 20:48:59 +02:00
Rémi Verschelde 0942ddfa2b
Merge pull request #38861 from RandomShaper/fix_gdsfs_eager_stack_clear
Fix too eager GDScriptFunctionState stack cleanup
2020-05-19 20:30:42 +02:00
Ignacio Etcheverry 38cd2152e6 Mono/C#: Remove script load error about not a Godot.Object
Any C# file can be loaded as script and at load
time we don't yet know if it's actually meant to
be used as a script. As such, such an check can
result in a lot of false errors.

If the file is really meant to be used as a
script, an error would be printed later when
attempting to instantiate it any way.
2020-05-19 17:51:56 +02:00
Rémi Verschelde c2151e1813
Merge pull request #38857 from akien-mga/style-clang-format-unnecessary-semicolons
Style: Remove unnecessary semicolons from `core`
2020-05-19 17:27:55 +02:00
Pedro J. Estébanez 1f0548efd4 Fix too eager GDScriptFunctionState stack cleanup 2020-05-19 16:41:14 +02:00
Rémi Verschelde 004ca80f01
Merge pull request #38856 from bruvzg/win_os_exec_quotes
[Windows] Add quotes only to the command line arguments with special characters.
2020-05-19 16:16:52 +02:00
Rémi Verschelde 85220fec01 Style: Remove unnecessary semicolons from `core`
Semicolons are not necessary after function definitions or control flow
blocks, and having some code use them makes things inconsistent (and
occasionally can mess up `clang-format`'s formatting).

Removing them is tedious work though, I had to do this manually (regex
+ manual review) as I couldn't find a tool for that. All other code
folders would need to get the same treatment.
2020-05-19 15:57:56 +02:00
Michael Alexsander d015e4d6fc Keep "lock" metadata when changing a Node's type, if applicable 2020-05-19 10:42:15 -03:00
bruvzg cac399a829
[Windows] Add quotes only to the command line arguments with special characters. 2020-05-19 16:34:15 +03:00
Rémi Verschelde 9b3d43cb97
Merge pull request #38852 from AndreaCatania/fixed_axis_lock_kinematic
Fixed kinematic body axis lock
2020-05-19 14:35:01 +02:00
Andrea Catania 7c2794b35c Fixed kinematic body axis lock 2020-05-19 13:37:54 +02:00
Rémi Verschelde dee8f8db74
Merge pull request #38850 from akien-mga/style-clang-format-unnecessary-semicolons
Style: Fix unnecessary semicolons that confused clang-format
2020-05-19 11:57:02 +02:00
Rémi Verschelde ca3192d18a Style: Fix unnecessary semicolons that confused clang-format 2020-05-19 11:24:58 +02:00
Rémi Verschelde 74b5d6839a
Merge pull request #33447 from bruvzg/macos_zip_sign
macOS add signing of DMG and ZIPed export
2020-05-19 10:30:26 +02:00
Rémi Verschelde 36ba9fabde
Merge pull request #38567 from AndreaCatania/AndreaCatania-patch-3
Removed const from OAHashMap iterator value
2020-05-19 10:26:05 +02:00
Rémi Verschelde 570b7e79b0
Merge pull request #38843 from m4gr3d/update_oculus_hand_tracking_permission
Update the permission string for Oculus hand tracking
2020-05-19 07:49:07 +02:00
Fredia Huya-Kouadio 6e2988f26a Update the permission string for the Oculus hand tracking to match the latest api update 2020-05-18 15:28:18 -07:00
Rémi Verschelde 38250ef54e
Merge pull request #38826 from bruvzg/gdnative_core_types
Add new (and rename changed) core types to GDNative API.
2020-05-18 16:39:40 +02:00
Rémi Verschelde 5ee340ab4c
Merge pull request #38711 from clayjohn/force-float
Force using floats in cubemap coefficient
2020-05-18 16:38:48 +02:00
Rémi Verschelde 56343e13b0
Merge pull request #38723 from neikeq/initial-classdb-test
Added tests for ClassDB
2020-05-18 16:34:36 +02:00
Rémi Verschelde 8896425ee4
Merge pull request #38791 from clayjohn/physical-sky-update
Add night sky to PhysicalSkyMaterial
2020-05-18 16:33:50 +02:00
Rémi Verschelde 9844cd45e3
Merge pull request #38820 from ericrybick/master
Fix certain characters being recognized as special keys on Windows when using the us international layout
2020-05-18 16:33:18 +02:00
Rémi Verschelde d3d118baaa
Merge pull request #38831 from RandomShaper/remove_jpgd_patch
Remove no longer needed patch to jpgd.cpp
2020-05-18 15:15:02 +02:00
Rémi Verschelde 8ad648f5bf
Merge pull request #38830 from akien-mga/scons-compilationdb-check
SCons: Improve registration of compilation_db tool, check version
2020-05-18 15:04:41 +02:00
bruvzg 74eecd1d6b
GDNative add new core types. 2020-05-18 15:52:20 +03:00
Eric Rybicki e460456e60
Fix certain characters being recognized as special keys in Windows when using the us international layout 2020-05-18 14:47:54 +02:00
Pedro J. Estébanez abe03ff1f0 Remove no longer needed patches to jpgd.cpp 2020-05-18 14:38:28 +02:00
Rémi Verschelde d0cc9a749f
Merge pull request #38827 from RandomShaper/fix_oa_hash_map
Fix leaks and crashes in OAHashMap
2020-05-18 14:37:40 +02:00
Rémi Verschelde 22c718ab17 SCons: Improve registration of compilation_db tool, check version
There's a builtin `toolpath` option we can use for that, so no need to hack
around a custom `scons_site` path.

The script requires SCons 3.1.1 or later, so we enable it conditionally.

Follow-up to #32848.
2020-05-18 14:11:19 +02:00
Pedro J. Estébanez b720a01849 Fix leaks and crashes in OAHashMap
This changes the way the lifespan of items is managed to be consistent.

Bonus: Simplify cases of destroy-then-emplace.
2020-05-18 14:02:52 +02:00
Rémi Verschelde 37efaad8fb
Merge pull request #38816 from Faless/js/fix_audio_driver_4.0
AudioDriverJavaScript buffer size calculation.
2020-05-18 13:43:24 +02:00
Rémi Verschelde b5d0f2a884
Merge pull request #38825 from akien-mga/glsl-clang-format-fixes
GLSL: Change shader type specifier from [vertex] to #[vertex]
2020-05-18 13:38:30 +02:00
Fabio Alessandrelli 90c7102b51 Move mix_rate, ouput_latency to AudioDriverManager
Each driver used to define the (same) project settings values
`audio/mix_rate` and `audio/output_latency`, but the setting names are
not driver specific.
Overriding is still possible via platform tags.
2020-05-18 13:02:06 +02:00
Fabio Alessandrelli 245c179bd3 AudioDriverJavaScript now compute buffer size.
Based on mix rate and expected latency.
2020-05-18 13:02:06 +02:00
Rémi Verschelde c74d65cec8 GLSL: Change shader type specifier from [vertex] to #[vertex]
The added `#` prevents clang-format from misinterpreting the meaning
of this statement and thus messing up the formatting of the next
lines up until the first `layout` statement.

Similarly, a semicolon is now enforced on `versions` defines to
prevent clang-format from messing up formatting and putting them
all on a single line. Note: In its current state the code will
ignore chained statements on a single line separated by a semicolon.

Also removed some extraneous lines missed in previous style changes
or added by mistake with said changes (e.g. after uniform definitions
that clang-format messes up somewhat too, but we live with it).
2020-05-18 10:58:14 +02:00
Rémi Verschelde 0187cdae9a
Merge pull request #38800 from YeldhamDev/icons_complete
Add more missing node icons
2020-05-18 10:02:02 +02:00
Rémi Verschelde cf9f7bc1c1
Merge pull request #38821 from Xrayez/custom-gitignore
Add `custom.py` to .gitignore
2020-05-18 10:01:07 +02:00
Andrii Doroshenko (Xrayez) a712e14038 Add `custom.py` to .gitignore
The default `custom.py` can be created at the root of the Godot
repository to initialize any SCons build options via file which are
specific to user.
2020-05-18 10:28:43 +03:00
Rémi Verschelde 840c8f1cff
Merge pull request #38811 from Calinou/popupmenu-default-allow-search
Allow searching with keyboard input by default in PopupMenu
2020-05-18 09:19:13 +02:00
Remi Rampin 55bad66447 Update description of Object.free() method
Clarify that variables pointing to an object don't become `null` when that object is freed, it just makes them invalid.

(cherry picked from commit ccf5703568)
2020-05-18 09:11:22 +02:00
Hugo Locurcio c9abc63108
Allow searching with keyboard input by default in PopupMenu
See discussion in https://github.com/godotengine/godot-proposals/issues/43.
2020-05-17 23:28:24 +02:00
Rémi Verschelde d4599fff68
Merge pull request #38804 from m4gr3d/android_plugin_config_master
Implementation of the Godot Android Plugin configuration file
2020-05-17 22:38:47 +02:00
Max Hilbrunner ea8d9c5288
Merge pull request #38795 from Calinou/doc-array-dictionary-reference
Document that Dictionary is always passed as reference
2020-05-17 20:30:42 +02:00
Fredia Huya-Kouadio 14e6696c8e Implementation of the Godot Android Plugin configuration file 2020-05-17 11:11:26 -07:00
Michael Alexsander 50585e2cfa Add more missing node icons 2020-05-17 12:51:49 -03:00