summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2021-01-26Renamed String.ord_at to unicode_atYuri Roubinsky
2021-01-26Merge pull request #45373 from aaronfranke/gdnative-sizeofGeorge Marques
Define GDNative sizes using sizeof(godot_real) and sizeof(int32_t)
2021-01-26Merge pull request #44732 from Calinou/os-add-get-thread-caller-idRémi Verschelde
Add an `OS.get_thread_caller_id()` method
2021-01-26Merge pull request #45309 from VedatGunel/fix-string-ends-withRémi Verschelde
Fix String.ends_with() for empty string arguments
2021-01-26Remove Quat set methods in favour of constructorsMarcel Admiraal
2021-01-25Define GDNative sizes using sizeof(godot_real_t) and sizeof(int32_t)Aaron Franke
2021-01-22Merge pull request #45314 from RandomShaper/modernize_rwlockRémi Verschelde
Modernize RWLock
2021-01-20Merge pull request #45023 from reduz/optimize-shader-vgpr1Rémi Verschelde
Shader optimizations to reduce VGPR usage and increase occupancy
2021-01-19Added GPU based cluster builderreduz
Clustering is now GPU based, uses an implementation based on the Activision algorithm.
2021-01-19Remove useless "else" statements from vector3.hPouleyKetchoupp
2021-01-19Fix String.ends_with() for empty string argumentsVedat Günel
2021-01-19Modernize RWLockPedro J. Estébanez
- Based on C++14's `shared_time_mutex` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed - Simpler for `NO_THREADS`
2021-01-18[HTML5] Custom Gamepad library to allow remapping.Fabio Alessandrelli
No longer use emscripten functions for gamepads, implement them as library functions in library_godot_display.js instead. This allows us to do a better job at "guessing" vendorId, productId, OS, etc. thus allowing us to better find the remapping for the controller.
2021-01-18Better gamepad axis event injection.Fabio Alessandrelli
In the core input handling code we have checks to make sure that if axis rapidly change sign we inject mid-points to release any pending inputmap action. The function though, did not correctly insert the mid-point causing dpads mapped to an axis that behaves like tri-state buttons (-1,0,1) to not be released correctly. This commit fixes that by including in the check the case where the axis swtiches from abs(1) to 0.
2021-01-14Merge pull request #45161 from Xrayez/bind-emit-changedRémi Verschelde
Expose `Resource.emit_changed()` to script
2021-01-13Merge pull request #45136 from akien-mga/clang-format-11Rémi Verschelde
CI: Update to clang-format 11 and apply ternary operator changes
2021-01-13Expose `Resource.emit_changed()` to scriptAndrii Doroshenko (Xrayez)
Also known as `emit_signal("changed")`.
2021-01-12Merge pull request #45125 from aaronfranke/poly-libRémi Verschelde
Update PolyPartition / Triangulator library
2021-01-12Update PolyPartition / Triangulator libraryAaron Franke
2021-01-12CI: Update to clang-format 11 and apply ternary operator changesRémi Verschelde
2021-01-12Merge pull request #44514 from madmiraal/split-os-executeRémi Verschelde
Split OS::execute into two methods
2021-01-12Improve UndoRedo classGilles Roudière
2021-01-11Merge pull request #42270 from AndreaCatania/AndreaCatania-patch-4Rémi Verschelde
Added the function `remove_unordered` to the LocalVector container.
2021-01-11Merge pull request #44427 from briansemrau/fix-variant-bitand-validated-evalRémi Verschelde
Fix bitwise-and eval not updating return type
2021-01-11Add function `LocalVector::remove_unordered`AndreaCatania
Added LocalVector unit tests.
2021-01-09Split OS::execute into two methodsMarcel Admiraal
1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
2021-01-08Merge pull request #35505 from dalexeev/rtl_colorsRémi Verschelde
Unified named colors in RichTextLabel
2021-01-05Merge pull request #44904 from maiself/fix-plane-xform_invRémi Verschelde
Fix xform_inv of Plane, intermediate results were ignored
2021-01-05Merge pull request #44838 from reduz/renderer-reorganizationJuan Linietsky
Reorganize renderer code + cache and threading optimizations.
2021-01-05Merge pull request #44661 from AndreaCatania/AndreaCatania-patch-5Rémi Verschelde
Fixes: GDscript min and max are inverted
2021-01-05Threaded optimizations to cull and renderreduz
-Reorganize thread work pool for rendering -Fixes to make secondary command buffers to work (disabled because they need more testing)
2021-01-05Rewrite render code to be more cache and thread friendly.reduz
2021-01-05Reorganize renderer code.reduz
So it can hopefully be made more cache efficient afterwards.
2021-01-04Remove Unnecessary Double ListJoshua Dahl
_OS::print_resources_by_type had two of the exact same list, one of which was never used.
2021-01-03Fix xform_inv of Plane, intermediate results were ignoredMai Lavelle
2021-01-01Merge pull request #44848 from mrushyendra/disconnect_err_msgRémi Verschelde
Issue correct error when disconnecting nonexistent connection with a valid signal
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2021-01-01Issue more precise error when disconnecting a nonexistent connectionMaganty Rushyendra
Checks whether the signal exists when issuing an error message when disconnecting a nonexistent connection. Also prints the callable name.
2020-12-30Added Geometry2D unit testsMarcus Brummer
2020-12-29Consistently use normal_mapMarcel Admiraal
2020-12-28Merge pull request #44586 from madmiraal/rename-stepifyRémi Verschelde
Rename Math::stepify to snapped
2020-12-28Merge pull request #44149 from madmiraal/rename-tangent-orthogonalRémi Verschelde
Rename Vector2.tangent() to Vector2.orthogonal()
2020-12-28Merge pull request #44751 from madmiraal/rename-rect-grow_marginRémi Verschelde
Rename Rect2 and Rect2i grow_margin() to grow_side()
2020-12-28Merge pull request #44593 from madmiraal/rename-mainloop-methodsRémi Verschelde
Rename MainLoop methods to match Node methods
2020-12-28Rename Math::stepify to snappedMarcel Admiraal
2020-12-28Rename Rect2 and Rect2i grow_margin() to grow_side()Marcel Admiraal
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-27Add an `OS.get_thread_caller_id()` methodHugo Locurcio
This can be used to print thread IDs in logs. This can make it easier to debug multi-threaded applications. Co-authored-by: Khaos <khaos@khaos-coders.org>
2020-12-27Add helper count function to VariantGeorge Marques
To get counts of items before getting the list, which is useful for GDNative so users can pre-allocate the buffer with the correct size without having to get the list twice.
2020-12-26Rewrite culling to be more cache/thread friendly.reduz
-Uses a single array with all data -Massive performance improvement -Does not support threads yet, but code is now thread friendly