summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18remove c#7 features for compatibility with 2015 Build ToolsKelly Thomas
https://github.com/godotengine/godot/issues/15742
2018-01-18remove an unneeded marshalling functionPaul Joannon
`Variant mono_object_to_variant(MonoObject*, const ManagedType&)`
2018-01-18fix marshalling when a function is returning an object from c#Paul Joannon
2018-01-13doc: Update version string in XMLRémi Verschelde
2018-01-12Mono: Some StackTrace to StackInfo[] fixesIgnacio Etcheverry
- Sometimes `StackFrame.GetMethod()` returns null (e.g.: latest frame of a `MissingMethodException`). Still not sure what to do with that frame (maybe skip it), but at least it no longer fails. - Skip `CSharpLanguage::debug_get_current_stack_info()` if an error is printed from `GDMonoUtils::update_corlib_cache()`. - Fix crash when calling `GDMonoUtils::print_unhandled_exception(exc)` if there is no ScriptDebugger attached.
2018-01-12Mono: Fix starting MonoDevelop process from the wrong appdomainIgnacio Etcheverry
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-10Merge pull request #15537 from ↵Rémi Verschelde
PJB3005/18-01-09-fix-color-string-constructor-mono Fixes Mono color creation from string being 0-255 instead of 0-1.
2018-01-10Fixes Mono color creation from string.Pieter-Jan Briers
Fixes #15468 Also improves the error messages if the string isn't hex, because saying that the color value is negative is just a side effect of the implementation and tells you nothing.
2018-01-09Mono: Some fixes for #15463Ignacio Etcheverry
2018-01-09Merge pull request #15463 from neikeq/the-stack-frame-madnessRémi Verschelde
Mono: Implement stack info for errors and exceptions
2018-01-09Mono: Fix iteration order of object types when generating bindingsIgnacio Etcheverry
2018-01-09External editor fixesIgnacio Etcheverry
- Fix VS Code opening on the previous line to the desired one. - Fix running MonoDevelop without the line and column parameters. - Fix `ScriptEditor::_goto_script_line` not working with language overriden external editors.
2018-01-09Mono: Implement stack info for errors and exceptionsIgnacio Etcheverry
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.