Aaron Franke
c89af1d433
Add LStrip and RStrip to C# strings
2020-11-09 03:24:46 -05:00
Rémi Verschelde
593e35346a
Merge pull request #42841 from HaSa1002/docs-lang-3
...
Port code examples to C# (D and E)
2020-11-09 08:29:44 +01:00
Tomasz Chabora
9f23a94b8a
Add append_array() method to Array class
2020-11-08 21:09:45 +01:00
Hugo Locurcio
5b40f9fddc
Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
...
This closes #43396 .
2020-11-08 19:44:52 +01:00
Rémi Verschelde
4206dc6ac9
Merge pull request #43380 from YeldhamDev/light2d_icons
...
Add icons for the new Light2D nodes
2020-11-08 14:58:47 +01:00
Rémi Verschelde
90edd839d5
Merge pull request #43385 from reduz/reorganize-core
...
Reorganize and clean up core/ directory
2020-11-08 10:41:17 +01:00
Eric M
c482e8ec85
Added hysteresis for popup sub-menus
...
This adds a small lag effect when opening submenus which allow the user to move directly to an item on the submenu without worrying about avoiding the autohide regions.
2020-11-08 13:28:23 +10:00
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
George Marques
82576371ef
GDNative: Define special char types in string.h
...
Those are standard types in C++ but not in C.
This also removes the wchar header which is not needed anymore and use
stddef.h instead (which is needed for size_t).
2020-11-07 16:09:14 -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
Michael Alexsander
a38b4fd8f2
Add icons for the new Light2D nodes
2020-11-07 13:55:09 -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
Hugo Locurcio
0f9432f060
Allow using SVG images as project icon
...
Since exporters will save their own icon, the target platforms
don't have to support SVG to display the icon correctly.
This closes #23068 .
2020-11-06 23:09:44 +01: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
Tomasz Chabora
5d8b60ac3d
Add docs for editor viewport drawing methods
2020-11-06 16:42:40 +01: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
Michael Alexsander
d7f2c31a05
Disallow setting the AudioServer's 'global_rate_scale' to a value equal or inferior to 0
2020-11-05 08:44:53 -03: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
Michael Alexsander
04ebe4e7a4
Fix WAV resources ignoring the AudioServer's 'global_rate_scale' value
2020-11-04 17:03:54 -03: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