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
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
Paul Joannon
2dc6725cc4
remove an unneeded marshalling function
...
`Variant mono_object_to_variant(MonoObject*, const ManagedType&)`
2018-01-18 10:33:43 +01:00
Paul Joannon
1de5f7e70b
fix marshalling when a function is returning an object from c#
2018-01-18 10:31:36 +01:00
Marc Gilleron
a3937e1220
Added GDNative copy constructor for PoolVectors Read and Write
2018-01-18 02:44:37 +01:00
Rémi Verschelde
1699978e24
Merge pull request #15761 from touilleMan/pluginscript-improve-inheritance
...
[GDnative] Improve inheritance system in gdnative pluginscript
2018-01-17 14:53:30 +01:00
Rémi Verschelde
6c46787749
doc: Replace some more "val" with "value" + sync
2018-01-17 10:43:23 +01:00
Chaosus
0c9312c6b8
Fixes for parameter names of builtin functions in visual scripts/core
2018-01-16 19:49:45 +03:00
volzhs
c5e3acc29c
Support colored font
2018-01-16 22:56:54 +09:00
Rémi Verschelde
1968cc445c
Merge pull request #15777 from AndreaCatania/p2
...
Fixed bullet physics body shape scaling
2018-01-16 13:08:13 +01:00
AndreaCatania
ecfe932eb8
Fixed bullet physics body shape scaling
2018-01-16 12:53:01 +01:00
Emmanuel Leblond
0de61998e4
Improve inheritance system in gdnative pluginscript
2018-01-16 00:23:27 +01:00
Juan Linietsky
03475ba197
Filled tutorial field in most relevent classes.
...
Added tutorial display in doc.
2018-01-15 18:41:13 -03:00
K. S. Ernest (iFire) Lee
ef1c26a9a5
Make sure PropertyHint matches in the VisualScript editor.
2018-01-15 22:19:54 +01:00
karroffel
d56bcc38ac
[GDNative] fix two crashes with NativeScript
2018-01-14 23:39:10 +01:00
karroffel
567d20fe5f
[GDNative] fix editor crash with NativeScript
2018-01-14 01:01:35 +01:00
karroffel
ee8ee463c3
[GDNative] cache API hashes
2018-01-13 21:21:05 +01:00
Rémi Verschelde
e141845bfb
SCons: Allow unbundling bullet on Linux (only 2.87+)
2018-01-13 15:16:22 +01:00
Rémi Verschelde
e12c89e8c9
bullet: Streamline bundling, remove extraneous src/ folder
...
Document version and how to extract sources in thirdparty/README.md.
Drop unnecessary CMake and Premake files.
Simplify SCsub, drop unused one.
2018-01-13 14:08:45 +01:00
Rémi Verschelde
e28cdc4654
doc: Update version string in XML
2018-01-13 11:43:42 +01:00
Ignacio Etcheverry
a45697d8df
Mono: Buildsystem improvements
...
- Bundle with mscorlib.dll to avoid compatibilities issues
- Add build option 'mono_assemblies_output_dir' to specify the output directory where the assemblies will be copied to. '#bin' by default.
2018-01-12 22:44:22 +01:00
Lee Pugh
ac26bf0fb4
Expose PhysicsDirectBodyState.get_contact_impulse
2018-01-12 15:27:45 -06:00
Rémi Verschelde
d486cae701
Merge pull request #15630 from neikeq/issue-15454
...
Mono: StackFrame and MonoDevelop crash fixes
2018-01-12 19:35:57 +01:00
Ignacio Etcheverry
bff9627dc4
Mono: Some StackTrace to StackInfo[] fixes
...
- Sometimes `StackFrame.GetMethod()` returns null (e.g.: latest frame of a `MissingMethodException`). Still not sure what to do with that frame (maybe skip it), but at least it no longer fails.
- Skip `CSharpLanguage::debug_get_current_stack_info()` if an error is printed from `GDMonoUtils::update_corlib_cache()`.
- Fix crash when calling `GDMonoUtils::print_unhandled_exception(exc)` if there is no ScriptDebugger attached.
2018-01-12 19:31:15 +01:00
Ignacio Etcheverry
feb843da2b
Mono: Fix starting MonoDevelop process from the wrong appdomain
2018-01-12 19:19:20 +01:00
Rémi Verschelde
da47a20100
Merge pull request #15628 from endragor/fix-gdnative-charstrings
...
Fix GDNative procedures returning godot_char_string
2018-01-12 18:27:11 +01:00
Ruslan Mustakov
a5e98c5e33
Fix GDNative procedures returning godot_char_string
2018-01-12 22:35:41 +07:00
Juan Linietsky
710970f004
Properly resize textures so they can be ETC compressed, fixes #15139
...
this may make import times slower though, will have to wait for 3.1 for background texture import and compressonator.
2018-01-12 11:46:42 -03:00
Bojidar Marinov
ad79c70300
Update docs
...
[ci skip]
2018-01-12 00:58:22 +02:00
Bojidar Marinov
9b8e8b2220
Bind many more properties to scripts
...
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
2018-01-12 00:58:14 +02:00
Rémi Verschelde
9135e61512
Merge pull request #15580 from karroffel/gdnative-api-fixes
...
[GDNative] updates to string API and const fixes
2018-01-11 15:43:33 +01:00
karroffel
9ece961abe
[GDNative] updates to string API and const fixes
2018-01-11 00:17:43 +01:00
Paul Joannon
484f664331
Change 'Build Project' button style in Mono panel
...
Address #15208
2018-01-10 21:03:07 +01:00
Rémi Verschelde
a60896869e
Merge pull request #15537 from PJB3005/18-01-09-fix-color-string-constructor-mono
...
Fixes Mono color creation from string being 0-255 instead of 0-1.
2018-01-10 14:50:26 +01:00
Pieter-Jan Briers
6e14cf991a
Fixes Mono color creation from string.
...
Fixes #15468
Also improves the error messages if the string isn't hex, because saying that the color value is negative is just a side effect of the implementation and tells you nothing.
2018-01-10 13:56:30 +01:00
Rémi Verschelde
aebdc4c212
Merge pull request #15541 from neikeq/look-all-i-want-to-tell-you-is
...
Mono: Some fixes for #15463
2018-01-10 10:39:20 +01:00
Emmanuel Leblond
58f3ad69c7
Fix warning when editor resource preview try to read pluginscript resource
2018-01-09 23:12:39 +01:00
Ignacio Etcheverry
f7de51b3a6
Mono: Some fixes for #15463
2018-01-09 22:27:55 +01:00
Emmanuel Leblond
72d50b4185
Fix crash in pluginscript complete_code
2018-01-09 21:12:24 +01:00
Rémi Verschelde
c037f6339f
Merge pull request #15463 from neikeq/the-stack-frame-madness
...
Mono: Implement stack info for errors and exceptions
2018-01-09 19:44:10 +01:00
Ignacio Etcheverry
252702a304
Mono: Fix iteration order of object types when generating bindings
2018-01-09 19:06:59 +01:00
Ignacio Etcheverry
1c6269f2dd
External editor fixes
...
- Fix VS Code opening on the previous line to the desired one.
- Fix running MonoDevelop without the line and column parameters.
- Fix `ScriptEditor::_goto_script_line` not working with language overriden external editors.
2018-01-09 17:25:23 +01:00
Ignacio Etcheverry
5be356b72f
Mono: Implement stack info for errors and exceptions
2018-01-09 17:19:03 +01:00
Rémi Verschelde
d2f4964f58
Merge pull request #15490 from AndreaCatania/kin
...
Fixed #15417 kinematics char jumping
2018-01-08 20:13:27 +01:00
AndreaCatania
c507a4988d
Removed useless error print on bullet shapes
2018-01-08 16:49:04 +01:00
AndreaCatania
50c99370d2
Fixed Bullet collision shapes scale
2018-01-08 16:44:33 +01:00
Rémi Verschelde
e7400a0f4e
Merge pull request #15426 from poke1024/fix15409
...
Fixes RegEx::sub injecting null character (issue 15409)
2018-01-08 09:07:55 +01:00
Bernhard Liebl
57e77db0ed
Fixes RegEx::sub injecting null character (issue 15409)
2018-01-07 15:00:33 +01:00
Rémi Verschelde
29e68aa40e
doc: Sync classref with current source
2018-01-07 01:37:45 +01:00
Ian
bce2d2c297
Filesystem and Visual Script Members keyboard shortcuts fix
2018-01-06 15:46:32 -05:00
karroffel
66eed7b859
[GDNative] fix reloading of non-reloadable libraries
2018-01-06 21:10:01 +01:00
Juan Linietsky
50b975548d
Removed PBM bitmap loader, added abiliy to importi mages as bitmap. Fixes #14828
2018-01-06 16:38:36 -03:00
karroffel
34cdcf5cd0
[GDNative] added reload property
2018-01-06 12:31:30 +01:00
Rémi Verschelde
0e6e98a65f
Fix build of GDMonoField
...
Closes #15385 .
2018-01-06 11:06:05 +01:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
0f8ac21592
Merge pull request #15346 from neikeq/properties-are-overrated
...
Mono: Add properties support in scripts
2018-01-04 21:50:04 +01:00
Ignacio Etcheverry
119a910bc6
Mono: Add properties support in scripts
2018-01-04 21:16:22 +01:00
Emmanuel Leblond
c1eba93cae
Disable lto for gdnative wrapper
2018-01-04 20:29:47 +01:00
Rémi Verschelde
df04f462fc
Merge pull request #15326 from robfram/issue-15303
...
Fix Issue#15303 FreeBSD compilation error in thekla_atlas
2018-01-04 16:05:25 +01:00
robfram
f2afddbc52
Fix Issue#15303 FreeBSD compilation error in thekla_atlas due to wrong definition of NV_OS_LINUX instead NV_OS_FREEBSD
2018-01-04 15:31:08 +01:00
Rémi Verschelde
f8b58784bc
Merge pull request #13257 from AndreaCatania/master
...
Fixed kinematic movement stuck, Changed how shape scale works.
2018-01-04 15:26:23 +01:00
Rémi Verschelde
c4c1ca9cb1
Merge pull request #15223 from ibrahn/ogg-data-leak-fix
...
free associated audio data on AudioStreamOGGVorbis destruction
2018-01-04 15:25:20 +01:00
Rémi Verschelde
8d03cafd7c
doc: Sync classref with current source
2018-01-03 13:45:03 +01:00
samvila
6188279eeb
Remove too verbose printf statements from VideoStreamTheora
2018-01-03 13:29:17 +01:00
Rémi Verschelde
5519481803
Merge pull request #15114 from capnm/fix-bad-lightmap-crash
...
Avoid thekla_unwrap crash
2018-01-03 12:36:47 +01:00
Rémi Verschelde
fa9320cfc6
Merge pull request #15120 from AndreaCatania/gridm
...
Added layer and mask in the gridmap node
2018-01-03 11:19:09 +01:00
Rémi Verschelde
3db1c6a6f5
Merge pull request #15089 from poke1024/funcref-warn
...
Warn about funcref creation
2018-01-03 11:03:03 +01:00
George Marques
c9005ca7fd
Merge pull request #15246 from vnen/uwp-gdnative
...
Make GDNative DLLs work on UWP
2018-01-01 22:47:22 -02:00
George Marques
2a023a425d
Make GDNative DLLs work on UWP
2018-01-01 13:59:14 -02:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Rémi Verschelde
defdb5761d
Merge pull request #15232 from neikeq/issue-15138-and-more
...
Mono fixes
2018-01-01 11:46:14 +01:00
Ignacio Etcheverry
fe391393d4
Mono: Change BindingsGenerator singleton to avoid StringName leaks
2018-01-01 03:05:19 +01:00
Ignacio Etcheverry
b271aa48e4
Mono: Script lifetime fixes
...
- alloc_language_binding: Use strong GC handle as well for references. Fixes #15138
- Set the native instance field of Godot.Object to IntPtr.Zero when it's freed.
- Create weak handles without tracking resurrection (that was causing trouble). This means we have to call notification predelete before queueing a native Object for deletion, and use the MonoObject* passed by the finalizer because the weak GC handle target will return NULL at this point.
2018-01-01 03:05:13 +01:00
Ignacio Etcheverry
d6a1125254
Merge pull request #15136 from neikeq/issue-15128
...
Mono: Bindings no longer relie on DocData for accessors
2017-12-31 22:30:25 +01:00
Ibrahn Sahir
12efcb665a
free associated audio data on AudioStreamOGGVorbis destruction
2017-12-31 16:51:55 +00:00
firefly2442
ac2b084fdc
fix typo in switch statement
2017-12-30 21:49:04 -07:00
Martin Capitanio
1df63bf3cb
Avoid thekla_unwrap crash
...
Godot crashed here sometimes by generating the uv map.
2017-12-31 00:43:32 +01:00
Ignacio Etcheverry
e350a56efd
Mono: Bindings no longer relie on DocData for accessors
2017-12-29 02:18:46 +01:00
AndreaCatania
5a15e6e75c
Added layer and mask in the gridmap node
2017-12-28 16:13:45 +01:00
Noshyaar
ab444a8ca9
Merge pull request #14996 from neikeq/enums-mono
...
Mono: Make the bindings generator output enums
2017-12-27 10:29:00 +07:00
Bernhard Liebl
29f7f48c42
Warn about funcref creation
2017-12-26 23:16:41 +01:00
Ignacio Etcheverry
8b0ad17b76
Merge pull request #14997 from neikeq/issue-14988
...
Marshal NULL MonoString* as empty Godot string
2017-12-24 17:50:28 +01:00
Juan Linietsky
e1da261844
Restored opus build since WebM needs it, but disabled it from code.
2017-12-24 09:37:51 -03:00
Juan Linietsky
021f3c924b
-Removed OpenMP support, replaced by a custom class.
...
-Disabled Opus, implementation is wrong.
2017-12-24 09:32:12 -03:00
Noshyaar
83182ea4a1
Merge pull request #14982 from GodotExplorer/more-translate-text
...
Add more translatable text for editor plugins.
2017-12-24 18:28:46 +07:00
Ignacio Etcheverry
0a0a44da8d
Mono: Make the bindings generator output enums
...
- Switch to PascalCase for constants names
2017-12-24 04:20:41 +01:00
Ignacio Etcheverry
6e3d4ee9a6
Marshal NULL MonoString* as empty Godot string
2017-12-24 03:32:40 +01:00
AndreaCatania
f4b96cc0a9
Fixed kinematic movement stuck, Changed how shape scale works, Optimized
2017-12-23 18:23:12 +01:00
Colin Kinloch
853b1daa49
Fixed android arm64v8
2017-12-23 16:49:04 +00:00
Juan Linietsky
9969c5c6a1
Merge pull request #14978 from AndreaCatania/intshap
...
Fixed dispatch callback
2017-12-23 11:55:15 -03:00
geequlim
52ad2e5418
Add more translatable text for editor plugins.
2017-12-23 22:40:15 +08:00
AndreaCatania
0f5c87bfa4
Fixed dispatch callback
2017-12-23 12:36:51 +01:00
Rémi Verschelde
5463b5e348
Merge pull request #14965 from AndreaCatania/intshap
...
Fixed bullet intersect_shape crash, Fixed bullet sleeping
2017-12-23 11:18:30 +01:00
AndreaCatania
aea1b2e6c3
Fixed rigidbody sleping, Fixes #13952
2017-12-23 05:13:39 +01:00
AndreaCatania
512c60f1d8
Fixed intersect_shape crash, closes #13697
2017-12-23 00:04:53 +01:00
Juan Linietsky
360449a094
Fix gridmap disappearing after editing after bake, closes #14868
2017-12-20 11:10:27 -03:00
PJB3005
7368a0e0f0
Fix fatal mono logs not getting logged to disk.
...
They aborted the application without flushing the log file.
Also there was a typo.
2017-12-19 17:36:33 +01:00
Juan Linietsky
8b01b2e85c
-Fix some crashes in unwrapper
...
-Add emission lighting to raytrace mode, fixes #14686
2017-12-19 12:16:55 -03:00
Juan Linietsky
1eb1837d0c
Should no longer crash after rebaking, may be a solution to #14795
...
Not sure if this is the same problem, as reported, please test.
2017-12-19 09:58:02 -03:00
geequlim
13bd5c22c6
Add plugin to edit GDNativeLibrary
...
Rename GDNativeLibraryEditor to GDNativeLibrarySingletonEditor
2017-12-18 23:23:29 +08:00
Rémi Verschelde
abf20709af
doc: Sync classref with current source
2017-12-18 08:13:58 +01:00
Juan Linietsky
e96c40f94a
Added baked light support for gridmaps.
2017-12-18 00:35:20 -03:00
Rémi Verschelde
4e442b0648
Merge pull request #14788 from mrcdk/ogg_pop_noise_fix
...
Fix ogg looping pop noise. Closes #11468
2017-12-17 23:59:09 +01:00
Rémi Verschelde
e83c502939
Merge pull request #14754 from willnationsdev/dictionary-copy
...
Added 'duplicate' function for Dictionary in C++ and API.
2017-12-17 23:58:59 +01:00
Will Nations
f19fc83546
Dictionary::copy -> ::duplicate
2017-12-17 16:07:15 -06:00
MrCdK
1ccfb01cbc
Fix ogg looping pop noise. Closes #11468
2017-12-17 22:30:28 +01:00
Daniel J. Ramirez
c8c280a68a
Now every variant type has its icon.
2017-12-17 14:06:11 -06:00
Daniel J. Ramirez
756c033adb
General use Variant type icons, plus other icon updates.
2017-12-17 13:19:09 -06:00
Rémi Verschelde
8f25a2dc11
Cleanup some #if 0'd code
2017-12-17 15:40:24 +01:00
Rémi Verschelde
1b9c8daf7b
Merge pull request #12845 from remorse107/Array-Dictionary-Fix
...
Fix issue #11400 . Fixes issue with arrays and dictionary acting as static objects between different instances of objects.
2017-12-16 15:49:07 +01:00
Ruslan Mustakov
9d6d20e67c
Remove get_stack_bottom
...
It's not used in godot-nim any longer and there were no other uses for
it.
2017-12-16 13:10:26 +07:00
Rémi Verschelde
dcdf9008ae
Merge pull request #14676 from NathanWarden/nav_create_to_add
...
Renamed navmesh_create to navmesh_add since no navmesh is created.
2017-12-16 00:36:47 +01:00
Rémi Verschelde
cf7bd1a7e3
Merge pull request #14708 from Faless/get_packet_not_const_rebased
...
Remove "const" from PacketPeer get_packet/get_var, move windows network related stuff to drivers
2017-12-16 00:05:18 +01:00
Juan Linietsky
e946fb8cb0
Made built-in identifiers properly constant in shaders. Fixes #14449 , closes #14629
2017-12-15 18:24:30 -03:00
Nathan Warden
38caa4126f
Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created.
2017-12-15 15:09:06 -05:00
Fabio Alessandrelli
92067b4714
Remove "const" from PacketPeer get_packet/get_var
...
They are NOT constant methods, as state by the comment message,
they fetch the last packet and then forget about it, actively
changing the state of the object.
2017-12-15 17:14:17 +01:00
Thomas Herzog
f680c6fab0
Merge pull request #14679 from touilleMan/add-godot_get_global_constants-to-gdnative-wrapper
...
[GDnative] missing godot_get_stack_bottom and godot_get_global_constants
2017-12-15 10:54:48 +01:00
bruvzg
f55162ac1d
Fixes thekla atlas mingw-w64 build
2017-12-15 09:04:51 +02:00
Emmanuel Leblond
29df438f9a
Add missing godot_get_stack_bottom and godot_get_global_constants in gdnative_api.json
2017-12-15 00:37:46 +01:00
Juan Linietsky
93a63a5e1a
GDScript files are converted to binary on export now.
2017-12-14 15:34:47 -03:00
Juan Linietsky
f3ad14224e
-Add lightmapper
...
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
Rémi Verschelde
1c0007ba71
Merge pull request #14626 from Hinsbart/module_env
...
Scons: Build modules in seperate env.
2017-12-13 16:57:12 +01:00
Andreas Haas
0e624234da
Scons: Build modules in seperate env.
2017-12-13 15:46:35 +01:00
Rémi Verschelde
88a3e15981
Merge pull request #14587 from hoelzl/pr-no-std-arg-on-msvc
...
Don't pass -std=gnu++11 to MSVC
2017-12-13 08:37:33 +01:00
Rémi Verschelde
729af16aa9
Merge pull request #14591 from mhilbrunner/patch-6
...
Small fix in stream_peer_openssl: missing break, formatting
2017-12-13 08:37:13 +01:00
Rémi Verschelde
a104a9b95b
Merge pull request #14593 from Hinsbart/mono_env
...
Mono: Build in cloned env.
2017-12-13 08:36:57 +01:00
Matthias Hoelzl
26a1621678
Change -std=gnu++11 to -stc=c++11 and don't pass flag to MSVC
2017-12-12 18:58:51 +01:00
Hein-Pieter van Braam
5387613c7b
Fix mingw build for thekla_atlas
2017-12-12 17:30:43 +01:00
Andreas Haas
e7c1255b06
Mono: Build in cloned env.
...
Use a cloned env, so that toggling glue_enabled doesn't force a full rebuild as mentioned in #14584 .
2017-12-12 16:20:34 +01:00
Max Hilbrunner
d5df834b89
stream_peer_openssl: add missing break & format
2017-12-12 13:35:34 +01:00
Rémi Verschelde
8cd4b9bf27
Merge pull request #14555 from bojidar-bg/14324-nested-ternary
...
Properly support nested ternary expressions
2017-12-12 00:14:36 +01:00
Rémi Verschelde
3a07860311
Merge pull request #14561 from volzhs/libwebp-0.6.1
...
Update libwebp to 0.6.1
2017-12-12 00:14:26 +01:00
volzhs
043103fe6a
Update libwebp to 0.6.1
...
* lossless performance and compression improvements + a new 'cruncher' mode (-m 6 -q 100)
* ARM performance improvements with clang (15-20% w/ndk r15c)
* webp-js: emscripten/webassembly based javascript decoder
* miscellaneous bug & build fixes
2017-12-12 02:55:47 +09:00
Bojidar Marinov
2c190b975e
Properly support nested ternary expressions
...
Fixes 14324.
2017-12-11 15:36:32 +02:00
Rémi Verschelde
dfb3634c34
Merge pull request #13836 from AndreaCatania/scale
...
Fixed bullet scale on get_transform and joints
2017-12-11 10:35:09 +01:00
Rémi Verschelde
5cfafaf09e
Merge pull request #14516 from AndreaCatania/patch-2
...
Implemented physics linear and angular lock
2017-12-11 00:13:06 +01:00
AndreaCatania
5dee44bbc1
Implemented physics linear and angular lock
2017-12-10 17:21:14 +01:00
AndreaCatania
785173e899
Ray cast return shape id. Fixes #14473
2017-12-10 12:20:36 +01:00
Rémi Verschelde
a845411454
Style: Re-apply clang-format over recent invalid additions
2017-12-10 01:27:02 +01:00
Rémi Verschelde
aeae05a2f4
Fix missing parenthesis
2017-12-09 23:36:41 +01:00
Rémi Verschelde
2b91a2059b
GDNative: Fix warning when gdnative/singletons is missing
2017-12-09 23:32:40 +01:00
AndreaCatania
b546cd50a3
Changed how 6DOF limits works
2017-12-09 19:53:08 +01:00
Rémi Verschelde
bdf0c93a9f
Merge pull request #14459 from vnen/gdscript-object-export
...
Make GDScript parser raise error when exporting Object
2017-12-09 19:04:57 +01:00
George Marques
3d8dd7b327
Make GDScript parser raise error when exporting Object
2017-12-09 15:35:02 -02:00
Juan Linietsky
65fb961b8b
-Ability to and unwrap lightmap coordinates on import
...
-Added unwrap functionality to Mesh
-Ability to display and debug mesh UVs
-Added multiline draw, so it's easier and faster to draw UVs
-Many fixes to SurfaceTool
-Fixes to Thekla Unwrap, but it's a piece of ass and it keeps crashing. Will have to go away
2017-12-09 14:18:14 -03:00
Rémi Verschelde
48d0336882
Merge pull request #14358 from RandomShaper/fix-vscript
...
Fix function arg count not considered in VisualScript
2017-12-09 14:18:26 +01:00
Rémi Verschelde
25b36f18d3
Merge pull request #12756 from Stratos695/master
...
Allowing double-axis lock in RigidBody & KinematicBody (Fixes #12500 )
2017-12-09 13:01:41 +01:00
AndreaCatania
32408f3bfd
Fixed joint scale
2017-12-09 01:22:36 +01:00
AndreaCatania
5cfc98cace
Fixed bullet get_transform scale
2017-12-08 16:46:41 +01:00
Hein-Pieter van Braam
a974464629
Fix thekla_atlas build
...
clang doesn't like c++ versions being supplied to build c source files.
2017-12-08 16:18:36 +01:00
Hein-Pieter van Braam
bf05309af7
Import thekla_atlas
...
As requested by reduz, an import of thekla_atlas into thirdparty/
2017-12-08 15:47:15 +01:00
Juan Linietsky
dcab01618a
Fixed is_playing funtion (was reporting wrong), closes #13928
...
Made error reporting to opcode_set in gdscript a bit clearer
2017-12-07 18:14:39 -03:00
Rémi Verschelde
96dbf19093
Merge pull request #14332 from akien-mga/clang-format
...
Update style for clang-format 5.0.0, new min required version
2017-12-07 09:18:11 +01:00
Rémi Verschelde
624a2b08f3
doc: Sync classref after a496dd4d
, removing NOEDITOR properties from doc
2017-12-07 08:29:38 +01:00
Rémi Verschelde
13c2ff9320
Style: Apply new clang-format 5.0 style to all files
2017-12-07 08:02:00 +01:00
Rémi Verschelde
d5ca9e2f6f
Style: Apply clang-format again on all files
...
Fixes issues introduced by newer clang-format versions or commits
pushed directly without using the clang-format pre-commit hook.
2017-12-07 08:02:00 +01:00
Pedro J. Estébanez
c68300b88d
Fix function arg count not considered in VisualScript
2017-12-07 02:19:56 +01:00
Rémi Verschelde
8b907365d0
Merge pull request #14006 from akien-mga/tinyexr
...
Fix TinyEXR import bug and update to current master
2017-12-07 00:22:10 +01:00
Rémi Verschelde
c2031fc813
Merge pull request #13436 from hoelzl/pr-vs-yield-signal-oneshot
...
Connect signal for VisualScript "Yield Signal" using oneshot mode
2017-12-06 23:43:27 +01:00
Rémi Verschelde
e35e45a788
Merge pull request #13427 from hoelzl/pr-vs-enable-yield
...
Make VisualScriptFunctionState instantiable
2017-12-06 23:41:34 +01:00
Rémi Verschelde
7d9f14e9e4
TinyEXR: Fix EXR header when parsing pixels encoded as HALF
...
Also free the header and image properly after usage.
Fixes #13490 .
2017-12-05 22:50:17 +01:00
Unknown
fd1b94e307
Improve slang, especially in user-visible parts
2017-12-05 15:41:38 +01:00
Rémi Verschelde
c7f9d8a059
Merge pull request #13992 from ISylvox/substract-to-subtract
...
Fix Typo: Substract to Subtract
2017-12-05 09:16:10 +01:00
Indah Sylvia
3996a05324
Fixed typo: substract to subtract
2017-12-05 11:34:46 +07:00
George Marques
6af42c536a
GDNative: Save singletons only if there's a change
...
Ensures that the Project Settings are saved only if the list of
singletons actually changed.
2017-12-05 00:25:29 -02:00
Nathan Warden
0c22447ebe
Exported variables now show in the correct order.
2017-12-02 21:01:58 -05:00
Matthias Hoelzl
c825a58fe0
Connect signal for VisualScript "Yield Signal" using oneshot mode
...
Since the first call to a VisualScriptFunctionState invalidates the
state, any further call results in errors.
2017-12-01 04:44:47 +01:00
Matthias Hoelzl
70190e7428
Make VisualScriptFunctionState instantiable
2017-11-30 23:11:32 +01:00
Andrea Catania
2336927043
Fixed bullet server null pointer check
...
Fixed bullet server null pointer check
2017-11-30 20:38:57 +01:00
Juan Linietsky
9678231b10
Changed the dynamic library open function to allow setting the path of the library to open extra libraries.
2017-11-30 10:00:55 -03:00
Rhody Lugo
a65c0939fd
disable caching for targets using helper functions
2017-11-28 23:24:12 -04:00
Bastiaan Olij
f00b60860c
Set real world position, not virtual world position!
2017-11-28 23:28:35 +11:00
Rhody Lugo
a4a222d62d
use the same cache for all branches for appveyor
2017-11-28 03:23:33 -04:00
Marcin Zawiejski
57f34abea1
Fix constant node value edit
2017-11-25 22:28:59 +01:00
Emmanuel Leblond
6e3d78c94c
[GDNative] disable -fPIC flag with msvc compiler
2017-11-25 20:26:42 +01:00
Rémi Verschelde
aa5f7e0ff2
Fix mono build after bc2e8d99
2017-11-25 12:16:58 +01:00
Juan Linietsky
bc2e8d99e5
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
...
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Rémi Verschelde
7dfba3cda9
doc: Fix enum tags thanks to 2bc6db6
2017-11-24 23:16:30 +01:00
Rémi Verschelde
92f07fefcd
doc: Remove setters and getters now exposed via properties/members
2017-11-24 18:10:32 +01:00
Rémi Verschelde
bc75fae579
doc: Update header version for 3.0-beta
2017-11-24 09:16:52 +01:00
Rémi Verschelde
15ada56d73
doc: Sync classref with current source
2017-11-24 09:16:27 +01:00
AndreaCatania
0a0800ebec
Removed shape margin
2017-11-23 14:42:28 +01:00
Rémi Verschelde
3fffe6ccb4
Merge pull request #13202 from AndreaCatania/master
...
Space override scratching when body is add to world
2017-11-23 09:30:27 +01:00
AndreaCatania
8de4df3fe2
Space override scratching when body is add to world
...
Fixes #13182
2017-11-23 01:26:49 +01:00
Rémi Verschelde
2ea5ac17e8
Merge pull request #13159 from AndreaCatania/ray
...
Removed type_mask and fixed some variable name
2017-11-22 16:40:20 +01:00
Rémi Verschelde
7f022a33a3
Merge pull request #13161 from Hinsbart/mono_case
...
Mono: Use PascalCase in core types.
2017-11-22 08:32:49 +01:00
Rémi Verschelde
bedcbdd420
Merge pull request #13130 from endragor/gdnative-android-export
...
Proper GDNative export on Android
2017-11-21 23:59:01 +01:00
Andreas Haas
e69dd3c712
Mono: Use PascalCase in core types.
2017-11-21 23:32:40 +01:00
AndreaCatania
d6e413bb9c
Removed type_mask and fixed some variable name
2017-11-21 22:56:40 +01:00
Rémi Verschelde
613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
...
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00
Thomas Herzog
08e6590fd6
Merge pull request #13149 from touilleMan/gdnative-fix-scsub-generator
...
[GDNative] fix gdnative_api_struct.gen.h generation
2017-11-21 20:24:45 +01:00
Emmanuel Leblond
b075f13988
Fix&prettify gdnative_api_struct.gen.h GDNATIVE_API_INIT macro generation
2017-11-21 20:09:08 +01:00
Bojidar Marinov
0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
...
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
Rémi Verschelde
9ebc6ab45a
Merge pull request #13145 from AndreaCatania/grav
...
Set gravity on change body mode
2017-11-21 19:24:52 +01:00
AndreaCatania
967854f8e9
Set gravity on change body mode
...
Fixes #13140
2017-11-21 18:31:43 +01:00
Juan Linietsky
30dadb1228
Merge pull request #11933 from cxong/master
...
Use "Command" instead of "Meta" for macOS (#1619 )
2017-11-21 14:25:09 -03:00
Ruslan Mustakov
ebf9b80a47
Proper GDNative export on Android
2017-11-21 20:40:31 +07:00
Rémi Verschelde
1c2782a7c7
Merge pull request #12590 from poke1024/bsearch
...
Add bsearch and bsearch_custom to Array
2017-11-21 13:14:08 +01:00
Rémi Verschelde
5a23136d1b
Merge pull request #12573 from poke1024/macostouchpad
...
Native pan and zoom for macOS + InputEventGesture
2017-11-21 13:03:32 +01:00
Bastiaan Olij
1955fecb2d
Revert this change, we need to export symbols on the library side
2017-11-21 21:32:05 +11:00
Bernhard Liebl
80ad8afc85
Native pan and zoom for macOS
2017-11-21 09:11:39 +01:00
poke1024
d6e54de502
Add bsearch and bsearch_custom to Array
2017-11-21 08:50:31 +01:00
Rémi Verschelde
e39dade177
Merge pull request #12754 from MillionOstrich/compress-image-etc
...
Attempt at fixing size mismatch in _compress_etc
2017-11-20 23:41:28 +01:00
MillionOstrich
8b8414b8aa
Fix size mismatch in _compress_etc
...
Use j for inner loop
2017-11-20 22:36:58 +00:00
pablotato
054a2ac579
Add cartesian to polar conversion functions
2017-11-20 23:34:40 +01:00
sanikoyes
fb801d4964
Allow to extends constant variable
2017-11-20 23:24:52 +01:00
Rémi Verschelde
71a3e71b61
Merge pull request #11783 from endragor/ios-export-frameworks
...
Allow exporting third-party iOS Frameworks
2017-11-20 22:56:15 +01:00
Rémi Verschelde
6065b2d177
Merge pull request #11940 from GodotExplorer/debugger
...
Enhanced debugger for godot 3.0
2017-11-20 22:55:49 +01:00
Ruslan Mustakov
8f0f327f02
Allow configuring iOS export
...
- EditorExportPlugin's _export_begin accepts all the arguments related
to the current export (is_debug, path, flags).
- EditorExportPlugin API is extended with methods allowing to configure
iOS export: add_ios_framework, add_ios_plist_content,
add_ios_linker_flags, add_ios_bundle_file.
- iOS export template now contains Godot as a static library so that
it can be linked with third-party Frameworks and GDNative static
libraries.
- Adds method to DirAccess for recursive copying of a directory.
- Fixes iOS export to work with Xcode 9 (released recently).
2017-11-21 01:16:49 +07:00
muiroc
5dac3e857f
bullet cast_motion: reordered null check
2017-11-20 19:00:47 +01:00
Thomas Herzog
30a82e5e00
Merge pull request #13094 from karroffel/gdnative-api-register-nativecall
...
[GDNative] add a way to register call types
2017-11-20 15:43:36 +01:00
Thomas Herzog
14ff5aa6ee
Merge pull request #13093 from karroffel/gdnative-static-linking-is-kill
...
[GDNative] removed static linking fields
2017-11-20 15:43:14 +01:00
Karroffel
5d666319e3
[GDNative] add a way to register call types
2017-11-20 14:49:22 +01:00
Karroffel
7388a1e115
[GDNative] removed static linking fields
2017-11-20 14:28:52 +01:00
Juan Linietsky
2e28bd602c
Revert "Added loop_begin and loop_end to OggVorbisStream"
2017-11-20 10:11:08 -03:00
Thomas Herzog
90e37d58d5
Merge pull request #13060 from karroffel/gdnative-version-error
...
[GDNative] (version-) error reporting + small API change
2017-11-20 11:11:54 +01:00
Karroffel
33ffdba553
[GDNative] removed godot_string_c_str
2017-11-20 11:10:05 +01:00
Karroffel
0865365e21
[GDNative] loading error and version error procs
2017-11-20 11:09:55 +01:00
Rémi Verschelde
b91fa19582
Merge pull request #12644 from mrcdk/ogg_loop
...
Added loop_begin and loop_end to OggVorbisStream
2017-11-20 09:14:16 +01:00
Rémi Verschelde
7b5c447301
Merge pull request #12952 from bojidar-bg/12392-export-enums
...
Allow exporting enums from GDScript
2017-11-20 09:11:46 +01:00
Rémi Verschelde
ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
...
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Rémi Verschelde
32c12a92a5
Add initial support for the XDG Base Directory spec
...
Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html
(latest as of this commit).
Three virtual methods are added to OS for the various XDG paths we will use:
- OS::get_data_path gives XDG_DATA_HOME, or if missing:
~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows
- OS::get_config_path gives XDG_CONFIG_HOME, or if missing:
~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows
- OS::get_cache_path gives XDG_CACHE_HOME, or if missing:
~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows
So for Windows there are no changes, for Linux we follow the full split spec
and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot.
Support for system-wide installation of templates on Unix was removed for now,
as it's a bit hackish and I don't think anyone uses it.
user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by
default, but when using the application/config/use_shared_user_dir option
it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame.
For now everything still goes in EditorSettings::get_settings_dir(), but
this will be changed in a later commit to make use of the new splitting
where relevant.
Part of #3513 .
2017-11-19 20:54:24 +01:00
Rémi Verschelde
249c11784a
Merge pull request #13046 from AndreaCatania/kinfix
...
Some Bullet bug fix
2017-11-19 20:37:04 +01:00
AndreaCatania
0327a51c12
Added null check in Bullet cast_motion API
2017-11-19 18:21:36 +01:00
AndreaCatania
d250ade37b
Fixed gravity scale
2017-11-19 17:52:45 +01:00
AndreaCatania
aa3e740a53
Removed dynamic_cast from Bullet Server
2017-11-19 17:11:47 +01:00
AndreaCatania
e6ba163031
Fixed kinematic movement on concave shape
2017-11-19 17:01:08 +01:00
Rémi Verschelde
4a08887950
Merge pull request #13016 from neikeq/issue-13011
...
Mono: Fix compiler error with Variant::operator AABB()
2017-11-19 16:43:20 +01:00
Ignacio Etcheverry
b51b3dc030
Mono: Fix compiler error with Variant::operator AABB()
2017-11-18 18:13:57 +01:00
Martin Capitanio
ade4f3084c
Fix class docs, improve error handling of the rst generator.
...
The rst-generator gives you now a hint what's going on:
Bad reference: 'method.RegEx.search_all' in file: ../modules/regex/doc_classes/RegExMatch.xml
grep 'method.RegEx.search_all' ../modules/regex/doc_classes/RegExMatch.xml
Contains the results of a single regex match returned by [method RegEx.search]
and [method.RegEx.search_all]. It can be used to find the position and range of the match
and its capturing groups, and it can extract its sub-string for you.
2017-11-18 01:41:32 +01:00
Robert Morse
74872fd23e
Fix issue #11400 . Fixes issue with arrays and dictionary acting as static objects between different instances of objects.
2017-11-17 17:49:52 -06:00
Rémi Verschelde
ad199c3964
EditorSettings: Rename settings_path to settings_dir
...
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Rémi Verschelde
73049d115e
Rename OS::get_data_dir to OS::get_user_data_dir
...
Will be needed to avoid confusion with system data path (XDG_DATA_HOME)
and editor data dir in upcoming refactoring.
2017-11-17 20:55:09 +01:00
Juan Linietsky
ebbe2bd572
Merge pull request #12930 from vnen/gdscrit-output-print
...
Make tool scripts print on the editor Output panel
2017-11-17 16:05:44 -03:00
Ferenc Arn
d28763a4c1
Rename Rect3 to AABB.
...
Fixes #12973 .
2017-11-17 11:01:41 -05:00
Bojidar Marinov
e4a36d0eda
Allow exporting enums from GDScript
...
Use as `export(E) ...`
Closes #12392
2017-11-17 14:33:36 +02:00
Geequlim
fab66af7e9
Move the remote scene tree to the scene tree dock.
...
Ignore all script constants in the global section of the breakpoint stack.
Check property size before send to avoid too large of data be sent.
Fix crash while clear the remote objects from the debugger.
2017-11-17 12:01:54 +08:00
geequlim
475cee9c0f
Abstract some method for script system
2017-11-17 09:20:32 +08:00
George Marques
1d12470a78
Add print_error function, akin to print_line
2017-11-16 21:56:57 -02:00
Rémi Verschelde
ad61ba7a97
Merge pull request #12974 from karroffel/gdnative-wrapper-fix
...
[GDNative] fix wrapper code generation
2017-11-16 22:40:25 +01:00
Rémi Verschelde
ab3cd97138
Merge pull request #12969 from akien-mga/refactor-gd-prefix
...
GDScript: Refactor "GD" class prefix to "GDScript"
2017-11-16 22:12:22 +01:00
Karroffel
b13bfac9e3
[GDNative] fix wrapper code generation
2017-11-16 22:05:47 +01:00
Rémi Verschelde
bb1d1912ea
Merge pull request #12488 from djrm/pr_gridmap_fixes
...
Several improvements to GridMap.
2017-11-16 19:27:27 +01:00
Rémi Verschelde
4cfc29611e
GDScript: Refactor "GD" class prefix to "GDScript"
2017-11-16 18:54:56 +01:00
Rémi Verschelde
3002130a6d
Merge pull request #12957 from bojidar-bg/12928-numeric-underscores
...
Allow underscores in GDScript numeric literals
2017-11-16 09:04:31 +01:00
Bojidar Marinov
443ce6fef2
Allow underscores in GDScript numeric literals
...
Closes #12928
2017-11-15 22:53:08 +02:00
Rémi Verschelde
11e07d18bd
doc: Sync classref with current source
2017-11-15 21:29:34 +01:00
Rémi Verschelde
ed2b66f023
Improve code style of generated headers
2017-11-15 21:29:34 +01:00
Rémi Verschelde
677e95d8d1
doc: Make all module docs self-contained
2017-11-15 21:29:33 +01:00
Rémi Verschelde
e7701bb2de
doc: Rename "@Global Scope" to "@GlobalScope"
...
Spaces in filenames are evil.
2017-11-15 20:41:16 +01:00
Rémi Verschelde
967bfb0c4a
doc: Remove revision.module_config from version string
...
It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}",
limits unnecessary diffs.
2017-11-15 20:41:16 +01:00
George Marques
0284727e7b
Create API to add and remove VisualScript custom nodes
...
This makes a VisualScriptEditor singleton, which gives plugins the
ability to register their own custom nodes. Those will be available for
insertion in the Visual Script editor, under the "Custom Nodes"
category.
2017-11-15 17:13:13 -02:00
Juan Linietsky
9543801d51
Merge pull request #12949 from karroffel/gdnative-export
...
[GDNative] export plugin
2017-11-15 14:05:21 -03:00
Karroffel
f1099c7221
[GDNative] export plugin
2017-11-15 17:24:32 +01:00
Juan Linietsky
a5c3e3084a
When script changes, defer tree updating. Fixes #9704
2017-11-15 10:41:31 -03:00
Rémi Verschelde
61a693cf78
Merge pull request #12922 from eska014/engine-singletons
...
Singleton management changes
2017-11-14 20:44:55 +01:00
Thomas Herzog
bd2b1a62d9
Merge pull request #12586 from karroffel/gdnative-gdnlibrary-changes
...
[GDNative] use feature tags, added load once option
2017-11-14 15:34:07 +01:00
Leon Krause
9b7b46143d
Move singleton management from ProjectSettings to Engine
2017-11-14 15:15:13 +01:00
Rémi Verschelde
f83b73be13
Merge pull request #12915 from leezh/regex_search_all
...
Added RegEx.search_all() for multiple matches
2017-11-14 12:29:22 +01:00
Zher Huei Lee
2eba585d38
Added RegEx.search_all() for multiple matches
...
And updated the docs
2017-11-14 13:04:25 +08:00
Evrey
af6f096427
fix auto-generated GDN API header for C compilers ( #12891 )
...
* fix auto-generated GDN API header for C compilers
2017-11-13 23:35:03 +01:00
Rémi Verschelde
2a9e742c12
Merge pull request #12907 from YeldhamDev/indentation_connection
...
Fixed signal connection dialog ignoring indentation settings when creating a function
2017-11-13 20:56:30 +01:00
Michael Alexsander Silva Dias
3fac4ef336
Fixed signal connection dialog ignoring indentation settings when creating a function.
2017-11-13 17:45:13 -02:00
Rémi Verschelde
03a080547d
Merge pull request #12014 from hi-ogawa/fix-video-playback
...
Fix video playback
2017-11-13 19:57:18 +01:00
BastiaanOlij
9d3f8418ca
Removed add/remove interface bindings and added get_interfaces
2017-11-13 22:08:43 +11:00
Rémi Verschelde
51ffd45202
Merge pull request #12627 from Goutte/feat-support-tau
...
Add support for TAU constant.
2017-11-12 21:11:39 +01:00
Rémi Verschelde
b65344115e
Merge pull request #12850 from Paulb23/help_file_lookup_issue_11867
...
Fixed help lookup not finding classes, issue 11867
2017-11-12 21:04:42 +01:00
Rémi Verschelde
b83c14db89
Merge pull request #12826 from BastiaanOlij/align_sensors_android
...
Align sensors and implement gravity sensor for Android
2017-11-12 20:33:41 +01:00
Goutte
91ca725f9b
Add support for the TAU constant. Fixes #12094 .
2017-11-12 13:32:35 +01:00
Juan Linietsky
c1855dcff1
Properly fix node path selection in input ports, closes #12152
2017-11-12 09:20:38 -03:00
Paulb23
b835aec87b
Fixed help lookup not finding classes, issue 11867
2017-11-11 23:50:56 +00:00
Bastiaan Olij
6205eb40e7
Align sensors and implement gravity sensor for Android
2017-11-11 09:42:23 +11:00
Eric Rybicki
bd5df84199
Allow double-axis lock in RigidBody and KinematicBody
2017-11-10 22:33:54 +01:00
Karroffel
6d6208c63d
[GDNative] renamed nativearvr to arvr in api.json
2017-11-10 13:08:19 +01:00
Karroffel
79285b084d
[GDNative] rename nativearvr extension to arvr
2017-11-10 12:36:50 +01:00
Karroffel
7ae2de8997
[GDNative] better API struct versioning
2017-11-10 12:08:09 +01:00
Matthias Hoelzl
1f6d766332
Remove preprocessor directives from macro arguments
...
Preprocessor directives within macro arguments lead to undefined
behavior, and VC++ actually rejects them as compiler errors.
2017-11-10 10:14:04 +01:00
Daniel J. Ramirez
c57fc8ee7d
Fixed editor settings disappearing.
...
Some items that are no longer defined may disappear, but thats expected i guess.
2017-11-09 22:10:48 -06:00
Rémi Verschelde
0de6cba7e7
Merge pull request #12779 from karroffel/gdnative-api-struct-refactor
...
[GDNative] refactored API struct into core and extensions
2017-11-09 23:40:54 +01:00
Daniel J. Ramirez
1b7f99d9e5
Several improvements to GridMap.
...
Fixed crash when undoing.
More ergonomic shortcuts.
Fixed freelook navigation.
2017-11-09 16:18:48 -06:00
Juan Linietsky
50a9bd4e23
Merge pull request #12713 from AndreaCatania/master
...
Rewritten kinematic system
2017-11-09 16:08:58 -03:00
Karroffel
983404e0ce
[GDNative] refactored API struct into core and extensions
2017-11-09 18:39:28 +01:00
Hein-Pieter van Braam
38ae49e574
Make sure we don't leak when an opcode is followed by itself
...
When compiling with GCC it is now possible for an opcode followed by
itself to never leave the scope it is currently in. This leads to a
situation where the dtor of a scope local variable isn't called which in
turn can lead to a memory leak.
By moving the goto outside of the scope of each opcode we guarantee that
all dtors have been called before the next opcode gets dispatched.
this fixes #12401
2017-11-09 17:57:43 +01:00
Rémi Verschelde
5f805de6cb
Merge pull request #12751 from bojidar-bg/11851-invalid-returns-count
...
Fix "Invalid outputs" error when calling a void method from visual script
2017-11-09 09:55:50 +01:00
Bojidar Marinov
b7fd065f5c
Fix crash when guessing type of variable declared to itself
...
Fixes #10972
2017-11-08 22:17:08 +02:00
Bojidar Marinov
4045bc1059
Fix "Invalid outputs" error when calling a void method from visual script
...
Fixes #11851
2017-11-08 21:34:05 +02:00
Rémi Verschelde
77345916c5
Merge pull request #12725 from karroffel/gdnative-api-fixes
...
[GDNative] even more API fixes
2017-11-08 16:19:05 +01:00
Rémi Verschelde
ec77cccb1d
Merge pull request #12734 from BastiaanOlij/mobilevr_fix_typo
...
Fix has_gyro and has_grav mixup
2017-11-08 08:57:08 +01:00
Bastiaan Olij
2965eb2810
Fix has_gyro and has_grav mixup
2017-11-08 12:09:43 +11:00
AndreaCatania
5f110c5b98
Fixed collision exception - #12681
2017-11-07 19:07:01 +01:00
Karroffel
a2e09a5d41
[GDNative] even more API fixes
2017-11-07 18:17:11 +01:00
AndreaCatania
10f879bf88
Rewritten kinematic system
2017-11-07 15:22:09 +01:00
Rémi Verschelde
802a422ad5
Merge pull request #12658 from AndreaCatania/bullet
...
Bullet - Added support to multiple spaces
2017-11-06 11:51:09 +01:00
AndreaCatania
2c69f3d0d2
Bullet - Added support to multiple spaces
2017-11-05 18:50:39 +01:00
Rémi Verschelde
9a78efc7c2
Merge pull request #12642 from BrainBlasted/fix_msbuild_unix
...
Added fallback for msbuild.exe.
2017-11-05 11:54:26 +01:00
Rémi Verschelde
5bc2cf257b
Convert DOS line endings to Unix line endings
...
Should fix issues some of us have with `misc/dist/uwp_template/AppxManifest.xml`
always showing up as modified.
Might cause issues on Windows due to the removal of BOMs or change of line endings
in some of the Mono, UWP or gradlew.bat files, we will test and adapt if need be.
2017-11-05 11:37:59 +01:00
BrainBlasted
8e2a756eb8
Added for fallback msbuild.exe.
...
Fixes #12613
2017-11-04 21:05:22 -04:00
MrCdK
d1eed39c69
Add loop_begin and loop_end to OggVorbisStream
2017-11-04 23:01:35 +01:00
AndreaCatania
fb4871c919
Bullet physics engine implementation
...
This is a bullet wrapper that allows Godot to use Bullet physics and benefit about all features.
Also it support all specific Godot physics functionality like multi shape body, areas, RayShape, etc..
It improve the Joints, Trimesh shape, and add support to soft body even if Godot is not yet ready to it.
2017-11-04 20:52:59 +01:00
Thomas Herzog
3cbcf5c2dd
Merge pull request #12612 from karroffel/gdnative-poolarray-accessors
...
[GDNative] added Read and Write accessors to pool arrays
2017-11-04 14:22:25 +01:00
Bastiaan Olij
25c38c7542
Merge pull request #12557 from BastiaanOlij/arvr_add_rumble_support
...
Adding rumble support to ARVR controllers
2017-11-04 08:57:25 +11:00
Karroffel
af5c6be074
[GDNative] added Read and Write accessors to pool arrays
2017-11-03 18:17:58 +01:00
Karroffel
8b11e17f70
[GDNative] small API bug fixes
2017-11-03 16:05:21 +01:00
Karroffel
d82942e1c5
[GDNative] removed anchors
2017-11-03 15:17:50 +01:00
Karroffel
ffc2669298
[GDNative] use feature tags, added load once option
2017-11-03 15:17:44 +01:00
Juan Linietsky
79f81b77e2
-Modules can now add custom version info (added it for Mono)
...
-Version string takes this version info
-Ability to download templates from the interweb (listing does not work yet)
2017-11-01 23:13:27 -03:00
Bastiaan Olij
167b7b5533
Adding rumble support to ARVR controllers (if implemented on the ARVR interface)
2017-11-01 23:59:14 +11:00
Ignacio Etcheverry
3c97a9543d
Merge pull request #12549 from neikeq/seriously-do-they
...
Mono cleanup fixes
2017-11-01 01:56:16 +01:00
Ignacio Etcheverry
cb3ef3c7e6
Merge pull request #12546 from neikeq/do-people-read-these
...
Use mono_gc_wbarrier_set_arrayref for Array marshalling
2017-11-01 01:52:42 +01:00
Ignacio Etcheverry
a018cbaee1
Fix thread checking to queue instances for deletion
2017-11-01 01:51:12 +01:00
Ignacio Etcheverry
06ea441564
Make sure gchandle bindings are released before cleanup
2017-11-01 01:48:47 +01:00
Ignacio Etcheverry
0525b63421
Use mono_gc_wbarrier_set_arrayref for Array marshalling
2017-11-01 00:17:34 +01:00
Rémi Verschelde
2ffcbae2f1
Merge pull request #12536 from Hinsbart/cs_templates
...
Mono: support custom script templates.
2017-10-31 23:33:25 +01:00
Rémi Verschelde
ea0e942617
Merge pull request #12035 from Chaosus/wrapfunc
...
Added new Wrap functions for numbers
2017-10-31 23:30:50 +01:00
Andreas Haas
f3218c24c7
Mono: support custom script templates.
...
Also fixes a bug that prevented methods like `duplicate()` from copying the source code. (Copied from GDScript implementation)
2017-10-31 15:46:30 +01:00
Ignacio Etcheverry
157fa55e34
Merge pull request #12535 from neikeq/wtf···
...
Fix msbuild hint paths returning only the directory
2017-10-31 15:19:25 +01:00
Ignacio Etcheverry
32ee3ecce4
Fix msbuild hint paths returning only the directory
2017-10-31 15:15:42 +01:00
Rémi Verschelde
f021b00389
Merge pull request #12525 from neikeq/wololo
...
Remove Visual Studio for now from the external editors list
2017-10-30 23:47:34 +01:00
Ignacio Etcheverry
ad194f81b6
Remove Visual Studio for now from the external editors list
2017-10-30 23:43:26 +01:00
Rémi Verschelde
4889b80698
Merge pull request #12471 from mhilbrunner/autocomplete
...
Fix get_node() and $ autocompletion when using single quotes
2017-10-30 22:22:46 +01:00
Unknown
7683ff3e42
Fix get_node() and $ autocompletion when using single quotes
2017-10-30 21:58:32 +01:00
Ignacio Etcheverry
9290fd2a42
Fix 'which' returning file without extension on Windows
2017-10-30 21:09:59 +01:00
Ignacio Etcheverry
619e4eb23d
Merge pull request #12491 from neikeq/waitasecond···
...
Fix FrameworkPathOverride and assemblies path loop
2017-10-29 22:33:27 +01:00
Ignacio Etcheverry
aa5a0b550f
Fix FrameworkPathOverride and assemblies path loop
2017-10-29 22:22:38 +01:00
Matthias Hoelzl
a6d53effa5
Fix build with Python 3 on Windows
2017-10-29 19:27:12 +01:00
Rémi Verschelde
23740c8a91
Mono: Fix Windows build
2017-10-29 17:28:53 +01:00
Rémi Verschelde
c193286186
Merge pull request #12475 from neikeq/ohuiii
...
Fix regression from #12473 and #12388
2017-10-29 11:32:00 +01:00
Rémi Verschelde
6ea8ffc12f
Merge pull request #12474 from neikeq/s
...
Mono: Add build project button and reload interval
2017-10-29 11:09:49 +01:00
Ignacio Etcheverry
15e30187ee
Fix regression from #12473 and #12388
2017-10-29 10:11:20 +01:00
Ignacio Etcheverry
8fca54fb0d
Merge pull request #12473 from neikeq/Alpha2?-Let'sDoThis
...
BindingsGenerator cleanup and improved error messages
2017-10-29 05:58:26 +01:00
Ignacio Etcheverry
27b7fb8e66
Mono: Add build project button and reload interval
2017-10-29 05:57:38 +01:00
Ignacio Etcheverry
09a1e11765
Merge pull request #12388 from neikeq/r
...
Buildsystem improvements for the Mono module
2017-10-29 04:28:36 +01:00
Ignacio Etcheverry
9f469887fc
Buildsystem improvements for the Mono module
...
- Make sure to search the mono installation directory for the right architecture in the windows registry.
- Do not build GodotSharpTools directly to #bin dir. Instead build to the default output path and copy it. This way we avoid MSBuild adding files we don't want to #bin.
- Add hint path for MSBuild in OSX.
- Copy shared library on Unix if not statically linking.
- Use vswhere to search MSBuild and search for 14.0 tools version in the registry instead of 4.0.
- SCons will only fallback xbuild when msbuild is not found if 'xbuild_fallback=yes' is passed to the command.
- Use mono's assembly path as FrameworkPathOverride if using with system's MSBuild (not mono's fork).
- Cleanup.
2017-10-29 04:26:13 +01:00
Ignacio Etcheverry
452313ffb1
BindingsGenerator cleanup and improved error messages
...
If there is an error generating a property or a method, the error message will include the member and class names.
2017-10-29 02:37:13 +01:00
Poommetee Ketson
83f5d7e40a
Refactor bufer to buffer
2017-10-28 19:15:51 +07:00
Unknown
a2247d45fc
Mono: Use "UnnamedProject" if application/config/name is empty
2017-10-27 21:22:54 +02:00
Rémi Verschelde
d135008acf
Merge pull request #12405 from Jerome67000/clean_getnodetype
...
Removes Script::get_node_type()
[ci skip]
2017-10-26 08:49:38 +02:00
Przmk
2ae23c9f97
Fix default C# script
2017-10-25 22:43:06 +02:00
Jerome67000
2609cc9ef4
Removes Script::get_node_type()
...
used before GDScript, with squirrel apparently
2017-10-25 20:11:30 +02:00
Rémi Verschelde
847c55bcb1
Merge pull request #12365 from neikeq/p
...
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
2017-10-24 18:59:26 +02:00
Ignacio Etcheverry
63f58da054
Exit after generating mono glue
2017-10-24 16:18:47 +02:00
Ignacio Etcheverry
e218a13a64
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
...
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it.
- ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
2017-10-24 15:48:58 +02:00
jagt
822af935e3
fix editor crash when missing variable in pattern match dispatch
2017-10-24 13:07:21 +08:00
Ignacio Etcheverry
a897f7f606
Merge pull request #12364 from neikeq/o
...
Mono: Fix and cleanup build start errors
2017-10-24 01:17:36 +02:00
Ignacio Etcheverry
9905002fa6
Mono: Fix and cleanup build start errors
2017-10-24 00:49:44 +02:00
Rémi Verschelde
8ef79ffe68
Merge pull request #12320 from mhilbrunner/issue-11994
...
Add _process(delta) to new script templates. Closes #11994 .
2017-10-23 23:18:14 +02:00
Rémi Verschelde
346326528b
Merge pull request #12333 from neikeq/ñ
...
Mono: Prevent raising exceptions in native code
2017-10-23 07:40:32 +02:00
George Marques
c40eea876e
Add UWP to Regex JIT blacklist
...
PCRE2 JIT uses functions not available in UWP, which makes it fail to
link.
2017-10-23 01:22:53 -02:00
Ignacio Etcheverry
45e5e23ee8
Mono: Prevent raising exceptions in native code
...
For now we will just print the exceptions we catch. Later, we should use something similar to 'mono_set_pending_exception(ex)'.
2017-10-23 00:35:14 +02:00
Ignacio Etcheverry
acaaf2e440
Merge pull request #12326 from neikeq/n
...
Fix set field from MonoObject*
2017-10-22 22:14:10 +02:00
Ignacio Etcheverry
ae725969d3
Fix set field from MonoObject*
2017-10-22 22:07:52 +02:00
mhilbrunner
ba779c1c0c
Add _process(delta) to new script templates. Closes #11994 .
2017-10-22 21:07:34 +02:00
Rémi Verschelde
6361e24f29
Cleanup unnecessary debug prints
2017-10-21 20:41:07 +02:00
Poommetee Ketson
9b634180aa
Refactor Fixed to Physics
2017-10-21 21:28:08 +07:00
Rémi Verschelde
8652c1d5b1
classref: Sync with current source
2017-10-21 12:04:36 +02:00
David Saltares
8bc96cc146
Adds world_to_map() and map_to_world() methods to GridMap.
...
Closes #11856 .
Also fixes GridMap::set_cell_scale() not visually updating the grid meshes
2017-10-21 00:20:25 +02:00
Rémi Verschelde
bf88c3c8e8
Merge pull request #12097 from rcurtis/issue12065
...
Visualscript: Fixes untouched value is null instead of 0
2017-10-20 23:20:32 +02:00
Rémi Verschelde
a3a85670a3
Mono: Fix static linking on macOS
...
[ci skip]
2017-10-20 22:11:55 +02:00
Emmanuel Leblond
aedc44f6fe
[GDnative] remove useless (and illegal !) STL include
2017-10-20 22:05:25 +02:00
scorched
3ba5ee42c3
Fix compilation on Visual Studio 2013 ( #10219 ).
2017-10-20 12:55:22 +02:00
Rémi Verschelde
f52ab8d864
Merge pull request #12201 from SoWhich/master
...
Adjust openssl #defines to be libressl compatible
[ci skip]
2017-10-18 11:16:24 +02:00
Rémi Verschelde
e4ec0d007c
Merge pull request #12209 from neikeq/m
...
Mono: Fix warning about exported static fields
2017-10-18 08:40:13 +02:00
Ignacio Etcheverry
b1d106adb6
Mono: Fix warning about exported static fields
2017-10-18 08:34:17 +02:00
Rémi Verschelde
9bead2e06f
Merge pull request #12208 from neikeq/l
...
Mono: Fix build with tools=no or target=release
2017-10-18 08:29:37 +02:00
Ignacio Etcheverry
fb63ee52fb
Mono: Fix build with tools=no or target=release
2017-10-18 08:27:18 +02:00
Matthew Kunjummen
d154b846e8
Adjust openssl #defines to be libressl compatible
...
Corrected inability to build on systems using libressl instead of
openssl (e. g. void linux) by adjusting the #defines in
modules/openssl/stream_peer_openssl.cpp and
modules/openssl/stream_peer_openssl.h to check if
LIBRESSL_VERSION_NUMBER is defined (as done similarly in the following
patch in freebsd:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219362 ).
2017-10-17 21:06:39 -05:00
Rémi Verschelde
fb7428e797
Merge pull request #12178 from neikeq/k
...
Export attribute fixes and improvements
2017-10-17 21:29:19 +02:00
Ignacio Etcheverry
6e6b455d1f
Export attribute fixes and improvements
...
- Allow non-public fields to be exported as well (to avoid confusion).
- Set PROPERTY_HINT_RESOURCE_TYPE for resource derived fields.
- Support enums and automatically fill PROPERTY_HINT_ENUM's hint_string for enum fields.
2017-10-17 14:42:13 +02:00
Ignacio Etcheverry
6e960c7d6b
Merge pull request #12172 from neikeq/j
...
Take self-contained mode into consideration
2017-10-17 13:57:12 +02:00
Andreas Haas
3efb584ff5
Merge pull request #12173 from homer666/visualscript-variable-list-equals-space
...
VisualScript: Add space after "=" sign in variable list
2017-10-17 13:10:08 +02:00
Thomas Herzog
8c50bc369e
Merge pull request #11953 from touilleMan/pluginscript
...
[GDnative] add pluginscript \o/
2017-10-17 13:08:41 +02:00
homer666
6880cad471
(VS) Add space after "=" sign in variable list
2017-10-17 21:45:39 +11:00
Ignacio Etcheverry
1bafd0e33a
Take self-contained mode into consideration
2017-10-17 11:36:19 +02:00
Emmanuel Leblond
e715be0f0a
[GDnative] add pluginscript \o/
2017-10-17 10:50:13 +02:00
Rémi Verschelde
8de1dc7e9a
Merge pull request #12138 from neikeq/i
...
Avoid adding built-in script path to csproj
2017-10-16 10:19:16 +02:00
Rémi Verschelde
c0293aca59
Merge pull request #12136 from neikeq/h
...
Improve signature of signal target generated function
2017-10-16 10:18:17 +02:00
Rémi Verschelde
edd881cd70
Merge pull request #12131 from touilleMan/nativescript-fix-loading
...
[Nativescript] fix crash when loading a library with missing godot_nativescript_init
2017-10-16 10:10:32 +02:00
Emmanuel Leblond
9c1f6c5db6
[Nativescript] fix crash when loading a library with missing godot_nativescript_init
2017-10-16 08:16:37 +02:00
Ignacio Etcheverry
132c6deb28
Merge pull request #12104 from akien-mga/monosgen-2
...
mono: Request monosgen-2 explicitly via pkg-config
2017-10-16 04:32:47 +02:00
Ignacio Etcheverry
967335b969
Avoid adding built-in script path to csproj
2017-10-16 04:26:13 +02:00
Ignacio Etcheverry
8ed3247a63
Improve signature of signal target generated function
2017-10-16 04:19:36 +02:00
Ignacio Etcheverry
1a9efb417a
Merge pull request #12135 from neikeq/g
...
Re-write SignalAwaiter implementation
2017-10-16 03:58:51 +02:00
Ignacio Etcheverry
63369ec306
Re-write SignalAwaiter implementation
...
Old implementation had issues where you could only await on the same signal of the same source once.
2017-10-16 03:54:23 +02:00
David Saltares
62ba7a1eb0
[DOCS] Document GridMap
...
[ci skip]
2017-10-15 20:38:38 +02:00
Rémi Verschelde
38ba70f2f5
Merge pull request #12069 from Noshyaar/pr-vslerp
...
VisualScript: add inverse_lerp & range_lerp
2017-10-15 20:20:49 +02:00
Thomas Herzog
066d7c37bc
Merge pull request #12105 from BastiaanOlij/arvr_auto_register_gdnative
...
Couple of small changes so our ARVRInterfaceGDNative gets constructed…
2017-10-15 13:08:23 +02:00
Andreas Haas
6d380b04f2
Merge pull request #12100 from Adinimys/master
...
Gave a tooltip to the "In" logic node
2017-10-15 10:57:18 +02:00
BastiaanOlij
c6ce73c680
Couple of small changes so our ARVRInterfaceGDNative gets constructed and registered automatically when a module loads
2017-10-15 12:56:36 +11:00
Karroffel
86de8060a4
remove error message for optional NativeScript symbols
2017-10-15 03:42:52 +02:00
Rémi Verschelde
cd69dcafb7
mono: Request monosgen-2 explicitly via pkg-config
...
Prevents GC mismatch between mono binary and library, fixes #11916 .
2017-10-14 23:54:26 +02:00
Cédric Fuchs
77dd6f37bd
Gave a tooltip to the "In" logic node
2017-10-14 22:13:19 +02:00
RCurtis
7fb57ecbd9
Fixed issue that improperly initialized visual node properties to Nil
2017-10-14 14:55:09 -04:00
Karroffel
e0019453a2
update ARVRInterfaceGDNative to use API struct
2017-10-14 18:18:02 +02:00
Matt Hughes
3edd3cd377
Fix video playback
...
This adds support to
- VideoPlayer
- VideoStreamWebm
- VideoStreamTheora
2017-10-14 23:20:39 +09:00
Karroffel
e568f80e6e
[GDNative] removed native_raw_call
2017-10-14 15:50:55 +02:00
BastiaanOlij
cc37d43f86
Redoing the ARVR GDNative interface as module and tighter implementation
2017-10-14 09:10:18 +11:00
Karroffel
916ee427ff
removed GDNativeClass doc from GDNative module
2017-10-13 15:02:54 +02:00
Poommetee Ketson
efc5209b99
VisualScript: add inverse_lerp & range_lerp
2017-10-13 19:47:07 +07:00
BastiaanOlij
41e70d4192
Move GDNative docs into gdnative folder
2017-10-13 21:54:57 +11:00
Cong
524ffc9712
Use "Command" for OSX in translation strings ( #1619 )
2017-10-13 20:12:58 +11:00
Chaosus
216a8aa643
Added new wrap functions
2017-10-13 11:10:45 +03:00
Ruslan Mustakov
6106fd88d4
Remove junk output
...
Remove several prints that were added for engine debugging, but are
of no use to the end user, and only pollute the editor and game logs.
2017-10-13 12:40:19 +07:00
Rémi Verschelde
b1f2c31a36
doc: Sync classref with current source
...
Ensure that s/fixed_process/physics_process/ is handled properly.
[ci skip]
2017-10-11 23:55:04 +02:00
Ignacio Etcheverry
740ef3dc97
Merge pull request #11954 from neikeq/d
...
Added 'exposed' field to ClassInfo for registered classes
2017-10-11 13:54:34 +02:00
Ignacio Etcheverry
14b9ad1296
Fix wrong array index
2017-10-10 18:29:56 +02:00
Ignacio Etcheverry
18d3ba0c50
Fix getting struct elements from MonoArray ( #11978 )
...
* Fix getting struct elements from MonoArray
* Revert undesired change
2017-10-10 00:25:36 +02:00
Ignacio Etcheverry
9b6f65af82
Mono: Make use of ClassInfo's exposed API
...
- BindingsGenerator only generates exposed classes.
- Fix creation of managed instances of non-exposed classes.
2017-10-09 23:50:06 +02:00
Ignacio Etcheverry
0c2e882210
Adds 'exposed' field to ClassInfo
...
This field represents if the class is exposed to the scripting API.
The value is 'true' if the class was registered manually ('ClassDB::register_*class()'), otherwise it's false (registered on '_post_initialize').
- Added missing registration of classes that are meant to be exposed.
2017-10-09 23:49:17 +02:00
Ferenc Arn
8ddbd19777
Apply a few recent chages in Quat and Basis to their respective Mono counterparts. ( #11899 )
2017-10-09 14:49:53 +02:00
Thomas Herzog
ea37f44ec8
Merge pull request #11950 from sheepandshepherd/gdnative_property_index
...
Include property index in GDNative class API
2017-10-09 13:55:36 +02:00
Rémi Verschelde
30a4882cf8
Merge pull request #11910 from hoelzl/pr-python3-mono-build
...
Fix Python 3 incompatibility in Mono build
2017-10-09 11:00:14 +02:00
Thomas Herzog
dc6bb74c46
Merge pull request #11952 from touilleMan/fix-crash-gdnative
...
[GDnative] fix crash at cleanup time when singleton_gdnatives is not empty
2017-10-09 01:24:21 +02:00
Emmanuel Leblond
6363bcf209
[GDnative] fix crash at cleanup time when singleton_gdnatives is not empty
2017-10-09 00:31:25 +02:00
Ignacio Etcheverry
ff28569d16
Fixed IntPtr unboxing ( #11949 )
...
- Fix boolean never reset to false
- Fix IntPtr unboxing and cleanup
2017-10-09 00:10:54 +02:00
sheepandshepherd
6f3fffecb3
Include property index in GDNative class API
...
Needed by properties that share set/get functions. Fixes #10329 .
2017-10-08 23:57:06 +02:00
Emmanuel Leblond
ce197990bc
[GDnatvie] improve wrapper code generation
2017-10-08 20:51:18 +02:00
Emmanuel Leblond
d17951f57e
[GDnative] Add string_name api
2017-10-08 16:47:10 +02:00
Thomas Herzog
7a58c0f9fb
Merge pull request #11923 from sheepandshepherd/gdnative_api_json_array
...
Store GDNative API in array instead of dictionary
2017-10-08 12:53:48 +02:00
Ignacio Etcheverry
e5ff814243
Merge pull request #11924 from neikeq/b
...
Fix dot separated assembly names confused with file extensions
2017-10-07 22:10:02 +02:00
Ignacio Etcheverry
eb920406ae
Fix dot separated assembly names confused with file extensions
2017-10-07 22:00:35 +02:00
sheepandshepherd
39584f3312
Store GDNative API in array instead of dictionary
2017-10-07 20:17:12 +02:00
Ignacio Etcheverry
5a49106ff4
Merge pull request #11900 from neikeq/a
...
Fix assembly load hooks and sizeof wrong type
2017-10-07 20:12:25 +02:00
Matthias Hoelzl
a6b48c1706
Fix Python 3 incompatibility in Mono build
2017-10-07 15:36:20 +02:00
Rémi Verschelde
84e7bbafb7
Merge pull request #11843 from hoelzl/pr-python3-build
...
Fix Python 3 build
2017-10-07 10:54:58 +02:00
Ignacio Etcheverry
5ab3537179
Fix sizeof wrong type
2017-10-07 04:22:26 +02:00
Ignacio Etcheverry
9eda9be3cf
Fix assembly load hooks
2017-10-07 04:21:55 +02:00
Ignacio Etcheverry
195b12212d
Merge pull request #11896 from neikeq/pr-issue-11892
...
Quote MSBuild arguments
2017-10-07 01:27:06 +02:00
Ignacio Etcheverry
14280ac44b
Quote MSBuild arguments. Fixes #11892
2017-10-07 01:21:11 +02:00
Ignacio Etcheverry
85cc879382
Merge pull request #11894 from neikeq/pr-issue-11834
...
Mono: Make sure editor thread is attached on script reload
2017-10-07 00:47:13 +02:00
Ignacio Etcheverry
fdc3de009c
Mono: Make sure editor thread is attached on script reload
2017-10-07 00:43:02 +02:00
Ignacio Etcheverry
30328e7dfc
Merge pull request #11849 from cart/mono_parent_fields
...
Mono: support exported parent class fields
2017-10-06 22:36:58 +02:00
Andreas Haas
ec2a4da6d6
Merge pull request #11854 from endragor/fix-few-classdb-defs
...
Add NIL_IS_VARIANT usage to few definitions
2017-10-06 13:09:53 +02:00
BastiaanOlij
ce74efacbb
Made a few tweaks to the interface
2017-10-06 20:35:55 +11:00
Carter Anderson
19df296351
get parent class fields when updating a CSharpScript's exports
...
This makes the fields viewable / editable in the inspector
2017-10-05 23:50:48 -07:00
Ferenc Arn
17e89c2c66
Fix mono enabled builds (broken by 3d87b70
).
2017-10-05 22:11:10 -04:00
Juan Linietsky
3d87b70f7a
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
2017-10-05 15:34:34 -03:00
Ignacio Etcheverry
928efe06d6
Merge pull request #11845 from neikeq/music-is-overrated
...
- Fixed uninitialized local
- Improved msbuild search on Unix platforms
- Add C# script to csproj when attaching it to an object
2017-10-05 19:42:22 +02:00
Andreas Haas
b9b9a9f86e
Merge pull request #11858 from J08nY/feature/gridmap-used-cells
...
Add GridMap::get_used_cells. Fixes #11857 .
2017-10-05 19:23:04 +02:00
J08nY
16bf0f08ed
Add GridMap::get_used_cells. Fixes #11857 .
2017-10-05 15:34:34 +02:00
Ruslan Mustakov
61ddf52983
Add NIL_IS_VARIANT usage to few definitions
...
The missing usage flag led to GDNative API descriptions containting
arguments with "void" type.
2017-10-05 18:51:22 +07:00
Ignacio Etcheverry
1d309439cb
Uninitialized local and domain finalize fixes
...
- Make sure to run the GC before and after finalizing the scripts domain.
2017-10-05 00:12:36 +02:00
Ignacio Etcheverry
df22bbd7ed
Add C# script to csproj when attaching it to an object
2017-10-05 00:10:51 +02:00
Ignacio Etcheverry
b4d758e067
Add alternative search locations for msbuild
2017-10-05 00:08:38 +02:00
Matthias Hoelzl
727a381fc9
Fix Python 3 build
...
- Take care of the differences in handling unicode characters in
`escape_string` (formerly in `editor/SCsub`, now in `compat.py)`.
- Conditionally include `_winreg` or `winreg` in the Mono editor
module.
2017-10-04 23:21:32 +02:00
Thomas Herzog
454dec2f2f
Merge pull request #11806 from touilleMan/gdnative-version-field
...
[GDnative] add api version field to godot_gdnative_api_struct
2017-10-04 11:57:53 +02:00
Emmanuel Leblond
3e29cb806c
[GDnative] add future-proof next field to godot_gdnative_api_struct (a la Vulkan)
2017-10-04 03:11:41 +02:00
Karroffel
2a4e2b5378
[GDNative] added API struct wrapper generator
...
Previously functions of the GDNative API were accessed by letting
the loader at load-time resolve the symbols. This causes troubles on
Windows (...sigh...), so now the GDNative API isn't exported anymore.
This means, that a library that wants to call a GDNative function
needs to access it via a struct of pointers that's passed to it at
right after the library was loaded. To make the usage easier, those
function pointers in the struct can be wrapped in actual function in
the global scope. This commit adds a generator for that wrapper code.
2017-10-03 23:26:39 +02:00
Andreas Haas
a848fa6cde
Merge pull request #11789 from djrm/pr_visual_improvements
...
Added correct initialization for script editor theme.
2017-10-03 19:56:14 +02:00
Emmanuel Leblond
0d41be3790
[GDnative] add api version field to godot_gdnative_api_struct
2017-10-03 18:08:34 +02:00
Thomas Herzog
c5ab18f33e
Merge pull request #11792 from touilleMan/gdnative-json-api
...
[GDnative] autogenerate gdnative_api_struct.h from a json
2017-10-03 14:37:04 +02:00
Nathan Lovato
cc40784728
Merge pull request #11653 from bojidar-bg/doc-vscript-1
...
[DOCS] Document some of the VisualScript classes
2017-10-03 11:58:06 +02:00
Bojidar Marinov
10469c1962
Document some of the VisualScript classes.
2017-10-03 12:01:53 +03:00
Emmanuel Leblond
cdc29926af
[GDnative] replace gdnative_api_struct.h by a json-based autogenerated system
2017-10-03 09:48:52 +02:00
Daniel J. Ramirez
bb69855f1a
VS now supports white themes.
2017-10-02 21:31:32 -05:00
Daniel J. Ramirez
6d874ea685
Added correct initialization for script editor theme.
...
Some style fixes for VS interface.
2017-10-02 18:33:42 -05:00
Ignacio Etcheverry
e36fb95c50
Added mono module
2017-10-03 00:01:26 +02:00
Andreas Haas
29b44801b2
Merge pull request #11658 from BastiaanOlij/mobile_vr
...
Reintroduce generic mobile vr interface
2017-10-02 23:13:21 +02:00
Andreas Haas
5303efb2fa
Merge pull request #11659 from AndreaCatania/prephysics
...
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Poommetee Ketson
e8f0817eac
Merge pull request #11724 from marcelofg55/visualscript_crashfix
...
VisualScript crashfix when returns are too few
2017-10-02 23:40:44 +07:00
Emmanuel Leblond
c55b8217ab
[GDnative] Add active_library_path to init options struct
2017-10-02 13:45:47 +02:00
Emmanuel Leblond
c11c951871
[GDnative] Add binding to GDNativeLibrary::get_active_library_path
2017-10-02 13:25:53 +02:00
Gilles Roudiere
d10e5eabed
Merge pull request #11719 from toger5/svg_color_convert_alpha
...
keep alpha when converting svg colors fixes #11289
2017-10-01 22:38:57 +02:00
Hein-Pieter van Braam
6c15c23889
Replace a OPCODE_BREAK with break in opcode 31
...
This was a mistake made in 520d84e
. There are no more other looping
structures left in this function.
2017-10-01 16:51:05 +02:00
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +02:00
Marcelo Fernandez
57ef77376f
VisualScript crashfix when returns are too few
2017-09-30 11:18:50 -03:00
toger5
b3826901c7
keep alpha when converting svg colors fixes #11289
2017-09-30 14:48:41 +02:00
Juan Linietsky
0a5799fb43
Properly allow completion on variable initializer arguments, closes #9359
2017-09-29 19:43:31 -03:00
BastiaanOlij
ca4f055db0
reintroduce generic mobile vr interface
2017-09-28 22:44:41 +10:00
Rémi Verschelde
da144fed4c
Merge pull request #11617 from groud/fix_bad_display
...
Fixes bad display
2017-09-27 22:15:00 +02:00
Scayze
0722df4829
Fixed wrong break statement in GDFunction::call
2017-09-27 03:23:39 +02:00
Gilles Roudiere
6f185cc9f7
Remove unecessary anchors&margins set causing bad display (sons of containers)
2017-09-27 00:38:28 +02:00
Rémi Verschelde
f577efd47e
Merge pull request #11424 from groud/control_node_presets
...
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Rémi Verschelde
c79fc6716e
Merge pull request #11518 from hpvb/gdscript-direct-dispatch
...
Some more GDScript performance optimizations
2017-09-25 23:25:42 +02:00
Rémi Verschelde
78aa7b382a
Merge pull request #11567 from QuLogic/scons-var-types
...
Add types to scons command-line options
2017-09-25 22:44:05 +02:00
Rémi Verschelde
dae02a9041
Merge pull request #11580 from endragor/ios-export
...
Enhance iOS export
2017-09-25 22:23:49 +02:00
Juan Linietsky
c5da28f24c
Fixed constness of variant functions, as well as visual script sequence ports. Closes #11258
2017-09-25 17:09:27 -03:00
Elliott Sales de Andrade
3e69d19116
Use BoolVariable in platform-specific options.
2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
5be675eb03
Use BoolVariable for module options.
2017-09-25 14:36:30 -04:00