summaryrefslogtreecommitdiffstats
path: root/modules/mono/mono_gd/gd_mono_assembly.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix internal assembly load fromIgnacio Etcheverry2018-10-221-0/+14
| | | | - Also make sure we load API assemblies from 'res://.mono/assemblies/'.
* Mono: Editor and export template dependencies and fixesIgnacio Etcheverry2018-10-031-84/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Bundle editor dependencies: - 'GodotSharp': Root data directory for the editor - 'Tools': Editor dependencies. Only GodotSharp.dll for now. - 'Api': Prebuilt GodotSharp and GodotSharpEditor API assemblies. - 'Mono': Mono files to bundle with the editor. - 'bin': (Optional, not used for now) Mono bin directory. - 'etc': Mono configuration files. - 'lib': Mono dependency shared libraries. - 'lib/mono/4.5': Framework assemblies. - Added build option to copy the required files from the mono installation to 'GodotSharp/Mono'. Enable with 'copy_mono_root=yes'. Disabled by default. - Export template dependencies: - 'data_AppName'/'data_Godot': - 'Mono': Mono files to bundle with the game. - 'etc': Mono configuration files. - 'lib': Mono dependency shared libraries. - The data directory is generated when compiling and must be bundled with the export templates. In the case of OSX, the data directory must be placed inside the 'osx.zip' export template. - In OSX, alternative location for directories (needed for app bundles) are: - 'data_AppName/Mono/etc' --> '../Resources/GodotSharp/Mono/etc' - 'data_AppName/Mono/lib' --> '../Frameworks/GodotSharp/Mono/lib' - The editor can bundle prebuilt API assemblies. - Generate them with a tools build by running: `--generate-cs-core-api <GodotSharp_OutputDir> --generate-cs-editor-api <GodotSharpEditor_OutputDir> <GodotSharp_OutputDir>/bin/Release/GodotSharp.dll` (This command will be simplified in the future and both projects will be in the same solution) - Build the solutions and copy the output files to '#bin/GodotSharp/Api'. - Fixed API assembly being added twice during the export process.
* Mono: Fix weird crash when loading corlibIgnacio Etcheverry2018-08-221-14/+43
|
* Merge pull request #18502 from space-wizards/18-04-29-assembly-load-hookIgnacio Etcheverry2018-08-221-4/+43
|\ | | | | assembly_load_hook fallback for registering GDMonoAssemblies.
| * assembly_load_hook fallback for registering GDMonoAssemblies.Pieter-Jan Briers2018-04-291-4/+43
| | | | | | | | | | | | | | | | | | | | Fixes #18029. There are ways to load assemblies that the search hook has no way of intercepting, and handling itself. Such as loading from a byte[] in C# code. We now handle these cases with a fallback assembly_load_hook, to avoid crashes when this is indeed done.
* | Mono: Fix MonoImage filename being set to an invalid pathIgnacio Etcheverry2018-05-271-4/+5
|/
* Merge pull request #17619 from neikeq/mono-runtime-main-argsIgnacio Etcheverry2018-03-181-13/+13
|\ | | | | Mono: Runtime main args and assembly search fixes
| * Mono: Runtime main args and assembly search fixesIgnacio Etcheverry2018-03-181-13/+13
| | | | | | | | | | - Setup runtime main args during initialization. This must be done manually by embedders who do not call mono_runtime_run_main. Fixes NullReferenceException in System.Environment. - Continue to search the assembly in the rest of the search locations if loading it from one of them failed.
* | [mono] add the 'Facades' subfolder to the searched directories in _preload_hookPaul Joannon2018-03-021-0/+1
|/
* Merge pull request #15641 from ↵Rémi Verschelde2018-02-271-0/+3
|\ | | | | | | | | neikeq/mono-is-picky-regarding-corlib-so-we-must-make-sure-to-ship-the-right-version-otherwise-something-bad-may-happen Mono: Buildsystem improvements
| * Mono: Buildsystem improvementsIgnacio Etcheverry2018-01-121-0/+3
| | | | | | | | | | - Bundle with mscorlib.dll to avoid compatibilities issues - Add build option 'mono_assemblies_output_dir' to specify the output directory where the assemblies will be copied to. '#bin' by default.
* | Mono: Add project export pluginIgnacio Etcheverry2018-02-221-30/+62
| |
* | Mono: Allow loading `mscorlib` from resources.bruvzg2018-01-311-0/+31
|/
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Mono: Add properties support in scriptsIgnacio Etcheverry2018-01-041-1/+1
|
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix FrameworkPathOverride and assemblies path loopIgnacio Etcheverry2017-10-291-3/+4
|
* Fix set field from MonoObject*Ignacio Etcheverry2017-10-221-0/+2
|
* Fixed IntPtr unboxing (#11949)Ignacio Etcheverry2017-10-091-2/+2
| | | | | - Fix boolean never reset to false - Fix IntPtr unboxing and cleanup
* Fix dot separated assembly names confused with file extensionsIgnacio Etcheverry2017-10-071-3/+2
|
* Fix assembly load hooksIgnacio Etcheverry2017-10-071-34/+64
|
* Added mono moduleIgnacio Etcheverry2017-10-031-0/+327