Ignacio Etcheverry
9610bc9580
Merge pull request #22151 from 999eagle/monoexe
...
Check for mono binary when finding version
2018-09-17 19:55:43 +02:00
Ignacio Etcheverry
b032738a51
Add some mono root dir hints to the build script
...
This enhancement is specially noticeable in OSX, since it includes Mono's install location (both official and homebrew). This makes it possible to build Godot with Mono on OSX without pkg-config (pkg-config is bundled with Mono, but it's not added to PATH, so finding it would require finding the Mono root directory first).
2018-09-17 19:34:35 +02:00
Rémi Verschelde
4075c80ea9
Merge pull request #22165 from DualMatrix/atan2_plain_wrong
...
Fixed argument names having wrong order for atan2
2018-09-17 12:33:26 +02:00
Rémi Verschelde
dbee7856e3
Merge pull request #22157 from muiroc/fix_cast_crash
...
Add null check in godot result callback
2018-09-17 11:09:06 +02:00
DualMatrix
4bad2beeed
Fixed argument names being swapped for atan2
...
The arguments of atan2() should be y,x instead of x,y This was just wrong since the internal atan2 already had y,x as parameters, so if you followed the autocomplete the result would just be wrong.
2018-09-16 21:27:54 +02:00
Mariusz Chwalba
47bf26c40d
test for depreciacion warnings only on debug builds
...
Fix adherence to clang-format rules
2018-09-16 19:37:51 +02:00
muiroc
23a61c7342
Add null check in godot result callback
2018-09-16 16:02:15 +02:00
Sophie Tauchert
99cd17b102
Check for mono binary when finding version
2018-09-16 15:20:44 +02:00
Rémi Verschelde
68e1ef49b1
Merge pull request #22095 from KellyThomas/transform-interpolatewith
...
[Mono] Transform - add InterpolateWith()
2018-09-16 01:37:19 +02:00
Fabio Alessandrelli
0e56377e96
Allow system certs file to be used by Editor.
...
Note, it will only used by the Editor, not when running the game.
This allows package maintainer to compile Godot to use system installed
certificates when accessing the AssetLib.
2018-09-15 14:45:54 +02:00
Kelly Thomas
d4b2423428
[Mono] implement Transform.InterpolateWith()
2018-09-15 13:08:21 +08:00
Fabio Alessandrelli
c0e4d7efca
Add GDScript slave keyword deprecation warning.
2018-09-15 01:50:34 +02:00
Fabio Alessandrelli
1e9b46d687
Clearly deprecate sync too in favor of remotesync.
...
NOTE: This changes the RPC_MODE_* enum values.
Games should be re-exported. GDNative rebuilt.
2018-09-15 00:06:03 +02:00
Fabio Alessandrelli
d6b31daec6
Rename slave keyword to puppet
...
The slave keyword will still be available as deprecated in 3.1 but will
be dropped from future releases.
2018-09-15 00:06:03 +02:00
Rémi Verschelde
5961a6da03
Merge pull request #21717 from willnationsdev/edicon-refactor
...
Refactor editor icon retrieval
2018-09-14 17:24:04 +02:00
Rémi Verschelde
2aad7f1376
Merge pull request #21569 from JFonS/add_noise_textures
...
Add SimplexNoise and NoiseTexture as new resources
2018-09-14 16:57:26 +02:00
willnationsdev
5436abefe4
Refactor editor icon retrieval
2018-09-14 09:27:56 -05:00
JFonS
f12a1b8863
Add SimplexNoise and NoiseTexture as new resources
...
SimplexNoise can be used to generate parameterized fractal noise based on Open Simplex.
NoiseTexture uses SimplexNoise to generate noise textures for using in
shaders/visual effects.
2018-09-14 15:24:34 +02:00
Thomas Herzog
e0f763f1c9
[GDNative] add Variant::Operator
2018-09-13 17:23:38 +02:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Ignacio Etcheverry
995a40e8ef
Move modules/mono/glue/cs_files to modules/mono/glue/Managed/Files
...
Added dummy MSBuild project and solution to get tooling help when editing these files.
2018-09-12 22:03:36 +02:00
Ignacio Etcheverry
5e57beebb1
Mono: Fix build regression due to wrong return type
2018-09-12 21:08:18 +02:00
Ignacio Etcheverry
6ae47ff19b
C#: Fix explicit enum values when exporting member
2018-09-12 18:54:20 +02:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Ignacio Etcheverry
d21c64cc3b
C#: Fix cs_files glue mismatch bug
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
e558e1ec09
Fix/workaround for issue #21667
...
When a Reference managed instance is garbage collected and its finalizer is called, it could happen that the native instance is referenced once again before the finalizer can unreference and memdelete it. The workaround is to create a new managed instance when this happens (at least for now).
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
61426464ea
Add some mono root hint dirs for OSX
...
Fixes #13355
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
691d4e3835
Allow special characters in C# glue files
...
Fixes #21139
- Surround the generated file modules/mono/glue/cs_compressed.gen.h with ifdef TOOLS_ENABLED
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
b1356a3590
Cleanup of c# api files and bindings generator
...
- We no longer generate RID and NodePath C# classes. Both will be maintained manually.
- We no longer generate C# declarations and runtime registration of internal calls for the following classes: RID, NodePath, String, GD, SignalAwaiter and Godot.Object (partial base).
- We no longer auto-generate the base members of Godot.Object. They will be maintained manually as a partial class.
This makes it easier to maintain these C# classes and their internal calls, as well as the bindings generator which no longer generates C# classes that don't derive from Godot Object, and it no longer generates the Godot.Object base members (which where unreadable in the bindings generator code).
- Added missing 'RID(Object from)' constructor to the RID C# class.
- Replaced MONO_GLUE_DISABLED constant macro with MONO_GLUE_ENABLED.
- Add sources in module/mono/glue even if glue is disabled, but surround glue files with ifdef MONO_GLUE_ENABLED.
2018-09-12 03:23:45 +02:00
Rémi Verschelde
0d04fb76e1
Fix mistake in previous commit
2018-09-11 18:12:40 +02:00
Rémi Verschelde
af57515775
UPnP: Fix includes of thirdparty headers
2018-09-11 18:09:12 +02:00
Ignacio Etcheverry
8366da5bc6
Merge pull request #21822 from aaronfranke/mono-pascal
...
[Mono] Various style changes and naming standardization
2018-09-10 23:52:00 +02:00
Aaron Franke
627ed98ed1
[Mono] Various style changes and naming standardization
2018-09-10 15:22:10 -04:00
Aaron Franke
4743852466
[Mono] Tabs -> Spaces
2018-09-10 15:12:49 -04:00
Rémi Verschelde
0faafa6f4d
Fix crash when extending non-existing GDScript file
...
Fixes #21682 with a partial revert of #21411 .
The ~Ref() destructor (from 'scriptres') already takes care
of freeing the 'script' resource.
2018-09-10 20:46:20 +02:00
Rémi Verschelde
d9a96878f2
Merge pull request #21921 from AndreaCatania/bugfix2
...
Fix bullet crashes
2018-09-10 08:20:15 +02:00
Andrea Catania
b252e66414
Fiex bullet crash
2018-09-10 07:55:11 +02:00
Poommetee Ketson
bb0e8d260c
Fix indentation in bullet SCsub
2018-09-10 12:22:23 +07:00
George Marques
af290f7b7d
Merge pull request #21866 from Paulb23/fix_scientific_notation_highlight_issue_21435
...
Fixed scientific notation not highlighting correctly, issue 21435
2018-09-09 18:21:33 -03:00
Juan Linietsky
ffe158ae85
Merge pull request #21861 from fire/visual_script_18024
...
Change the default variable Visual Script constructor to use EditorInspector and etc
2018-09-08 17:05:03 -03:00
Paulb23
f051f5110e
Fixed scientific notaion not highlighting correctly, issue 21435
2018-09-08 13:42:11 +01:00
K. S. Ernest (iFire) Lee
7ce9e67355
Change the default variable constructor to use EditorInspector and updated property hints that were changed.
2018-09-08 02:51:23 -07:00
Andrea Catania
3eaaf712db
Fixed crash during raycast and CCD radius calculation
2018-09-07 20:38:30 +02:00
Juan Linietsky
fc50728d45
Merge pull request #21808 from AndreaCatania/optitri
...
Optimized bullet trimesh collision
2018-09-07 15:09:26 -03:00
Andrea Catania
6142448417
Update bullet to Master 12409f1118a7c7a266f9071350c70789dfe73bb9
2018-09-07 16:11:04 +02:00
Andrea Catania
88967e4001
Fixing trimesh precision
2018-09-06 18:53:03 +02:00
Andrea Catania
9b446f1cc3
Optimized in case is used just 1 shape with no transform
2018-09-06 18:19:05 +02:00
Rémi Verschelde
3a8f8381f2
Merge pull request #21771 from WiggleWizard/get-stack-fix
...
Fixed return type for get_stack() function call
2018-09-05 19:46:12 +02:00
Andrea Catania
ce138d3449
Fixed bullet area vs Trimesh shape overlap
2018-09-05 13:43:02 +02:00
WiggleWizard
d227a9ae12
Fixed return type for get_stack() function call
2018-09-05 11:29:06 +01:00
Will Nations
fadf2d2afd
Fix invalid deref in NativeScript script classes
2018-09-04 08:35:28 -05:00
Max Hilbrunner
21ea1d89ef
Merge pull request #21605 from Faless/ws_no_proto
...
Allow WebSocket connect with no sub-protocols.
2018-08-31 13:15:46 +02:00
Fabio Alessandrelli
6bc97cc7cc
Allow WebSocket connect with no sub-protocols.
2018-08-30 20:23:16 +02:00
Thomas Herzog
917bd5b2c2
[NativeScript] implement refcount instance binding funcs
2018-08-30 19:55:04 +02:00
Thomas Herzog
492b4cf837
[GDNative] add initial core 1.1 extension
2018-08-30 19:18:55 +02:00
Rémi Verschelde
cb63cc86e5
Merge pull request #21575 from YeldhamDev/gridmap_deprecated_fix
...
Small change on how GridMap's "theme" is deprecated
2018-08-30 09:03:11 +02:00
Rémi Verschelde
5267099a87
doc: Sync classref with current source
2018-08-29 22:25:11 +02:00
Michael Alexsander Silva Dias
8ede2647ed
Small change on how GridMap's "theme" is deprecated
2018-08-29 17:14:06 -03:00
Andrea Catania
9a67a07a2c
Fixed crash if convex has 0 vertices
2018-08-29 17:34:26 +02:00
Rémi Verschelde
907b7a3897
Merge pull request #21538 from jmf/master
...
Fix CSGBox size
2018-08-29 15:03:01 +02:00
Ibrahn Sahir
2a823a38ac
Initialise rays_found count in test_ray_separation.
...
Prevents branch on uninit that could result in crashes with
move_and_slide.
2018-08-29 13:23:14 +01:00
Yuri Chornoivan
06e73522dc
Fix vformat(), minor typos and word puzzles
2018-08-29 11:50:39 +03:00
jmf
11c90b0bb3
Fix to make CSGBox the size that is entered in Width, Height and Depth instead of twice those lengths.
2018-08-28 14:41:41 -03:00
Rémi Verschelde
57ba7caa6d
Merge pull request #21511 from eska014/webm-nomt
...
Fix WebM and Theora video in HTML5 export
2018-08-28 07:56:52 +02:00
Ignacio Etcheverry
6b10e3750e
Merge pull request #21497 from neikeq/hm
...
C# generated classes ignore warning CS1591 and cleanup
2018-08-27 21:43:46 +02:00
Ignacio Etcheverry
aa2bcf3dfc
C# generated classes ignore warning CS1591 and cleanup
2018-08-27 20:39:51 +02:00
Rémi Verschelde
66778eae71
Merge pull request #21420 from elasota/fix-last-mipmap
...
Fix uninitialized mipmap levels
2018-08-27 17:48:41 +02:00
Rémi Verschelde
f06b7d40c8
Merge pull request #21449 from vnen/gdscript-builtin-is
...
Allow `is` operator to test built-in types
2018-08-27 17:48:11 +02:00
Rémi Verschelde
5b87864385
Merge pull request #21369 from Noshyaar/exportflag
...
Deprecating bit flags export with no hint text
2018-08-27 17:47:21 +02:00
Ignacio Etcheverry
78bb53f85d
Merge pull request #21205 from KellyThomas/c-sharp-feature-parity-quat
...
[Mono] Quat - add some missing constructors and methods
2018-08-27 16:18:09 +02:00
Rémi Verschelde
49cf675ef4
Merge pull request #21450 from vnen/gdscript-type-space
...
Remove space before colon on type hints
2018-08-27 10:42:19 +02:00
Rémi Verschelde
3dc63a710f
Merge pull request #21469 from akien-mga/glsl-clang-format
...
Style: Enable clang-format on GLSL shaders
2018-08-27 10:12:24 +02:00
Rémi Verschelde
ddfef86836
Fix build after c2a9cb34
...
`return` statements were missing, and those warnings do not need to be
behind #ifdefs, they do not expose any deprecated API.
2018-08-27 10:10:40 +02:00
Rémi Verschelde
2131f101b6
Merge pull request #21470 from elasota/fix-tiled-exr
...
Fix tiled EXR import
2018-08-27 09:46:57 +02:00
elasota
4b7885fb1e
Fix tiled EXR crash, update tinyexr to head to fix corrupted uncompressed EXR loading
2018-08-27 02:52:12 -04:00
Rémi Verschelde
98cc2ce1dd
Merge pull request #21433 from AndreaCatania/megafix
...
Multiple fixes on Physics things
2018-08-27 07:46:40 +02:00
Rémi Verschelde
4226d56ca9
Style: Enable clang-format on GLSL shaders
...
As of clang-format 6.0.1, putting the `/* clang-format off */` hint
around our "invalid" `[vertex]` and `[shader]` statements isn't enough
to prevent a bogus indent of the next comments and first valid statement,
so we need to enclose that first valid statement in the unformatted chunk.
2018-08-27 07:34:14 +02:00
Leon Krause
92b259ccf1
Fix WebM module for HTML5 platform
2018-08-27 04:08:04 +02:00
Ignacio Etcheverry
db55d8a4b6
Merge pull request #21423 from exts/mono/collections
...
[Mono] Added Collections namespace to Array & Dictionary
2018-08-26 19:11:45 +02:00
George Marques
de45b18ddb
GDScript: Remove space before colon on type hints
2018-08-26 13:43:13 -03:00
George Marques
4b974a36b7
GDScript: Allow `is` operator to test built-in types
2018-08-26 13:31:23 -03:00
Andrea Catania
64b5eaf43c
Correctly set safe_motion on cast_motion query Fixes : #21212
2018-08-26 12:09:52 +02:00
Andrea Catania
c2a9cb343b
Added deprecated to joints un/used parameters
2018-08-26 09:10:30 +02:00
Crazy-P
e4af39cbc0
Fixes several resource leaks in ...
...
- gdscript
- gdscript_compiler
- regex
- android/export
- gles3/rasterizer (scene and storage)
2018-08-26 09:19:02 +08:00
exts
035d498af2
Added Collections namespace to Array & Dictionary
2018-08-25 17:19:37 -05:00
elasota
de2a36505a
Fix mipmap levels not being initialized
2018-08-25 17:22:53 -04:00
Juan Linietsky
8c435a343e
Merge pull request #16927 from neikeq/rework-refcount-notify
...
Notify instance binding data api of refcount increment/decrement
2018-08-25 11:01:55 -03:00
Rémi Verschelde
77185aaf21
Merge pull request #21049 from AndreaCatania/joints
...
Improved 6DOF joint implementation
2018-08-24 17:10:54 +02:00
Ignacio Etcheverry
d72a281468
Merge pull request #20717 from PJB3005/18-08-04-godot-exceptions
...
Fix Mono exception handling.
2018-08-24 16:27:43 +02:00
Ignacio Etcheverry
750f128a05
Merge pull request #20707 from aaronfranke/mono-combine
...
[Mono] Move several related small files
2018-08-24 15:53:38 +02:00
Poommetee Ketson
cee6d5620a
Deprecating bit flags export with no hint text
2018-08-24 20:46:04 +07:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Rémi Verschelde
de59fe04e7
Add print_verbose to print to stdout only in verbose mode
...
Equivalent of the cumbersome:
if (OS::get_singleton()->is_stdout_verbose())
print_line(msg);
2018-08-24 09:23:20 +02:00
Kelly Thomas
a941684590
mono: Quat - add some missing constructors and methods
2018-08-24 07:56:54 +08:00
Pieter-Jan Briers
af39684885
Fix Mono exception handling.
...
First of all, this fixes the handling of exceptions so the engine actually notices them,
it was broken in 4172fa03b5
.
Next, unhandled exceptions now do NOT cause an abort(). They're logged now,
so before #16987 . The pending exception thing still works though.
2018-08-23 20:21:36 +02:00
Aaron Franke
514856d8c7
[Mono] Move several small related files
2018-08-23 12:50:04 -04:00
Kelly Thomas
46207ae7aa
[Mono] AABB - Position, Size, End setters, Rect2 - End setter
2018-08-23 23:45:18 +08:00
Rémi Verschelde
7f8f76ffbb
Merge pull request #21301 from elasota/multithread-cvtt
...
Multithread BPTC compression jobs
2018-08-23 09:33:47 +02:00
Rémi Verschelde
18e1268cd7
Merge pull request #21254 from YeldhamDev/tile_grid_map_side
...
Add option to move Tile/GridMap editors to another side
2018-08-23 09:04:12 +02:00
Rémi Verschelde
1e729630d6
Merge pull request #21240 from aaronfranke/mono-project-vector
...
[Mono] Vector2/3 Project methods
2018-08-23 08:59:26 +02:00
Rémi Verschelde
a2acbb0bfb
Merge pull request #21167 from elasota/squish-quality-config
...
Support higher-quality S3TC compression modes
2018-08-23 08:58:44 +02:00
elasota
8c4e24862b
Multithread CVTT compression jobs
2018-08-22 22:42:22 -04:00
Ignacio Etcheverry
908a30964a
Notify instance binding data api of refcount increment/decrement
2018-08-23 01:38:48 +02:00
Michael Alexsander Silva Dias
6fa1b5eca7
Add option to move Tile/GridMap editors to another side
2018-08-22 19:18:23 -03:00
Rémi Verschelde
61f15878de
Merge pull request #21283 from YeldhamDev/gridmap_meshlib_rename
...
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 22:41:40 +02:00
Ignacio Etcheverry
980b81dd2a
Merge pull request #21174 from KellyThomas/c-sharp-feature-parity-rect2
...
[Mono] Rect2 - add Abs(), rename private fields
2018-08-22 22:34:45 +02:00
Rémi Verschelde
d9cad85f43
Merge pull request #21229 from marcelofg55/ns_profiling
...
Implemented profiling functions for NativeScript
2018-08-22 22:27:42 +02:00
Michael Alexsander Silva Dias
5c6be1aea5
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 16:52:38 -03:00
Marcelo Fernandez
a323b7a1ba
Implemented profiling functions for NativeScript
2018-08-22 15:40:41 -03:00
Aaron Franke
434973fb83
[Mono] Vector2/3 Project methods
2018-08-22 13:27:35 -04:00
elasota
4cd866685e
Use cluster fit at higher quality levels
2018-08-22 12:05:25 -04:00
Rémi Verschelde
3573d5f4ae
Merge pull request #21281 from elasota/fix-squish-sse
...
Fix Squish SSE misconfiguration
2018-08-22 09:55:57 +02:00
Rémi Verschelde
a6979e7c66
Merge pull request #21279 from vnen/gdscript-fixes
...
Assorted GDScript fixes
2018-08-22 09:53:52 +02:00
elasota
35f6ba5c5d
BPTC support
2018-08-21 22:56:04 -04:00
elasota
04410346bb
Fix Squish SSE misconfiguration
2018-08-21 22:21:56 -04:00
George Marques
94d662ad55
GDScript: Ignore unused arguments/local vars that start with _
...
Makes it simple to ignore particular arguments without adding special
comments, especially in engine-defined functions.
2018-08-21 20:29:43 -03:00
George Marques
4d2b9a4b35
GDScript: Show warning messages only on debugger
...
Don't show on console/output anymore.
2018-08-21 20:29:33 -03:00
Ignacio Etcheverry
143c471eff
Mono: Fix weird crash when loading corlib
2018-08-22 00:49:38 +02:00
Ignacio Etcheverry
5df91099c7
Merge pull request #18502 from space-wizards/18-04-29-assembly-load-hook
...
assembly_load_hook fallback for registering GDMonoAssemblies.
2018-08-22 00:27:35 +02:00
Rémi Verschelde
404ee1a56b
Style: Fix issues that went past CI
2018-08-21 21:28:06 +02:00
Rémi Verschelde
a319d72071
Merge pull request #21253 from aaronfranke/plane-constants
...
Rename Plane constants, add to Mono
2018-08-21 21:16:41 +02:00
Rémi Verschelde
28e9aedbdd
Merge pull request #21267 from akien-mga/color-grayscale
...
Deprecate incorrect Color::gray()
2018-08-21 20:29:56 +02:00
George Marques
fdf18a4198
GDScript: Fix undefined behavior on GDScriptTokenizerBuffer
2018-08-21 13:54:52 -03:00
Andrea Catania
0b98834b77
Added ray / shape / point / motion / rest cast exclusion of area and or body
2018-08-21 18:51:08 +02:00
George Marques
abbdb9d951
GDScript: Forbid invalid identifiers in match bindings
...
Also forbid shadowing a variable from an upper scope.
2018-08-21 13:38:18 -03:00
George Marques
d97624e295
GDSCript: Fix cyclic class dependency detection
2018-08-21 13:14:11 -03:00
Rémi Verschelde
2969dffbe3
Deprecate incorrect Color::gray()
...
This average is not a proper approximation of a grayscale value,
get_v() is better suited for that.
If we want a real to_grayscale() conversion, it's somewhat more
involved: https://en.wikipedia.org/wiki/Grayscale
Remove the deprecated Gray() from C# bindings as it conflicts
with new named color constants.
2018-08-21 17:48:31 +02:00
Rémi Verschelde
912131fe03
Merge pull request #20101 from panzergame/shape_margin
...
Expose bullet shape margin to UI.
2018-08-21 16:17:11 +02:00
Aaron Franke
a986686ac4
Rename Plane constants, add to Mono
...
But I'm not tagging PR as [Core] or [Mono] due to it being a minor change anyway.
2018-08-21 01:35:07 -04:00
Rémi Verschelde
4ea3e4f551
doc: Sync classref with current source
2018-08-21 00:35:46 +02:00
Juan Linietsky
d88d0d457d
Fixes to move and slide and ray separation, implement separation in Godot physics
2018-08-20 17:31:55 -03:00
Juan Linietsky
1b66b08fdb
Merge pull request #20908 from AndreaCatania/kiSlope
...
Improved move_and_slide function stay on slope
2018-08-20 13:24:28 -03:00
Rémi Verschelde
661c9ece7c
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
...
Use it to provide a better example for application identifiers
on Android, iOS and macOS, where users thought they *had* to use
this as a magic token.
2018-08-20 13:48:05 +02:00
Rémi Verschelde
789d1f2e07
Merge pull request #21208 from jmca/master
...
Prevent "cannot use a string pattern on a bytes-like object"
2018-08-20 09:30:01 +02:00
Justin Abene
c6a4ca5c9e
Prevent "cannot use a string pattern on a bytes-like object"
...
Fixes #21207
2018-08-20 00:42:47 -04:00
John Teasdale
7323f7998b
Bullet picking will now ignore objects without input_ray_pickable
2018-08-19 13:14:12 -07:00
Hugo Locurcio
649c3bee3b
Highlight multiline strings as strings instead of comments
...
Since multiline comments are not officially supported in GDScript, it is
more common to see multiline strings being used as strings rather than
as comments (which are actually standalone expressions here).
This closes #21142 .
2018-08-19 13:47:57 +02:00
Andrea Catania
0010d9c82a
Added ray shape and move_and_slide with snapping on 3D.
...
Added stop_on_slope on 2d part
2018-08-19 13:45:23 +02:00
Kelly Thomas
792a8446ac
mono: add Abs() to Rect2 and rename private fields
2018-08-19 19:18:12 +08:00
Andrea Catania
9826456f2e
Improved move_and_slide function to stay on slope and fall on steep slope
2018-08-18 15:11:51 +02:00
Ignacio Etcheverry
7287300433
Mono: Improve C# core files (glue/cs_files) buildsystem
...
- Search C# files recursively in 'glue/cs_files'.
- Determine a version for the C# core files automatically. The latest modified time will do for now.
2018-08-17 13:51:55 +02:00
Rémi Verschelde
968b31e971
Merge pull request #20561 from willnationsdev/script-class-ns
...
Add NativeScript support for script classes via exported script properties.
2018-08-16 20:03:49 +02:00
Rémi Verschelde
333999c24f
Fix Theora/Webm loaders declaring binary extension
...
RES_BASE_EXTENSION is only to declare our proprietary binary formats
(e.g. "scn", "res", etc.).
Fixes #20395 .
2018-08-16 19:17:24 +02:00
Tristan Porteries
e5bfa98d0f
Expose bullet shape margin to UI.
...
The margin value is exposed into the UI for shape ressource.
This value can be modified through set_margin and get from get_margin
or by using the property margin. Each time the margin is modified
the associated collision shape is recreated and the margin value is
used in ShapeBullet::prepare.
2018-08-16 16:58:15 +02:00
Bastiaan Olij
4194581823
Delay initialising lens distortion shader so GLES2 doesn't crash
2018-08-16 20:42:47 +10:00
Andrea Catania
a12e3bab23
Improved 6DOF joint implementation, and removed useless function from cone joint
2018-08-15 18:14:32 +02:00
willnationsdev
05f717376b
Add NativeScript support for script classes.
2018-08-15 10:58:13 -05:00
Will Nations
3ed9231117
Fix error spam from loading script class icons
2018-08-15 10:17:28 -05:00
Rémi Verschelde
040c6be426
Merge pull request #20560 from willnationsdev/class_icons
...
Add custom icons to script classes.
2018-08-15 15:16:29 +02:00
Rémi Verschelde
4548ec4a49
Merge pull request #20945 from neikeq/dict-erase-retbool
...
Dictionary: remove erase_checked(key), make erase(key) return bool
2018-08-15 01:08:23 +02:00
Juan Linietsky
4e55835e48
Merge pull request #18096 from aaronfranke/master
...
[Core] Split up math_2d.h
2018-08-14 18:58:32 -03:00
Will Nations
6d9cc032e7
Add custom icons to script classes.
2018-08-14 14:18:05 -05:00
Rémi Verschelde
b4f579b5ba
Merge pull request #20583 from neikeq/issue-15371
...
Fix case where exported properties value is lost
2018-08-14 21:08:56 +02:00
Kelly Thomas
815d08f10c
mono: add constants to transform and vector structs
2018-08-15 02:03:36 +08:00
Ignacio Etcheverry
21d285e30f
Dictionary: remove erase_checked(key), make erase(key) return bool
2018-08-14 19:19:05 +02:00
Ignacio Etcheverry
d7b9fcd336
Merge pull request #20890 from KellyThomas/mono-is-instance-valid
...
mono: add IsInstanceValid(), move WeakRef()
2018-08-14 18:12:18 +02:00
Kelly Thomas
9341129d14
mono: add IsInstanceValid(), move WeakRef()
2018-08-14 15:48:54 +08:00
Rémi Verschelde
695b8d254e
SCons: Fix mono_root initialization
...
As advised by @neikeq.
2018-08-14 08:55:37 +02:00
Ignacio Etcheverry
c4e75aa63a
Merge pull request #20706 from mysticfall/issue-20705
...
Add missing GetPtr() for Dictionary<> and Array<>
2018-08-13 22:37:09 +02:00
Rémi Verschelde
139e621338
Merge pull request #20913 from pulkomandy/master
...
Rebase patches for fixing haiku build.
2018-08-13 21:26:15 +02:00
Teashrock
51a0a38135
Fixed absent variable exception while trying to raise another exception.
2018-08-13 16:28:28 +02:00
Chaosus
179e15f876
Remove usage console spam
2018-08-13 16:51:17 +03:00
Rémi Verschelde
68ab428d4d
Merge pull request #20155 from Tunous/line-edit-clear
...
Add clear button to search fields
2018-08-13 12:54:57 +02:00
Adrien Destugues
a294a842cb
Rebase patches for fixing haiku build.
2018-08-11 17:20:51 +02:00
Juan Linietsky
b6b1d14ca1
Merge pull request #20753 from Faless/ws_fix
...
Fix WebSocket crash due to non PDO init after CowData PR
2018-08-11 09:45:12 -03:00
Łukasz Rutkowski
81fb81de9d
Do not use theme to set LineEdit right_icon
2018-08-11 12:04:26 +02:00
Łukasz Rutkowski
e8a435c8cd
Add clear text button to LineEdit
...
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
Aaron Franke
cf136a91d6
[Core] Completely kill math_2d.h, change includes
2018-08-11 03:08:34 -05:00
Aaron Franke
28fc195339
[Core] Change math_2d includes to vector2 includes where relevant
2018-08-10 14:59:29 -05:00
George Marques
eb48119821
Added system for GDScript warnings
...
- Count and panel per script.
- Ability to disable warnings per script using special comments.
- Ability to disable warnings globally using Project Settings.
- Option to treat enabled warnings as errors.
2018-08-10 16:00:47 -03:00
Juan Linietsky
ea3d997f9d
Revert "added get_creation_time function for gdscript"
2018-08-10 13:29:49 -03:00
Juan Linietsky
275e0d5ee4
Merge pull request #18914 from notwarp/master
...
added get_creation_time function for gdscript
2018-08-10 13:28:47 -03:00
Juan Linietsky
c76f444c4e
Merge pull request #14704 from poke1024/colorconstants
...
Allow some non-integer built-in constants in gdscript
2018-08-10 12:57:20 -03:00
JFonS
59fd18ab1a
New gizmo structure and new gizmo disabling menu
2018-08-09 20:58:39 +02:00
Juan Linietsky
14fd797c53
Merge pull request #20381 from AndreaCatania/phymat_2
...
Improved Physics material
2018-08-07 15:31:26 -03:00
Andrea Catania
5e65e28eed
Removed physics material combination mode. Added rough and absorbent parameter to material. Fixed 'change' signal connection
2018-08-07 19:38:04 +02:00
Juan Linietsky
edde52c8de
Added proper import support for 3D and Array textures
2018-08-06 14:56:06 -03:00
Fabio Alessandrelli
6a57f29573
Fix WebSocket crash due to non PDO init.
...
Move RingBuffer (and few related vars) to LWSPeer.
2018-08-06 03:47:02 +02:00
Marc Gilleron
6cf4f62f2b
Allow to create a heightmap collision shape from an image
2018-08-05 19:43:47 +01:00
Juan Linietsky
c41397596d
Merge pull request #20693 from AndreaCatania/soft_fix2
...
Fixed SoftBody pinned point offset calculation
2018-08-04 09:10:57 -03:00
Xavier Cho
5d2c239772
Add missing GetPtr() for Dictionary<> and Array<>
...
Add missing GetPtr() method for generic versions of Dictionary
and Array to fix #20705 .
2018-08-04 14:34:55 +09:00
Ignacio Etcheverry
b911165679
Merge pull request #20600 from exts/new_generic_methods
...
Mono: Added generic methods for PackedScene & ResourceLoader
2018-08-04 05:22:38 +02:00
exts
cdb4ae471b
Added generic method for ResourceLoader: Load<T>()
2018-08-03 13:40:42 -05:00
Andrea Catania
b469267d94
Fixed SoftBody pinned point offset calculation
2018-08-03 17:44:09 +02:00
Ignacio Etcheverry
3fa2404a79
Merge pull request #20644 from NickToony/master
...
Fixed Windows mono compile
2018-08-01 03:52:46 +02:00
Nick Hope
24b4694313
fixed: windows mono compile ( #20598 )
...
tidy: formatting.
2018-07-31 21:16:47 +01:00
Ignacio Etcheverry
ccce161d0e
Merge pull request #20639 from neikeq/issue-20531-and-cleanup
...
Mono: Fix property set_value and cleanup
2018-07-31 20:10:04 +02:00
Ignacio Etcheverry
4172fa03b5
Mono: Fix property set_value and cleanup
2018-07-31 19:49:16 +02:00
Bernhard Liebl
ba974b8d1e
Allow some non-integer built-in constants in gdscript
2018-07-31 17:56:48 +02:00
Ignacio Etcheverry
f3c7527225
Fix case where exported properties value is lost
...
Fixes exported property modified values lost when creating a placeholder script instance with a failed script compilation
- Object set/get will call PlaceHolderScriptInstance's new fallback set/get methods as a last resort. This way, placeholder script instances can keep the values for storage or until the script is compiled successfuly.
- Script::can_instance() will only return true if a real script instance can be created. Otherwise, in the case of placeholder script instances, it will return false.
- Object::set_script(script) is now in charge of requesting the creation of placeholder script instances. It's no longer Script::instance_create(owner)'s duty.
- PlaceHolderScriptInstance has a new method set_build_failed(bool) to determine whether it should call into its script methods or not.
- Fixed a few problems during reloading of C# scripts.
2018-07-29 22:40:12 +02:00
Hein-Pieter van Braam
0deb8dda51
Fix Mono compilation on Windows/Ming
...
(cherry picked from commit 83140541dc
)
2018-07-29 22:31:38 +02:00
Rémi Verschelde
d8e1cd7a10
mbedtls: Update to upstream version 2.12.0
...
_WIN32_WINNT redefinition fix is no longer needed as it was merged
upstream. PR 1453 is still not merged, diff updated to current state.
2018-07-28 11:16:58 +02:00
Rémi Verschelde
4488bb9956
Merge pull request #20463 from fire/vs_expand_hints_to_virtual_func
...
Visualscript: Carry property hint and hint string through to Visualscript virtual funcs
2018-07-28 09:49:23 +02:00
Rémi Verschelde
66429a1576
Merge pull request #17595 from viktor-ferenczi/issue-5042-subproc
...
Running builder (content generator) functions in subprocesses on Windows
2018-07-28 09:20:50 +02:00
K. S. Ernest (iFire) Lee
2650b87102
Carry property hint and hint string through to Visualscript virtual functions.
2018-07-27 13:12:34 -07:00
Rémi Verschelde
aecc3a444b
Merge pull request #20457 from fire/vs_generic_search_crash_and_connecting
...
Visualscript: misc generic search changes
2018-07-27 21:38:11 +02:00
Viktor Ferenczi
c5bd0c37ce
Running builder (content generator) functions in subprocesses on Windows
...
- Refactored all builder (make_*) functions into separate Python modules along to the build tree
- Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere
- Introduced stub to use the builders module as a stand alone script and invoke a selected function
There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp)
on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky
builds. Running all such content generators in a new subprocess instead of directly inside the
build script works around the issue.
Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle.
Suggested workaround did not fully work either.
Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of
running a cross-compilation on Windows they would still be used, but likely it will not happen
in practice. What counts is that the build itself is running on which platform, not the target
platform.
Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
2018-07-27 21:37:55 +02:00
Rémi Verschelde
33f1ca89a5
Merge pull request #20462 from fire/vs_don't_typeguess_nil
...
Visualscript: Don't type guess on nil and set default type to ""
2018-07-27 21:37:46 +02:00
Ignacio Etcheverry
92c59384ec
Merge pull request #17720 from paulloz/custom-csharp-glue
...
[mono] Generic Typed GetNode, GetChild, etc.
2018-07-27 18:47:19 +02:00
Bastiaan Olij
8a914f17b0
Fixed nativescript getter and setter logic
2018-07-27 23:45:29 +10:00
Bastiaan Olij
03d02e88fc
Reenabled module and fixed missing const
2018-07-27 18:43:50 +10:00
Paul Joannon
877ea882ce
Add missing methods to Node class in the mono glue
...
* GetNodeOrNull<T>
* GetChild<T>
* GetChildOrNull<T>
* GetOwner<T>
* GetOwnerOrNull<T>
* GetParent<T>
* GetParentOrNull<T>
2018-07-27 08:50:35 +02:00
George Marques
e8da2a60b3
GDScript: Fix parse error in string formatting
2018-07-26 10:52:11 -03:00
K. S. Ernest (iFire) Lee
607e5b7c95
Visualscript: Don't type guess on nil.
2018-07-26 06:39:36 -07:00
Rémi Verschelde
ef93fec789
Merge pull request #15643 from organicpencil/bullet_contact_impulse
...
Expose PhysicsDirectBodyState.get_contact_impulse
2018-07-26 15:36:37 +02:00
K. S. Ernest (iFire) Lee
00519debbe
Visualscript fix crash and generic search does not connect ports.
...
* Signal change requires function changes to _selected_new_virtual_method
2018-07-26 06:18:23 -07:00
Rémi Verschelde
96d37769d9
Merge pull request #20468 from vnen/typed-gds-fixes
...
General GDScript fixes
2018-07-26 13:48:37 +02:00
Rémi Verschelde
10af1b3444
Merge pull request #20477 from swarnimarun/vs_duplicate_fix
...
Fix Visual Script duplicate issue
2018-07-26 12:57:55 +02:00
Rémi Verschelde
391e46830f
doc: Sync classref with current source
...
Fix various missing arguments in bindings.
2018-07-26 11:56:21 +02:00
Rémi Verschelde
47a7dc7b3c
Merge pull request #18282 from aaronfranke/better-mathf
...
[Core] [Mono] Fix Color missing int export methods, added 64-bit
2018-07-26 10:48:47 +02:00
Swarnim Arun
b893dc2028
Fix Visual Script duplicate issue
2018-07-26 14:01:48 +05:30
George Marques
0b78e4f9e3
GDScript: Add type inference syntax for function arguments
2018-07-25 21:06:35 -03:00
George Marques
7db7b43cb0
GDScript: Fix type detection for String formatting operator
2018-07-25 20:50:13 -03:00
George Marques
aeb0b3114d
GDScript: Fix type detection on Object typed assign
...
Also make typed assigns a debug-only thing, so release builds are more
lenient on errors.
2018-07-25 20:50:12 -03:00
George Marques
a3ae4a9510
GDScript: Allow accessing constants of outer classes
2018-07-25 20:50:12 -03:00
George Marques
a62f4af7ba
GDScript: Enable built-in function introspection in non-tools
...
Only for debug builds. Fix problems in non-tools targets.
2018-07-25 20:50:12 -03:00
George Marques
3d6609303b
GDScript: Fix bogus error when a cursor token is found on class
2018-07-25 20:50:12 -03:00
George Marques
1ac9c0fe3a
GDScript: Allow strict conversion when assigning typed variables
2018-07-25 20:50:12 -03:00
George Marques
96ee93e8c7
GDScript: Fix mismatching between export hint and type hint
2018-07-25 20:50:12 -03:00
George Marques
4cb17191b8
GDScript: Allow inherited method to add optional arguments
...
Also show the parent method signature in the error message.
2018-07-25 20:50:11 -03:00
George Marques
cd6ad5462c
GDScript: Fix returned value of get_default_argument_count()
2018-07-25 20:50:11 -03:00
George Marques
65c069c8d9
GDScript: Fix main script detection
2018-07-25 20:50:11 -03:00
George Marques
b7bd85e70c
GDScript: Look up local scope first for detecting type
2018-07-25 20:50:11 -03:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Aaron Franke
e3368d692d
[Mono] Fix Color incorrect ordering of int export methods, added 64-bit
...
[Mono] Fix Color incorrect ordering of int export methods, added 64-bit long export methods.
2018-07-25 15:34:24 -05:00
Ignacio Etcheverry
762c912e8e
Fix continuous attempt to reload domain with API assemblies out of sync
2018-07-25 21:54:21 +02:00
Ignacio Etcheverry
f1130f9a8a
Mono: Fix domain reload never triggering
2018-07-25 21:31:02 +02:00
Ignacio Etcheverry
8edf85b09c
Fix '!valid' error spam on C# script instance create
2018-07-25 21:30:49 +02:00
Ignacio Etcheverry
5aefe5d936
Mono: Fix null dereferences
2018-07-25 21:30:11 +02:00
Rémi Verschelde
19fe78fe6f
Merge pull request #20450 from fire/vs_generic_search_20433
...
Visualscript: Don't show Shift+A search box at every screen.
2018-07-25 20:54:45 +02:00
Max Hilbrunner
bacc02b7d8
Merge pull request #20452 from fire/vs_hide_empty_categories_20433
...
Visualscript: Hide empty categories for basic types and methods.
2018-07-25 20:08:05 +02:00
K. S. Ernest (iFire) Lee
31008c9199
Visualscript: Don't show Shift+A search box at every screen and reuse EDIT_FIND_NODE_TYPE (ctrl-f) shortcut.
...
The generic search shortcut is now CTRL-F.
2018-07-25 09:34:52 -07:00
Ignacio Etcheverry
fe28e323b3
Merge pull request #20298 from PJB3005/18-07-20-mono-partial-api-ext
...
Makes Mono binding classes partial & adds GetNode<T>.
2018-07-25 18:03:57 +02:00
K. S. Ernest (iFire) Lee
5b2c4b77e2
Visualscript: Hide empty categories for basic types and methods.
2018-07-25 08:56:03 -07:00
Thomas Herzog
95d9302248
Merge pull request #20370 from marcelofg55/gdnative_crash
...
Fix possible crash at NativeScript::get_base_script
2018-07-25 17:09:51 +02:00
Marcelo Fernandez
77f3c0b495
Fix possible crash at NativeScript::get_base_script
2018-07-25 10:58:15 -03:00
Rémi Verschelde
f778bd8e69
Merge pull request #20404 from TigerCaldwell/master
...
Ensured consistency between RigidBody, PhysicsDirectBodyState, PhysicsServers and their 2D counterparts
2018-07-25 08:25:34 +02:00
Juan Linietsky
2e67fc57e6
Merge pull request #18867 from fire/better_vx_us_rebase_02
...
Improve VisualScript UX
2018-07-24 18:02:10 -03:00
K. S. Ernest (iFire) Lee
85670726fd
Improve VisualScript UX
...
* Prototype faster function call ux.
* Work on general search ux.
* Able to create nodes from search.
* Show class for variables but not methods.
* Get actions search working.
* Descriptions now show for both methods and properties.
* Enable zooming on mouse wheel up and down.
* Make the drag trigger on right mouse button.
* Search now shows for action visual script nodes.
* Able to search visual node names.
* Search works better.
* Change zooming scale to hide artifacts better.
* Remove zoom changes
* Select from base should check properties too like the other functions.
* Seq_connect flag is needed to set sequence lines correctly.
* Remove comment
* Code cleanup with function names and arguments.
* Use brief description for search descriptions.
* Clean and fix bug with input nodes connecting with sequence lines.
* Add a warning and fix some edge conditions with sequence into data lines and vice versa.
* Don't search functions when pulling from a sequence node.
* Don't show actions when pulling from a data line.
* Set set and get properties.
* Convert visual script operators to the correct type
* Create a function preset finds only functions.
* Singletons can now find functions.
* Add shift-a for generic search.
* Add brief descriptions for Visual Script nodes.
* Search boxes can now filter names.
* Add bigger hit zones to node connect.
* For the drop zones, make all the rect2 areas the same size.
* Function names in visual script node should be lower case so that search works better.
* Use the convention of capitalize() for set, set, visual script nodes and methods.
* Make search more general. Ignore "_" and make case-insensitive. Also made the search window smaller and remove extra info from search
* Make type_cast use the connecting node's type and remove use of found variable.
* Fix case where you call an instance's call function where it becomes an invalid call.
* Make get_visual_node_names use a set of filters, move action creations and fix bug with sequence node connections.
* Make the window bigger.
* Make connect_data and connect_seq more robust.
* Add icons to search items.
* Add vs constructors in shift-a menu.
* Operators, builtins and constructors show type name. Fix several problems with port connections.
* In shift-a mode search everything.
* Code cleanup
* Work on autocompleting the type.
* Use type guess in action creation.
* Check if type hint string exists in object variables when generating the visual script search.
* Add the hint to SceneTree.
* Add original type detection.
* Make type casting great again. This puts the type casted base type as the data output type string hint.
* Pass the type in a VisualScriptFunctionCall too.
* Set the base type correctly in VisualScriptFunctionGet and VisualScriptFunctionSet using hint string.
* Make sure the instance is passed in VisualScriptPropertySet.
* Restore search on the node's type.
* Remove dependencies from graph_edit.
* Remove dependencies from property_selector and name the class visual_script_property_selector.
* Extract hot zones into a function.
* Move hot_zones constants into default theme.
* Bigger capture zones.
* Clean messy port_grab_distance variables.
* Remove RMB functionality.
* Remove memory leak on showing visual script descriptions.
* Read the port_grab_distance constants on enter tree and theme changed.
2018-07-24 13:59:28 -07:00
Max Hilbrunner
b92c432313
Merge pull request #19225 from Paulb23/open_all_files_in_script_editor
...
Open all files in script editor
2018-07-24 21:52:11 +02:00
Tiger Caldwell
40c7716586
Modified RigidBody, PhysicsDirectBodyState, PhysicsServer, and their respective 2D counterparts to be more consistent and to include more useful methods.
...
RigidBody:
- Added add_central_force
- Added add_force
- Added add_torque
- Added apply_central_impulse
RigidBody2D:
- Added add_central_force
- Added add_torque
- Added apply_central_impulse
- Added apply_torque_impulse
PhysicsDirectBodyState:
- Added apply_central_impulse
Physics2DDirectBodyState:
- Added add_central_force
- Added add_force
- Added add_torque
- Added apply_central_impulse
- Added apply_impulse
- Added apply_torque_impulse
PhysicsServer:
- Added body_add_force
- Added body_add_torque
- Added body_add_central_force
- Added body_apply_central_impulse
Physics2DServer:
- Added body_add_torque
- Added body_add_central_force
- Added body_apply_central_impulse
- Added body_apply_torque_impulse
Also fixed some small bugs along the way
2018-07-24 05:00:56 -04:00
Wilson E. Alvarez
a22e746bc3
Removed unnecessary assignments
2018-07-24 09:51:03 +02:00
Ignacio Etcheverry
779c9d638e
Merge pull request #15880 from neikeq/better-collections
...
Mono: Add Dictionary and Array classes
2018-07-23 23:59:04 +02:00
AndreaCatania
17ebbfb56d
Implemented Soft body
...
- Soft Body Physics node
- Soft Body Rendering
- Soft body Editor
- Soft body importer
2018-07-23 20:50:23 +02:00
Juan Linietsky
1ad20dc2f1
Merge pull request #12403 from AndreaCatania/phymat
...
Physics material
2018-07-23 07:37:03 -03:00
Rémi Verschelde
df170d81cc
Mono: Default to not shipping C# scripts content
...
Fixes #20053 .
2018-07-22 17:28:17 +02:00
Paulb23
8ff747171f
Allow opening and editing of any utf_8 file in script editor
2018-07-22 11:55:56 +01:00
Ignacio Etcheverry
525384d8cc
Merge pull request #20337 from aaronfranke/mono-pascal-gd
...
[Mono] Improvements to GD.cs: PascalCasing and real_t
2018-07-22 03:49:58 +02:00
Rémi Verschelde
7478649b2f
Merge pull request #20229 from aaronfranke/mono-warning-text
...
[Mono] Update about/warning text
2018-07-22 00:40:15 +02:00
Aaron Franke
174cf31d00
[Mono] Improvements to GD.cs: PascalCasing and real_t
...
[Mono] Improvements to GD.cs: PascalCasing and real_t
2018-07-21 16:40:46 -05:00
Rémi Verschelde
92415365c8
Merge pull request #19264 from vnen/typed-gdscript-final
...
Typed GDScript
2018-07-21 23:13:51 +02:00
Juan Linietsky
2b9902db06
-Fix disable_3d flag
...
-Add extra flag optimize=[size,speed] to be able to prioritize size
2018-07-21 17:26:49 -03:00
Aaron Franke
69530ef614
[Mono] Update about/warning text
...
I've removed the section about being unable to export games using C# - as you are now able to do this, as long as the export templates are installed. Also, I've made a few minor grammar tweaks.
2018-07-21 15:26:41 -05:00
George Marques
3e87ad5187
Rewrite code completion
...
- Use data type struct from the parser.
- Avail from type hints when type can't be guessed.
- Consider inner classes and other scripts when looking for candidates.
2018-07-20 21:55:18 -03:00
George Marques
3445dca01d
Add ability to infer variable type from assigned value
...
Syntax: var x : = 42
Infers the type of "x" to be an integer.
2018-07-20 21:55:18 -03:00
George Marques
03746da73f
Add editor highlight for type-safe lines
...
The line number is hightlighted to indicate that the line contains only
type-safe code.
2018-07-20 21:55:18 -03:00
George Marques
a2305cd8b2
Fix line number detection in some parser nodes
2018-07-20 21:55:17 -03:00
George Marques
75f395c2a0
Use type hints to improve completion
...
- Allow type hints to be completed.
- Use type information to infer completion candidates.
- Show typed function signature in tooltip.
- Add type hints when completing declaration from virtual functions
(optional).
2018-07-20 21:55:17 -03:00
George Marques
95351ac867
Add syntax highlighting to type hints
2018-07-20 21:55:17 -03:00
George Marques
e3d72d14ff
Use type information to enable GDScript introspection
...
This makes the Script API provide accurate information when requesting
property or method info.
2018-07-20 21:55:17 -03:00
George Marques
4b18c4e448
Add typed instructions to GDScript
...
- Typed assignment (built-in, native, and script).
- Cast (built-in conversion; native and script checks).
- Check type of functions arguments on call.
- Check type of members on set.
2018-07-20 21:55:17 -03:00
George Marques
743053734f
Add static type checks in the parser
...
- Resolve types for all identifiers.
- Error when identifier is not found.
- Match return type and error when not returning a value when it should.
- Check unreachable code (code after sure return).
- Match argument count and types for function calls.
- Determine if return type of function call matches the assignment.
- Do static type check with match statement when possible.
- Use type hints to determine export type.
- Check compatibility between type hint and explicit export type.
2018-07-20 21:55:16 -03:00
George Marques
f7793fc5c9
Store type hint of declared identifiers
2018-07-20 21:55:16 -03:00
George Marques
b7a00aead0
Move inheritance resolution to the parser
2018-07-20 21:55:16 -03:00
George Marques
8aab9a06d4
Add typing syntax
2018-07-20 21:55:16 -03:00
Juan Linietsky
6c09cdd136
Merge pull request #20157 from GodotExplorer/image-load-webp
...
Add webp buffer loader for Image
2018-07-20 12:00:21 -03:00
Pieter-Jan Briers
a8c97eb094
Makes Mono bindings partial & adds GetNode<T>.
2018-07-20 13:55:13 +02:00
Ignacio Etcheverry
a85f0f89fe
Merge pull request #20257 from oisincar/fix_basis
...
Fix bug with Basis.Transposed()
2018-07-20 06:47:15 +02:00
Ignacio Etcheverry
ee3c476c9a
Add Array and Dictionary wrapper classes to C#
2018-07-20 01:44:30 +02:00
Bastiaan Olij
6843f39875
Added some documentation for the CSG nodes
2018-07-19 22:24:46 +10:00
oisincar
7a4d593198
Fix bug with Basis.Transposed()
...
Fix bug where Basis.Transposed() incorrectly updated local basis, and
returned an unmodified copy. This also fixes Transform.Inverse().
2018-07-19 00:17:45 +01:00
Ignacio Etcheverry
a731bd5864
Merge pull request #20253 from neikeq/nobranchnameideasfeelsbadman
...
Make C# bindings generator ignore disabled classes
2018-07-18 21:20:34 +02:00
Ignacio Etcheverry
92c7fe422b
Make C# bindings generator ignore disabled classes
2018-07-18 21:15:41 +02:00
Juan Linietsky
09b1fdc97b
Merge pull request #19931 from BastiaanOlij/csg_polygon_local
...
Added path_local, path_continuous_u and path_joined properties to CSGPolygon
2018-07-18 11:33:47 -03:00
Rémi Verschelde
7c9f7452f4
Style: Format code with clang-format 6.0.1
2018-07-18 16:27:03 +02:00
Max Hilbrunner
2ba1f76870
Merge pull request #20195 from Faless/ssl_handshake
...
Non-blocking SSL handshake
2018-07-17 12:09:31 +02:00
geequlim
c5efe5d625
Add webp buffer loader for Image
...
Cleanup the code memory load related code for Image
Fix jpeg buff load function always returns OK event failed
2018-07-17 12:03:45 +08:00
Fabio Alessandrelli
99d0b7ba14
Implement non blocking-handshake for StreamPeerSSL
2018-07-16 13:08:17 +02:00
Juan Linietsky
a3f1ee5c57
Global class names (and GDScript support for it)
2018-07-15 19:29:00 -03:00
Max Hilbrunner
118d4f3115
Merge pull request #19540 from muiroc/cylinder
...
Cylinder resource and collision shape (bullet only)
2018-07-12 05:09:37 +02:00
K. S. Ernest (iFire) Lee
e0510369d6
Fix visual script editor interface
2018-07-10 11:17:00 -03:00
Rémi Verschelde
27b70914e4
Merge pull request #19422 from Faless/mbedtls_2.10
...
Bump mbedTLS to version 2.10.0
2018-07-10 15:04:16 +02:00
Max Hilbrunner
04d9f8dbd6
Merge pull request #20046 from SaracenOne/bmp_fix
...
Fix bits_per_pixel validation in BMP and TGA loader modules.
2018-07-10 13:35:14 +02:00
Mads Ynddal
39aabba0a9
Added path for Mono installed through Homebrew
...
On macOS, it is common to install packages like Mono through the third-party
package-manager Homebrew. This commit simply adds an additional path to
where Homebrew installs the Mono framework.
2018-07-10 00:29:05 +02:00
Saracen
115f6d14a0
Fix bits_per_pixel validation in BMP and TGA loader modules.
2018-07-08 18:51:20 +01:00
Bastiaan Olij
a971288bb0
Added path_local and path_continious_u properties to CSGPolygon
2018-07-07 18:20:21 +10:00
Max Hilbrunner
3f272c6ae6
Merge pull request #19637 from dragmz/19548
...
Fix onready vars / vars accessing class members if _ready / _init not present
2018-07-05 04:15:47 +02:00
Ignacio Etcheverry
d4f860c768
Merge pull request #19231 from aaronfranke/mono-fposmod-to-mod
...
[Mono] Rename Fposmod to PosMod, fix output
2018-07-05 01:05:44 +02:00
Max Hilbrunner
d988d188ad
Merge pull request #18966 from chanon/new-debug-print
...
Add new debug print method that shows line number where the print came from
2018-07-04 23:50:45 +02:00
Ignacio Etcheverry
02372bfdf7
Merge pull request #19872 from exts/export_signals
...
Mono: Fixes annotated signal loading in exported binaries
2018-07-04 21:30:49 +02:00
Ignacio Etcheverry
769f172602
Merge pull request #19756 from NathanWarden/mono_lerp_fixes
...
[C#] Lerp now consistent with Godot API. InverseLerp fixed.
2018-07-04 21:23:50 +02:00
Ignacio Etcheverry
f8daa080f2
Merge pull request #19965 from neikeq/issue-19961
...
Mono: Fix build script not decoding process utf-8 output
2018-07-04 16:09:42 +02:00
Ignacio Etcheverry
33fd0f762d
Mono: Fix build script not decoding process utf-8 output
2018-07-04 16:07:52 +02:00
Rémi Verschelde
0b7df80eb1
Merge pull request #19937 from akien-mga/video-exporting
...
Fix loading and exporting of Theora and WebM video streams
2018-07-04 08:17:53 +02:00
=
489c9adf03
Mono: Fixes annotated signal loading in exported binaries
2018-07-03 22:12:27 -05:00
Ignacio Etcheverry
ac9e736b06
Merge pull request #16987 from neikeq/pending-exceptions
...
Mono: Pending exceptions and cleanup
2018-07-04 03:45:10 +02:00
Ignacio Etcheverry
4739cb8c00
Mono: Pending exceptions and cleanup
2018-07-04 03:08:29 +02:00
Kelly Thomas
88b89c2084
Changes to default C# script template ( #19940 )
2018-07-04 03:00:07 +02:00
Rémi Verschelde
6dc20adadd
Fix loading and exporting of Theora and WebM video streams
...
Theora and WebM video streams were mistakenly imported with a ResourceImporter,
but those imported ogvstr and webmstr were simply links to the local resource.
While that works fine in the editor, it no longer works when exporting a game
as the "source" ogv and webm files are ommitted and only the ogvstr and webmstr
references were exported.
As discussed with @reduz, it doesn't make sense to import videos, as we only
intend to play them back and not modify them/access their raw data. As such we
use a ResourceFormatLoader instead of an importer, to load the file on the fly.
ogv and webm files linked to this loader are now considered as resources, and
thus exported.
Note: The Theora and WebM loaders lack any kind of validity check beyond the
existence of the target file, but it was already the case with the importer.
Better checks and error reports could be added, but those loaders will eventually
be obsoleted by GDNative plugins anyway.
Fixes #14954 .
2018-07-03 20:21:46 +02:00
Max Hilbrunner
aad475937b
Merge pull request #19828 from jjay/fix_yield_leak
...
Fix memory leak in GDScript during infinnity loops with yields
2018-07-03 18:51:13 +02:00
Max Hilbrunner
2017119a3d
Merge pull request #19919 from marcelofg55/notif_crash
...
Add a new notification to detect crashes on native scripts
2018-07-03 18:42:49 +02:00
Max Hilbrunner
72e05f3f99
Merge pull request #16944 from rainerdeyke/master
...
Added 'fill selection' command to grid map editor
2018-07-03 18:32:39 +02:00
Max Hilbrunner
5885e1c6dd
Merge pull request #18976 from chanon/new-get-stack
...
Add new get_stack function to get GDScript stack trace as array
2018-07-03 17:50:05 +02:00
Max Hilbrunner
f672ea1559
Merge pull request #19138 from firefly2442/pcre2-10.31
...
update PCRE2 to version 10.31, fixes #15662
2018-07-03 17:43:22 +02:00
Max Hilbrunner
0705eb904a
Merge pull request #19251 from YeldhamDev/script_templates_changes
...
Small changes to the comments in the script templates
2018-07-03 16:48:03 +02:00
Max Hilbrunner
beefe98974
Merge pull request #19635 from bojidar-bg/19158-exported-array-new-inspector
...
Add proper type information to array property
2018-07-03 15:47:02 +02:00
Marcelo Fernandez
deebeb2742
Add a new notification to detect crashes on native scripts
2018-07-02 16:18:58 -03:00
Juan Linietsky
2dc738ce27
-Fixes to how hashing happened, now StringName and NodePath use default hasher, this was leading to some severe slowdown in scenarios
...
-Fixes to some duplication scenarios for instanced scenes
2018-07-02 15:08:35 -03:00
muiroc
0a36e974da
added cylinder shape support
2018-07-01 11:16:54 +02:00
Ignacio Etcheverry
68c106d60d
Merge pull request #19768 from KellyThomas/env-string
...
mono: convert unicode mono root path to ascii string
2018-07-01 01:17:06 +02:00
Kelly Thomas
753230c275
convert unicode mono root path to ascii string
2018-06-30 08:58:41 +08:00
Thomas Herzog
22dac831bc
Merge pull request #19757 from Faless/gdnet_pr
...
Network bindings for GDNative
2018-06-29 19:32:22 +02:00
Yasha Borevich
30317296af
Fix memory leak in GDScript during infinnity loops with yields
2018-06-28 23:55:30 +03:00
Rémi Verschelde
87dc0d7c7e
Merge pull request #19827 from Faless/lws_fix_lite
...
Fix fragment size bug in WebSocket (lws)
2018-06-28 18:12:11 +02:00
Juan Linietsky
eeab3502d5
Changes to how node paths are selected from property, allowing setting a hint.
2018-06-27 20:50:25 -03:00
Fabio Alessandrelli
15451479e5
Add [Packet/Stream/Multiplayer]PeerGDNative
...
They provide an interface to implement PacketPeer, StreamPeer, and
NetworkedMultiplayerPeer via GDNative.
2018-06-27 19:07:30 +02:00
Aaron Franke
5b2b23c9a9
[Mono] Rename Fposmod to PosMod
...
[Mono] Rename Fposmod to PosMod
2018-06-27 00:58:24 -05:00
Nathan Warden
c2315e3291
Lerp now consistent with Godot API. InverseLerp fixed.
2018-06-24 17:52:17 -05:00
Fabio Alessandrelli
267b3746c5
Sanitize protocol struct, def LWS T/RX buffer size
2018-06-23 20:17:15 +02:00
Ignacio Etcheverry
25275de50e
Merge pull request #19016 from neikeq/w
...
Mono: Module build improvements
2018-06-22 19:18:15 +02:00
Ignacio Etcheverry
ec6416d2b6
Mono: Module build improvements
...
- Add (Csc/Vbc/Fsc)ToolExe environment variables when running Mono's MSBuild.
- Fix directory for the 'mono_assemblies_output_dir' argument being created with the '#' top level directory token as part of its name.
- Allow to build with 'mono_static=yes' on Unix without specifying a mono prefix. The build script will try to find the mono prefix using the output from pkg-config.
2018-06-22 19:14:58 +02:00
Rhody Lugo
920224a535
add NoCache wrapper to Command
2018-06-21 03:00:33 -04:00
Bastiaan Olij
1697cbb4bb
Add access for GDNative modules to some platform dependent internals on Android
2018-06-19 17:49:23 +10:00
Marcin Zawiejski
317dcb084b
Fix onready vars / vars accessing class members if _ready / _init not present
2018-06-18 23:31:48 +02:00
Bojidar Marinov
8ecef3496c
Add proper type information to array property
...
Part of #19158
2018-06-18 22:24:31 +03:00
Emmanuel Leblond
380b85a32f
[Pluginscript] Fix not working exports in editor
2018-06-15 23:11:20 +02:00
Paulb23
08c036b706
Removed duplicate default colours and removed GDScriptHighligher colours from main editor.
2018-06-13 18:25:02 +01:00
Rémi Verschelde
f0fa590210
Merge pull request #19526 from robojumper/fix_tutorials
...
Add support for tutorial links to makerst.py
2018-06-13 14:29:45 +02:00
robojumper
98b59cf2a3
Add support for tutorial links to makerst.py
...
Also change the <tutorials> structure to make use of individual <link> tags
2018-06-12 17:40:24 +02:00
Jairo Honorio
afcac41d31
Inner classes' functions now appear in the editor's functions panel
...
Fixes #19386
2018-06-12 10:43:37 -03:00
Michael Alexsander Silva Dias
fd17b960e9
Small changes to the comments in the script templates.
2018-06-11 02:04:51 -03:00
Benjamin
1535ffab06
Fix CSG issues when reparenting shape nodes.
2018-06-10 17:54:42 +02:00
Fabio Alessandrelli
888379e513
Bump mbedTLS to version 2.10.0
2018-06-07 18:50:44 +02:00
Fabio Alessandrelli
e56a3c1dc4
Bump libwebsockets to version 3.0.0
2018-06-07 18:07:35 +02:00
Rémi Verschelde
d0811ed3f9
Thirdparty: Fill copyright for lws, miniupnpc, clipper
...
Rename `lws` to `libwebsockets` which is its library name.
Add missing license file for mbedtls.
2018-06-07 10:46:05 +02:00
Fabio Alessandrelli
b4c65093d7
Merge pull request #18780 from mhilbrunner/upnp
...
Add UPnP support (port forwarding, querying external IP)
2018-06-07 02:10:48 +02:00
mhilbrunner
c21da40de5
Add UPnP support (port forwarding, querying external IP)
2018-06-07 01:52:04 +02:00
Max Hilbrunner
aaf93f92d8
Merge pull request #19397 from Faless/ws_get_ip_port
...
Fix LWSPeer get_connected_[host/port]
2018-06-06 20:38:39 +02:00
Fabio Alessandrelli
6cda58a12f
Fix LWSPeer get_connected_[host/port]
2018-06-06 18:34:08 +02:00
Kelly Thomas
17516822f9
allow undefined GODOT_DEBUG_MSBUILD environment variable
2018-06-06 22:31:54 +08:00
Ignacio Etcheverry
b4f66e04e8
Merge pull request #19387 from neikeq/y
...
Mono fixes and improvements
2018-06-05 22:28:46 +02:00
Ignacio Etcheverry
4a021fa7a2
Mono: Add 'View log' button to open the MSBuild log of a build
2018-06-05 22:21:52 +02:00
Ignacio Etcheverry
25f10b3c40
Mono: Fix passing wrong logger assembly path to MSBuild
...
- Add option to print MSBuild's stdout and stderr instead of redirecting it. This can be enabled by setting the environment variable: Godot_DEBUG_MSBUILD=1
2018-06-05 22:18:43 +02:00
Ignacio Etcheverry
7933a6cc9f
Mono: Null checks when marshaling from MonoArray* and managed Dictionary
2018-06-05 22:14:32 +02:00
Rémi Verschelde
6e32a2886f
Merge pull request #18792 from PJB3005/18-05-11-objectdb-verbose-mono
...
Fixes ObjectDB leak printout with mono.
2018-06-05 10:03:11 +02:00
Hein-Pieter van Braam
f2d669f5d3
Fix Mono static linking on Mingw
2018-06-01 21:46:46 +02:00
Rémi Verschelde
43b7ebf0a0
Style: Apply clang-format (5.0) to some missed files
2018-05-31 09:00:37 +02:00
Rémi Verschelde
59c2c21b15
Move NavigationMeshEditorPlugin to Recast module as should be
...
Modules can register their own editor plugins (like GridMap does),
so no need to put module-specific classes in the `editor/` folder.
Also cleans up the previous SCons env pollution from the Recast
module, integrating its code into libmodules as other modules.
2018-05-30 22:10:11 +02:00
Rémi Verschelde
65fc525ed8
Merge pull request #19272 from akien-mga/svg-buildsystem
...
SCons: Remove extraneous lib for SVG module
2018-05-30 22:10:03 +02:00
Rémi Verschelde
3334209a73
SCons: Pass env to modules can_build method
...
This allows to disable modules based on the environment,
in particular `env[tools]` which tells us if we are
building the editor or not.
2018-05-30 19:11:36 +02:00
Rémi Verschelde
5eb611b297
SCons: Remove extraneous lib for SVG module
...
It was likely copy pasted by mistake from the freetype module,
which is more complex due to its usage in the core of the engine.
The SVG module does not seem to need any special treatment,
apart from linking in the main env so that editor can access it.
2018-05-30 16:56:24 +02:00
Rémi Verschelde
fc7f931d26
Merge pull request #19255 from Faless/rpc_sync_mmore
...
RPCMode refactor, more sync modes (2)
2018-05-30 14:59:08 +02:00
Bastiaan Olij
3d9dffdef7
Merge pull request #19171 from BastiaanOlij/add_arvr_interface_gdnative_version
...
Adding version info to GDNative ARVR interfaces
2018-05-30 18:49:07 +10:00
Fabio Alessandrelli
8e35d937a9
New sync keywords in GDScript, NativeScript, Mono
2018-05-29 20:26:41 +02:00
Fabio Alessandrelli
1400f6fdc4
Refactor RPCMode enum and checks
2018-05-29 20:26:41 +02:00
Max Hilbrunner
4c69a495c9
Revert "RPCMode refactor, more sync modes"
2018-05-29 11:47:52 +02:00
Max Hilbrunner
d0b62ce155
Merge pull request #19021 from Faless/rpc_sync_fix
...
RPCMode refactor, more sync modes
2018-05-29 09:44:03 +02:00
Rémi Verschelde
53440ddeec
Merge pull request #19199 from AndreaCatania/kinimp
...
Improved kinematic test_body_motion code
2018-05-29 07:50:25 +02:00
firefly2442
5383ae005c
update PCRE2 to version 10.31, fixes #15662
2018-05-28 21:11:41 -06:00
George Marques
38284bc6da
Enable singletons to be recognized as constant expressions
...
Fix #14681
2018-05-28 13:40:16 -03:00
chanon
3ea6d9f37d
add new print_debug method which shows source and line number
2018-05-28 18:37:07 +07:00
Ignacio Etcheverry
97342e6985
Merge pull request #19201 from neikeq/issue-13837
...
Mono: Fix MonoImage filename being set to an invalid path
2018-05-27 17:19:13 +02:00
Ignacio Etcheverry
97fb999976
Mono: Fix MonoImage filename being set to an invalid path
2018-05-27 17:15:41 +02:00
Andrea Catania
97a1011ba1
Improved kinematic test_body_motion code
2018-05-27 14:55:52 +02:00
Bastiaan Olij
8901b3cf00
[WIP] Adding version info to GDNative ARVR interfaces
2018-05-27 20:31:41 +10:00
Max Hilbrunner
7e8b7a7815
Merge pull request #18379 from ZDDM/18-04-23-audiostream-docs
...
Fully expose the data variable in AudioStreamSample and AudioStreamOGGVorbis
2018-05-26 18:22:05 +02:00
Max Hilbrunner
2fca33ac7b
Merge pull request #18516 from PJB3005/18-04-30-visual-script-title-bars
...
Move things into the title bars of Visual Script nodes.
2018-05-26 18:06:58 +02:00
Fabio Alessandrelli
a5e8a3be5e
New sync keywords in GDScript, NativeScript, Mono
2018-05-26 10:49:33 +02:00
Fabio Alessandrelli
9de4ffde61
Refactor RPCMode enum and checks
2018-05-26 10:43:43 +02:00
Ignacio Etcheverry
a830e633a2
Merge pull request #19074 from cart/optimize-mono-pool-marshal
...
Reduce allocations when converting mono arrays to pool arrays
2018-05-25 11:04:16 +02:00
Rémi Verschelde
17faf11119
Merge pull request #19063 from KellyThomas/c-sharp-feature-parity-vectors
...
mono: Add Slerp method to vector classes, expose Cross method for Vector2
2018-05-25 09:44:03 +02:00
Ignacio Etcheverry
64c903580e
Merge pull request #19149 from neikeq/x
...
Mono: Improve 'script class not found' error
2018-05-24 20:38:18 +02:00
Ignacio Etcheverry
c8945fe7d8
Mono: Improve 'script class not found' error
...
No longer printed when using using placeholder script instances (for non-tool scripts in the editor).
Print different error if the project assembly is not loaded
2018-05-24 20:16:23 +02:00
Max Hilbrunner
aee8d26252
Merge pull request #19131 from YeldhamDev/connection_comment_capitalize
...
Capitalized comments of methods created by the Connect Signal dialog
2018-05-24 01:21:17 +02:00
Michael Alexsander Silva Dias
4e257293d9
Capitalized comments of methods created by the Connect Signal dialog.
2018-05-23 18:11:00 -03:00
George Marques
3cec24baa8
Fix positive operator in GDScript compiler
2018-05-23 17:43:56 -03:00
Kelly Thomas
b335274bcd
mono: add Slerp method to vector classes, expose Cross method for Vector2, and fix unnecessary casts in Basis
2018-05-22 08:27:49 +08:00
Kelly Thomas
c7e98eef67
Fix index out of range error in string.Extension()
2018-05-21 18:48:53 +08:00
Carter Anderson
56262ceafe
Reduce allocations when converting mono arrays to pool arrays
2018-05-20 18:18:06 -07:00
Rémi Verschelde
228b09bafb
Merge pull request #18974 from KellyThomas/c-sharp-feature-parity-basis
...
Mono: Basis constructor for euler parameter
2018-05-18 21:09:57 +02:00
Ignacio Etcheverry
fc90f41f53
Merge pull request #18975 from KellyThomas/c-sharp-feature-parity-color
...
mono: New Color methods: Darkened, Lightened and ToRgba32
2018-05-18 20:09:01 +02:00
Kelly Thomas
16e1b4bacf
mono: Plane, expose Normal, and D
2018-05-17 23:04:20 +08:00
chanon
a56d6ff35f
add new get_stack function to get GDScript stack trace as array
2018-05-17 21:06:30 +07:00
Kelly Thomas
88bd33f451
mono: New Color methods: Darkened, Lightened and ToRgba32
2018-05-17 21:41:19 +08:00
Kelly Thomas
c26d30986a
Mono: Basis constructor for euler parameter
2018-05-17 21:31:14 +08:00
Michele Valente
6c74f3de6d
fixes build error on Linux after its introduction in #18949
...
The function expects now a return value. Returning NULL seems to work in
this case.
2018-05-17 11:34:05 +02:00
Rémi Verschelde
b0649d2718
Merge pull request #18405 from flashyincceo/gdscript-constants-help
...
Fix Ctrl+click on @GDScript constants
2018-05-17 09:36:55 +02:00
Rémi Verschelde
c3510cd981
Merge pull request #18949 from neikeq/alo
...
Mono: Project building fixes
2018-05-17 08:33:54 +02:00
Ignacio Etcheverry
01397a10d9
Mono: Project building fixes
...
- Set (Csc/Vbc/Fsc)ToolExe environment variables to point to the batch files in Mono's bin directory when building with Mono's MSBuild.
- Set Mono's MSBuild as the default build tool on Windows.
- Generate projects with portable DebugType instead of full.
2018-05-17 01:26:23 +02:00
Ignacio Etcheverry
41f79a6f14
Merge pull request #18889 from madadam/async-await-fix
...
Set current SynchronizationContext before the game loop starts
2018-05-16 23:44:55 +02:00
Guilherme Felipe
35024d4e7b
Add missing copyright headers
2018-05-16 14:50:44 -03:00
Juan Linietsky
dfd1331690
Allow editing of some unbound properties when hinted (or no range hinted)
2018-05-16 09:13:41 -03:00
Rémi Verschelde
dfee637ff9
Merge pull request #18897 from volzhs/libwebp-1.0.0
...
Update libwebp to 1.0.0
2018-05-16 02:31:01 +02:00
Daniele Giuliani
d315b0fb8a
added get_creation_time function for gdscript
2018-05-16 00:50:57 +02:00
Juan Linietsky
005b69cf6e
-New inspector.
...
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
2018-05-15 17:14:31 -03:00
volzhs
6ed8124923
Update libwebp to 1.0.0
2018-05-16 01:00:55 +09:00
Adam Cigánek
f25240cfe6
Set current SynchronizationContext before the game loop starts
...
This fixes the problem that `SynchronizationContext.Current` would be null
during the call to `_EnterTree`, `_Ready` and the first call to `_Process` thus
the task continuations would be scheduled outside the main thread, which is unexpected and might lead to crashes.
With this change, task continuations are scheduled always on the main thread and so async/await can be used without any explicit synchronization, which is what is expected.
Fixes #18849
2018-05-15 15:09:40 +02:00
Juan Linietsky
47d4a011d8
Merge pull request #18545 from vnen/editor-autoload
...
Enable autoload in editor
2018-05-14 17:59:34 -03:00
Leon Krause
b8c35b4078
Fix duplicate definitions with FreeType
2018-05-13 15:20:05 +02:00
Fabio Alessandrelli
f95e4c72df
Expose channels in NetworkedMultiplayerENet
2018-05-12 23:51:58 +02:00
Rémi Verschelde
9af5cab32e
Merge pull request #18802 from bruvzg/fix_x11_arm_build
...
Fix X11 build on ARM Linux
2018-05-12 09:39:51 +02:00
Rémi Verschelde
3d9deda8b3
Sync classref with current source
2018-05-12 09:38:00 +02:00
bruvzg
ce64c2a32e
Fix Linux/X11 build on ARMs.
2018-05-11 17:34:43 +03:00
Pieter-Jan Briers
27d70924a0
Fixes ObjectDB leak printout with mono.
...
Fixes #18767
2018-05-11 13:50:56 +02:00
AndreaCatania
5f66734d2d
Implemented physics material
...
Hidden a function
Fixed travis static check
2018-05-11 03:23:09 +02:00
karroffel
70866bbafd
changed GDNative API json format
2018-05-10 22:03:06 +02:00
Rémi Verschelde
919d802e66
Merge pull request #18183 from Paulb23/gdscript_highlighter_inital_changes
...
GDScript function definition and get_node shortcut syntax highlighting
2018-05-10 01:25:51 +02:00
Marcelo Fernandez
e64bbcc429
Fix some enums missing its bind
2018-05-08 21:14:31 -03:00
Max Hilbrunner
e744d12e56
Merge pull request #18709 from Faless/multiplayer_docs
...
Rename multiplayer_api to multiplayer, add docs
2018-05-09 01:41:01 +02:00
Pedro J. Estébanez
474eda9e30
Fix Variant leak in call_native
2018-05-08 21:27:33 +02:00
Fabio Alessandrelli
dd546dc5b8
Document websocket module, further document enet
2018-05-08 21:15:50 +02:00
Juan Linietsky
b190afe084
Merge pull request #15549 from SaracenOne/bmp
...
BMP module
2018-05-08 10:46:13 -03:00
Rémi Verschelde
de9683b605
Merge pull request #17559 from simedis/joint_motors
...
Implemented interface for bullet linear motors
2018-05-08 10:23:41 +02:00
Juan Linietsky
299d8a80ba
Merge pull request #16106 from poke1024/gdscript-lerp
...
GDScript: generalize lerp
2018-05-07 20:36:31 -03:00
Juan Linietsky
ff1e7cfbf4
Add is_instance_valid() method to GDScript, ending more than a decade of pain.
2018-05-07 17:30:03 -03:00
AndreaCatania
9e57a07fb6
Implemented ragdoll
...
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
a
Implemented implicit hierarchy.
Improved
Added some physics properties
Added bone offset to preserve COM, partially fixed scaling
work in progress
WIP
wip
Implemented Joint Gizmos
Implemented pin joint joint
Implemented all joints
2018-05-07 21:03:16 +02:00
mhilbrunner
ba4600757a
Enet: Add wait time param to close_connection()
...
Enet: Allow to set client interface/address and port
Enet: More error checks
Fix comment
2018-05-07 01:37:15 +02:00
Kelly thomas
a6bd2c6e72
round / ceil methods for c sharp vectors
2018-05-04 20:17:10 +08:00
Max Hilbrunner
ffb6f8f1ca
Merge pull request #18406 from YeldhamDev/script_templates_period
...
Changed periods in the script templates
2018-05-04 11:20:16 +02:00
Rémi Verschelde
460e551ddf
Merge pull request #16418 from bojidar-bg/15961-gdscript-array-export
...
Allow exporting arrays of resources in GDScript
2018-05-03 21:19:15 +02:00
Juan Linietsky
f056b09f5a
Merge pull request #18589 from karroffel/oahashmap-robinhood
...
updated OAHashMap to use robinhood hashing
2018-05-03 14:47:07 -03:00
karroffel
bf24d570bb
updated OAHashMap to use robinhood hashing
2018-05-03 17:00:21 +02:00
Rémi Verschelde
b774156729
Merge pull request #18514 from neikeq/api-hash-fixes
...
API hash fixes
2018-05-03 14:36:32 +02:00
Ignacio Etcheverry
a02fec47a0
Merge pull request #18562 from neikeq/issue-18526
...
Fix MSVC check when building with mono
2018-05-02 18:24:57 +02:00
Michael Alexsander Silva Dias
093b069bf6
Changed periods in the script templates.
2018-05-02 11:42:09 -03:00
Ignacio Etcheverry
a1aa98e05a
Fix MSVC check when building with mono
2018-05-02 15:19:02 +02:00
Ignacio Etcheverry
c0192e405d
Merge pull request #18561 from neikeq/fix-find-msbuild-2
...
Fix editor detecting msbuild with a msvc 'tools only' install
2018-05-02 15:13:44 +02:00
Ignacio Etcheverry
93d13bee8b
Fix editor detecting msbuild with a msvc 'tools only' install
2018-05-02 15:06:25 +02:00
Rémi Verschelde
d33308921d
Merge pull request #18553 from bzztbomb/fix/stack_underflow_when_debuggin_in_release
...
Fix a crash when trying to run Godot debugger on a release build.
2018-05-02 10:48:45 +02:00
Rémi Verschelde
b0cf3628aa
Merge pull request #18452 from flashyincceo/enum-no-class
...
Fix enums without class name not opening docs page
2018-05-02 10:32:19 +02:00
Rémi Verschelde
fb917b5568
Merge pull request #18531 from KidRigger/issue5972
...
Adds keywords to autocomplete predictions.
2018-05-02 10:22:08 +02:00
Brian Richardson
9149b11973
Fix a crash when trying to run Godot debugger on a release build.
...
The GDScriptLanguage::enter_function is wrapped in #ifdef DEBUG but the exit_function is not, resulting in a stack underflow error.
2018-05-01 15:40:30 -07:00
Rémi Verschelde
de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
...
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
George Marques
decf178033
Enable autoload in editor
...
- Tool scripts will be executed and can be accessed by plugins.
- Other script languages can implement add/remove_named_global_constant
to make use of this functionality.
2018-05-01 11:44:08 -03:00
Peter Folkins
ccd986f53e
Fix enums without class name not opening docs page
2018-05-01 07:57:53 -05:00
Zumo
ef74954e66
Fully exposes data variable on AudioStreamSample/AudioStreamOGGVorbis...
...
...and also changes "_set_data" and "_get_data" to "set_data" and "get_data" respectively.
2018-05-01 12:19:15 +02:00
Rémi Verschelde
9834b690ae
Merge pull request #18334 from Faless/coverity_net
...
Various coverity scan fixes, WS FreeBSD fixes
2018-05-01 08:44:11 +02:00
Rémi Verschelde
4cce6f3417
Merge pull request #18321 from Crazy-P/Fixes-logically-dead-code
...
Fixes logically dead code (Coverity)
2018-05-01 08:35:10 +02:00
Anish
6e32157a65
Adds keywords to autocomplete predictions.
...
Adds keywords to the autocomplete prediction in GDScript so
they are not replaced by irrelevant predictions.
Fixes : #5972
2018-05-01 11:48:16 +05:30
Pieter-Jan Briers
99e871f45f
More stuff!
2018-05-01 00:39:28 +02:00
Max Hilbrunner
813acef973
Merge pull request #18523 from hpvb/fix-clang-lto
...
Fix lto builds on clang compilers
2018-04-30 17:12:13 +02:00
Hein-Pieter van Braam
cee5117d3b
Fix lto builds on clang compilers
...
The --no-lto option only works on GCC compilers. This breaks LTO builds
on MacOS and iPhone when building the gdnative wrappers.
-fno-lto works on both brands of compilers.
2018-04-30 12:59:08 +02:00
Hein-Pieter van Braam
0ec912a79e
Fix msbuild with a msvc 'tools only' install
...
Taken from https://github.com/Microsoft/vswhere/wiki/Find-MSBuild
without '-products *' vswhere does not locate msbuild when installing a
tools-only (no IDE) version of the microsoft compilers.
2018-04-30 12:52:18 +02:00
Saracen
e30b0656e8
BMP module
2018-04-30 01:33:14 +01:00
Pieter-Jan Briers
8d9d847a1a
Move things into the title bars of Visual Script nodes.
...
This is an attempt to make VS slightly nicer to use.
WiP.
2018-04-30 01:28:31 +02:00
Ignacio Etcheverry
7034d48032
Fix binding some core API methods only in tools builds
2018-04-29 19:49:26 +02:00
Pieter-Jan Briers
ce4451b45f
assembly_load_hook fallback for registering GDMonoAssemblies.
...
Fixes #18029 .
There are ways to load assemblies that the search hook has no way of intercepting,
and handling itself. Such as loading from a byte[] in C# code.
We now handle these cases with a fallback assembly_load_hook,
to avoid crashes when this is indeed done.
2018-04-29 16:32:30 +02:00
Ignacio Etcheverry
fbc808012f
Mono: BindingsGenerator enum fixes
...
- Make enums have an unique signature name of int. This means that when generating internal methods, there is no difference between different enums types nor between enums and int. This way enums can re-use internal methods.
- Make type resolver fallback to int if a type is not found and it's an enum.
2018-04-28 22:25:25 +02:00
Juan Linietsky
1226720c01
Add poly triangulation order check, ensures faces do not flip on different order
2018-04-28 12:59:45 -03:00
Juan Linietsky
f8520dbba7
-Changed how operators work, any shape can operate on any other
...
-Added some break condition for bad poly data to avoid editor freezes
2018-04-28 12:33:23 -03:00
Juan Linietsky
ec7ed5f360
Avoid CSG freeze condition on degenerates
2018-04-28 09:47:16 -03:00
Juan Linietsky
c4d0f528b1
Do not crash if the polygon is invalid
2018-04-28 08:53:27 -03:00
Juan Linietsky
afb4ce8d2d
Reduce false positives in interior detection by adding a small offset to raycast, fixes #18476
2018-04-28 08:16:26 -03:00
Juan Linietsky
8d199a9b2c
CSG Support for Godot!
...
-Missing Icons
-Missing freezing option (for baking light and faster load)
-Missing a way to export from Godot (GLTF2?)
-Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs)
Happy testing!
2018-04-27 21:55:10 -03:00
Ignacio Etcheverry
b5e6e142ef
Add option to link mono statically on Windows
2018-04-25 21:15:35 +02:00
Peter Folkins
825d49dfe2
Fix Ctrl+click on @GDScript constants
2018-04-24 20:50:21 -05:00
Ignacio Etcheverry
6faa96fb89
Merge pull request #18399 from neikeq/u
...
Mono fixes
2018-04-24 20:58:25 +02:00
Ignacio Etcheverry
ff7fe9e771
Mono: Fix '!t' error messages when generating bindings
...
This error wasn't affecting the bindings generation process.
2018-04-24 20:47:06 +02:00
Ignacio Etcheverry
f8ce412560
Mono: Do not spam script class not found error
...
Print this error only when trying to instantiate the script. This way we prevent errors being printed for source files which are not meant to be used as scripts.
2018-04-24 20:46:57 +02:00
Ignacio Etcheverry
89e84185e8
Mono: Fix crash on script load if the scripts domain isn't loaded
2018-04-24 20:46:53 +02:00
Hugo Locurcio
1c419531a0
Change ".." punctuation for "..." in editor strings ( #16507 )
2018-04-22 19:36:01 +02:00
Crazy-P
e6deba8d19
Fixes logically dead code (Coverity)
...
Fixes reported logically dead codes by Coverity
* image.cpp: Doesn't really need any modification. But to remove the bug
report then we have to move the MAX call away from the for loop
statement.
* rasterizer_gles3.cpp: Removes unnecessary elif condition since it is
checked earlier in the function
* collada.cpp: If stamement never reached due to macro ERR_CONTINUE does
the same.
* navigation_mesh.cpp: Variables should always be null - however, also
checked for the very same condition in their function call. Leaving this
for review (whether the function call is necessary or not)
* path_editor_plugin.cpp: If cancel is true, then it should restore the
edited value to the original provided.
http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle
* spatial_editor_gizmos.cpp: the very condition of i >= 3 is
predetermined in the if case right before it. Thus case 1 is always '1'
and case 2 is always '-1'
* grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp
* voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_server.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_script_expression.cpp: char '-' is already true in the switch
case mechanism. Thus it can never reach to default case.
* particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking
right before the switch execution.
* shader_language.cpp: Invalid index is handled in switch default case.
`type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`)
Fixes the "always false problem" in TODO comment.
2018-04-21 22:35:23 +08:00
Fabio Alessandrelli
03bf783f3c
Various coverity scan fixes for networking
...
Fix FreeBSD websocket compilation error
2018-04-21 15:36:41 +02:00
Paulb23
adeed58477
Added GDScript NodePath highlighting
2018-04-20 21:00:07 +01:00
Paulb23
4cd16f6ba9
Added GDScript function definition highlighting
2018-04-20 20:54:31 +01:00
Paulb23
28dfc7f915
GDScript highlighter now remembers previous state
2018-04-20 20:46:08 +01:00
Paulb23
c3d93edf3d
Exclude GDScriptSyntaxHighlighter from non-tool builds
2018-04-20 20:45:57 +01:00
Rémi Verschelde
df79cc86a5
Merge pull request #18119 from sheepandshepherd/nativescript_property_list
...
Fix NativeScript property list order
2018-04-19 21:37:46 +02:00
Rémi Verschelde
bf7ca623a6
Fix Coverity reports of uninitialized scalar variable
...
Fixes most current reports on Coverity Scan of uninitialized scalar
variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html
These happen most of the time (in our code) when instanciating structs
without a constructor (or with an incomplete one), and later returning
the instance. This is sometimes intended though, as some parameters are
only used in some situations and should not be double-initialized for
performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-19 15:20:45 +02:00
Rémi Verschelde
3018132244
Merge pull request #18204 from tagcup/quat_scale
...
Avoid converting Quat to Euler angles when not necessary.
2018-04-18 13:55:35 +02:00
Rémi Verschelde
952f7d71aa
Merge pull request #18142 from AndreaCatania/coverity1
...
Removed useless check
2018-04-18 12:49:47 +02:00
Xavier Cho
6b611e6431
#18051 : Fix indentation issues introduced during clean up
2018-04-17 07:53:27 +09:00
Xavier Cho
e59fad3924
#18051 : Do not use `var` in a for-loop, or where type is not obvious
2018-04-17 07:39:37 +09:00
Xavier Cho
94edd92248
#18051 : Use common name for Color type argument
2018-04-17 07:39:37 +09:00
Xavier Cho
f0bf5532fa
#18051 : Remove redundant verbatim prefixes
2018-04-17 07:39:37 +09:00
Xavier Cho
85787776a5
#18051 : Use default parameter value
2018-04-17 07:39:37 +09:00
Xavier Cho
b765c051cb
#18051 : Use array initializer when applicable
2018-04-17 07:39:37 +09:00
Xavier Cho
9097c71255
#18051 : Remove redundant parenthesis
2018-04-17 07:39:37 +09:00
Xavier Cho
93dd59d763
#18051 : Remove unnecessary variable assignments
2018-04-17 07:39:37 +09:00
Xavier Cho
fdfc478c88
#18051 : Use 'var' when applicable
2018-04-17 07:39:37 +09:00
Xavier Cho
0ef3e0577b
#18051 : Remove redundant casts and 'using', 'else', 'this' statements
2018-04-17 07:39:37 +09:00
Xavier Cho
9e2e6bb1e2
Remove duplicated declaration of RoundToInt() from Mathf
2018-04-17 07:39:37 +09:00
Will Vincent
b6b8c7b215
Remove incorrect & potentially confusing references to Euler
...
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.
e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
2018-04-15 11:40:31 -05:00
tagcup
a5e0bb447c
Avoid converting Quat to Euler angles when not necessary.
...
Also ensure that get_scale doesn't arbitrarlity change the signs of scales, ensuring that the combination of get_rotation and get_scale gives the correct basis.
Added various missing functions and constructors.
Should close #17968 .
2018-04-14 15:53:25 -04:00
Fabio Alessandrelli
eac2863c25
Merge pull request #18154 from mhilbrunner/issue-12512
...
Add DNS resolution in NetworkedMultiplayerEnet::create_client()
2018-04-13 23:09:17 +02:00
mhilbrunner
b0826dec05
Add DNS resolution in NetworkedMultiplayerEnet::create_client()
2018-04-13 22:31:01 +02:00
Ignacio Etcheverry
e3590a2522
Merge pull request #18038 from Chaosus/mathf
...
[Mono] Improvements for Mathf
2018-04-13 22:22:28 +02:00
Chaosus
655a4e6540
[Mono] Improve Mathf
2018-04-13 20:15:49 +03:00
Pedro J. Estébanez
00e98458ba
Revert "Unify http- and percent- encode/decode"
...
This reverts commit b76ee30917
.
2018-04-12 21:12:34 +02:00
Fabio Alessandrelli
6b9ec810c6
Implement get_peer_[address|port] in ENet/WSServer
...
Also implement get_connected_host and get_connected_port in WebSocketPeer
(not supported in HTML5 due to browser limitation).
Add shorthand disconnect_peer(id) for get_peer(id)->close() like in ENet to
WebSocketServer.
2018-04-12 12:30:51 +02:00
Andrea Catania
2cfa861222
Removed useless check
2018-04-12 11:37:36 +02:00
Andrea Catania
df2a626b49
Fixed wrong function call
2018-04-12 11:02:43 +02:00
Andrea Catania
f0abdf06ad
Rigidbody wake up when hitten by a kinematic body
2018-04-12 07:59:12 +02:00
sheepandshepherd
bc110b3771
Fix NativeScript property list
2018-04-11 09:43:07 +02:00
Fabio Alessandrelli
a522bb1106
Merge pull request #18070 from mhilbrunner/godot-net-kick
...
NetworkedMultiplayerEnet: Add disconnecting/kicking peers
2018-04-10 21:06:21 +02:00
mhilbrunner
c531287328
NetworkedMultiplayerEnet: Add disconnecting/kicking peers
2018-04-10 19:00:05 +02:00
Rémi Verschelde
cb7fe2c793
doc: Sync classref with current source
2018-04-10 10:12:42 +02:00
Rémi Verschelde
e15f2636ea
Merge pull request #18081 from AndreaCatania/arcle
...
Corrected area overlap cleaning
2018-04-09 22:04:25 +02:00
Rémi Verschelde
36552c2c90
Merge pull request #18040 from Paulb23/color_region_cache
...
Fixed colour regions and added local colour region cache
2018-04-09 16:05:26 +02:00
Andrea Catania
45b778c7f8
Fixed area overlap cleaning
2018-04-09 09:33:29 +02:00
Ignacio Etcheverry
ea0e73f3c8
Merge pull request #17864 from NikodemL/fix_mono_bottom_panel_issue_activated
...
Fixed mono bottom panel to select the correct file when messages are filtered
2018-04-09 09:15:43 +02:00
Juan Linietsky
34e367597d
Merge pull request #16556 from aragar/master
...
For-in loop variable added to autocompletion
2018-04-08 17:25:01 -03:00
Juan Linietsky
cd7e9d9642
Merge pull request #17583 from RandomShaper/enhance-uri-utils
...
Enhance uri utils
2018-04-07 17:07:29 -03:00
Juan Linietsky
187b14ae24
Merge pull request #17730 from RandomShaper/radio-buttons-in-menus
...
Radio buttons in menus
2018-04-07 16:41:39 -03:00
Paulb23
b571a29df5
Fixed color regions and added local color region cache
2018-04-07 14:14:19 +01:00
Emmanuel Leblond
adecd6f66f
Correct profiling_frame naming in pluginscript
2018-04-07 00:11:26 +02:00
Emmanuel Leblond
e97336a557
Fix Pluginscript add_global_constant mandatory value check
2018-04-06 19:20:12 +02:00
Rémi Verschelde
bdfa10fc8f
Merge pull request #17899 from AndreaCatania/area_cleaning
...
Fixed physics server area cleaning
2018-04-06 08:15:22 +02:00
Andrea Catania
776942981b
Fixed physics server area cleaning
2018-04-06 07:48:30 +02:00
karroffel
2e1f239fe6
[NativeScript] replace error macros by simple returns
2018-04-06 01:40:26 +02:00
Thomas Herzog
eaa5dfbdbd
Merge pull request #17980 from karroffel/nativescript-1.1-global-type-tags
...
[NativeScript] added global type tag system
2018-04-05 15:09:35 +02:00
Rémi Verschelde
e1b9c98032
Merge pull request #17806 from Zylann/fix_heightmap_shape_size_check
...
Make heightmap shape usable in PhysicsServer
2018-04-05 13:29:57 +02:00
karroffel
ad93d3e277
[NativeScript] added global type tag system
2018-04-05 00:06:33 +02:00
Paulb23
63c8d0f455
Renamed GDSyntaxHighlighter to GDScriptSyntaxHighlighter
2018-04-04 20:02:42 +01:00
Thomas Herzog
7ca2e73dea
Merge pull request #17965 from karroffel/gdnativelib-config-api
...
[GDNative] some GDNativeLibrary improvements
2018-04-04 16:09:37 +02:00
karroffel
f29139f3cf
[GDNative] enable saving GDNativeLibrary as sub resource
2018-04-04 13:07:43 +02:00
karroffel
57c0339d9f
[GDNative] easier GDNativeLib handling
2018-04-04 12:24:10 +02:00
Andrea Catania
444b8471a3
Corrected physics query max result checking
2018-04-04 11:55:58 +02:00
Rémi Verschelde
e1fef9bd76
Merge pull request #17959 from AndreaCatania/kinfix2
...
Fixed kinematic sliding on trimesh
2018-04-04 11:21:49 +02:00
Andrea Catania
b050525072
Fixed kinematic sliding on trimesh
2018-04-04 10:49:10 +02:00
Rémi Verschelde
5ede505f14
Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighter
...
Abstracted the syntax highlighter from text edit.
2018-04-04 09:50:51 +02:00
Rémi Verschelde
1710582473
Merge pull request #17847 from Faless/lws_update
...
LWS v2.4.2, mbedTLS v2.8.0, Websocket SSL support
2018-04-03 23:14:01 +02:00
Rémi Verschelde
82c26f74ad
Merge pull request #17865 from delftswa2018/enumLookupFix
...
Ctrl+Clicking a enum now scrolls down to it in the docs.
2018-04-03 22:43:07 +02:00
Rémi Verschelde
a7dd698d4d
Merge pull request #17900 from AndreaCatania/area_mon
...
physics area added monitorable check
2018-04-03 22:09:56 +02:00
Felix Yang
7d5a40c3e6
Ctrl+Clicking a enum now scrolls down to it in the docs.
2018-04-03 21:56:54 +02:00
Rémi Verschelde
95b499644e
Merge pull request #17834 from Rubonnek/move-to-initializer-list
...
Move GodotSharp and MonoBuildTab member variables to initializer list
2018-04-03 21:01:58 +02:00
Fabio Alessandrelli
2e078142a0
Websocket client SSL support
2018-04-03 20:13:57 +02:00
Fabio Alessandrelli
490dd9f946
Generalize SSL cert reading from file
2018-04-03 20:13:57 +02:00
Rémi Verschelde
fa9104204f
Merge pull request #17940 from Alexander-Alekseev/mono_keep_csharp6
...
[mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now
2018-04-03 12:55:34 +02:00
Rémi Verschelde
cc8c757929
Merge pull request #17933 from Rubonnek/comment-debugging-messages
...
Comment out some debugging messages when playing Theora files
2018-04-03 12:44:26 +02:00
Alexander Alekseev
5677aed175
[mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now, but we most probably should keep C#6 yet
2018-04-03 09:48:03 +03:00
Wilson E. Alvarez
9590282ae8
Comment out some debugging messages when playing Theora files
2018-04-02 16:48:06 -04:00
Paulb23
f7c727e6c3
Abstracted the syntax highlighter from text edit
2018-04-02 12:41:44 +01:00
Alexander Alekseev
b569251110
Fix of a possible memory leak: ConcavePolygonShapeBullet::setup was able to exit without releasing the 'shapeInterface' pointer.
2018-04-02 09:29:34 +03:00
Andrea Catania
fe768f4f00
physics area added monitorable check
2018-04-01 11:27:18 +02:00
Thomas Herzog
098c7ba4f9
Merge pull request #17878 from karroffel/nativescript-1.1-bughunt
...
[GDNative] fixed issue with library unloading order and header update
2018-03-31 11:41:09 +02:00
karroffel
0b92aded23
[GDNative] fixed issue with library unloading order
2018-03-31 01:45:18 +02:00
karroffel
ce36ecda4c
[GDNative] added GDCALLINGCONV to instance binding functions
2018-03-31 01:44:50 +02:00
Ignacio Etcheverry
d2eb731878
Merge pull request #17772 from Chaosus/monowrap
...
Add wrap functions to C#
2018-03-31 00:12:16 +02:00
Nikodem Lokatelj
4fdee1d9f1
Fixed _issue_activated to take the correct issue id from the list
2018-03-30 16:32:14 +02:00
Marc Gilleron
a66e1af168
Make heightmap shape usable from PhysicsServer
...
- Fixed bad size check
- Fixed bad member initialization
- Removed unused cell_size (Bullet expects us to use localScaling)
- Accept precomputed min/max height, will be calculated if not provided
2018-03-28 20:33:51 +02:00
Fabio Alessandrelli
e7b9e2f970
Fix IPhone and OSX cross compilation
2018-03-28 19:08:20 +02:00
Wilson E. Alvarez
3f86fefb64
Move GodotSharp and MonoBuildTab member variables to initializer list
2018-03-27 21:14:52 -04:00
Pedro J. Estébanez
a6dc160d5c
Use radio-button-like menu entries where applicable
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
b76ee30917
Unify http- and percent- encode/decode
...
There was a percent-prefixed version, which was exposed, and a http-prefixed version which was not (only to GDNative).
This commit keeps the percent-prefixed versions, but with the http-prefixed implementations.
2018-03-27 19:18:30 +02:00
Chaosus
d52722c6da
Added wrap functions to C#
2018-03-26 14:33:09 +03:00
Carter Anderson
91f271fa9e
Fix mono basis GetEuler bug and marshalling/unmarshalling
2018-03-24 13:45:11 -07:00
Ignacio Etcheverry
a8d8c06753
Merge pull request #17134 from aaronfranke/master
...
[Mono] Replace float with real_t, other misc C# improvements
2018-03-24 21:10:41 +01:00
Aaron Franke
ff97c97c93
Replace float with real_t, default Vectors, other misc C# improvements
...
Replace float with real_t in most files, defined at the top of each file via using. Objects such as Vector3 now accept doubles as inputs, and convert to real_t internally. I've added default Vectors such as Vector3.Zero. Other misc C# improvements such as Mathf.RoundToInt(). Color continues to use float only because high precision is not needed for 8-bit color math and to keep things simple. Everything seems to compile and work fine, but testing is requested, as this is the first time I've ever contributed to Godot.
2018-03-22 21:53:21 -05:00
Poommetee Ketson
ff070de986
s/2017/2018/g for gles2, websocket, linux appdata
2018-03-21 16:07:51 +07:00
PJB3005
6a7f552c6f
Fix mono build properly!
...
Fixes the mistake I made in #17603 to make it require Python > 3.6.
2018-03-19 16:36:03 +01:00
Rémi Verschelde
4f97d5a7e2
Merge pull request #17603 from PJB3005/18-03-18-fix-mono-build-python3
...
Fix Mono builds with Python 3.
2018-03-19 09:53:23 +01:00
Ignacio Etcheverry
883afd1b4d
Merge pull request #17619 from neikeq/mono-runtime-main-args
...
Mono: Runtime main args and assembly search fixes
2018-03-18 23:16:44 +01:00
Ignacio Etcheverry
fa1d656af4
Mono: Runtime main args and assembly search fixes
...
- Setup runtime main args during initialization. This must be done manually by embedders who do not call mono_runtime_run_main. Fixes NullReferenceException in System.Environment.
- Continue to search the assembly in the rest of the search locations if loading it from one of them failed.
2018-03-18 23:07:04 +01:00
Pieter-Jan Briers
998f1977a8
Fix Mono builds with Python 3.
...
A subprocess call wasn't specifying an encoding,
so this gave a TypeError in Python 3.
2018-03-18 10:51:35 +01:00
Ignacio Etcheverry
389ad72399
Merge pull request #17179 from paulloz/mono-assemblies-preload-facades
...
[mono] add the 'Facades' subfolder to the searched directories
2018-03-16 21:40:42 +01:00
Geoffrey
09c887f38e
Implemented interface for bullet joint motors
2018-03-16 13:37:15 +01:00
Hein-Pieter van Braam
aed2fedd16
Merge pull request #17291 from Warlaan/master
...
completed-signal for coroutines with more than one yield
2018-03-15 23:11:37 +01:00
Rémi Verschelde
99c1323a08
Merge pull request #17388 from Hinsbart/mono_class_name
...
Mono: Avoid invalid class names.
2018-03-15 19:47:39 +01:00
Andreas Haas
700d07cf7c
Mono: Avoid invalid class names.
...
Disallow reserved keywords as class names and prefix base class with the Godot
namespace if it's the same as the class name.
Fixes #12483
2018-03-15 19:25:06 +01:00
Rémi Verschelde
d2f929304b
Merge pull request #17529 from Noshyaar/patch-1
...
Fix script template on `_ready` behavior
2018-03-15 14:05:23 +01:00
Poommetee Ketson
01ec06d9ae
Fix script template on `_ready` behavior
2018-03-15 18:38:53 +07:00
Lars Kokemohr
3dfef37628
completed-signal is emitted by all GDScriptFunctionStates of a coroutine now, allowing to yield for completion of a function with more than one yield inside.
2018-03-14 16:42:13 +01:00
Wilson E. Alvarez
e5ae9750ed
Fixed leak in BulletPhysicsServer
2018-03-13 15:24:30 -04:00
Ignacio Etcheverry
d6c802f3ae
Merge pull request #17235 from paulloz/mono-glue-enhancements
...
[Mono] change function names to PascalCase and set abstract classes as abstract
2018-03-13 17:00:28 +01:00
Max Hilbrunner
ec3f5218e8
[DOCS] Net.MultiplayerEnet: List returned errors
2018-03-13 15:55:52 +01:00
Rémi Verschelde
ab03574e4a
Merge pull request #17079 from Noshyaar/leak2
...
GridMapEditorPlgn: fix a leak
2018-03-13 13:44:48 +01:00
Rémi Verschelde
d3e788a6b8
Merge pull request #17255 from x1212/preload_enum_export_fix
...
fix enum from preloaded script in export
2018-03-13 12:31:14 +01:00
Jorn Van denbussche
886156da2c
Fixes importing hdr files with extra header info
2018-03-11 19:21:09 +01:00
ShyRed
e71f109910
Update libwebm
...
Update of libwebm.
Up-to-date version of libwebm contains several bugfixes that allow playback of files that would crash Godot otherwise.
2018-03-09 18:18:30 +01:00
Rémi Verschelde
2f3c45f55e
Merge pull request #17318 from robfram/silent-failure-ogg-9793
...
Fix silent failure of importing OGG Vorbis files
2018-03-06 22:21:54 +01:00
robfram
a8d37de461
Fix silent failure of importing OGG Vorbis files
...
When importing non-valid OGG Vorbis audio files, now the filesystem
navigation tree shows the correct sad red-face icon, as it does with
non-valid PNG, JPG or WAV files.
Fix #9793 .
2018-03-06 21:48:30 +01:00
Leon Krause
315983c90d
Disable FreeType SIMD in HTML5 builds
...
SIMD is currently unsupported in WebAssembly.
2018-03-06 21:43:44 +01:00
x1212
d2dc8fd423
fix enum from preloaded script in export
...
without triggering unnecessary reloads and parsing.
2018-03-04 18:01:15 +01:00
Paul Joannon
ef5672d3f9
[mono] write classes with no constructor as abstract
2018-03-04 15:37:39 +01:00
Paul Joannon
d7020aef8d
[mono] rename functions to conform to PascalCase
...
in:
* StringExtensions.cs
* Transform.cs
2018-03-04 15:37:29 +01:00
Paul Joannon
22606a7bec
[mono] add the 'Facades' subfolder to the searched directories in _preload_hook
2018-03-02 13:38:29 +01:00
Rémi Verschelde
c8d2bb24fa
Merge pull request #17167 from Noshyaar/plane
...
GridMap: fix next/prev plane text, fix meta not found
2018-03-02 11:07:06 +01:00
Poommetee Ketson
89323f94bb
GridMap: fix next/prev plane text, fix meta not found
2018-03-02 12:49:09 +07:00
Max Hilbrunner
5aae17a6fb
[DOCS] NetworkedMultiplayerENet
2018-03-02 05:03:03 +01:00
Rémi Verschelde
08cadc3d87
NativeScript: Fix initialization in wrong scope
...
Regression from d702d7b335
which broke javascript build.
2018-03-02 02:07:37 +01:00
Fabio Alessandrelli
982fa59126
Remove unneeded and problematic minilex.c from lws.
...
We don't need it, it's used upstream to test the lexical parser
2018-03-01 16:43:42 +01:00
karroffel
eac4c984df
add GLES 2 renderer for 2D
...
This commit adds a new rendering backend, GLES2, and adds a
project setting to enable it.
Currently this backend can only be used on the X11 platform,
but integrating into other platforms is planned.
2018-03-01 15:12:30 +01:00
Rémi Verschelde
8df449100a
Merge pull request #17111 from poke1024/fix16524
...
Fix grid mesh tile touch pad bug (issue 16524)
2018-02-28 22:19:49 +01:00
Hein-Pieter van Braam
d702d7b335
Fix various valgrind reported uninitialized variable uses
2018-02-28 21:55:13 +01:00
Fabio Alessandrelli
659c62ee33
Use Prepend instead of Append for mbedTLS include
...
Fixes build on FreeBSD when system-wide mbedTLS and/or openSSL are installed
2018-02-28 20:02:16 +01:00
poke1024
b90810ce8e
Fix grid mesh tile panning bug (issue 16524)
...
Fix basic function and interference of touch pad pan with mesh tile delete (shift + right click on touch pad) in grid map editor (fix 16524)
2018-02-28 18:58:20 +01:00
Hein-Pieter van Braam
c094e90b25
More reliably find mscorlib.dll on Linux
2018-02-27 21:52:24 +01:00
Poommetee Ketson
5cf331588a
GridMapEditorPlgn: fix a leak
2018-02-27 21:26:39 +07:00
Rémi Verschelde
3fa77b3172
doc: Remove status from hardcoded version string
...
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-27 13:40:49 +01:00
Rémi Verschelde
4b9ab27dea
Merge pull request #17021 from AndreaCatania/kinfix
...
Fixed bullet kinematic char sliding
2018-02-27 11:40:11 +01:00
Rémi Verschelde
a6d4438fab
Merge pull request #17075 from paulloz/fix-build-mono-debug-notools
...
[mono] fix build error when compiling with mono, tools=no, target=debug
2018-02-27 11:24:54 +01:00
Rémi Verschelde
5dfaf89aca
Merge pull request #17074 from AndreaCatania/fix1
...
Some fixes on physics
2018-02-27 11:22:17 +01:00
Rémi Verschelde
75c7e66c5e
Merge pull request #15641 from neikeq/mono-is-picky-regarding-corlib-so-we-must-make-sure-to-ship-the-right-version-otherwise-something-bad-may-happen
...
Mono: Buildsystem improvements
2018-02-27 11:08:17 +01:00
Paul Joannon
90a705d671
fix build error when compiling with mono, tools=no, target=release
...
change TTR to RTR in `print_unhandled_exception`
2018-02-27 10:36:58 +01:00
Andrea Catania
e1e78a51aa
Implemented Bullet method omit forces
2018-02-27 08:41:17 +01:00
Rémi Verschelde
1bd0fd90cc
Merge pull request #17046 from NathanWarden/fixed_mono_marshalling
...
[Mono] The marshalling *in* of Transform was also incorrect.
2018-02-26 22:42:31 +01:00
Nathan Warden
60daa9d718
The marshalling in was also incorrect.
2018-02-26 10:01:21 -05:00
Andrea Catania
0e446f8aff
Fixed kinematic char sliding
2018-02-25 21:05:14 +01:00
Ignacio Etcheverry
f37090ccf4
Mono: Better versioning and gracefully unloading of Godot API assemblies
2018-02-25 20:56:27 +01:00
Rémi Verschelde
08584b7e22
Merge pull request #16804 from Valentactive/fix_mono_template_compiling
...
fix template builds with mono
2018-02-25 10:11:10 +01:00
Ignacio Etcheverry
3647ebc834
Merge pull request #16981 from paulloz/mono-nested-exceptions
...
[mono] show whole trace of nested exceptions
2018-02-24 21:44:33 +01:00
Paul Joannon
89af6c2cd7
[mono] get stacktraces for all inner exceptions
2018-02-24 21:18:06 +01:00
Ignacio Etcheverry
71602c7491
Merge pull request #16986 from neikeq/issue-16983
...
Mono: Fix bindings for parameters in vararg methods
2018-02-24 20:06:41 +01:00
Ignacio Etcheverry
0c82858121
Mono: Fix bindings for parameters in vararg methods
2018-02-24 20:03:16 +01:00
anakimluke
bd3b958a25
Removed whitespaces around arguments of functions.
...
Functions automatically generated by conneting
signals via GUI put whitespaces around the
arguments of the generated function. This is
inconsistent with the style guide.
This commit fixes that.
(cherry picked from commit 370f84f41c
)
2018-02-24 01:34:26 +01:00
Rainer Deyke
0f04a522c2
Add 'fill selection' command to grid map editor
...
This commit adds a 'fill selection' command (shortcut: shift+f) to the
grid map editor, making it easier to block out large parts of grid maps.
The new command is equivalent to the existing 'clear selection' command
except that it fills the selection with the currently selected block
instead of the empty grid cell.
2018-02-23 09:31:40 +01:00
Michele Valente
3c7d9001bc
fix release builds with mono
...
"_signals" and "signals_invalidated" were moved out of the
"TOOLS_ENABLED" directive. Updated also the two "update_signals" and
"_update_signals" methods so it makes sense.
2018-02-22 21:23:47 +01:00
Ignacio Etcheverry
9fd606c549
Mono: Add project export plugin
2018-02-22 13:39:41 +01:00
Rémi Verschelde
24cf4fe062
Update warning about C# support
2018-02-21 22:47:44 +01:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Ignacio Etcheverry
0667f2acbb
Merge pull request #16884 from paulloz/fix-csharp-signal-attribute-fix
...
[mono] fix signals parameter retrieval
2018-02-21 13:07:30 +01:00
Paul Joannon
7a72395412
[mono] fix signals parameter retrieval
2018-02-21 12:50:05 +01:00
Rémi Verschelde
4009c01724
Merge pull request #16865 from Faless/uwp_mbedtls_fixes
...
Fix mbedTLS and websocket module for UWP
2018-02-21 10:40:59 +01:00
Rémi Verschelde
497a4e9e25
Merge pull request #16757 from AndreaCatania/kinpush
...
Improved kinematic body, Now can move rigid body
2018-02-20 15:41:10 +01:00
George Marques
a2ef49f8b9
Websocket module properly recognize UWP (by @vnen)
2018-02-20 15:11:50 +01:00
Andrea Catania
6ed392f47a
Improved kinematic body 2D and 3D, Now can move rigid body
2018-02-20 12:43:47 +01:00
Nathan Warden
72fe70272d
[Mono] Fixed "expression did not evaluate to a constant" compiler error for visual studio.
2018-02-20 00:24:52 -05:00
Rémi Verschelde
1602e0cdb9
SCons: Remove references to obsolete "fat" bits
2018-02-19 23:39:56 +01:00
Rémi Verschelde
b2aeb02e7d
Merge pull request #16530 from AndreaCatania/rays
...
Improved ray shape (2D and 3D) by addiing the possibility to act as r…
2018-02-19 22:15:49 +01:00
Rémi Verschelde
5933cf867a
Merge pull request #15780 from volzhs/emoji
...
Support colored font
2018-02-19 21:51:53 +01:00
Rémi Verschelde
7455244866
Merge pull request #15852 from poke1024/color_hsv
...
Add Color.from_hsv()
2018-02-19 21:51:04 +01:00
Rémi Verschelde
43de4eb4d2
Merge pull request #15933 from x1212/fix_preload_in_exports
...
fix spurious error messages during autocomplete and validate
2018-02-19 21:46:26 +01:00
Rémi Verschelde
aeed774fef
Merge pull request #16173 from vnen/gdscript-arguments
...
Add argument count check for some GDScript functions
2018-02-19 21:35:53 +01:00
Andrea Catania
ffc3ef8677
Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape
2018-02-19 20:59:57 +01:00
Rémi Verschelde
be67f2e4ba
Merge pull request #16751 from AndreaCatania/moreAPIs
...
Added Physics state APIs
2018-02-19 20:22:18 +01:00
Rémi Verschelde
3c7a39b40c
doc: Update version string in header
2018-02-19 10:46:33 +01:00
Rémi Verschelde
772eaf156f
Merge pull request #16755 from KidRigger/master
...
Gridmap editor now lists plane instead of floor when not horizontal
2018-02-19 09:44:43 +01:00
Ignacio Etcheverry
6e200b1fe0
Merge pull request #16326 from NathanWarden/fix_basis_mono
...
[Mono] Basis values now marshalled in the correct order.
2018-02-18 19:54:53 +01:00
Ignacio Etcheverry
dad47d8876
Merge pull request #16749 from PJB3005/18-02-16-project-manager-mono-debug-fix
...
Makes project manager never initialize mono debug.
2018-02-18 19:53:46 +01:00
Ignacio Etcheverry
e380a98109
Merge pull request #16746 from PJB3005/18-02-16-fix-nodepath-pascalcase
...
Makes NodePath and RID follow PascalCase in C#.
2018-02-18 19:51:33 +01:00
Ignacio Etcheverry
f4dcfa38f7
Merge pull request #16747 from PJB3005/18-02-16-nodepath-tostring
...
Give C# NodePath a ToString().
2018-02-18 19:50:45 +01:00
Rémi Verschelde
2d0c07bd5a
Merge pull request #16770 from paulloz/csharp-signal-attribute
...
C# Signal attribute
2018-02-17 20:14:39 +01:00
Paul Joannon
cfbd7fd21e
implement signal related methods in csharp_script so signals can be used with emit
2018-02-17 19:37:02 +01:00
Paul Joannon
efd52cd172
add a [Signal] attribute to CSharpScripts
2018-02-17 19:29:26 +01:00
Ignacio Etcheverry
8bd05f0c71
Mono: Fix build status icons
2018-02-17 18:12:00 +01:00
Anish
7c356a9c05
Gridmap editor now lists plane instead of floor when not horizontal.
...
Instead of gridmap editor calling grid as floor irrespective of the
orientation, it now calls the grid plane if it's vertical and floor
if horizontal.
Resolves : #14611
2018-02-17 15:38:50 +05:30
Andrea Catania
a930797c31
Added Physics state APIs
2018-02-16 17:48:07 +01:00
Pieter-Jan Briers
1099838079
Makes project manager never initialize mono debug.
...
The heuristic whether we're in the project manager inside GDMono
didn't work if the project manager was launched by not having any path
to run.
This is fixed now by making a Main::is_project_manager().
2018-02-16 16:15:35 +01:00
Pieter-Jan Briers
b1a81374d4
Makes NodePath and RID follow PascalCase in C#.
...
Fixes #15685
2018-02-16 14:09:20 +01:00
Pieter-Jan Briers
3c1f8efd9e
Give C# NodePath a ToString().
...
It already had an implicit cast operator to string,
but this doesn't get used in say string formatting.
So now something like $"path: {GetPath()}" works.
2018-02-16 14:07:19 +01:00
x1212
48c9ed4545
fix spurious error messages during autocomplete and validate
...
_parse() caused resets on members like validating and
for_completion by calling clear().
2018-02-14 18:13:00 +01:00
Rémi Verschelde
eb2b04c6eb
Merge pull request #15379 from ianb96/delete_key_fix
...
Filesystem and Visual Script Members delete key fix
2018-02-14 17:06:31 +01:00
Rémi Verschelde
2eb7a321ba
Merge pull request #15574 from paulloz/mono-build-project-button
...
Change 'Build Project' button style in Mono panel
2018-02-14 16:41:25 +01:00
Rémi Verschelde
11441e1556
Merge pull request #16176 from vnen/gdscript-default-args
...
Show default values in docs for GDScript built-in functions
2018-02-14 15:48:48 +01:00
Rémi Verschelde
3493c5a337
Merge pull request #16331 from Benjamin-Dobell/pull/fix-pkgconfig-mono
...
Fixed Mono builds on macOS (pkgconfig detection of mono)
2018-02-14 15:41:55 +01:00
Rémi Verschelde
717e388e19
Merge pull request #14804 from ColinKinloch/master
...
Fixed android arm64v8
2018-02-14 11:55:28 +01:00
Rémi Verschelde
2a754be71a
Merge pull request #16681 from AndreaCatania/kin_t
...
Added return true o collide when no rusult is NULL
2018-02-14 08:28:19 +01:00
Andrea Catania
f48845428d
Added return true o collide when no rusult is NULL
2018-02-14 08:18:48 +01:00
Rémi Verschelde
232e03e5e3
Merge pull request #16547 from Dar13/kinematic_gravity_fix
...
Fixes gravity calculation for kinematic bodies in Bullet
2018-02-14 08:14:38 +01:00
Fabio Alessandrelli
bd3c27ba78
Allow building with system wide mbedtls on X11
...
Using builtin_mbedtls=yes is still the default as many distributions
do not ship with mbedtls included.
2018-02-14 01:34:25 +01:00
Fabio Alessandrelli
6fcc8b7e1f
Deleting OpenSSL module and library
2018-02-14 01:26:34 +01:00
Fabio Alessandrelli
34b9fc3022
lws module now uses mbedtls as OpenSSL replacement
2018-02-14 01:26:23 +01:00
Fabio Alessandrelli
67b600d957
Add mbedtls module
2018-02-14 01:26:23 +01:00
Neil Moore
5fb8a6a6c2
Fixes gravity calculation for kinematic bodies in Bullet
2018-02-13 19:14:10 -05:00
Rémi Verschelde
95ac0bdf09
Merge pull request #16551 from sctincman/xbuild_fallback-fix
...
Add and use mono build variables with cloned environment.
2018-02-13 20:11:00 +01:00
Rémi Verschelde
8cfe798877
Merge pull request #16433 from Calinou/remove-assetlib-debugging-prints
...
Remove debugging prints related to the asset library
2018-02-13 15:47:47 +01:00
Rémi Verschelde
eefb58a892
Merge pull request #16424 from AndreaCatania/phyj
...
Added physics API in order to enable/disable collisions between rigidbody attached to a joint with bullet physics bullet
2018-02-13 15:26:04 +01:00
tilpner
a75a7e594e
gdnative_api.json: Change argument name to r_dest
...
This reflects its usage as an output argument,
consistent with the other godot_variant_new functions
2018-02-11 17:19:17 +01:00
Rado'sPC\aRaGaR
f97ebdcab3
For-in loop variable added to autocompletion
...
Fix for #16494
2018-02-11 11:29:30 +02:00
Jonathan Tinkham
70d281b946
Add and use mono build variables with cloned environment.
2018-02-10 20:48:46 -07:00
Thomas Herzog
31dd21a8d9
Merge pull request #16539 from eska014/gdnative-macwarn
...
Fix GDNATIVE_API_INIT() warning about sign mismatch
2018-02-10 17:36:57 +01:00
Leon Krause
8e39cdd5d5
Fix GDNATIVE_API_INIT() warning about sign mismatch
2018-02-10 17:19:16 +01:00
karroffel
0b2afa24b8
add initial NativeScript 1.1 extension
...
This commit adds new functionality to NativeScript, namely:
- ability to set and get documentation for classes, methods,
signals and properties
- ability to set names and type information to method arguments
- ability to set and get type tags for nativescripts
- ability to register instance binding data management functions
- ability to use instance binding data
2018-02-09 15:04:41 +01:00
karroffel
2fb66df669
generate proper API structs for GDNative extension extensions
...
The GDNative C API gets passed to libraries in a struct of function
pointers. To provide stable binary compatibility, each extension not
part of the core API is separated into its own sub-struct.
These structs aren't meant to be changed in order to keep binary
compatibility.
In case of an API extension, the structs include a `next` pointer
which can point to a new struct with additional function pointers.
Godot's build system generates the API structs automatically at
build time, but so far there has no support for the mentioned `next`
pointers.
This commit changes the API struct generation in such a way that code
that used previous headers will compile without problem with the new
headers.
The new extension-extensions (weird name, but that's what it is) get
generated recursively and include the version in the struct-name.
2018-02-09 11:44:54 +01:00
Rémi Verschelde
b0a73077cb
Merge pull request #14888 from Faless/websocket
...
Websocket module
2018-02-07 01:05:04 +01:00
Fabio Alessandrelli
658d71c3b9
Relicense module to the wondeful Godot community!
2018-02-06 14:10:13 +01:00
Fabio Alessandrelli
6a644d3ee1
Add websocket module.
...
Webassembly is client-only for obvious reasons.
Other platforms support both client and server using libwebsockets.
2018-02-06 14:10:13 +01:00
Hugo Locurcio
5513e4e1f9
Remove debugging prints related to the asset library
2018-02-05 22:39:35 +01:00
Andrea Catania
a42765dada
Added physics API in order to enable/disable collisions between rigidbody attached to a joint with bullet physics bullet
...
Fixes #16424
2018-02-05 18:54:07 +01:00
Bojidar Marinov
d855fdb451
Allow exporting arrays of resources in GDScript
...
Fixes #15961
2018-02-05 16:41:13 +02:00
Nathan Warden
0cc4de1f24
[Mono] Basis values now marshalled in the correct order.
2018-02-02 16:45:30 -05:00
Andreas Haas
95cfa9bf74
GDScriptParser: Remove debug prints.
2018-02-02 20:37:59 +01:00
Benjamin Dobell
5920bc6f72
Fix pkgconfig detection of mono
2018-02-03 05:17:53 +11:00
Paolo Perkovic
08d4bfacaf
Fix inconsistencies and typos in argument names
2018-02-01 16:47:20 +01:00
Rémi Verschelde
2459eebc1d
Merge pull request #16258 from NathanWarden/fix_mono_decimals_method
...
[Mono] Fix an infinite recursion in the Mathf.Decimals method when using floats.
2018-02-01 15:39:51 +01:00
Rémi Verschelde
c460e38bf3
Merge pull request #16205 from neikeq/issue-15053
...
Mono: Remove automatic script multilevel calls
2018-02-01 14:51:12 +01:00
Rémi Verschelde
906ac2fc9d
Merge pull request #16002 from bruvzg/mono_loading_form_res
...
[Mono] Allow loading assemblies (including mscorlib) from resources.
2018-02-01 14:36:05 +01:00
Rémi Verschelde
6449af9f74
Merge pull request #16175 from NathanWarden/add_async_and_await
...
Added async and await as C# keywords.
2018-02-01 14:19:48 +01:00
Nathan Warden
2109bd3f97
Fix an infinite recursion in the Mathf.Decimals method when using floats.
2018-01-31 14:02:17 -05:00
bruvzg
b3ddf12fb1
Mono: Allow loading `mscorlib` from resources.
2018-01-31 09:20:46 +02:00
Nathan Warden
3dcf0567a1
Added async and await as C# keywords.
2018-01-30 21:18:48 -05:00
Ignacio Etcheverry
84437b4864
Mono: Remove automatic script multilevel calls
2018-01-30 18:53:00 +01:00
Rémi Verschelde
ed6bf28014
Merge pull request #15980 from mrcdk/audio_stream_get_length
...
Expose audio streams get_length()
2018-01-30 13:43:34 +01:00
George Marques
dca2ae78dd
Show default values in docs for GDScript built-in functions
2018-01-30 02:08:12 -02:00
George Marques
802d5c4c6c
Add argument count check for some GDScript functions
...
- Print functions have no check.
- Also remove extra apostrophe from the error report.
2018-01-30 01:32:08 -02:00
Rémi Verschelde
dcacf36118
Merge pull request #16118 from neikeq/i-dont-know-what-to-write-here-anymore
...
Mono: Fix build errors with tools=no and target=release
2018-01-27 23:29:27 +01:00
Ignacio Etcheverry
72b0a9432b
Mono: Fix method_bind fields being generated as instance members
2018-01-27 22:45:57 +01:00
Ignacio Etcheverry
0c3bbcaa00
Mono: Fix build errors with tools=no and target=release
2018-01-27 18:44:04 +01:00
Bernhard Liebl
05a16549ef
GDScript: generalize lerp
2018-01-27 08:14:13 +01:00
Ignacio Etcheverry
562ec3f5e6
Mono: Don't defer call to dispose queue objects when finalizing domain
...
It's going to be called anyway after `mono_domain_finalize`.
This also prevents crashes, since the MessageQueue singleton could already be freed at this point (see: #15702 ).
2018-01-26 01:10:25 +01:00
Ignacio Etcheverry
58448561c7
Mono: Fix NodePath and RID bindings
2018-01-25 23:46:54 +01:00
Rémi Verschelde
f2e3825616
doc: Fix references to online tutorials after godotengine/godot-docs#1015
2018-01-25 09:03:59 +01:00
Rémi Verschelde
d516aab8fa
doc: Sync with current source
...
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018
and fix the version tag in all files (not really stable yet, but it makes no sense
to hardcode rc3 at this stage).
2018-01-25 08:50:56 +01:00
Ariel Manzur
81426ff0a8
- Improves portability in joystick buttons enum
...
- Fixes linking bug in modules split library
2018-01-24 19:12:54 -03:00
Andrea Catania
b1d35f62dd
Improved stabilization of ray shape in Bullet
2018-01-24 16:00:52 +01:00
Ignacio Etcheverry
e1ae7dffd3
Merge pull request #16016 from neikeq/issue-13316
...
Fix CSharpInstance::call not initializing CallError
2018-01-24 01:35:10 +01:00
Ignacio Etcheverry
8c33939ce6
Fix CSharpInstance::call not initializing CallError
2018-01-24 01:31:51 +01:00
Paul Joannon
76a615aea4
SignalAwaiter::_signal_callback was calling the thunk with a wrong pointer
2018-01-23 12:58:54 +01:00