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
Rémi Verschelde
511742eb68
Merge pull request #15972 from akien-mga/mono-warning
...
Mono: Display opt-out warning in editor about WIP status
2018-01-22 22:23:02 +01:00
MrCdK
8a9f1c2a5d
Expose audio streams get_length()
2018-01-22 20:35:33 +01:00
Rémi Verschelde
e48ccc235f
Mono: Display opt-out warning in editor about WIP status
...
This ensures that all users of the Mono flavour of Godot 3.0 are aware
of its current shortcomings (no export, crashes and usability issues).
The dialog is shown each time the editor is started, until the checkbox
is disabled (i.e. until users will have actually read it).
Fixes #15956 .
2018-01-22 14:57:42 +01:00
Paul Joannon
1eb9c7e6cb
RID cached class was wrong (mono)
2018-01-22 14:01:20 +01:00
Rémi Verschelde
aa9b1bd101
Merge pull request #15949 from MarianoGnu/issue_15743
...
Prevent prompting unexpected errors on Bullet's RigidBody. Attemps to fix #15743
2018-01-22 09:03:12 +01:00
Mariano Suligoy
d090856560
attemp to fix #15743
2018-01-21 14:23:30 -03:00
Paul Joannon
e0ce249621
fix GDMonoProperty::set_value
...
was calling getter and not setter
should close #15387
2018-01-21 12:29:49 +01:00
Bernhard Liebl
ec98e0b715
GDScript: always call ResourceLoader::load() in non-completion mode
2018-01-21 09:32:52 +01:00
Juan Linietsky
c58891ff4c
Allow shadowing class members with local variables in GDScript, closes #15896
2018-01-20 17:45:19 -03:00
Poommetee Ketson
225dbe9289
SCsub: fix mixed indentation
2018-01-19 07:35:02 +07:00
Ariel Manzur
9d98e6d2e4
adding option to split modules library
2018-01-18 21:27:57 -03:00
Rémi Verschelde
0359fed313
Merge pull request #15849 from poke1024/preload-completion
...
GDScript: fix autocompletion for preload() (issue 15766)
2018-01-18 23:21:41 +01:00
Bernhard Liebl
67ae443c56
Suppress errors on autocompletion for preload()
2018-01-18 22:29:45 +01:00
Bernhard Liebl
be55171231
Add Color.from_hsv()
2018-01-18 22:13:00 +01:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Bernhard Liebl
ae4cd5b6da
GDScript: fix autocompletion for preload() (issue 15766)
2018-01-18 19:37:21 +01:00
Rémi Verschelde
05e4303e1d
Merge pull request #15837 from KellyThomas/patch-2
...
remove usage of C#7 in DebuggingUtils.cs for compatibility with 2015 Build Tools
2018-01-18 18:21:39 +01:00
karroffel
69f33a9313
[GDNative] fix NativeScript false negative error
2018-01-18 16:00:38 +01:00
Rémi Verschelde
0550c7d9a7
Merge pull request #15836 from karroffel/gdnative-more-fixes-hopefully
...
[GDNative] fix #15723
2018-01-18 14:25:26 +01:00
Kelly Thomas
ed17b42654
remove c#7 features for compatibility with 2015 Build Tools
...
https://github.com/godotengine/godot/issues/15742
2018-01-18 19:43:23 +08:00
karroffel
9b96f87377
[GDNative] fix #15723
2018-01-18 12:04:34 +01:00