summaryrefslogtreecommitdiffstats
path: root/modules/mono/mono_gd/gd_mono_log.cpp
Commit message (Collapse)AuthorAgeFilesLines
* C#: Begin move to .NET CoreIgnacio Roldán Etcheverry2022-08-221-209/+0
| | | | | | | | | | | | We're targeting .NET 5 for now to make development easier while .NET 6 is not yet released. TEMPORARY REGRESSIONS --------------------- Assembly unloading is not implemented yet. As such, many Godot resources are leaked at exit. This will be re-implemented later together with assembly hot-reloading.
* Narrow FileAccess scope to prevent deadlocks.bruvzg2022-04-121-6/+4
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-13/+7
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Don't return reference on copy assignment operatorsRémi Verschelde2021-11-301-6/+5
| | | | | | | | | | | | | We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).
* Merge pull request #49123 from aaronfranke/it-is-timeRémi Verschelde2021-06-121-2/+2
|\ | | | | Add a Time singleton
| * Add Time singletonAaron Franke2021-06-111-2/+2
| |
* | Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-111-1/+1
|/ | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* Initialize class/struct variables with default values in modules/Rafał Mikrut2021-02-081-2/+0
|
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Tweak log file names for consistency between Mono and non-Mono logsHugo Locurcio2020-12-061-3/+3
| | | | | | - Avoid spaces in Mono log file names. - Use a `.log` extension for Mono logs, just like non-Mono logs. - Use periods to separate hours/minutes/seconds for non-Mono logs.
* Add mono log message to error for fatal errorsTom Daffin2020-09-131-9/+16
|
* Mono/C#: Fix several clang-tidy warnings and cleanupIgnacio Etcheverry2020-07-051-3/+6
|
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-9/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* C#/Mono: Check assembly version when loadingIgnacio Etcheverry2020-05-091-1/+1
| | | | | Not sure if we should check revision too, but this is good enough for what we want. This will be needed to load the correct Microsoft.Build when we switch to the nuget version.
* Replace NULL with nullptrlupoDharkael2020-04-021-4/+4
|
* Mono/C#: Add iOS supportIgnacio Etcheverry2020-03-311-1/+1
| | | | | | Right now, games only work on devices when exported with FullAOT+Interpreter. There are some issues left that need to addressed for FullAOT alone. Right now, it's giving issues with the Godot.NativeCalls static constructor.
* Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-051-3/+3
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Mono/C#: WebAssembly supportIgnacio Etcheverry2019-11-131-18/+45
|
* Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde2019-09-251-1/+1
|\ | | | | Added some obvious errors explanations
| * Added some obvious errors explanationsqarmin2019-09-251-1/+1
| |
* | Mono: Fix unable to create log file due to str_format bugIgnacio Etcheverry2019-09-081-1/+1
|/
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'modules/mono'Ignacio Etcheverry2019-08-091-5/+4
| | | | | | And 'CRASH_*_MSG' as well. Also make error messages puntuation and quotation more consistent.
* C# bindings generator cleanupIgnacio Etcheverry2019-04-251-22/+2
| | | | | | - Normal log messages are no longer warnings. - BindingsGenerator is no longer a singleton. - Added a log function.
* Fix invalid mono log file name on WindowsIgnacio Etcheverry2019-04-241-1/+1
|
* Mono: Logging improvementsIgnacio Etcheverry2019-04-171-20/+56
| | | | | | | - The default log level in debug builds is now 'info' instead of 'debug'. - Add option to specify a different log level with the 'GODOT_MONO_LOG_LEVEL' environment variable. - The name of log files is now a readable date and time. - Always print the log file path (previously it was printed only it in verbose mode).
* Mono: CleanupIgnacio Etcheverry2019-02-031-2/+2
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-2/+2
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Add print_verbose to print to stdout only in verbose modeRémi Verschelde2018-08-241-2/+1
| | | | | | Equivalent of the cumbersome: if (OS::get_singleton()->is_stdout_verbose()) print_line(msg);
* 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix fatal mono logs not getting logged to disk.PJB30052017-12-191-1/+3
| | | | | | They aborted the application without flushing the log file. Also there was a typo.
* Added mono moduleIgnacio Etcheverry2017-10-031-0/+175