summaryrefslogtreecommitdiff
path: root/modules/mono/editor
AgeCommit message (Collapse)Author
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-03-28Refactor GDScript/C# script templates logic to be editor-onlyRémi Verschelde
Not a full refactor as it still goes through ScriptLanguage so it's hacky, but at least it can now compile without this.
2022-03-22Support static methods in C# bindings generatorRaul Santos
2022-03-18Ignore PhysicsServer3DExtension class in C#Raul Santos
PhysicsServer3DExtension inherits from PhysicsServer3D which is a singleton class, since singleton classes are generated as static in C# it would generate invalid C# so for now we'll be ignoring PhysicsServer3DExtension.
2022-03-16Implement GDExtension export plugin.bruvzg
2022-03-09Fix Autoload capitalization inconsistencyHaoyu Qiu
2022-03-08Rename Control's Rect properties to exclude rect_ partMarcel Admiraal
2022-03-03Refactor `bbcode_to_xml` into multiple specific methodsRaul Santos
The specific `_append_xml_*` methods implement the logic that generates the proper XML documentation for the given BBCode tag and target and appends it to the output.
2022-03-03Find inherited members in C# documentation generatorRaul Santos
2022-03-03Add theme_item support to C# documentation generatorRaul Santos
2022-03-03Fix checking for `@GlobalScope` in C# documentation generatorRaul Santos
2022-03-03Check for missing methods/members in C# documentation generatorRaul Santos
- Outputs errors for missing members or methods when generating the C# documentation. - Hardcodes a special case for the `_init` method, in C# we'll reference the constructor. - Ignores properties with slashes (since they are not declared in C# and can't be referenced in the documentation).
2022-03-03Fix references to global constants in C# documentation generatorRaul Santos
Tries to find the referenced constants in the GlobalScope if not found in the target class or if no class is specified.
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-10Support signals in C# documentationRaul Santos
2022-02-08Remove support for ARMv7 (32-bit) on iOSHugo Locurcio
All iOS devices since the iPhone 5S support ARMv8 (64-bit). The last iOS version supported on ARMv7 devices is 10.x, which is too old to run Godot 4.0 projects since the minimum supported iOS version is 11.0.
2022-02-04Merge pull request #57618 from Densorius/masterIgnacio Roldán Etcheverry
Fixed opening new instances of VS 2022 while a instance is already open
2022-02-04Fixed opening new instances of VS 2022 while a instance is already openDensorius
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-04Add Visual Studio 2022 support with fallback to 2019Densorius
2022-01-23BaseButton: Rename `pressed` property to `button_pressed`Rémi Verschelde
This fixes a conflict with the `pressed` signal. The new name is temporary and only intended to solve the conflict for upcoming alpha builds. Discussions are still ongoing regarding the BaseButton API and how to rename and refactor more of its properties, signals and methods to have a clearer API in 4.0.
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-06Rename "items_count" property to "item_count"Aaron Franke
2021-12-06Replace deprecated GetItemCount() with ItemsCountRaul Santos
Replace the deprecated method `GetItemCount()` with the new property `ItemsCount`.
2021-12-05Bump Godot.NET.Sdk and SourceGenerators versionsRaul Santos
Bump `Godot.NET.Sdk` to version 4.0.0-dev6. Bump `Godot.SourceGenerators` to version 4.0.0-dev3. Use floating version 4.0.*-* for package references in Sdk.
2021-12-05Fix Godot.SourceGenerators for generic classesRaul Santos
Fix invalid C# generated by source generators for generic classes and add generic classes to the Sample project for testing.
2021-11-30Don't return reference on copy assignment operatorsRémi Verschelde
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).
2021-10-28clang-format: Enable `BreakBeforeTernaryOperators`Rémi Verschelde
clang-format keeps breaking the way it handles break *after* ternary operators, so I give up and go with the only style they seem to actually test.
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-18Restrict the project data directory configurationne0fhyk
2021-10-05Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_masterRémi Verschelde
2021-09-15Provide a getter for the project data directory.ne0fhyk
2021-09-14Add editor keyboard shortcut for Mono Build solution buttonLewis James
Apply suggestions from code review Merging @akien-mga's suggestion with the matching change to the CS project Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-09-12Fix autoloads iterationRaul Santos
Removes the range iterator usage in the autoloads map since `OrderedHashMap` does not implement range iterators.
2021-09-08Fix properties arrays in C# bindings generatorRaul Santos
2021-09-03Fix constant tag documentation in C# bindings generatorRaul Santos
2021-09-03Fix PackedInt64Array typo in bindings_generator.hRaul Santos
2021-09-02Some more C# formattingAaron Franke
2021-08-26Use OrderedHashMap for autoloads to preserve orderLyuma
2021-08-20C#: Fix bindings generator for Callable argument default valueIgnacio Roldán Etcheverry
Previously there weren't any Callable arguments with a default value, but d4dd859991205e6cecfa9a0553b89db47c983d0b introduced one.
2021-08-17Namespaces instead of underscore prefix for bindsMax Hilbrunner
Thanks to neikeq for the initial work. Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2021-08-12Use real_t and double where appropriate in ParticlesAaron Franke
2021-08-06Ensure MSBuildPanel buttons are instantiatedRaul Santos
2021-08-03Fix the editor theme application for the Mono build logYuri Sizov
2021-07-27Merge pull request #50917 from raulsntos/more-iteratorsRémi Verschelde
2021-07-27Ignore paths with invalid chars in PathWhichRaul Santos
2021-07-27Use C++ iterators in the Mono moduleRaul Santos
2021-07-26Use Array.Empty instead of allocating a every timeRaul Santos
Use `System.Array.Empty<T>` to get an empty array instead of allocating a new one every time. Since arrays are immutable there is no need to allocate them every time.