summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-09Merge pull request #43404 from akien-mga/color-fix-clamp-uint32_t-warningRémi Verschelde
Color: Fix -Wtype-limits GCC warning after refactoring
2020-11-09Merge pull request #43403 from reduz/variant-constructor-refactorRémi Verschelde
Refactored variant constructor logic
2020-11-09Merge pull request #43409 from bruvzg/sync_open_simplex_noiseRémi Verschelde
Update "open-simplex-noise-in-c" to fix undefined signed overflow
2020-11-09Color: Fix -Wtype-limits GCC warning after refactoringRémi Verschelde
Warning from GCC 10.2.0 with `warnings=extra`: ``` ./core/math/color.h: In member function 'int32_t Color::get_r8() const': ./core/typedefs.h:107:42: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits] 107 | #define CLAMP(m_a, m_min, m_max) (((m_a) < (m_min)) ? (m_min) : (((m_a) > (m_max)) ? m_max : m_a)) | ~~~~~~^~~~~~~~~ ./core/math/color.h:201:49: note: in expansion of macro 'CLAMP' 201 | _FORCE_INLINE_ int32_t get_r8() const { return CLAMP(uint32_t(r * 255.0), 0, 255); } | ^~~~~ ``` Also some code consistency changes while at it.
2020-11-09Update "open-simplex-noise-in-c" to fix undefined signed overflow.bruvzg
2020-11-09Refactored variant constructor logicreduz
2020-11-09Merge pull request #42841 from HaSa1002/docs-lang-3Rémi Verschelde
Port code examples to C# (D and E)
2020-11-08Merge pull request #43380 from YeldhamDev/light2d_iconsRémi Verschelde
Add icons for the new Light2D nodes
2020-11-08Merge pull request #43385 from reduz/reorganize-coreRémi Verschelde
Reorganize and clean up core/ directory
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-07Merge pull request #43371 from reduz/variant-setget-refactorJuan Linietsky
Refactored Variant setters/getters
2020-11-07Refactored variant setters/gettersreduz
-Discern between named, indexed and keyed -Get direct access to functions for typed GDScript and GDNative bindings -Small changes to some classes in order to work with the new setget binder
2020-11-07Add icons for the new Light2D nodesMichael Alexsander
2020-11-07Merge pull request #42896 from Calinou/httprequest-increase-chunk-sizeRémi Verschelde
Increase the default HTTPClient download chunk size to 64 KiB
2020-11-07Merge pull request #42947 from Calinou/image-load-bmp-from-bufferRémi Verschelde
Add `Image.load_bmp_from_buffer()` for run-time BMP image loading
2020-11-07Increase the default HTTPClient download chunk size to 64 KiBHugo Locurcio
This improves download speeds at the cost of increased memory usage. This change also effects HTTPRequest automatically. See #32807 and #33862.
2020-11-07Merge pull request #43373 from Chaosus/mono_array_shuffleRémi Verschelde
[Mono] Added Shuffle method to Array
2020-11-07[Mono] Added Shuffle method to ArrayYuri Roubinsky
2020-11-06Merge pull request #43361 from Calinou/fix-rd-uniform-typoRémi Verschelde
Fix "unifom" typo in RasterizerStorageRD method
2020-11-06Merge pull request #43323 from reduz/variant-bind-rework2Juan Linietsky
Refactored Variant Operators.
2020-11-06Fix "unifom" typo in RasterizerStorageRD methodHugo Locurcio
2020-11-06Refactored Variant Operators.reduz
-Using classes to call and a table -For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
2020-11-06Merge pull request #40718 from Chaosus/rand_rangeRémi Verschelde
Exposed randi_range to global funcs + renamed rand_range to randf_range
2020-11-06Merge pull request #43358 from Faless/js/4.x_audio_latency_fixRémi Verschelde
[HTML5] Fix audio buffer size and latency hint.
2020-11-06[HTML5] Fix audio buffer size and latency hint.Fabio Alessandrelli
The size of the audio buffer was incorrectly doubled when creating the script processor. latencyHint is expressed in seconds, not milliseconds. Additionally, on some browsers it actually affect the performance and stability of the audio driver. For this reason it has been completely disabled (interactive) and a not has been left for future reference.
2020-11-06Exposed randi_range to global funcs + renamed rand_range to randf_rangeYuri Roubinsky
2020-11-06Merge pull request #41746 from Calinou/doc-projectsettings-fullscreen-borderlessRémi Verschelde
Improve the documentation related to fullscreen and borderless settings
2020-11-06Merge pull request #42870 from Calinou/doc-httprequest-tls-versionRémi Verschelde
Document the supported TLS versions in HTTPRequest
2020-11-06Merge pull request #43353 from madmiraal/fix-43352Rémi Verschelde
Use LONG instead of DWORD (unsigned int) when interacting with DIJOFS constants
2020-11-06Use LONG instead of DWORD (unsigned int) when interacting with DIJOFS constants.unknown
2020-11-06Merge pull request #43051 from Ev1lbl0w/bugfix-path-inconsistencyRémi Verschelde
Changed path behaviour for Windows
2020-11-06Merge pull request #43283 from Calinou/color-remove-contrastedRémi Verschelde
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-06Merge pull request #43337 from Xrayez/math-unused-phi-defineRémi Verschelde
Remove unused `PHI` define in math funcs
2020-11-06Merge pull request #43348 from bruvzg/ios_sim_fixRémi Verschelde
[iOS] Add missing ARC flag to the simulator build.
2020-11-06Merge pull request #43347 from bruvzg/ubsan_uninit3Rémi Verschelde
Fix uninitialised variables in the BaseMaterial3D.
2020-11-06Fix uninitialised variables in the BaseMaterial3D.bruvzg
2020-11-05Remove unused `PHI` define in math funcsAndrii Doroshenko (Xrayez)
2020-11-05Merge pull request #43318 from akien-mga/doc-rng-seedRémi Verschelde
doc: Override default value for RandomNumberGenerator.seed
2020-11-05Merge pull request #42724 from theoway/error_message_fix_call_recursiveRémi Verschelde
Fixes the misleading message when a non-existing function name is passed to TreeItem.call_recursive()
2020-11-05doc: Override default value for RandomNumberGenerator.seedRémi Verschelde
It's non-deterministic so it's better to show a fixed value like 0 instead of having it potentially change whenever `randomize()` is called. Fixes #43317.
2020-11-04Merge pull request #43310 from akien-mga/doc-classref-syncRémi Verschelde
doc: Sync classref with current source
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-11-04Merge pull request #43297 from reduz/directional-light-2dRémi Verschelde
Implement DirectionalLight2D
2020-11-04Implement DirectionalLight2Dreduz
Also separated Light2D in PointLight2D and DirectionalLight2D. Used PointLight2D because its more of a point, and it does not work the same as OmniLight (as shape depends on texture). Added a few utility methods to Rect2D I needed.
2020-11-04Merge pull request #43307 from aaronfranke/update-gridRémi Verschelde
Move call to update the 3D grid into check for updating the view
2020-11-04Move call to update the 3D grid into check for updating the viewAaron Franke
2020-11-04Merge pull request #43301 from rcorre/tab-doc-typoRémi Verschelde
Fix typo in Tabs doc.
2020-11-03Fix typo in Tabs doc.Ryan Roden-Corrent
I don't know enough about grammar to say why the "ing" suffix is correct, but I'm reasonably sure it is :)
2020-11-03Merge pull request #39635 from Meriipu/master_nodropRémi Verschelde
do not drop mouseover on WM_MOUSE_EXIT
2020-11-03Merge pull request #43280 from akien-mga/custom-tooltips-cleanupRémi Verschelde
Tooltips: Improve code clarity and docs