summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-12-24Divide `AStarGrid2D::default_heuristic` into two different heuristicsYuri Rubinsky
2022-12-21Merge pull request #62029 from Maran23/optional-default-value-project-settingsRémi Verschelde
Allow to specify a default value in `ProjectSettings.get_setting()`
2022-12-21Added the possibility to define a default value in ↵Marius Hanl
ProjectSettings.get_setting(), which is used when no setting is set. Also added tests for the project settings. Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-12-21Merge pull request #70403 from rburing/fix_edge_map_capacityRémi Verschelde
Fix edge map capacity in convex hull computer
2022-12-21Merge pull request #70355 from Chaosus/gds_fix_loopsRémi Verschelde
Fix empty zero assigners for the variant types
2022-12-21Fix edge map capacity in convex hull computerRicardo Buring
The desired capacity could be less than the default, so reserve would error.
2022-12-21Fix crashed when compressing empty image data.stmSi
2022-12-21Merge pull request #70350 from Chaosus/stringname_operatorRémi Verschelde
Add missing != operator to `StringName`
2022-12-20Add `get_point_position` method to `AStarGrid2D`Yuri Rubinsky
2022-12-20Fix empty zero assigners for the variant typesYuri Rubinsky
2022-12-20Add missing != operator to `StringName`Yuri Rubinsky
2022-12-20Merge pull request #70339 from Chaosus/astargrid2d_weight_scaleRémi Verschelde
Restore weight scale for `AStarGrid2D` (partially)
2022-12-20Merge pull request #65376 from reduz/astc-supportRémi Verschelde
Implement basic ASTC support
2022-12-20Implement basic ASTC supportJuan Linietsky
Implements basic ASTC support: * Only 4x4 and 8x8 block sizes. * Other block sizes are too complex to handle for Godot image compression handling. May be implemented sometime in the future. The need for ASTC is mostly for the following use cases: * Implement a high quality compression option for textures on mobile and M1 Apple hardware. * For this, the 4x4 is sufficient, since it uses the same size as BPTC. ASTC supports a lot of block sizes, but the benefit of supporting most of them is slim, while the implementation complexity in Godot is very high. Supporting only 4x4 (and 8x8) solves the real problem, which is lack of a BPTC alternative on hardware where it's missing. Note: This does not yet support encoding on import, an ASTC encoder will need to be added.
2022-12-20Restore weight scale for `AStarGrid2D` (partially)Yuri Rubinsky
2022-12-19Merge pull request #65990 from ↵Rémi Verschelde
touilleMan/gdextension-expose-builtins-members-real-types Expose in builtins' members internal type & size (on top of offset) in extension_api.json
2022-12-17Remove Disable Touch debug project settingHugo Locurcio
This project setting was only implemented and iOS and likely served no purpose outside of debugging during development of engine features. It was also located in a confusing location in the project settings editor, as it was located below a root category (which appears in bold and is normally not seen as clickable by users).
2022-12-16Merge pull request #70116 from Calinou/vibrate-handheld-silence-warningRémi Verschelde
Silence `Input.vibrate_handheld()` warning as it's already documented
2022-12-16Fix String::word_wrap() for long wordsHaoyu Qiu
- Changes `TextServer.string_get_word_breaks()` - Returns pairs of boundary start and end offsets - Accepts `chars_per_line` to return line breaks - Removes `String::word_wrap()` Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-12-16Silence `Input.vibrate_handheld()` warning as it's already documentedHugo Locurcio
The warning causes messages to be spammed if you are calling this method in a game that runs on both desktop and mobile platforms, unless you guard all calls to `Input.vibrate_handheld()` with `OS.has_feature("mobile") or OS.has_feature("web")`. Since the limitation is already documented (and is obvious enough given the method's name), the warning message is redundant.
2022-12-15[RTL/TextServer] Add baseline inline alignment mode for objects and RTL tables.bruvzg
2022-12-15Fix "p_zfar" to "p_znear" in Projection.create_orthogonalHei
Was confused why it always gave inf:s.
2022-12-15Expose in builtins' members internal type & size (on top of offset) in ↵Emmanuel Leblond
extension_api.json
2022-12-15Merge pull request #69709 from RandomShaper/refactor_spirv_reflectionRémi Verschelde
Refactor SPIR-V reflection into a generic RenderingDevice feature
2022-12-14Extension header: amend const correctness of `p_args` parametersJan Haller
A while ago, argument arrays were passed as const GDNativeTypePtr* (void* const*) This was changed to GDNativeConstTypePtr* (void const**), adding const on the value but removing it on the pointer level. This commit changes argument types to const GDExtensionConstTypePtr* (void const* const*). Besides object pointers, the same change is applied to variant pointers.
2022-12-13Improve logic around using Ref<T> with GDExtension virtual functionsBastiaan Olij
2022-12-12VariantParser make readahead optionallawnjelly
It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync. This PR makes the VariantParser readahead to be optional to allow for these use cases.
2022-12-12Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@adf7ec1edfc0371ebf5fb469b61f301b8e26ec81
2022-12-12Add default, zeroing constructor to BitFieldPedro J. Estébanez
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-11Merge pull request #69538 from mihe/feature-tag-doubleRémi Verschelde
Add feature tags to signify engine float precision
2022-12-09Merge pull request #68747 from rune-scape/rune-stringname-unificationRémi Verschelde
GDScript: Unify StringName and String
2022-12-09Merge pull request #69661 from Mickeon/fix-editor-cannot-disconnect-signalRémi Verschelde
Fix unable to disconnect signal in Editor once created
2022-12-08Fix unable to disconnect signal in Editor once createdMicky
Adds a CONNECT_INHERITED flag to connections, only available in editor builds. This flag denotes that the signal has been inherited from a previous Scene in the instancing hierarchy.
2022-12-07Fix `ResourceLoader::thread_load_tasks` crashAdam Scott
2022-12-07Add feature tags to signify engine float precisionMikael Hermansson
2022-12-06Fix Variant StringName `is_zero` being invertedAaron Franke
2022-12-06Merge pull request #67906 from groud/simpler_gdextension_configRémi Verschelde
Remove unnecessary checks when exporting gdextension binaries and allow using a prefix to auto-detect files
2022-12-05Unify String and StringNamerune-scape
2022-12-05Merge pull request #69602 from Rindbee/fix-string-modRémi Verschelde
Fix suppressed error message on error when using % format string
2022-12-05Merge pull request #69343 from YuriSizov/core-missing-property-revert-gettersRémi Verschelde
Add missing public `property_*_revert` getters
2022-12-05Fix suppressed error message on error when using % format stringRindbee
Before, the valid flag would always be true. On formatting errors, an error message is returned as the result. (No error prompts.)
2022-12-05Merge pull request #69357 from TokageItLab/byebye-triggerRémi Verschelde
Remove `UPDATE_TRIGGER` mode from `ValueTrack::UpdateMode` & Match behaviors between `AnimationTree` and `AnimationPlayer`
2022-12-05Merge pull request #69119 from lawnjelly/faster_variant_parser_masterRémi Verschelde
Add readahead to VariantParser [4.x]
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-12-02Fix const qualifier for parameters in GDExtension api functionsEmmanuel Leblond
2022-12-02Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/PlayerSilc Renew
#69357
2022-12-02Merge pull request #69448 from BastiaanOlij/fix_etc_rgba_bgra_issueRémi Verschelde
ETCPAK expects BGRA data for ETC
2022-12-01Allow specifying a prefix to automatically detect library files for ↵Gilles Roudière
gdextension exports