summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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
2022-12-01Merge pull request #64427 from ↵Rémi Verschelde
touilleMan/gdextension-skip-undefined-field-in-properties [GDExtension] Skip unset getter/setter/index fields in class property
2022-12-01Merge pull request #64360 from ↵Rémi Verschelde
touilleMan/gdextension-correct-rect2-members-offsets-declaration [GDExtension] Correct Rect2 members offsets declaration in extension_api.json generator
2022-12-02ETCPAK expects BGRA data for ETCBastiaan Olij
2022-11-29Add missing public property_*_revert gettersYuri Sizov
2022-11-29Merge pull request #69338 from akien-mga/pm-fix-hacky-project-renameYuri Sizov
Project Manager: Fix hacky code for project rename
2022-11-29[Core] Fix Resource.resource_name type.Fabio Alessandrelli
The methods returns a String, but the Variant was bound as a StringName. We could alternatively change the method return type but that's a breaking change which will requires code changes in other parts of the engine.
2022-11-29Project Manager: Fix hacky code for project renameRémi Verschelde
Instantiating a new ProjectSettings is *not* the way to go. ConfigFile works just fine to read/change a single value. Fixes memory leaks as the instantiated ProjectSettings was never freed. Forbid doing this to prevent such problems. Fixes #25661.
2022-11-29Merge pull request #67680 from haasanen/fix_physics_thread_race_conditionRémi Verschelde
Fix physics/3d/run_on_separate_thread race condition in WorkerThreadPool (crash).
2022-11-28Don't break parsing on missing resourceskobewi
2022-11-25Merge pull request #69008 from ↵Rémi Verschelde
akien-mga/property-hint-array-type-resource-simplify Add MAKE_RESOURCE_TYPE_HINT macro to simplify binding arrays of resources
2022-11-25Remove `Array.find_last()`Micky
2022-11-24Merge pull request #68386 from MewPurPur/snappedi-snappedfRémi Verschelde
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
2022-11-24Merge pull request #69111 from TokageItLab/put-together-interpolationsRémi Verschelde
Refactor interpolating functions in some classes to use `Math` class
2022-11-24Add readahead to VariantParserlawnjelly
Adds a readahead buffer to VariantParser, to prevent large numbers of freads for single bytes, which is inefficient.
2022-11-24Add MAKE_RESOURCE_TYPE_HINT macro to simplify binding arrays of resourcesRémi Verschelde
2022-11-24Merge pull request #68833 from BastiaanOlij/improve_extension_logicRémi Verschelde
Improve logic for detecting and tracking extensions
2022-11-24Refactor interpolating functions in some classes to use Math classSilc Renew
2022-11-24Improve logic for detecting and tracking extensionsBastiaan Olij
2022-11-24Refactor Curve3D::_bake() methodYaohua Xiong
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. Other changes are: 1. Add an bezier_derivative() method for Vector3, Vector2, and Math; 2. Add an tesselate_even_length() method to Curve3D, which tesselate bezier curve to even length segments adaptively; 3. Cache the tangent vectors in baked_tangent_vector_cache;
2022-11-23Merge pull request #67726 from HenryClones/integer-lerping-errorsRémi Verschelde
Add case for Variant::INT in lerp variant switch
2022-11-22Add case for Variant::INT in lerp variant switchXpertice
2022-11-22Merge pull request #64284 from kleonc/image-rotate90-in-placeRémi Verschelde
`Image` Fix `rotate_90`/`rotate_180` methods
2022-11-21Fixes inability to assign script after clearingocean (they/them)