summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2018-01-06Fix build of GDMonoFieldRémi Verschelde
Closes #15385.
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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-04Mono: Add properties support in scriptsIgnacio Etcheverry
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-01-01Mono: Change BindingsGenerator singleton to avoid StringName leaksIgnacio Etcheverry
2018-01-01Mono: Script lifetime fixesIgnacio Etcheverry
- 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.
2017-12-29Mono: Bindings no longer relie on DocData for accessorsIgnacio Etcheverry
2017-12-27Merge pull request #14996 from neikeq/enums-monoNoshyaar
Mono: Make the bindings generator output enums
2017-12-24Merge pull request #14997 from neikeq/issue-14988Ignacio Etcheverry
Marshal NULL MonoString* as empty Godot string
2017-12-24Mono: Make the bindings generator output enumsIgnacio Etcheverry
- Switch to PascalCase for constants names
2017-12-24Marshal NULL MonoString* as empty Godot stringIgnacio Etcheverry
2017-12-23Add more translatable text for editor plugins.geequlim
2017-12-19Fix fatal mono logs not getting logged to disk.PJB3005
They aborted the application without flushing the log file. Also there was a typo.
2017-12-12Mono: Build in cloned env.Andreas Haas
Use a cloned env, so that toggling glue_enabled doesn't force a full rebuild as mentioned in #14584.
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-12-05Improve slang, especially in user-visible partsUnknown
2017-12-02Exported variables now show in the correct order.Nathan Warden
2017-11-25Fix mono build after bc2e8d99Rémi Verschelde
2017-11-24doc: Update header version for 3.0-betaRémi Verschelde
2017-11-21Mono: Use PascalCase in core types.Andreas Haas
2017-11-20Add cartesian to polar conversion functionspablotato
2017-11-20Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde
Add support for XDG Base Directory spec
2017-11-19Add initial support for the XDG Base Directory specRémi Verschelde
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-18Mono: Fix compiler error with Variant::operator AABB()Ignacio Etcheverry
2017-11-17EditorSettings: Rename settings_path to settings_dirRémi Verschelde
Also to prepare for upcoming refactoring for XDG support.
2017-11-17Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde
Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-15doc: Make all module docs self-containedRémi Verschelde
2017-11-15doc: Rename "@Global Scope" to "@GlobalScope"Rémi Verschelde
Spaces in filenames are evil.
2017-11-15doc: Remove revision.module_config from version stringRémi Verschelde
It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}", limits unnecessary diffs.
2017-11-14Move singleton management from ProjectSettings to EngineLeon Krause
2017-11-10Remove preprocessor directives from macro argumentsMatthias Hoelzl
Preprocessor directives within macro arguments lead to undefined behavior, and VC++ actually rejects them as compiler errors.
2017-11-09Fixed editor settings disappearing.Daniel J. Ramirez
Some items that are no longer defined may disappear, but thats expected i guess.
2017-11-05Merge pull request #12642 from BrainBlasted/fix_msbuild_unixRémi Verschelde
Added fallback for msbuild.exe.
2017-11-05Convert DOS line endings to Unix line endingsRémi Verschelde
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-04Added for fallback msbuild.exe.BrainBlasted
Fixes #12613
2017-11-01-Modules can now add custom version info (added it for Mono)Juan Linietsky
-Version string takes this version info -Ability to download templates from the interweb (listing does not work yet)
2017-11-01Merge pull request #12549 from neikeq/seriously-do-theyIgnacio Etcheverry
Mono cleanup fixes
2017-11-01Merge pull request #12546 from neikeq/do-people-read-theseIgnacio Etcheverry
Use mono_gc_wbarrier_set_arrayref for Array marshalling
2017-11-01Fix thread checking to queue instances for deletionIgnacio Etcheverry
2017-11-01Make sure gchandle bindings are released before cleanupIgnacio Etcheverry
2017-11-01Use mono_gc_wbarrier_set_arrayref for Array marshallingIgnacio Etcheverry
2017-10-31Mono: support custom script templates.Andreas Haas
Also fixes a bug that prevented methods like `duplicate()` from copying the source code. (Copied from GDScript implementation)
2017-10-31Merge pull request #12535 from neikeq/wtf···Ignacio Etcheverry
Fix msbuild hint paths returning only the directory
2017-10-31Fix msbuild hint paths returning only the directoryIgnacio Etcheverry
2017-10-30Merge pull request #12525 from neikeq/wololoRémi Verschelde
Remove Visual Studio for now from the external editors list
2017-10-30Remove Visual Studio for now from the external editors listIgnacio Etcheverry
2017-10-30Fix 'which' returning file without extension on WindowsIgnacio Etcheverry
2017-10-29Merge pull request #12491 from neikeq/waitasecond···Ignacio Etcheverry
Fix FrameworkPathOverride and assemblies path loop
2017-10-29Fix FrameworkPathOverride and assemblies path loopIgnacio Etcheverry