summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-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>
2021-11-21Fix crash when executing PackedDataContainer._iter_initHaoyu Qiu
2021-11-20Merge pull request #54932 from briansemrau/expose-main-thread-idRémi Verschelde
2021-11-19[HTML5] Add WebGL2 (GLES3) support using the OpenGL renderer.Fabio Alessandrelli
Note, the editor build requires the mbedtls module to be manually enabled, as it is currently needed as a ResourceUID dependency. This will need to be addressed in a separate PR.
2021-11-19Merge pull request #54499 from Faless/threads/4.x_work_pool_defaultRémi Verschelde
2021-11-17Fix divide by zero in pck_packerPaulb23
2021-11-17Merge pull request #55042 from nekomatata/fix-segment-intersectionRémi Verschelde
2021-11-17Merge pull request #49793 from Chaosus/expose_randfnRémi Verschelde
2021-11-17Expose `randfn` to global scopeYuri Roubinsky
2021-11-17Fix the exceptions in signal disconnectionXwdit
Use the correct method to get SignalData to fix exceptions in signal disconnection
2021-11-16Fix segment intersection in Geometry2DPouleyKetchoupp
Doing a multiplication to reduce the amount of tests was causing precision which lead to 2D raycast detecting false positive contacts in some cases with convex polygons.
2021-11-17Fix array access in gdextensionsBastiaan Olij
2021-11-16Rename built-in `SGN()` macro to `SIGN()`Hugo Locurcio
This matches the name of the GDScript function (except it's uppercase here).
2021-11-15Allow dehardcoding documentation branch and URL in docs linksRémi Verschelde
This makes it possible to change the branch of the documentation that URLs are pointing to without having to modify all class reference files. In the XML class reference, the `$DOCS_URL` placeholder should be used, and will be replaced automatically in the editor and when generating the RST class reference. The documentation branch string is set in `version.py`. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-11-15Merge pull request #43072 from KoBeWi/point_to_angleRémi Verschelde
2021-11-15Merge pull request #54976 from reduz/importer-options-by-pathRémi Verschelde
2021-11-14Merge pull request #53710 from ↵Hugo Locurcio
CaptainProton42/fix-extension-class-inspector-properties
2021-11-14Add path to functions that return iporter optionsreduz
-Allows displaying custom options for specific file format variants -Added support for scene format import to retrieve custom options This PR is necessary for #54886 to be implemented properly.
2021-11-12Expose Thread::get_main_id in core bindingsBrian Semrau
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-11Merge pull request #54869 from akien-mga/string-remove-eraseRémi Verschelde
2021-11-11Color: Bind `from_hsv` as static methodRémi Verschelde
2021-11-11String: Remove `erase` method, bindings can't mutate StringRémi Verschelde
2021-11-11Add missing characters for property name quotingHaoyu Qiu
2021-11-09Merge pull request #53819 from TokageItLab/re-implement-ping-pongRémi Verschelde
Reimplement ping-pong animation and reverse playback
2021-11-09Fix Vector2.angle_to_point() being reversedTomasz Chabora
2021-11-08Fix incorrect encoding (Latin-1 instead of UTF-8) used in `_error_handler` ↵bruvzg
functions.
2021-11-08Merge pull request #54486 from ibrahn/thread-work-pool-lazierRémi Verschelde
2021-11-08Merge pull request #54186 from miraz12/fix-packedByteArray-memcpy-crashRémi Verschelde
2021-11-05Rename AABB `get_area` to `get_volume`Brian Semrau
2021-11-04Fix Quaternion multiplication operatorAaron Franke
2021-11-04Add is_built_in() method to Resourcekobewi
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@322aac4bb71d8c62ec7dcd4eb627a9d338b37684. Also improve parser errors to allow identifying the problematic mappings.
2021-11-03reimplement ping-pongSilc 'Tokage' Renew
2021-11-02Merge pull request #54453 from KoBeWi/slice_of_stringRémi Verschelde
2021-11-02Expose String.get_slicekobewi
2021-11-02[OS] Add ThreadWorkPool default size to OS.Fabio Alessandrelli
Some platforms (*cough* web *cough*) have hard limits on the number of threads that can be spawned. Currently, ThreadPoolWork (mostly used in rendering/physics servers) will spawn as many threads as CPUs available causing exception on machines with high CPU count. This commit adds a new overridable method to OS that returns the default thread pool size (still the CPU count by default), and overrides it for the JavaScript platform so it always allocate only one thread. We can likely improve the whole ThreadPoolWork in the future to always allocate X amount of threads, and assign jobs to them on the fly, but that will require some more architectural changes.