summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-10-13Merge pull request #67251 from groud/simplify_path_solve_urlsRémi Verschelde
Make String.simplify_path keep the protocol identifier for urls
2022-10-13Make String.simplify_path keep the protocol identifier for urlsGilles Roudière
2022-10-12Merge pull request #67300 from Mickeon/indexed-objectionRémi Verschelde
Rename `set`/`get_indexed`'s "property" to "property_path"
2022-10-12Merge pull request #67298 from Splizard/fix_unamed_args_gdextensionRémi Verschelde
Fix _unnamed_arg so that arguments defined by GDExtension show up in the editor docs.
2022-10-12Rename `set`/`get_indexed`'s "property" to "property_path"Micky
Also touches up the Documentation slightly.
2022-10-12Fix _unnamed_arg so that arguments defined by GDExtension show up in docs.Quentin Quaadgras
The Godot API (gdnative_interface.h) allows methods to be registered on extension classes with `classdb_register_extension_class_method` a `GDNativeExtensionClassMethodInfo` can be provided to this function along with a `get_argument_info_func` which according to the comment indicates that argument names should be definable here. Unfortunately, setting the name field in the `GDNativePropertyInfo` struct has no effect on the editor documentation, which continues to display "_unnamed_arg" for each argument. I discovered that `get_argument_info` is responsible for this as it always overrides the `info.name`. I've added an if condition that will only override the name when it is empty. I've tested this with my GDExtension module and I can confirm that with this commit, the argument name shows up in the builtin docs. eg. in Lookup Symbol.
2022-10-12Merge pull request #66003 from voidshine/fix_midi_event_mutationRémi Verschelde
Fix MIDI note-on events being converted to note-off events
2022-10-11Fix MIDI note-on events being converted to note-off eventsvoidshine
Update documentation with note about MIDI velocity interpretation
2022-10-11Merge pull request #67244 from RandomShaper/split_render_further_2Rémi Verschelde
Polish rendering driver refactor further (take 2)
2022-10-11Polish rendering driver refactor further (take 2)Pedro J. Estébanez
2022-10-11Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfoRémi Verschelde
Fetch video adapter driver name and version from OS
2022-10-11Merge pull request #67241 from ↵Rémi Verschelde
groud/expose_resource_format_loader_recognize_path Exposes ResourceFormatLoader.recognize_path to scripting
2022-10-11Fetch video adapter driver name and version from OS on Linux/*BSD and WindowsMJacred
2022-10-11Exposes ResourceFormatLoader.recognize_path to scriptingGilles Roudière
2022-10-11Merge pull request #67217 from ↵Rémi Verschelde
touilleMan/gdextension-implement-get_documentation Implement ScriptExtension::get_documentation
2022-10-11Merge pull request #67224 from Mickeon/jasonRémi Verschelde
Use `JSON::stringify` where possible
2022-10-11Merge pull request #67126 from Mickeon/i-was-very-boredRémi Verschelde
Strip unnecessary break on switches returning early in Variant
2022-10-11Merge pull request #64268 from timothyqiu/is-finiteRémi Verschelde
Add `is_finite` method for checking built-in types
2022-10-11Implement ScriptExtension::get_documentationEmmanuel Leblond
2022-10-11Use `JSON::stringify` where possibleMicky
2022-10-10Strip unnecessary break on switches returning early in VariantMicky
Tweaks comments around the touched-up parts. Also tweaks spacing Also adds some spacing in all cases of Variant::`reference()`. This is a special for consistency, because it ends up making the cases more readable.
2022-10-10Merge pull request #67183 from akien-mga/gcc-warnings-cleanupRémi Verschelde
SCons: Cleanup GCC warnings configuration
2022-10-10Merge pull request #64692 from ↵Rémi Verschelde
touilleMan/no-variant-destructor-for-struct-builtins Remove Transform2/3D,AABB,Basis from Variant destructors given they are POD structs
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10SCons: Cleanup GCC warnings configurationRémi Verschelde
- Outright disable spammy warnings due to past or present GCC bugs: * `-Wno-strict-overflow` for GCC 7. * `-Wno-type-limits` for GCC before 11 (regressed in 9/10, might work in earlier releases but at this stage we don't care). * `-Wno-return-type` for GCC 12/13 (regression, still not fixed). - Enable extra warnings conditionally when broken on earlier GCC: * `-Wnoexcept` was removed due to an upstream regression in GCC 9, could be re-enabled (but commented out for now as we actually have `-Wnoexcept` warnings to fix. * `-Wlogical-op` was broken on our variadic templates before GCC 11, now seems fine.
2022-10-10Merge pull request #66774 from touilleMan/fix-variant-type-in-extension-api-dumpRémi Verschelde
Fix Variant types displayed as `Nil` in extension_api.json
2022-10-10Fix extension_api.json Variant types incorrectly displayed as `Nil`Emmanuel Leblond
2022-10-10Merge pull request #66584 from rune-scape/rune-validated-call-obj-bugRémi Verschelde
Fix unset `ObjectID` with validated `get_object()` call
2022-10-10Defer clearing of ResourceUID cache and silence warningskobewi
2022-10-10Merge pull request #67165 from ↵Rémi Verschelde
touilleMan/gdextension-remove-GDNativeExtensionClassObjectInstance Remove unused `GDNativeExtensionClassObjectInstance` type def from GDExtension
2022-10-10Merge pull request #67131 from KoBeWi/simplify_the_simplifyRémi Verschelde
Fix `simplify_path()` breaking `uid://`
2022-10-10Remove unused `GDNativeExtensionClassObjectInstance` type def from GDExtensionEmmanuel Leblond
2022-10-09Fix simplify_path() breaking uid://kobewi
2022-10-09Fix Array.`slice()` and `filter()` forgetting Typed ArrayMicky
2022-10-08Validate input in `ScriptServer::register_language`Haoyu Qiu
2022-10-08Add `is_finite` method for checking built-in typesHaoyu Qiu
2022-10-07Use float literals for float calculations in ColorAaron Franke
2022-10-07Fix more MSVC C4702 (unreachable code) warningsRémi Verschelde
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Merge pull request #66962 from aaronfranke/core-struct-includesRémi Verschelde
Enhancements to includes in core data structures
2022-10-06Merge pull request #64815 from RandomShaper/default_cpu_countRémi Verschelde
Improve default `OS`'s CPU count getter
2022-10-05Enhancements to includes in core data structuresAaron Franke
2022-10-05Keep a single, portable implementation of `OS::get_processor_count()`Pedro J. Estébanez
2022-10-05free NativeExtensionMethodBinds on unregisterWaridley
2022-10-05Merge pull request #64819 from RandomShaper/enhance_thread_funcsRémi Verschelde
Enhance portability of threading
2022-10-05Merge pull request #66839 from aaronfranke/editor-prop-hide-sliderRémi Verschelde
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-05Merge pull request #66886 from akien-mga/error-print-cleanupRémi Verschelde
Logger: Don't print error twice on `ERR_PRINT`
2022-10-05Merge pull request #66898 from aaronfranke/proj-mat-columnsRémi Verschelde
Rename Projection `matrix` to `columns`
2022-10-04Improve dictionary printing to avoid confusion with arraysHugo Locurcio
- Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries.
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke