Age | Commit message (Collapse) | Author |
|
|
|
|
|
Add support for 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.
|
|
|
|
Also to prepare for upcoming refactoring for XDG support.
|
|
Will be needed to avoid confusion with system data path (XDG_DATA_HOME)
and editor data dir in upcoming refactoring.
|
|
Fixes #12973.
|
|
|
|
Spaces in filenames are evil.
|
|
It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}",
limits unnecessary diffs.
|
|
|
|
Preprocessor directives within macro arguments lead to undefined
behavior, and VC++ actually rejects them as compiler errors.
|
|
Some items that are no longer defined may disappear, but thats expected i guess.
|
|
Added fallback for msbuild.exe.
|
|
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.
|
|
Fixes #12613
|
|
-Version string takes this version info
-Ability to download templates from the interweb (listing does not work yet)
|
|
Mono cleanup fixes
|
|
Use mono_gc_wbarrier_set_arrayref for Array marshalling
|
|
|
|
|
|
|
|
Also fixes a bug that prevented methods like `duplicate()` from copying the source code. (Copied from GDScript implementation)
|
|
Fix msbuild hint paths returning only the directory
|
|
|
|
Remove Visual Studio for now from the external editors list
|
|
|
|
|
|
Fix FrameworkPathOverride and assemblies path loop
|
|
|
|
|
|
|
|
Fix regression from #12473 and #12388
|
|
Mono: Add build project button and reload interval
|
|
|
|
BindingsGenerator cleanup and improved error messages
|
|
|
|
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.
|
|
If there is an error generating a property or a method, the error message will include the member and class names.
|
|
|
|
Removes Script::get_node_type()
[ci skip]
|
|
|
|
used before GDScript, with squirrel apparently
|
|
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.
|
|
Mono: Fix and cleanup build start errors
|
|
|