summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-3022-43/+107
|\
| * Merge pull request #98652 from stuartcarnie/2d_texture_state_fixesThaddeus Crews2024-10-291-4/+46
| |\ | | | | | | | | | 2D: Fix various issues and minor performance optimisations
| | * 2D: Fix various issues and minor performance optimisationsStuart Carnie2024-10-301-4/+46
| | |
| * | Merge pull request #65962 from 4d49/format-objectThaddeus Crews2024-10-291-1/+12
| |\ \ | | | | | | | | | | | | Add `Object` support for `String.format`
| | * | Add `Object` support for `String.format`Mansur Isaev2024-10-291-1/+12
| | |/
| * | Merge pull request #97934 from adamscott/give-AThousandShips-a-breakThaddeus Crews2024-10-2919-37/+39
| |\ \ | | |/ | |/| | | | [Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
| | * Set clang-format `RemoveSemicolon` rule to `true`Adam Scott2024-10-2519-37/+39
| | | | | | | | | | | | - Set clang-format `Standard` rule to `c++20`
| * | Merge pull request #96439 from darksylinc/matias-TheForge-pr03-rebasedClay John2024-10-292-0/+10
| |\ \ | | | | | | | | Add Swappy & Pre-Transformed Swapchain
| | * | Add Swappy & Pre-Transformed SwapchainMatias N. Goldberg2024-10-282-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds Swappy for Android for stable frame pacing - Implements pre-transformed Swapchain so that Godot's compositor is in charge of rotating the screen instead of Android's compositor (performance optimization for phones that don't have HW rotator) ============================ The work was performed by collaboration of TheForge and Google. I am merely splitting it up into smaller PRs and cleaning it up. Changes from original PR: - Removed "display/window/frame_pacing/android/target_frame_rate" option to use Engine::get_max_fps instead. - Target framerate can be changed at runtime using Engine::set_max_fps. - Swappy is enabled by default. - Added documentation. - enable_auto_swap setting is replaced with swappy_mode.
* | | | Merge pull request #818 from Spartan322/fixup/copyright-headersGeorge L. Albany2024-10-27372-744/+744
|\ \ \ \ | | | | | | | | | | Fix copyright headers referring to Godot
| * | | | Fix copyright headers referring to GodotSpartan3222024-10-27372-744/+744
| | | | |
* | | | | Merge pull request #814 from Spartan322/merge/61accf0George L. Albany2024-10-2716-246/+1293
|\ \ \ \ \ | | | | | | | | | | | | Merge commit godotengine/godot@61accf0
| * \ \ \ \ Merge commit godotengine/godot@61accf060515416da07d913580419fd8c8490f7bSpartan3222024-10-2616-246/+1293
| |\ \ \ \ \ | | |/ / / / | |/| / / / | | |/ / /
| | * | | Merge pull request #98425 from darksylinc/matias-breadcrumbs-race-fixThaddeus Crews2024-10-254-0/+35
| | |\ \ \ | | | | | | | | | | | | | | | | | | Fix race conditions in breadcrumbs
| | | * | | Fix race conditions in breadcrumbsMatias N. Goldberg2024-10-224-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds "--accurate-breadcrumbs" CLI command Additionally, leave out breadcrumbs code in non-debug, non-dev builds. Fix regression introduced in #98388 where command_insert_breadcrumb() is called even in non-debug builds. Fixes #98338
| | * | | | Merge pull request #98395 from Repiteo/core/char-range-utils-updateThaddeus Crews2024-10-252-237/+442
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Core: Update `char_range.inc` to Unicode 16
| | | * | | | Core: Update `char_range.inc` to Unicode 16Thaddeus Crews2024-10-212-237/+442
| | | | | | |
| | * | | | | Merge pull request #74714 from dalexeev/expose-bresenham-lineThaddeus Crews2024-10-253-6/+23
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Expose `Geometry2D.bresenham_line()` method
| | | * | | | | Expose `Geometry2D.bresenham_line()` methodDanil Alexeev2024-10-253-6/+23
| | | | |_|_|/ | | | |/| | | | | | | | | | | | | | | | | Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
| | * | | | | Merge pull request #92554 from Nazarwadim/implement_a_hash_mapThaddeus Crews2024-10-253-0/+778
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | Implement array based hash map `AHashMap`
| | | * | | | Implement array based hash mapnazarii2024-10-243-0/+778
| | | | | | |
| | * | | | | Merge pull request #98318 from alexkar598/mouse_emulationClay John2024-10-241-0/+2
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | Fix mouse emulation always sending events to the main window
| | | * | | | | Fixes window_id being erased when emulating mouse events from touch eventsalexkar5982024-10-181-0/+2
| | | | |/ / / | | | |/| | |
| | * | | | | Merge pull request #98357 from yeojunh/valid-base-check-num-int64-uint64Clay John2024-10-241-0/+4
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | Core: Fix String::num_int64(), uint64 for valid base check
| | | * | | | | Add checks for valid base in String::num_int64, uint64().yeojunh2024-10-201-0/+4
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Ensure String::num_int64, uint64 returns an empty string for bases less than 2 or greater than 36. - Added corresponding test cases to verify the behavior. - Error messages are printed when invalid bases are encountered. These messages are suppressed in the test output.
| | * | | | | Merge pull request #98363 from dustdfg/rid_in_operator_fixClay John2024-10-241-0/+2
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | Allow using RID with `in` operator for Arrays and Dictionaries
| | | * | | | | Allow use RID with `in` operator for Arrays and DictionariesYevhen Babiichuk (DustDFG)2024-10-211-0/+2
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
| | * | | | | Merge pull request #98493 from KoBeWi/tfw_you_trade_CLASH_for_a_CRASHClay John2024-10-241-3/+3
| | |\ \ \ \ \ | | | |_|/ / / | | |/| | | | Fix InputEvent crash when opening project
| | | * | | | Fix InputEvent crash when opening projectkobewi2024-10-241-3/+3
| | | | |/ / | | | |/| |
* | | / | | Fix `GDExtensionAPIDump` lacking status_version headerSpartan3222024-10-261-0/+1
|/ / / / /
* | | | | Merge pull request #769 from Spartan322/fix/projectionGeorge L. Albany2024-10-251-91/+219
|\ \ \ \ \ | | | | | | | | | | | | Fix `Projection::invert` on orthogonal projections and others.
| * | | | | Fix `Projection::invert` on orthogonal projections and others.Álex Román2024-10-221-91/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to godotengine/godot#68878, specially when using orthographic projection. Also adds some tests. Adapted from godotengine/godot#95303
* | | | | | Merge pull request #787 from Spartan322/cherry-pick/4.3George L. Albany2024-10-252-3/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | Cherry-picks for the master (4.4) branch - 1st batch
| * | | | | | Fix VERSION_FULL_CONFIG ignoring status versioningSpartan3222024-10-232-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit cb0d3f7aa0c51edcf230a8fb8a53c8845f1335da)
* | | | | | | Merge commit godotengine/godot@1015a481ff43edb1126ab39a147fefda290131e5Spartan3222024-10-241-2/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | / / / / | | |/ / / / | |/| | | |
| * | | | | Merge pull request #97868 from timothyqiu/po-loaderThaddeus Crews2024-10-241-2/+1
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | Fix "No loader found" error after editing PO file
| | * | | | Fix "No loader found" error after editing PO fileHaoyu Qiu2024-10-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PO files used to be loaded as simple `Translation` resources. We later added a dedicated `TranslationPO` resource for it. But the loader still thinks it can only handle `Translation` resources, so it refuses to load the updated `TranslationPO` resource.
* | | | | | Merge commit godotengine/godot@b3bcb2dc14691f7729984128dca26a844f662fa1Spartan3222024-10-2214-30/+67
|\| | | | | | |_|/ / / |/| | | |
| * | | | Merge pull request #98041 from Hilderin/fix-lost-gdextensions-on-startupThaddeus Crews2024-10-211-0/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Fix loss of gdextension on editor startup
| | * | | | Fix lost of gdextension on editor startup.Hilderin2024-10-201-0/+5
| | |/ / / | | | | | | | | | | | | | | | Co-authored-by: NetroScript <noreply@enostrion.com>"
| * | | | Merge pull request #97005 from Repiteo/core/window-corner-styleThaddeus Crews2024-10-211-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Core: Add `DisplayServer` flag for sharp corners
| | * | | | Core: Add `DisplayServer` flag for sharp cornersThaddeus Crews2024-10-181-0/+1
| | | |/ / | | |/| |
| * | | | Merge pull request #98237 from dustdfg/os_transitive_image_headers_refactorThaddeus Crews2024-10-213-2/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Don't include `core/io/image.h` in `core/os/os.h`
| | * | | | Don't include `core/io/image.h` in `core/os/os.h`Yevhen Babiichuk (DustDFG)2024-10-183-2/+1
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `core/os/os.h` doesn't use `core/io/image.h`. It just brings transitive dependencies. Lots of dependencies because `core/os/os.h` is transitively included in almost every file of godot Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h` were used to prevent obscure errors involving `Ref<Image>` ^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by corresponding .h file with the same name Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com> Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
| * | | | Merge pull request #98236 from timothyqiu/locale-compare-cache-4.xThaddeus Crews2024-10-212-13/+24
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Cache results for `TranslationServer.compare_locales()`
| | * | | | Cache results for `TranslationServer.compare_locales()`Haoyu Qiu2024-10-162-13/+24
| | | | | |
| * | | | | Merge pull request #97707 from Sauermann/fix-input-device-clashThaddeus Crews2024-10-215-13/+21
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Fix `InputEvent` device id clash
| | * | | | | Fix InputEvent device id clashMarkus Sauermann2024-10-205-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `InputMap::ALL_DEVICES` and `InputEvent::DEVICE_ID_EMULATION` have the same value `-1`. Change value of `InputMap::All_DEVICES` so that it's different from `InputEvent::DEVICE_ID_EMULATION`. `InputEvent::DEVICE_ID_EMULATION` is part of the API and can't be changed without potentially breaking projects. Gather all special device constants in a single location inside `InputEvent`. Add a converter to project settings, that takes care of adjusting project files during loading.
| * | | | | | Merge pull request #97542 from AThousandShips/dict_sort_fixThaddeus Crews2024-10-213-2/+15
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | [Core] Fix sorting of `Dictionary` keys
| | * | | | | [Core] Fix sorting of `Dictionary` keysA Thousand Ships2024-10-183-2/+15
| | | |/ / / | | |/| | | | | | | | | | | | | | | `StringName` keys were sorted as `StringName` which is unstable.