summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Make String::ends_with don't use String::rfindkleonc2021-02-091-13/+20
|
* Sync controller mappings DB with SDL2 community repoRémi Verschelde2021-02-081-11/+12
| | | | | | Synced with gabomdq/SDL_GameControllerDB@f72b68b8b090e689ed21f600e89db9a661edb696. Partial revert of #45790.
* Merge pull request #45797 from madmiraal/add-new-sdl-keywordsRémi Verschelde2021-02-084-1/+25
|\ | | | | Add support for new SDL gamecontroller keywords.
| * Add support for new SDL gamecontroller keywords.Marcel Admiraal2021-02-074-1/+25
| |
* | Fix issues in last GameControllerDB syncRémi Verschelde2021-02-071-6/+6
| | | | | | | | | | We don't support 'misc1' as an output string yet (seems used for PS5 controller). Yet another broken CSV line with 'CO.,LTD'.
* | Merge pull request #45756 from Faless/js/4.x_gamepads_dbRémi Verschelde2021-02-061-0/+6
|\ \ | | | | | | Add some HTML5 controllers mapping.
| * | Add some HTML5 controllers mapping.Fabio Alessandrelli2021-02-061-0/+6
| |/
* / Sync controller mappings DB with SDL2 community repoRémi Verschelde2021-02-061-24/+79
|/ | | | Synced with gabomdq/SDL_GameControllerDB@c7cf1397c1e07182de936e72fa1bc5cc22ab8cc1.
* Change sort_custom/bsearch_custom to use Callableskobewi2021-02-043-18/+15
|
* Merge pull request #45658 from RandomShaper/fix_frozen_peakRémi Verschelde2021-02-031-0/+3
|\ | | | | Make audio bus channels' peak volume consistent
| * Make audio bus channels' peak volume consistentPedro J. Estébanez2021-02-021-0/+3
| | | | | | | | Channels that are inactive -or when playback has not started yet- will report -200 dB as their peak value (which is also the lowest value possible during playback).
* | Replace ColorN and from HTML with a string constructorAaron Franke2021-02-014-1/+18
| |
* | Merge pull request #37547 from aaronfranke/tauRémi Verschelde2021-02-013-12/+15
|\ \ | | | | | | Use Math_TAU and deg2rad/etc in more places and optimize code
| * | Use Math_TAU and deg2rad/rad2deg in more places and optimize codeAaron Franke2021-01-093-12/+15
| | |
* | | Merge pull request #45315 from RandomShaper/modernize_threadRémi Verschelde2021-01-3115-203/+161
|\ \ \ | | | | | | | | Modernize Thread
| * | | Modernize ThreadPedro J. Estébanez2021-01-2915-203/+161
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | - Based on C++11's `thread` and `thread_local` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed (except for the few cases of non-portable functions) - Simpler for `NO_THREADS` - Thread ids are now the same across platforms (main is 1; others follow)
* | | Unify URI encoding/decoding and add to C#Aaron Franke2021-01-284-71/+11
| | | | | | | | | | | | http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
* | | Make hex_to_int and bin_to_int handle the prefix automaticallyAaron Franke2021-01-283-17/+13
| | | | | | | | | Also add BinToInt to C#
* | | Merge pull request #45489 from aaronfranke/coreRémi Verschelde2021-01-276-46/+40
|\ \ \ | | | | | | | | Type consistencies in core
| * | | Type consistencies in coreAaron Franke2021-01-266-46/+40
| | | |
* | | | Renamed String.ord_at to unicode_atYuri Roubinsky2021-01-263-8/+8
|/ / /
* | | Merge pull request #45373 from aaronfranke/gdnative-sizeofGeorge Marques2021-01-262-21/+21
|\ \ \ | | | | | | | | Define GDNative sizes using sizeof(godot_real) and sizeof(int32_t)
| * | | Define GDNative sizes using sizeof(godot_real_t) and sizeof(int32_t)Aaron Franke2021-01-252-21/+21
| |/ /
* | | Merge pull request #44732 from Calinou/os-add-get-thread-caller-idRémi Verschelde2021-01-262-0/+6
|\ \ \ | | | | | | | | Add an `OS.get_thread_caller_id()` method
| * | | Add an `OS.get_thread_caller_id()` methodHugo Locurcio2020-12-272-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #45309 from VedatGunel/fix-string-ends-withRémi Verschelde2021-01-261-1/+6
|\ \ \ \ | | | | | | | | | | Fix String.ends_with() for empty string arguments
| * | | | Fix String.ends_with() for empty string argumentsVedat Günel2021-01-191-1/+6
| | | | |
* | | | | Remove Quat set methods in favour of constructorsMarcel Admiraal2021-01-263-82/+48
| |_|/ / |/| | |
* | | | Merge pull request #45314 from RandomShaper/modernize_rwlockRémi Verschelde2021-01-2210-192/+102
|\ \ \ \ | | | | | | | | | | Modernize RWLock
| * | | | Modernize RWLockPedro J. Estébanez2021-01-1910-192/+102
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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`
* | | | Merge pull request #45023 from reduz/optimize-shader-vgpr1Rémi Verschelde2021-01-202-0/+10
|\ \ \ \ | | | | | | | | | | Shader optimizations to reduce VGPR usage and increase occupancy
| * | | | Added GPU based cluster builderreduz2021-01-192-0/+10
| |/ / / | | | | | | | | | | | | Clustering is now GPU based, uses an implementation based on the Activision algorithm.
* / / / Remove useless "else" statements from vector3.hPouleyKetchoupp2021-01-191-16/+8
|/ / /
* | | [HTML5] Custom Gamepad library to allow remapping.Fabio Alessandrelli2021-01-181-7/+14
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Better gamepad axis event injection.Fabio Alessandrelli2021-01-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #45161 from Xrayez/bind-emit-changedRémi Verschelde2021-01-141-0/+1
|\ \ \ | | | | | | | | Expose `Resource.emit_changed()` to script
| * | | Expose `Resource.emit_changed()` to scriptAndrii Doroshenko (Xrayez)2021-01-131-0/+1
| | | | | | | | | | | | | | | | Also known as `emit_signal("changed")`.
* | | | Merge pull request #45136 from akien-mga/clang-format-11Rémi Verschelde2021-01-131-2/+2
|\ \ \ \ | |/ / / |/| | | CI: Update to clang-format 11 and apply ternary operator changes
| * | | CI: Update to clang-format 11 and apply ternary operator changesRémi Verschelde2021-01-121-2/+2
| | | |
* | | | Merge pull request #45125 from aaronfranke/poly-libRémi Verschelde2021-01-123-9/+9
|\ \ \ \ | |/ / / |/| | | Update PolyPartition / Triangulator library
| * | | Update PolyPartition / Triangulator libraryAaron Franke2021-01-123-9/+9
| | | |
* | | | Merge pull request #44514 from madmiraal/split-os-executeRémi Verschelde2021-01-123-14/+24
|\ \ \ \ | | | | | | | | | | Split OS::execute into two methods
| * | | | Split OS::execute into two methodsMarcel Admiraal2021-01-093-14/+24
| | |_|/ | |/| | | | | | | | | | | | | | 1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
* | | | Improve UndoRedo classGilles Roudière2021-01-122-17/+52
| |/ / |/| |
* | | Merge pull request #42270 from AndreaCatania/AndreaCatania-patch-4Rémi Verschelde2021-01-111-0/+14
|\ \ \ | | | | | | | | Added the function `remove_unordered` to the LocalVector container.
| * | | Add function `LocalVector::remove_unordered`AndreaCatania2021-01-111-0/+14
| |/ / | | | | | | | | | Added LocalVector unit tests.
* | | Merge pull request #44427 from briansemrau/fix-variant-bitand-validated-evalRémi Verschelde2021-01-111-0/+1
|\ \ \ | |/ / |/| | Fix bitwise-and eval not updating return type
| * | Fix bitwise-and eval not updating return typeBrian Semrau2020-12-161-0/+1
| | |
* | | Merge pull request #35505 from dalexeev/rtl_colorsRémi Verschelde2021-01-083-5/+33
|\ \ \ | | | | | | | | Unified named colors in RichTextLabel
| * | | Unified named colors in RichTextLabelDanil Alexeev2020-11-173-5/+33
| | | | | | | | | | | | | | | | | | | | Now the BB tag `[color]` uses the color names from the `Color` class. Also, the use of the `#` symbol in an HTML color code has become optional.