summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-10-31Shortcut and Bind to Remove Secondary CaretsAlfred Reinold Baudisch
Adds the bind `ui_text_remove_secondary_carets` to TextEdit, with ESC as the default shortcut. When the bind is performed, if the TextEdit has multiple carets, `remove_secondary_carets` is called and secondary carets are removed. This is useful when multiple selects are performed with `add_select_for_next_occurrence` #67644 or when multiple multiple carets are manually added, then it's possible to go back to a single caret with a shortcut. Closes #67991
2022-10-31Merge pull request #67931 from bruvzg/locale_no_defRémi Verschelde
Do not auto add default script and country codes to the locale.
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don'tRémi Verschelde
Simplify GDVIRTUAL_CALL calls
2022-10-31Merge pull request #67309 from groud/implement_gdnative_interface_h_dumpRémi Verschelde
Implement a way to dump the gdnative_interface.h file from the executable
2022-10-31Merge pull request #67577 from qarmin/fix_exporting_big_templatesRémi Verschelde
Fix exporting with big export templates
2022-10-31Merge pull request #67580 from KoBeWi/little_thingsRémi Verschelde
Minor code improvements
2022-10-31Merge pull request #67139 from PucklaMotzer09/insert_caret_at_caretsRémi Verschelde
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-28Merge pull request #67621 from groud/resource_saver_expose_recognize_pathClay John
Expose the logic to recognize a save path in ResourceSaver
2022-10-28Expose the logic to recognize a save path in ResourceSaverGilles Roudière
2022-10-27Merge pull request #67644 from alfredbaudisch/add-selection-next-occurrenceClay John
Add Selection and Caret for Next Occurrence of Selection
2022-10-27Merge pull request #66383 from aaronfranke/basis-from-eulerClay John
Clean up Basis from Euler code
2022-10-27Do not auto add default script and country codes to the locale.bruvzg
2022-10-24Fix crash when calling `fill` method on an empty `Image`Yuri Rubinsky
2022-10-23Merge pull request #67755 from m4gr3d/input_event_screen_touch_double_tap_mainFredia Huya-Kouadio
Add double_tap attribute to InputEventScreenTouch
2022-10-23Merge pull request #67655 from MewPurPur/remove-dupe-registrationsYuri Rubinsky
2022-10-22Add double_tap attribute to InputEventScreenTouchFredia Huya-Kouadio
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
2022-10-21Clean up Basis from Euler codeAaron Franke
2022-10-21Merge pull request #67636 from groud/fix_localize_pathMax Hilbrunner
Fix localize_path with custom protocol identifiers
2022-10-21Merge pull request #67444 from nonunknown/array_pick_randomMax Hilbrunner
Add ability to pick random value from array
2022-10-21Add Selection and Caret for Next Occurrence of SelectionAlfred Reinold Baudisch
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.
2022-10-20Fix localize_path with custom protocol identifiersGilles Roudière
2022-10-20add ability to pick random value from arrayNonunknown
2022-10-20Remove duplicate operator registrationsVolTer
2022-10-19Fix exporting big templatesRafał Mikrut
2022-10-19Simplify GDVIRTUAL_CALL callskobewi
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-18Minor code improvementskobewi
2022-10-18Add Caret Insert Below and Above shortcuts to TextEditPucklaMotzer09
2022-10-17Merge pull request #67463 from aaronfranke/num-real-negativeRémi Verschelde
Fix big negative numbers printing incorrect decimals in `num_real`
2022-10-17Merge pull request #67118 from Mickeon/⬛Rémi Verschelde
Fix Typed Array of Objects not accepting `null`.
2022-10-16GDExtension: add support for abstract and virtual classesRicardo Buring
2022-10-15Fix big negative numbers printing incorrect decimals in num_realAaron Franke
2022-10-15Merge pull request #63332 from KoBeWi/static_images_aka_photosRémi Verschelde
Make some Image methods static
2022-10-15Merge pull request #65281 from MisterMX/zip-moduleRémi Verschelde
Expose minizip API to allow creating zips using scripts
2022-10-14Expose minizip API to allow creating zips using scriptsMarcelo Fernandez
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>
2022-10-14Make some Image methods statickobewi
2022-10-13Merge pull request #67057 from Anutrix/rng-generator-default-seedRémi Verschelde
2022-10-13Merge pull request #66294 from reduz/optimize-convex-collisionRémi Verschelde
2022-10-13Optimize Convex CollisionJuan Linietsky
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.
2022-10-13Merge pull request #66427 from Mickeon/object-methods-autocompletionRémi Verschelde
Add autocompletion to several Object methods
2022-10-13Merge pull request #67138 from touilleMan/gdextension-typed-enum-in-structRémi Verschelde
Use enum type in GDExtension info structs for better readability
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-13Implement a way to dump the gdnative_interface.h file from the executableGilles 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