summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-09Clarify that code in `assert()` should avoid side effectsHugo Locurcio
2020-11-09Merge pull request #40106 from Calinou/improve-3d-selection-boxRémi Verschelde
Improve the 3D editor selection box appearance
2020-11-09Merge pull request #43412 from akien-mga/variant-rename-_RID-to-RIDRémi Verschelde
Variant: Rename Type::_RID to Type::RID
2020-11-09Merge pull request #41407 from Calinou/scons-debug-symbols-replace-yes-with-fullRémi Verschelde
Remove `debug_symbols=full` in favor of `debug_symbols=yes`
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
2020-11-09Merge pull request #43413 from akien-mga/ci-warnings-extraRémi Verschelde
CI: Build with warnings=extra to catch 'em all
2020-11-09Improve the 3D editor selection box appearanceHugo Locurcio
- Draw two boxes slightly offset from each other to give the illustion of a thicker outline. - Decrease the offset compared to the 3D node's AABB to give a more accurate representation of its size. - Make the box fully visible instead of only displaying the corners. - Draw a x-ray version of the box that's more translucent, but visible through walls. This helps make the box more visible while still having a sense of depth. - Use an orange color similar to the 2D editor.
2020-11-09Remove `debug_symbols=full` in favor of `debug_symbols=yes`Hugo Locurcio
`debug_symbols=yes` will now behave like `debug_symbols=full` did before. The difference in compressed file sizes is not that large, which means there isn't much point in having two different values. This helps make the buildsystem easier to understand.
2020-11-09CI: Build with warnings=extra to catch 'em allRémi Verschelde
... on all platforms but MSVC, as it still has a number of unsolved warnings in its `/Wall` level. Some of it might be valid, others might be overkill, this needs further assessment and fixes. (We could also change the `extra` level to `/W4` on MSVC if that's more meaningful.)
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