summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2021-12-17Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@265b43b7895bc5cd5eaf498414e9c62b5152b0fb.
2021-12-16Merge pull request #55978 from slouken/fix-switch-controller-event-spamRémi Verschelde
Fixed event spam when using the Nintendo Switch controller
2021-12-16Fixed event spam when using the Nintendo Switch controllerSam Lantinga
There is no filtering on the Nintendo Switch Pro controller thumbstick, so there will frequently be events with very slight change. These are turned into "not pressed" events, which cancel "pressed" events from keys and buttons. This change filters out up to 5% jitter, but it might be worth revisiting whether "not pressed" events should cancel "pressed" events.
2021-12-16Make `--doctool` locale awareHaoyu Qiu
* Adds `indent(str)` to `String`: * Indent the (multiline) string with the given indentation. * This method is added in order to keep the translated XML correctly indented. * Moves the loading of tool/doc translation into `editor/editor_translation.{h,cpp}`. * This will be used from both `EditorSettings` and the doc tool from `main`. * Makes use of doc translation when generating XML class references, and setup the translation locale based on `-l LOCALE` CLI parameter. The XML class reference won't be translated if `-l LOCALE` parameter is not given, or when it's `-l en`.
2021-12-15Merge pull request #55657 from MorganKF/patch-multiplayer-peer-extensionFabio Alessandrelli
Patch `MultiplayerPeerExtension` to allow derived classes
2021-12-14Defer the call to 'popup_str' to the next cycle to let Godot Engine's editor ↵Xavier Sellier
time to properly start
2021-12-11Update MultiplayerPeerExtension class registration to non-virtualMorganKF
Fix formatting
2021-12-10Added check to get_all_locales to avoid adding duplicate locales to arrayraphaelazev
2021-12-10Improve Directory content navigationTomasz Chabora
2021-12-10Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@348cfa347f21825e922493e3d15ed1bb3836e6c4.
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-07Merge pull request #35901 from nathanfranke/pool-byte-array-subarray-exclusiveRémi Verschelde
2021-12-06Merge pull request #55603 from Calinou/add-os-crash-methodFabio Alessandrelli
Add an `OS.crash()` method for testing system crash handler
2021-12-06Merge pull request #55661 from KoBeWi/joys_of_connectionRémi Verschelde
2021-12-06Merge pull request #34005 from aaronfranke/minmaxRémi Verschelde
2021-12-06Merge pull request #47257 from timothyqiu/http-client-proxyRémi Verschelde
2021-12-06Unexpose joy_connection_changed methodkobewi
2021-12-03Add an `OS.crash()` method for testing system crash handlerHugo Locurcio
This makes it possible to test the system's crash handler without having to modify engine code or exploit an engine bug.
2021-12-03Make overridden properties link to parent definitionYuri Sizov
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-03Merge pull request #55520 from pycbouh/docs-sort-group-newline-theme-and-enumsRémi Verschelde
2021-12-03Merge pull request #55470 from groud/move_godot_object_init_to_extensionRémi Verschelde
2021-12-02Expose max_axis_index and max_axis_index for Vector2(i)Aaron Franke
Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints).
2021-12-02Merge pull request #55474 from akien-mga/copy-operators-no-referenceRémi Verschelde
2021-12-02Merge pull request #37626 from aaronfranke/rect2-warningsMax Hilbrunner
Print warnings when using a Rect2 or AABB with a negative size
2021-12-02Merge pull request #47294 from sebastian-heinz/patch-1Rémi Verschelde
2021-12-02Merge pull request #38604 from Calinou/astar-rename-get-point-idsRémi Verschelde
2021-12-02allow variant construction in expressionssebastian-heinz
2021-12-01Rename Vector parameters to be consistentRaul Santos
Renames parameters that were named differently across different scripting languages or their documentation to use the same name everywhere.
2021-12-01Sort and group theme properties in docs, improve formatting for theme and enumsYuri Sizov
2021-11-30Warn when using an AABB or Rect2 with a negative sizeAaron Franke
2021-11-30Rename `AStar.get_points()` to `AStar.get_point_ids()` for clarityHugo Locurcio
The same has been done for AStar2D as well.
2021-11-30Change gdnative interface so that Godot object initialization should be ↵Gilles Roudière
triggered from the extension side
2021-11-30Don't return reference on copy assignment operatorsRémi Verschelde
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).
2021-11-29Enable sorting of operator methods in class documentation.Marcel Admiraal
2021-11-26PackedByteArray, Array slice end exclusive, rename subarray to sliceNathan Franke
2021-11-26Fix wrong comparison with default valuesRicardo Subtil
2021-11-26Fix console colors on WindowsYuri Roubinsky
2021-11-25Don't show errors when getting nonexistent settingsAaron Franke
2021-11-25Move logic for saving project features to ProjectSettings save_customAaron Franke
2021-11-24Project feature warning systemAaron Franke
2021-11-24Merge pull request #52456 from kleonc/image-fill-rectRémi Verschelde
2021-11-24Adds proxy support for HTTPClientHaoyu Qiu
Also fixed a potential infinite loop when connecting to server.
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-23Image Use memcpy() in fill(), fill_rect(), _put_pixelb(), _get_pixelb()kleonc
Co-authored-by: Lightning_A <aaronjrecord@gmail.com>
2021-11-23Add Image::fill_rect methodkleonc
2021-11-23Add Input.is_physical_key_pressed method.bruvzg
2021-11-23Merge pull request #55223 from bruvzg/gde_dict_indexRémi Verschelde
2021-11-22Ignore override.cfg when in editorkobewi
2021-11-22[GDExtension] Implement missing Dictionary index operators.bruvzg
Co-authored-by: Bastiaan Olij <mux213@gmail.com>