summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
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
2017-10-29Fix build with Python 3 on WindowsMatthias Hoelzl
2017-10-29Mono: Fix Windows buildRémi Verschelde
2017-10-29Merge pull request #12475 from neikeq/ohuiiiRémi Verschelde
Fix regression from #12473 and #12388
2017-10-29Merge pull request #12474 from neikeq/sRémi Verschelde
Mono: Add build project button and reload interval
2017-10-29Fix regression from #12473 and #12388Ignacio Etcheverry
2017-10-29Merge pull request #12473 from neikeq/Alpha2?-Let'sDoThisIgnacio Etcheverry
BindingsGenerator cleanup and improved error messages
2017-10-29Mono: Add build project button and reload intervalIgnacio Etcheverry
2017-10-29Merge pull request #12388 from neikeq/rIgnacio Etcheverry
Buildsystem improvements for the Mono module
2017-10-29Buildsystem improvements for the Mono moduleIgnacio Etcheverry
- 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-29BindingsGenerator cleanup and improved error messagesIgnacio Etcheverry
If there is an error generating a property or a method, the error message will include the member and class names.
2017-10-27Mono: Use "UnnamedProject" if application/config/name is emptyUnknown
2017-10-26Merge pull request #12405 from Jerome67000/clean_getnodetypeRémi Verschelde
Removes Script::get_node_type() [ci skip]
2017-10-25Fix default C# scriptPrzmk
2017-10-25Removes Script::get_node_type()Jerome67000
used before GDScript, with squirrel apparently
2017-10-24Merge pull request #12365 from neikeq/pRémi Verschelde
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
2017-10-24Exit after generating mono glueIgnacio Etcheverry
2017-10-24Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry
- 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-24Merge pull request #12364 from neikeq/oIgnacio Etcheverry
Mono: Fix and cleanup build start errors
2017-10-24Mono: Fix and cleanup build start errorsIgnacio Etcheverry
2017-10-23Merge pull request #12320 from mhilbrunner/issue-11994Rémi Verschelde
Add _process(delta) to new script templates. Closes #11994.