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
Elliott Sales de Andrade
45a9a680a3
Use BoolVariable for third-party options.
2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
ffab67b8da
Use BoolVariable in target/component/advanced options.
2017-09-25 14:36:02 -04:00
Ruslan Mustakov
f5b3b24c22
Enhance iOS export
...
- The export process now builds complete .ipa on macOS, instead of just
creating XCode project.
- The project includes Capabilities games usually require: Game Center,
Push Notifications, In-App Purchase.
- Icons and launch screens can be specified in export preset.
2017-09-26 00:18:08 +07:00
Hein-Pieter van Braam
0a338a28d9
Remove several checks on DEBUG_RELEASE
...
These errors shouldn't be possible on a tested game. Remove the checks
on release. Shaves about 10% off of tight loops.
2017-09-25 18:29:18 +02:00
Hein-Pieter van Braam
520d84e042
Use computed goto to dispatch next opcode
...
On compulers that define __GNUC__ use computed goto to directly dispatch
the next instruction rather than going through another switch statement.
This saves a jump and some comparisons.
In tight loops this is is roughly 10% faster than the switch() method.
2017-09-25 18:29:13 +02:00
Elliott Sales de Andrade
00c03bdd2b
Add support for OpenSSL 1.1.0.
...
This release hides many struct members which provides easier forward
compatibility but is a break from previous releases. A few small macros
provide compatibility between both 1.1.0 and 1.0.x.
Fixes #8624 .
2017-09-24 02:11:02 -04:00
Marcelo Fernandez
46af050e93
Rename get_position => get_playback_position and seek_pos => seek on audio classes
2017-09-23 16:55:00 +02:00
Gilles Roudiere
05bb8e0c10
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-22 11:39:44 +02:00
Rémi Verschelde
be60689812
Merge pull request #11461 from hpvb/add-likely-macros
...
Implement Linux-style likely()/unlikely() macros
2017-09-22 09:15:45 +02:00
Ross Hadden
1a97d6455d
Fixed a bunch of typos, including an error code.
2017-09-21 23:58:29 -04:00