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
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