Age | Commit message (Collapse) | Author |
|
Add Selection and Caret for Next Occurrence of Selection
|
|
Clean up Basis from Euler code
|
|
|
|
Add double_tap attribute to InputEventScreenTouch
|
|
|
|
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
|
|
|
|
Fix localize_path with custom protocol identifiers
|
|
Add ability to pick random value from array
|
|
Adds the bind `add_selection_for_next_occurrence` to TextEdit, with CTRL+D as the default shortcut.
When the bind is performed, ff a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret and selects the next occurrence.
If no selection is currently active with the last caret in text fields, selects the word currently under the caret.
The action can be performed sequentially for all occurrences of the selection of the last caret and for all existing carets. The viewport is adjusted to the latest newly added caret.
The bind and the behaviour is similar to VS Code's "Add Selection to Next Find Match" and JetBrains' "Add Selection for Next Occurrence". It takes advantage of the multi-caret API.
The default shortcut for `select_word_under_caret` has been changed to ALT+G, in order to give priority to CTRL+D for `add_selection_for_next_occurrence` to better align with popular IDEs and editors.
|
|
|
|
|
|
|
|
Fix big negative numbers printing incorrect decimals in `num_real`
|
|
Fix Typed Array of Objects not accepting `null`.
|
|
|
|
|
|
Make some Image methods static
|
|
Expose minizip API to allow creating zips using scripts
|
|
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com>
Co-authored-by: James Westman <flyingpimonster@gmail.commail>
Co-authored-by: MisterMX <mbxd12@web.de>
Signed-off-by: MisterMX <mbxd12@web.de>
|
|
|
|
|
|
|
|
Implements the Gauss Mapping optimization to SAT convex collision test.
* Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf) by Dirk Gregorius.
* Requires adding of face information to edges in MeshData
* Took the chance to convert MeshData to LocalVector for performance.
|
|
Add autocompletion to several Object methods
|
|
Use enum type in GDExtension info structs for better readability
|
|
Make String.simplify_path keep the protocol identifier for urls
|
|
|
|
Rename `set`/`get_indexed`'s "property" to "property_path"
|
|
Fix _unnamed_arg so that arguments defined by GDExtension show up in the editor docs.
|
|
Also touches up the Documentation slightly.
|
|
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.
|
|
Fix MIDI note-on events being converted to note-off events
|
|
Update documentation with note about MIDI velocity interpretation
|
|
Polish rendering driver refactor further (take 2)
|
|
|
|
Fetch video adapter driver name and version from OS
|
|
groud/expose_resource_format_loader_recognize_path
Exposes ResourceFormatLoader.recognize_path to scripting
|
|
|
|
|
|
touilleMan/gdextension-implement-get_documentation
Implement ScriptExtension::get_documentation
|
|
Use `JSON::stringify` where possible
|
|
Strip unnecessary break on switches returning early in Variant
|
|
Add `is_finite` method for checking built-in types
|
|
|
|
|
|
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.
|
|
SCons: Cleanup GCC warnings configuration
|
|
touilleMan/no-variant-destructor-for-struct-builtins
Remove Transform2/3D,AABB,Basis from Variant destructors given they are POD structs
|
|
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.
|