Rémi Verschelde
31272d0956
Merge pull request #33921 from Faless/enet/no_relay
...
Add ENet option to disable server relaying.
2019-11-27 14:35:44 +01:00
Fabio Alessandrelli
7e592f9641
Add ENet option to disable server relaying.
...
It's useless when building fully authoritative servers, and prevents
various kinds of abuse.
2019-11-27 11:48:31 +01:00
Hugo Locurcio
4f14a1f59c
Remove type hint from the @GDScript class documentation
...
The current consensus in the Godot documentation is to avoid using
type hints unless they're relevant to the behavior explained.
2019-11-26 19:13:55 +01:00
Fabio Alessandrelli
391f6ff2c6
Fix memory leak in NetworkedMultiplayerENet.
...
Dynamically allocated ids of peers where not correctly freed when
calling close_connection and disconnect_peer (with now=true).
2019-11-26 16:00:55 +01:00
Zak Stam
5cfff77ca6
Added missing documentation for yield()
...
Added some missing documentation about yield() being able to wait for a function also. I cant believe something like that was missing from the docs, it would have saved me so much time (and others i assume).
2019-11-25 18:08:18 +02:00
Rémi Verschelde
636bc5c32f
Merge pull request #33828 from neikeq/貴様
...
Mono/C#: Prevent SCons from building API solutions in parallel
2019-11-23 11:24:48 +01:00
Ignacio Etcheverry
ebdd2bc474
Mono/C#: Prevent SCons from building API solutions in parallel
2019-11-22 23:42:24 +01:00
Rémi Verschelde
c41c24562d
Style: Add missing copyright headers
2019-11-22 08:37:09 +01:00
Rémi Verschelde
ab3bccdb78
Fix typos with codespell
...
Using codespell 1.16.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
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
```
2019-11-22 08:35:03 +01:00
Ignacio Roldán Etcheverry
63b321dbbb
Merge pull request #33791 from neikeq/issue-33761
...
C#: Fix PathWhich on Windows when name already has extension
2019-11-21 21:34:12 +01:00
Ignacio Etcheverry
f91416d9ac
C#: Fix PathWhich on Windows when name already has extension
...
Also make the Posix version of PathWhich check if the file has executable access.
2019-11-21 14:53:00 +01:00
Rémi Verschelde
719254ae0d
Merge pull request #33759 from bruvzg/arkit_dyn_load
...
[iOS] Link and load ARKit framework dynamically.
2019-11-20 21:17:43 +01:00
K. S. Ernest (iFire) Lee
5d70a95fe1
33714 Check if the image is null before use.
2019-11-20 11:22:35 -08:00
Rémi Verschelde
73323a2838
Merge pull request #33763 from neikeq/issue-33725
...
Fix C# export error dialog showing up when it should not
2019-11-20 13:23:20 +01:00
Ignacio Etcheverry
d79aeca599
Fix C# export error dialog showing up when it should not
2019-11-20 13:07:26 +01:00
bruvzg
a9fef1a774
[iOS] Link and load ARKit framework dynamically.
2019-11-20 11:18:01 +02:00
Rémi Verschelde
02913f53d3
pcre2: Use scons option to disable JIT on some platforms
...
Third-party platforms (e.g. console ports) need to be able to
disable JIT support in the regex module too, so it can't be
hardcoded in the module SCsub. This is cleaner this way anyway.
Fixes #19316 .
2019-11-20 08:54:52 +01:00
Ignacio Etcheverry
3f247ea507
Mono/C#: Bundle libmono-btls-shared.dll on Windows if it exists
2019-11-19 17:22:06 +01:00
Rémi Verschelde
8450658fa2
Merge pull request #33673 from YeldhamDev/script_templates_lines_style
...
Make the script templates' blank lines conform with the official style guide
2019-11-19 10:41:36 +01:00
Ignacio Etcheverry
008769aee9
C#: Throw NullReferenceException for null NodePath/RID params
2019-11-18 12:23:54 +01:00
Rémi Verschelde
46ae64cd60
Revert "Update opus to 1.3.1 and opusfile to 0.11"
...
This reverts commit e00426c512
.
The way we handle platform-specific intrinsics is not good, so the
current state will not compile on armv8. This commit also requires
SSE4.1 support, which is likely not a good idea for portable binaries.
We'll have to redo this with more caution after 3.2 is released, or
we might simply drop opus as we're only using it as dependency for
theora right now.
Fixes #33606 .
2019-11-18 09:56:48 +01:00
Michael Alexsander
7ecaff578b
Make the script templates' blank lines conform with the official style guide
2019-11-17 08:54:43 -03:00
Rémi Verschelde
3c83137771
Merge pull request #33662 from touilleMan/issue-30577
...
Add singleton_name field to autogenerated json api
2019-11-16 23:00:07 +01:00
Rémi Verschelde
e9f905dccc
Merge pull request #33637 from madmiraal/fix-c4334-warning
...
Fix Visual Studio throwing C4334 warning.
2019-11-16 22:55:09 +01:00
Rémi Verschelde
53bc47a4da
Merge pull request #33643 from Calinou/visual-script-multiply-sign
...
Use the Unicode "multiply" sign for the "A x B" visual script node
2019-11-16 22:54:41 +01:00
Rémi Verschelde
6cde380cee
Merge pull request #33603 from neikeq/ばか
...
Mono/C#: WebAssembly and initial AOT support
2019-11-16 22:44:13 +01:00
Emmanuel Leblond
03e1568aeb
Add singleton_name field to autogenerated json api
2019-11-16 20:29:54 +01:00
Hugo Locurcio
08b4671e03
Use the Unicode "multiply" sign for the "A x B" visual script node
2019-11-15 19:06:53 +01:00
Marcel Admiraal
8fa72a20f3
Fix Visual Studio throwing C4334 warning.
2019-11-15 14:11:12 +01:00
Ignacio Etcheverry
8cbe4a3db4
Make C# internal calls return structs as ref parameters
...
The Mono IL interpreter's WebAssembly to native trampolines don't support passing structs by value, so we need to do it this way.
Also now we pass and return long, ulong, float and double as ref parameters as well. This is due to missing trampolines for float and long types. This is likely a temporary workaround that will be reverted in the future. The correct solution would be to patch 'mono/mini/m2n-gen.cs' when building the Mono runtime for WASM in order to generate the trampolines we need.
2019-11-15 03:22:25 +01:00
Ignacio Etcheverry
2b67924a0b
Mono/C#: Initial exporter support for AOT compilation
2019-11-15 03:22:18 +01:00
lupoDharkael
9254961297
Parser: Check all the arguments of the ternary operator
2019-11-15 01:29:18 +01:00
Ignacio Etcheverry
de7c2ad21b
Mono/C#: WebAssembly support
2019-11-13 21:41:11 +01:00
Rémi Verschelde
30d4c923cb
Merge pull request #32966 from ffaristocrat/fix-hex-parsing
...
Fix base 16 hex literal parsing
2019-11-12 23:04:20 +01:00
Micheál Keane
4b9fd961d6
Fixes #32963 by correctly parsing bin/hex literals
2019-11-12 15:57:38 -05:00
Ignacio Roldán Etcheverry
953f37f49b
Merge pull request #33249 from JoshLee0915/MonoHeadlessServer
...
Added missing server platform checks to template dir and shared lib copy in mono_configure.py
2019-11-12 14:57:29 +01:00
Rémi Verschelde
ba4c808721
Merge pull request #33311 from SneakyFish5/update-opus
...
Update opus to 1.3.1 and opusfile to 0.11
2019-11-12 07:55:25 +01:00
Rémi Verschelde
51d1be5156
AudioStreamOGGVorbis: Expose loop and loop_offset as properties
...
Fixes #11231 .
2019-11-11 15:14:37 +01:00
Rémi Verschelde
6b1628f9fc
Merge pull request #33517 from madmiraal/fix-_MSG-macros
...
Send *_MSG macros' explanations directly to the _err_print_error().
2019-11-11 13:27:51 +01:00
Marcel Admiraal
83069a3c0f
Remove ERR_EXPLAIN macros and the scaffolding they needed.
2019-11-11 10:57:00 +01:00
Marcel Admiraal
d18b2e599d
Remove all uses of ERR_EXPLAIN macros.
2019-11-11 10:24:04 +01:00
Rémi Verschelde
2143f46df2
Merge pull request #33516 from qarmin/small_fixes
...
Memory leaks and crash fixes
2019-11-10 10:17:19 +01:00
Rafał Mikrut
7dda9309f9
Memory leak and crash fixes
2019-11-10 09:49:13 +01:00
unknown
e00426c512
Update opus to 1.3.1 and opusfile to 0.11
2019-11-09 13:06:56 -06:00
mashumafi
d7137a6b72
Add setting to exclude addons from script warnings
2019-11-07 23:01:22 -05:00
Rémi Verschelde
77816fea8b
Merge pull request #32477 from aaronfranke/equal-approx-separate
...
Make is_equal_approx separate and make == exact again
2019-11-07 14:54:15 +01:00
Rémi Verschelde
f0fc28f0fd
Merge pull request #33160 from aaronfranke/alphabetize-mathf
...
[Mono] Alphabetize Mathf
2019-11-07 13:37:33 +01:00
Rémi Verschelde
91518defa5
Merge pull request #33257 from aaronfranke/printraw
...
Document behavior of GDScript printraw
2019-11-07 13:21:09 +01:00
Rémi Verschelde
c4ecec1d33
Merge pull request #32853 from OsamaElHariri/visual_script_setter_props_fix
...
Set the properties of a Set node after add_node
2019-11-07 13:13:33 +01:00
RevoluPowered
5fb160c7c6
Updated assimp to 308db73 from https://github.com/assimp/assimp/
2019-11-05 20:38:26 +00:00
RevoluPowered
0bd877780f
FBX Importer Generation 3
...
Basic skin support
Various fixes
- Fixes bind mount id and mesh index
- Fixed duplicate nodes being created
- Prevented leak when instances being freed during re-import.
- Improved camera and light transform import
- skeleton handling and technical debt removal
- ASSIMP: bone nodes were unlinked from bones by this code
- bone_add working can distinguish between armatutes
- Updated transform to be the correct offset
- Added safety for state.root node errors
- Fixed memory leak with leaf bones
- Implemented children re-parenting for mesh template
- import_animation fixes to basic skeleton data
- Adds some more debug messages
- Fixed Godot import segfault
- Fix build failing on mono
- Clear resources we use which are no longer required after import
- Fixed bone duplication issue
- Working skeleton_bone_map which can lookup armatures properly now.
- Fixed stack being used up when mesh swapped & Fixed bone ID
Additional notes:
We use a mesh template which is a fake node to instance the initial
mesh nodes . This is to ensure the entire tree can be built.
We replace mesh node templates with the real mesh after the
skeleton is available, since this makes it ensure that the fully
built skeleton exists with all bones, all nodes, etc.
The bone stack is a stack which pops when it finds bones,
this overcomes duplicate bones with the same names.
FBX has lots of these because animation armature has bone names like bone001
and another armature will also have bone001
Fixed errors in node path assignment
Simple explanation:
- Every mesh uses a node from the stack
- Node stack was empties before completed
- Every time node not found, stack must be rebuilt to maintain correct armature order :)
Additional fixes:
- Fixes destructor in assimp
- Implements aiNode* mArmature in bone data
- Implements aiNode* mParent in bone data
- Fixes parent ID on bones.
Implemented skeleton assignment in generate_mesh_indicies
This is the only place we can safely do a lookup for the skeleton for the mesh.h
I used a pointer reference so we can pass this back out, since the skeleton assignment happens inside the function.
Added mesh re-parenting to the armature node this is a permanent feature and must be enforced, just like GLTF2 specification.
Fixed import_animation spawning tracks per skin
2019-11-05 17:54:57 +00:00
Rémi Verschelde
6dca64140c
Merge pull request #33330 from nekomatata/fix-label-autowrap-size
...
Fixed cases where labels with autowrap can overflow the editor ui
2019-11-04 16:57:53 +01:00
PouleyKetchoupp
13c88878c4
Fixed cases where labels with autowrap can overflow the editor ui
...
Fixes #33155
2019-11-04 10:12:36 +01:00
Rémi Verschelde
76aa975460
Merge pull request #33266 from Xrayez/inst2dict-original-path
...
Use GDScript resource path over script path for `inst2dict`
2019-11-04 08:59:30 +01:00
Rémi Verschelde
0195ecdb0f
Merge pull request #33258 from aaronfranke/color8
...
Fix Color8 GDScript documentation
2019-11-02 23:08:23 +01:00
bruvzg
047ecffaac
Restore GDNative compatibility by moving new functions introduced in #33210 to core API 1.2 extension.
2019-11-02 15:25:43 +02:00
Andrii Doroshenko (Xrayez)
7f40b69022
Use GDScript resource path over script path for `inst2dict`
...
The resource path holds the original path which can be used to convert
a dictionary to instance consistently both within editor and exported projects
as the original path is automatically remapped from `gd` to `gdc` or `gde` in
exported projects.
2019-11-02 15:11:52 +02:00
Aaron Franke
c4e46b8800
Document behavior of printraw
2019-11-02 04:55:39 -04:00
Aaron Franke
b67f252016
Fix Color8 GDScript documentation
2019-11-02 04:48:08 -04:00
Rémi Verschelde
af4fd9de9c
Merge pull request #33238 from qarmin/other_fixes
...
Fix some crashes, overflows and using variables without values
2019-11-01 22:12:47 +01:00
George Marques
9fcd38fc70
GDScript: validate instance before accessing it on error
...
Make sure the instance is valid before trying to access the script in
after an error happened. If the instance is not valid it's possible that
the script is invalid as well.
Fix #29623
2019-11-01 14:41:52 -03:00
Rafał Mikrut
9ddb3265e1
Fix some crashes, overflows and using variables without values
2019-11-01 16:16:31 +01:00
Omicron
79a59a3587
Fix: typo atleast -> at least
...
Typo found in source string, reported by linux-man on weblate
2019-11-01 16:10:21 +01:00
George Marques
15800b4db8
GDScript: Avoid editor crashes when there's cyclic inheritance
...
Make sure the script is fully compiled before looking into the base.
2019-11-01 12:00:20 -03:00
Rémi Verschelde
962fc725c0
Merge pull request #33210 from nekomatata/pool-array-empty
...
Added empty() function to pool array types
2019-11-01 14:04:16 +01:00
PouleyKetchoupp
475115c0c3
Added empty() function to pool array types
2019-10-31 16:27:32 +01:00
Andrii Doroshenko (Xrayez)
56925b9c28
Provide and print error messages for JSON parsing
...
Core is not touched, only for binding and scripting.
2019-10-31 13:15:44 +02:00
PouleyKetchoupp
bcbe5b5850
Fixed leak in gdscript when creating empty WeakRef
...
Fixes #33150
2019-10-29 23:53:56 +01:00
Aaron Franke
4922a48a9e
[Mono] Alphabetize Mathf
2019-10-29 10:10:24 -04:00
Rémi Verschelde
b8daad9779
i18n: Sync translation template with current source
2019-10-29 13:57:45 +01:00
Osama El Hariri
858afd53d8
Set the properties of a Set node after add_node
2019-10-28 21:03:12 +02:00
Rémi Verschelde
63c5cd7eb8
Merge pull request #33104 from qarmin/fix_some_crashes
...
Fix some crashes and using null pointers
2019-10-28 08:37:59 +01:00
Rafał Mikrut
e53e1c566a
Fix some crashes and using null pointers
2019-10-28 08:07:29 +01:00
Rémi Verschelde
aa0fa6b14f
doc: Sync classref with current source
2019-10-26 16:40:41 +02:00
Rémi Verschelde
e38fd9a5e6
Merge pull request #32915 from Nehluxhes/gridmap_scaling
...
Gridmap : Mesh preview now scales + grid update on cell size change
2019-10-25 23:33:11 +02:00
Rémi Verschelde
c43c3747cf
Merge pull request #32808 from bojidar-bg/30937-less-strict-mixed-spacing
...
Allow mixed tabs and spaces when indentation does not depend on tab size
2019-10-25 23:16:04 +02:00
bruvzg
1a0306abb1
Fix missing `z_verbose` and `z_error` symbols in debug iOS build.
2019-10-25 15:51:17 +03:00
Bojidar Marinov
afbde3314a
Allow mixed tabs and spaces when indentation does not depend on tab size
...
(hopefully) Closes #30937 , fixes #32612
2019-10-25 14:54:57 +03:00
Andrii Doroshenko (Xrayez)
1b9a7e1c21
Fix `inst2dict` calling to getters to retrieve value
...
Use `GDScriptInstance` to iterate through all members directly instead.
This is similar to how `dict2inst` works and makes the serialization
behaviour more consistent.
2019-10-24 14:45:04 +03:00
SeleckyErik
61bda112bd
Refactor VideoPlayer and VideoStream
...
VideoStream:
- Fix const correctenss
VideoPlayer:
- Remove unused member variable last_frame
- Move _mix_audios function definition to source file
- Fix function parameter naming to match p_ convention
- Fix const correctness
- Add null checking
2019-10-24 01:35:47 +01:00
Rémi Verschelde
e96319c7f3
Merge pull request #32670 from aaronfranke/mono-plane
...
[Mono] Change Plane intersect methods to return nullable Vector3
2019-10-23 21:44:05 +02:00
Rémi Verschelde
4952e19ad0
Merge pull request #32991 from Chaosus/fix_bug2
...
Fix gridmap error spam at startup
2019-10-22 20:38:14 +02:00
Rémi Verschelde
365558b8b7
Merge pull request #32969 from Nehluxhes/palette_vanish
...
Fix gridmap palette remaining invisible
2019-10-22 18:51:11 +02:00
Yuri Roubinsky
51e5bcfc2c
Fix gridmap error spam at startup
2019-10-22 18:21:42 +03:00
Rémi Verschelde
8228b93fcd
Merge pull request #32919 from vnen/gdscript-unused-args
...
Fix wrong counting of function argument usage
2019-10-22 14:15:58 +02:00
Rémi Verschelde
e4cfb77961
Merge pull request #32903 from madmiraal/fix-27649-part9
...
Remove duplicate valid value check in gdscript_tokenizer.cpp.
2019-10-22 13:51:28 +02:00
Rémi Verschelde
fddc60c85c
Merge pull request #32878 from EbbDrop/no_autocompletion_for_singeltons
...
Fixes auto completion for singletons
2019-10-22 13:50:25 +02:00
Rémi Verschelde
10518d5d84
Merge pull request #32893 from Nehluxhes/delete_gridmap
...
Disable gridmap selection actions when nothing is selected
2019-10-22 12:55:18 +02:00
JoshLee0915
cbd98d0fcf
Added the server platform checks to template dir and shared lib copy
2019-10-21 20:47:24 -06:00
Nehluxhes
d67a9d1a94
Fix gridmap palette remaining invisible
2019-10-21 23:57:23 +02:00
Nehluxhes
fa53c0b774
Mesh preview now scales + grid update on cell size change
...
The mesh preview now correctly scales with cell_scale
Refactor the grids creation into _draw_grids() and call it if the cell_size property is changed
2019-10-21 23:11:30 +02:00
Rémi Verschelde
3564547208
Merge pull request #32750 from Faless/js/fix_ws_refactor
...
Fix HTML5 build after 67a4c30
.
2019-10-21 22:26:33 +02:00
Rémi Verschelde
f5dd4d574f
Merge pull request #32863 from JFonS/navmesh_from_group
...
Add option to create navmesh from objects in group
2019-10-21 16:02:38 +02:00
George Marques
05465b9693
GDScript: Add _ prefix on class name in type compatibility check
...
This makes sure that the classes internally represented with an
underscore (_) prefix, such as singletons, are still properly checked
for inheritance in the ClassDB.
2019-10-19 13:45:52 -03:00
George Marques
bb20e420af
Fix wrong counting of function argument usage
...
There's no need to subtract 1 from the assignment usages because it's
not incremented anywhere else.
Also put back the assignment with operators because they should not
count as usage if the argument is on the left side.
2019-10-19 10:59:57 -03:00
Marcel Admiraal
5b96233c34
Remove duplicate valid value check in gdscript_tokenizer.cpp.
2019-10-18 11:58:34 +02:00
Nehluxhes
28c274bc27
Disable gridmap selection actions when nothing is selected
2019-10-18 01:45:49 +02:00
EbbDrop
f70fd781fc
Fix autocompletion for singletons
2019-10-17 10:48:13 +02:00
Fabio Alessandrelli
2bb3e358e0
Trim protocol field from spaces in WS classes.
2019-10-16 16:16:27 +02:00
jfons
298bd3f88a
Add option to create navmesh from objects in group
...
Adds a new NavigationMesh property to select which objects will be taken
into account for the generation.
By default it will use all the NavigationMeshInstance children to keep
compatibility. The new modes allow to build the NavigationMesh from
all the nodes belonging to a specific group, and optionally include
their children too.
2019-10-16 12:01:10 +02:00
Fabio Alessandrelli
d75e0de729
Fix HTML5 build after 67a4c30
.
...
I messed up a rebase and a commit was partly skipped
2019-10-15 14:15:02 +02:00
Rémi Verschelde
a1033aea51
Merge pull request #32830 from timoschwarzer/remove-redundant-compiler-directives
...
Remove redundant compiler directives
2019-10-15 09:57:46 +02:00
Rémi Verschelde
44293db446
Merge pull request #32820 from qarmin/small_fixes_static_analyzer
...
Small fixes to redundand code, copy paste bugs
2019-10-15 09:54:58 +02:00
Aaron Franke
218f38c7ec
Expose is_equal_approx and restore == to be exact again
...
This commit changes behavior for GDScript and C#.
Also did some organizing of the order to logically group related methods, mostly for Rect2 and AABB.
2019-10-14 16:48:59 -04:00
Aaron Franke
aeb7075628
Replace vector == and is_zero_approx(distance) with is_equal_approx
...
Internal changes only
2019-10-14 16:47:42 -04:00
Aaron Franke
86922ff70b
Make is_equal_approx separate for structures
...
This commit adds exposed behavior for C#
2019-10-14 16:46:54 -04:00
Timo Schwarzer
c69ae35d4d
Remove redundant compiler directives
...
Closes #32817
2019-10-14 16:23:13 +02:00
qarmin
616ab4fac2
Small fixes to redundand code, copy paste bugs
2019-10-14 11:40:55 +02:00
Marcel Admiraal
0539023fd4
Call activate function when setting RigidBodyBullet activation state.
2019-10-14 10:04:44 +02:00
Ignacio Etcheverry
8a0c0371d4
C#: Fix regression from #32732 caused a crash on domain reload
2019-10-12 21:27:56 +02:00
Rémi Verschelde
26bbb26738
Merge pull request #32641 from nekomatata/change-collision-layer
...
Fixed RigidBody stuttering when changing collision layer/mask
2019-10-12 14:07:55 +02:00
Rémi Verschelde
3cc94b2c0b
Mono: Fix template build after #32732
2019-10-11 15:17:36 +02:00
Rémi Verschelde
e49b40a974
Merge pull request #32591 from HaSa1002/lsp-fatal-crash
...
fix #32588 out of range crash in language server
2019-10-11 15:16:10 +02:00
HaSa1002
d9dfc4496c
fix #32588 crash in language server
2019-10-11 14:43:39 +02:00
Rémi Verschelde
d655a7c097
doc: Sync classref with current source
2019-10-11 08:45:03 +02:00
Rémi Verschelde
be446038bb
Merge pull request #32683 from Faless/ws/improve_pr
...
WebSocket improvements, SSL server, custom headers.
2019-10-11 08:28:47 +02:00
Ignacio Etcheverry
8c438a2197
C#: Fix detection of outdated release Godot API assemblies
2019-10-11 01:46:06 +02:00
Hugo Locurcio
7f49c5dd42
Decrease polling frequency to 20 Hz in the GDScript language server
...
This decreases the language server's CPU usage.
2019-10-10 16:42:05 +02:00
Marcel Admiraal
a8836ba28d
Remove dependency on the editor directory being in the build's include path.
...
- Add or remove the necessary subdirectorires to the includes to remove
dependency on the editor directory being in the build's include path.
- Ensure includes in modified files conform to style guideline.
- Remove editor from the build include path.
2019-10-10 08:57:00 +02:00
Rémi Verschelde
781e4f8673
Merge pull request #32673 from aaronfranke/vs-inheritance
...
Make VisualScript check inheritance for port info
2019-10-09 17:52:51 +02:00
Rémi Verschelde
08725bdc28
Merge pull request #32684 from Faless/crypto/self_signed_cert_key_check
...
Fix crash when passing invalid key to Crypto.
2019-10-09 16:52:20 +02:00
Fabio Alessandrelli
e9abcbac3b
Fix crash when passing invalid key to Crypto.
...
In generate_self_signed_certificate
2019-10-09 15:59:17 +02:00
Fabio Alessandrelli
2c557787c1
Document all this new improvements.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
67a4c3033b
Custom headers support in WebSocketClient.
...
This commit also converts all PoolVector<String> parameters to
`const Vector<String>` in both WebSocketServer and WebSocketClient.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
c723a8b6aa
Implement WebSocketServer SSL support.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
33644d7118
WebSocketClient can now use custom SSL certificate
...
Via the `trusted_ssl_certificate` property.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
025cc04d9e
Re-implement WebSocket get host/port.
...
Was lost during library switch
2019-10-09 13:53:04 +02:00
Rémi Verschelde
55ef6a0f25
Merge pull request #32671 from GodotExplorer/lsp-send-godot-class-tree
...
lsp: Send godot class tree to clients
2019-10-09 08:35:05 +02:00
Aaron Franke
13779b70e0
Make VisualScript check inheritance for port info
2019-10-09 01:47:05 -04:00
Geequlim
1ab34bc3c2
lsp: Send godot class tree to clients
2019-10-09 13:40:50 +08:00
Aaron Franke
643874f8ca
[Mono] Change Plane intersect methods to return nullable Vector3
2019-10-08 22:47:22 -04:00
Geequlim
2b5b5874a2
lsp: Fix signature of void returned functions in native methods
2019-10-09 10:01:48 +08:00
PouleyKetchoupp
655694b394
Fixed RigidBody stuttering when changing collision layer/mask
...
- Changing collision layer/mask now only updates the broadphase proxy to avoid the velocity to be reset each time (also avoids unnecessary computations)
- No rigid body update at all when the collision layer/mask stays the same
- Same changes for Area for optimization purpose
Fixes #32577
2019-10-08 14:40:24 +02:00
Hugo Locurcio
9499eef4da
Document the GDNative singleton method prefix being changeable
...
This also tweaks error messages to remove hardcoded references to
the default `godot_` prefix.
2019-10-07 15:59:57 +02:00
sheepandshepherd
04dbcd7f5a
Document GDNativeLibrary
2019-10-06 17:38:51 +02:00
noname1477
3659e3db9d
Fixed some obvious typos in error messages
...
In some errors, there were closing quotation marks but no opening (e. g. "Unable to iterate on object of type " +
Variant::get_type_name(container->get_type()) + "'."
2019-10-05 15:33:30 +02:00
Rémi Verschelde
872af14e6f
Merge pull request #32544 from GodotExplorer/gdscript-lsp-show_native_symbol
...
Improvements for gdscript-lsp server
2019-10-05 11:00:51 +02:00
geequlim
9f27a4838c
Format documentations to markdown only when needed
2019-10-05 14:09:38 +08:00
geequlim
e199488bc7
Add custom api `textDocument/nativeSymbol` to allow inspect native symbols from LSP clients
2019-10-04 23:00:33 +08:00
geequlim
39813939fc
Fix enumeration value of SymbolKind.
...
Add custom notification 'gdscript/show_native_symbol' to show native symbols in clients.
Close client connections when stop gdscript-lsp
2019-10-04 19:36:40 +08:00
Rémi Verschelde
f3f2fdfbab
Mono: Fix detection of MsBuild from Visual Studio
...
This was a wrong check as an exit code of 0 means success,
not failure. It used to be fine as blocking mode always returned
-2, but this was changed in #32033 to return the exit code.
Fixes #32424 .
2019-10-03 14:13:41 +02:00
Rémi Verschelde
d66cce0215
Merge pull request #32517 from GodotExplorer/gdscript-lsp
...
GDScript LSP server improvement
2019-10-03 13:40:09 +02:00
geequlim
6a8303f82f
Implement DocumentLink of GDScript LSP Server
2019-10-03 18:51:03 +08:00
Rémi Verschelde
c9781df316
Merge pull request #32403 from yeonghoey/enforce4space
...
Print errors when tab indent found in [codeblock]
2019-10-03 08:41:21 +02:00
geequlim
d1a6964d39
Fix codeblock formating to markdown
2019-10-03 14:22:26 +08:00
Rémi Verschelde
42fca4ba27
Merge pull request #32485 from Calinou/macros-add-semicolons
...
Add missing semicolons to `BIND_ENUM_CONSTANT` macro uses
2019-10-02 11:53:19 +02:00
Hugo Locurcio
aba157865a
Add missing semicolons to `BIND_ENUM_CONSTANT` macro uses
2019-10-02 09:57:12 +02:00
Hugo Locurcio
621bafb948
Tweak the default function definition color when using a dark theme
...
This decreases its saturation to make it less visually jarring.
The code was also refactored for clarity and to avoid repetition.
2019-10-02 09:36:47 +02:00
Yeongho Kim
d4a55fb639
Print errors when tab indent found in [codeblock]
2019-10-01 23:39:45 +09:00
Rémi Verschelde
d66d970fdb
Merge pull request #32172 from WindyDarian/gdscript_allow_null_weakref
...
Allow weakref(null) in gdscript
2019-10-01 10:35:37 +02:00