Rémi Verschelde
efb179c307
Merge pull request #58104 from Calinou/doc-audio-device
2022-02-15 12:24:37 +01:00
Will Whitty
ab5eaf0ad9
Fix new performance regressions (short delay_usec)
...
My Mac was using 20% cpu again, which was related to the Javascript
Export plugin.
I had however no export templates setup in the project so this is more
of a stopgap fix.
2022-02-15 14:05:19 +03:00
Fabio Alessandrelli
fdeed6ea06
Merge pull request #58111 from maksloboda/decoding-master-fix
...
Fixed variant decoding Segmentation Fault
2022-02-15 11:05:34 +01:00
Rémi Verschelde
5a6da0b2a9
Merge pull request #57905 from V-Sekai/fix_instance_clear_warnings
...
Free surface vertex_buffers after vertex_arrays to silence warnings
2022-02-15 08:32:32 +01:00
Rémi Verschelde
af91a42b0a
Merge pull request #57904 from V-Sekai/fix_double_free_warning
...
Fixes some 'Attempted to free invalid ID' warnings in mobile renderer
2022-02-15 08:30:44 +01:00
Haoyu Qiu
b4ffaebb87
Fix infinite recursion when seeking Ogg Vorbis file
2022-02-15 15:11:05 +08:00
Rémi Verschelde
c4779196b9
Merge pull request #58125 from fire-forge/editor_property_overlap_fix
...
Fix EditorProperty icon overlapping text with checkbox
2022-02-15 08:09:51 +01:00
Rémi Verschelde
b3507ab0cd
Merge pull request #58100 from Calinou/environment-clamp-sky-contribution
...
Clamp environment light sky contribution to the [0.0; 1.0] range
2022-02-15 07:42:30 +01:00
Hugo Locurcio
b68dd2e189
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-15 00:03:31 +01:00
Rémi Verschelde
d02db6306e
Merge pull request #58105 from trollodel/nuke_p_editor_editor_plugin
2022-02-14 21:10:38 +01:00
Max
6aede992a9
Fixed variant decoding Segmentation Fault
2022-02-14 23:04:05 +03:00
Rémi Verschelde
6208132834
Merge pull request #58103 from timothyqiu/ogg-vorbis
2022-02-14 18:48:55 +01:00
trollodel
cd1d7294d8
Remove the EditorNode parameter from EditorPlugins create methods
...
Remove EditorNode usage from the Navigation editor plugin.
2022-02-14 18:21:42 +01:00
Rémi Verschelde
24d0c61c5a
Merge pull request #58091 from Calinou/code-edit-improve-completion-scroll-bar-visibility
2022-02-14 18:16:01 +01:00
Hugo Locurcio
743b5608e3
Improve documentation for AudioServer device properties and methods
2022-02-14 18:09:57 +01:00
Haoyu Qiu
b5badd12c6
Fix crash and memory leak when importing OGG Vorbis
2022-02-15 00:25:02 +08:00
Hugo Locurcio
c10e97b604
Clamp environment light sky contribution to the [0.0; 1.0] range
...
The value is already clamped in the editor, but it wasn't being
clamped when the value was set via code. Values outside the [0.0; 1.0]
range can result in broken rendering.
2022-02-14 17:15:32 +01:00
Rémi Verschelde
45428e91ba
Merge pull request #58095 from timothyqiu/intersect-point
2022-02-14 17:06:23 +01:00
Hugo Locurcio
15244e55bd
Improve completion scroll bar visibility in the script editor
...
This makes the scroll bar bar thicker and more opaque (roughly
matching the editor theme's scroll bar by default).
2022-02-14 16:49:08 +01:00
Rémi Verschelde
f810f76890
Merge pull request #57306 from trollodel/remove_editornode_param
2022-02-14 16:40:40 +01:00
Rémi Verschelde
cd6301ae25
Merge pull request #58008 from Geometror/increase-checkerboard-contrast
2022-02-14 15:22:50 +01:00
Rémi Verschelde
f3a5df7822
Merge pull request #58090 from pycbouh/editor-missing-check-icons
2022-02-14 15:22:35 +01:00
Rémi Verschelde
89996be091
Merge pull request #57988 from markdibarry/add_get_last_visible_character_line
2022-02-14 15:22:03 +01:00
Haoyu Qiu
66838d88e1
Validate PhysicsDirectSpaceState{2,3}D::_intersect_point input
2022-02-14 22:21:28 +08:00
Rémi Verschelde
af98de8823
Merge pull request #58089 from YeldhamDev/crashy_tabs
2022-02-14 15:21:18 +01:00
Yuri Sizov
7f4b71b682
Add missing CheckButton icons
2022-02-14 16:23:59 +03:00
trollodel
05b56f316d
Remove most EditorNode constructor parameters and fields
2022-02-14 14:16:24 +01:00
Rémi Verschelde
6e73aa0497
Merge pull request #57887 from Faless/crypto/4.x_os_get_entropy
2022-02-14 12:15:10 +01:00
Fabio Alessandrelli
f4a80f9ca7
[OSX] Codesign exporter now uses CryptoCore RNG.
2022-02-14 10:45:50 +01:00
Fabio Alessandrelli
f72bd67068
[ResourceUID] Use CryptoCore::RandomGenerator for IDs.
2022-02-14 10:45:50 +01:00
Fabio Alessandrelli
ee7b67e135
[Crypto] Implement CryptoCore::RandomGenerator.
...
As a cryptographically secure random generator.
Internally it uses mbedTLS CTR-DRBG implementation which gets re-seeded
with entropy from OS::get_entropy when needed.
CryptoCore now additionally depends on `ctr_drbg.c` and `entropy.c`
thirdparty mbedtls files.
2022-02-14 10:45:50 +01:00
Fabio Alessandrelli
6b5634b96a
[OS/Crypto] Add get_entropy to OS.
...
Implemented via `BCryptGenRandom` on Windows.
Implemented via `getentropy` syscall when available.
Implemented via `/dev/urandom` device as a fallback.
The `/dev/urandom` fallback can be disabled via the `NO_URANDOM` build
flag.
Note: The HTML5 version relies on emscripten file system urandom
device which itself uses the Crypto API when available or the plain
old not crypto-safe `Math.random()` otherwise.
Restore get_entropy.
2022-02-14 10:45:50 +01:00
JFonS
8317753c24
Merge pull request #57964 from mbrlabs/deselect
...
Deselect nodes in the 3D editor when pressing ESC
2022-02-14 10:42:46 +01:00
JFonS
58199e5ad0
Merge pull request #57990 from jmb462/fix-drag-lines-precision-issue
...
Fix 3D editor axis drag lines precision issue
2022-02-14 10:39:44 +01:00
Rémi Verschelde
b59c482f10
Merge pull request #58053 from kleonc/navmap-polygons-are-triangle-fans-not-triangle-strips
...
`NavMap` Fix polygons being treated like triangle strips instead of triangle fans
2022-02-14 10:19:34 +01:00
Rémi Verschelde
94f3b2807a
Merge pull request #58079 from timothyqiu/anim-dup-name
...
Make duplicate animation prompt for new name
2022-02-14 09:44:06 +01:00
Rémi Verschelde
09a61cdf53
Merge pull request #57989 from RandomShaper/update_vma
...
Update & patch VMA, and re-implement the small buffers optimization
2022-02-14 09:07:11 +01:00
Rémi Verschelde
618324cd84
Merge pull request #57611 from TechnicalSoup/TechnicalSoup-patch-2
...
Cleanup of preprocessor directives in main.cpp
2022-02-14 08:44:25 +01:00
Rémi Verschelde
f45fedaf96
Merge pull request #57985 from Pineapple/pitchshift-tweaks
...
PitchShift effect quality and performance tweaks for different pitch scale values
2022-02-14 08:27:08 +01:00
Haoyu Qiu
9aaab5b693
Make duplicate animation prompt for new name
2022-02-14 14:48:25 +08:00
TechnicalSoup
899057c710
Cleanup of preprocessor directives in main.cpp
...
Remove redundant set of preprocessor directives and combine duplicate if statements.
2022-02-14 16:20:31 +11:00
Michael Alexsander
2b4d417e99
Fix crash when removing tabs from TabBar
2022-02-14 01:58:17 -03:00
FireForge
dbc380af59
Fix EditorProperty text and icon overlap bugs
2022-02-13 22:27:06 -06:00
Hugo Locurcio
7ca843b655
Only store _edit_use_anchors_
metadata if value is not the default
...
The default value is assumed to be `false`, so this metadata
only needs to be stored if the value is `true`.
2022-02-14 01:26:57 +01:00
kleonc
5422d863e1
NavMap Fix polygons being treated like triangle strips instead of triangle fans
2022-02-13 19:26:17 +01:00
markdibarry
c0caafe960
Add offset methods for lines and paragraphs in RichTextLabel
...
Adds `get_line_offset` and `get_paragraph_offset` methods to `RichTextLabel`
Fix arg mismatch
2022-02-13 13:15:21 -05:00
markdibarry
ae7eec53c0
Add get_character_line method for RichTextLabel
...
Adds the ability to get the line number of provided character position
Fix arg name
Add get_character_paragraph
Replaced glyph logic with code suggestions, added get_character_paragraph method
Run doctool
Use built-in method
Replace TS access with built in method
2022-02-13 11:12:12 -05:00
Rémi Verschelde
48ed0400bc
Merge pull request #58028 from Calinou/doc-array-hash
...
Clarify identical `hash()` return values due to collisions
2022-02-13 10:38:33 +01:00
Rémi Verschelde
e9ef64526a
Merge pull request #57892 from TechnicalSoup/ProjManager-Patch
...
Center initial position of project manager window
2022-02-13 10:37:48 +01:00
Rémi Verschelde
7224389468
Merge pull request #57954 from TokageItLab/refactor-cubic-interpolate
...
Implement `cubic_interpolate()` as MathFunc for refactoring
2022-02-13 10:34:13 +01:00