reduz
127458ed17
Reorganized core/ directory, it was too fatty already
...
-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
2020-11-07 20:17:12 -03:00
Juan Linietsky
30b6db99a9
Merge pull request #43371 from reduz/variant-setget-refactor
...
Refactored Variant setters/getters
2020-11-07 16:34:54 -03:00
reduz
05de7ce6ca
Refactored variant setters/getters
...
-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-07 15:16:15 -03:00
Rémi Verschelde
709964849f
Merge pull request #42896 from Calinou/httprequest-increase-chunk-size
...
Increase the default HTTPClient download chunk size to 64 KiB
2020-11-07 16:38:28 +01:00
Rémi Verschelde
329d2c1ced
Merge pull request #42947 from Calinou/image-load-bmp-from-buffer
...
Add `Image.load_bmp_from_buffer()` for run-time BMP image loading
2020-11-07 16:38:09 +01:00
Hugo Locurcio
13357095ee
Increase the default HTTPClient download chunk size to 64 KiB
...
This improves download speeds at the cost of increased memory usage.
This change also effects HTTPRequest automatically.
See #32807 and #33862 .
2020-11-07 16:11:04 +01:00
Rémi Verschelde
df6fa6c306
Merge pull request #43373 from Chaosus/mono_array_shuffle
...
[Mono] Added Shuffle method to Array
2020-11-07 11:12:07 +01:00
Yuri Roubinsky
156e4043b4
[Mono] Added Shuffle method to Array
2020-11-07 11:26:54 +03:00
Rémi Verschelde
dfed88b11f
Merge pull request #43361 from Calinou/fix-rd-uniform-typo
...
Fix "unifom" typo in RasterizerStorageRD method
2020-11-06 19:38:47 +01:00
Juan Linietsky
207f8c08b3
Merge pull request #43323 from reduz/variant-bind-rework2
...
Refactored Variant Operators.
2020-11-06 14:24:38 -03:00
Hugo Locurcio
7b8fd6ba9e
Fix "unifom" typo in RasterizerStorageRD method
2020-11-06 18:12:00 +01:00
reduz
f2397809a8
Refactored Variant Operators.
...
-Using classes to call and a table
-For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
2020-11-06 12:45:50 -03:00
Rémi Verschelde
391d29f558
Merge pull request #40718 from Chaosus/rand_range
...
Exposed randi_range to global funcs + renamed rand_range to randf_range
2020-11-06 16:27:56 +01:00
Rémi Verschelde
6797ab6719
Merge pull request #43358 from Faless/js/4.x_audio_latency_fix
...
[HTML5] Fix audio buffer size and latency hint.
2020-11-06 15:58:19 +01:00
Fabio Alessandrelli
b3453e866b
[HTML5] Fix audio buffer size and latency hint.
...
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-06 15:38:47 +01:00
Yuri Roubinsky
38fb26794b
Exposed randi_range to global funcs + renamed rand_range to randf_range
2020-11-06 17:06:26 +03:00
Rémi Verschelde
a9bc440311
Merge pull request #41746 from Calinou/doc-projectsettings-fullscreen-borderless
...
Improve the documentation related to fullscreen and borderless settings
2020-11-06 14:34:22 +01:00
Rémi Verschelde
aba611b6fc
Merge pull request #42870 from Calinou/doc-httprequest-tls-version
...
Document the supported TLS versions in HTTPRequest
2020-11-06 14:32:45 +01:00
Rémi Verschelde
df2abc55be
Merge pull request #43353 from madmiraal/fix-43352
...
Use LONG instead of DWORD (unsigned int) when interacting with DIJOFS constants
2020-11-06 12:46:36 +01:00
unknown
4a6e53b3c9
Use LONG instead of DWORD (unsigned int) when interacting with DIJOFS constants.
2020-11-06 10:17:28 +00:00
Rémi Verschelde
1abe52e611
Merge pull request #43051 from Ev1lbl0w/bugfix-path-inconsistency
...
Changed path behaviour for Windows
2020-11-06 10:18:21 +01:00
Rémi Verschelde
52c1b5fc41
Merge pull request #43283 from Calinou/color-remove-contrasted
...
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-06 10:17:12 +01:00
Rémi Verschelde
d79e57882b
Merge pull request #43337 from Xrayez/math-unused-phi-define
...
Remove unused `PHI` define in math funcs
2020-11-06 10:15:22 +01:00
Rémi Verschelde
1e5a782ce8
Merge pull request #43348 from bruvzg/ios_sim_fix
...
[iOS] Add missing ARC flag to the simulator build.
2020-11-06 10:14:30 +01:00
Rémi Verschelde
65eb05384a
Merge pull request #43347 from bruvzg/ubsan_uninit3
...
Fix uninitialised variables in the BaseMaterial3D.
2020-11-06 10:10:20 +01:00
bruvzg
061f65e410
Fix uninitialised variables in the BaseMaterial3D.
2020-11-06 10:17:11 +02:00
Andrii Doroshenko (Xrayez)
34ca426851
Remove unused `PHI` define in math funcs
2020-11-05 18:05:58 +02:00
Rémi Verschelde
494bf38c76
Merge pull request #43318 from akien-mga/doc-rng-seed
...
doc: Override default value for RandomNumberGenerator.seed
2020-11-05 08:47:37 +01:00
Rémi Verschelde
c35517f07e
Merge pull request #42724 from theoway/error_message_fix_call_recursive
...
Fixes the misleading message when a non-existing function name is passed to TreeItem.call_recursive()
2020-11-05 00:46:28 +01:00
Rémi Verschelde
35e6070a35
doc: Override default value for RandomNumberGenerator.seed
...
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-05 00:41:24 +01:00
Rémi Verschelde
8e13b93bf7
Merge pull request #43310 from akien-mga/doc-classref-sync
...
doc: Sync classref with current source
2020-11-04 16:20:48 +01:00
Rémi Verschelde
424cd00f8b
doc: Sync classref with current source + fixup some bindings
...
Includes various changes triggered by the refactoring of method bindings.
2020-11-04 15:38:26 +01:00
Rémi Verschelde
89f605c717
Merge pull request #43297 from reduz/directional-light-2d
...
Implement DirectionalLight2D
2020-11-04 14:51:47 +01:00
reduz
f123981a96
Implement DirectionalLight2D
...
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-04 10:03:01 -03:00
Rémi Verschelde
3ec10bb07c
Merge pull request #43307 from aaronfranke/update-grid
...
Move call to update the 3D grid into check for updating the view
2020-11-04 10:49:23 +01:00
Aaron Franke
a4f963f2c9
Move call to update the 3D grid into check for updating the view
2020-11-04 04:03:28 -05:00
Rémi Verschelde
cc8503430d
Merge pull request #43301 from rcorre/tab-doc-typo
...
Fix typo in Tabs doc.
2020-11-04 07:19:08 +01:00
Ryan Roden-Corrent
3826f3348f
Fix typo in Tabs doc.
...
I don't know enough about grammar to say why the "ing" suffix is
correct, but I'm reasonably sure it is :)
2020-11-03 18:26:48 -05:00
Rémi Verschelde
afef8e30ea
Merge pull request #39635 from Meriipu/master_nodrop
...
do not drop mouseover on WM_MOUSE_EXIT
2020-11-03 20:28:11 +01:00
Rémi Verschelde
0fc84b7c63
Merge pull request #43280 from akien-mga/custom-tooltips-cleanup
...
Tooltips: Improve code clarity and docs
2020-11-03 13:09:10 +01:00
Rémi Verschelde
bd13e82080
Merge pull request #41516 from Lunatoid/allow-object-new
...
Fixed ParseError when calling Object.new()
2020-11-03 13:08:48 +01:00
Hugo Locurcio
7adb6b91b3
Remove `Color.contrasted()` as its behavior is barely useful
...
Returning the most contrasting color isn't a trivial task, as there
are often many possible choices. It's usually best left for the user
to implement using a script.
2020-11-03 04:46:08 -05:00
Rémi Verschelde
c5d8dafec4
Tooltips: Improve code clarity and docs
...
The return type for `_make_custom_tooltip` is clarified as Control, and users
should make sure to return a visible node for proper size calculations.
Moreover in the current master branch, a PopupPanel will be added as parent
to the provided tooltip to make it a sub-window.
Clarifies documentation for `Control._make_custom_tooltip`, and shows how to
use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types
to style tooltips.
Fixes #39677 .
2020-11-03 09:19:03 +01:00
Rémi Verschelde
873d461785
Merge pull request #40364 from marstaik/alpha2coverage_up
...
Alpha Hash and Alpha2Coverage Implementation
2020-11-03 07:50:49 +01:00
Marios Staikopoulos
e5d7c7d5fc
Alpha Hash and Alpha2Coverage Implementation
2020-11-02 20:11:20 -08:00
Rémi Verschelde
be14d9d644
Merge pull request #42979 from Mallos/fix/tilemap-floodfill
...
fix(editor): TileMap floodfill with same tile ID and different variation
2020-11-02 17:05:43 +01:00
Rémi Verschelde
e8794b24bd
Merge pull request #43260 from HaSa1002/mainloop-remove-deprecated-methods
...
MainLoop: Remove deprecated methods
2020-11-02 14:26:49 +01:00
Rémi Verschelde
0b910cd8b7
Merge pull request #43267 from Calinou/doc-ninepatchrect-tile-stretch-mode
...
Correct documentation about NinePatchRect stretch modes
2020-11-01 19:43:08 +01:00
Hugo Locurcio
82bfb6273b
Correct documentation about NinePatchRect stretch modes
...
This closes https://github.com/godotengine/godot-docs/issues/4333 .
2020-11-01 18:41:10 +01:00
Rémi Verschelde
223e361c4e
Merge pull request #42703 from RandomShaper/fix_anim_backwards
...
Fix premature end of animation playing backwards
2020-11-01 15:47:39 +01:00