Rémi Verschelde
69585b0516
SceneTree: Document font oversampling, remove warnings
...
(cherry picked from commit 35b79284cc
)
2021-12-14 17:33:21 +01:00
Univeous
42e3187560
Fix UI navigation with joysticks
...
(cherry picked from commit cf788ae684
)
2021-12-07 12:16:05 +01:00
kobewi
b646852765
Don't show tooltips for paused controls
...
(cherry picked from commit fe28e823c5
)
2021-11-29 17:01:51 +01:00
kobewi
f667afc8b2
Show tooltips even when paused or time_scale is 0
...
(cherry picked from commit 5b55599211
)
2021-11-25 23:13:14 +01:00
Rémi Verschelde
63b5d5de64
Modules: Make sure to include `modules_enabled.gen.h` where needed
...
Fixes #51677 .
Co-authored-by: Arkadiusz Marcin Kołek <aksoftware91@gmail.com>
(cherry picked from commit 6f4858f184
)
2021-11-15 22:36:02 +01:00
Josh Jones
a19040d2de
Fix request headers being included in response.
...
(cherry picked from commit 7df8bd6b85
)
2021-11-15 22:24:22 +01:00
Rémi Verschelde
42d385b312
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 13:23:38 +02:00
kobewi
cef504b955
Fix multiple definitions of Listener2D
...
(cherry picked from commit 6b68445e4d
)
2021-10-26 13:34:33 +02:00
Sean Kim
378ca68dc1
Fix potential nullptr dereference in CanvasLayer
...
* Changed another instance of ERR_FAIL_COND in the same file to
ERR_FAIL_NULL_MSG instead.
* Checked for potential access of the viewport pointer elsewhere in same
file.
Fixes #54098
(cherry picked from commit 497b00a937
)
2021-10-23 11:57:52 +02:00
Fabio Alessandrelli
6c4bb3fc4a
Revert HTTPRequest gzip compression support.
...
Partial revert of commit c1135cf006
.
2021-10-14 12:51:37 +02:00
Hugo Locurcio
7dcefa7c1b
Add a warning for Timer nodes with very low wait times
...
Very low wait times behave in unpredictable ways depending on the
rendered frame rate. This is because the timeout signal is only emitted
once per rendered frame (or physics frame, depending on the timer's
process mode).
2021-10-09 11:36:03 +02:00
Rémi Verschelde
c00848ae03
Merge pull request #53572 from kleonc/scene-tree-free-objects-queued-during-destruction-3x
2021-10-08 18:10:45 +02:00
kleonc
ae96da28d8
Delete objects enqueued for deletion during SceneTree destruction
2021-10-08 16:38:38 +02:00
Rémi Verschelde
77f52bdf99
Merge pull request #52137 from Ansraer/3.x-2d-scale-factor
2021-10-05 19:12:19 +02:00
Rémi Verschelde
d35fccb651
Merge pull request #52365 from jitspoe/3.x.viewport_error_fix
...
[3.x] Fix ViewportTexture error when viewport is used from a child scene
2021-10-05 18:51:51 +02:00
Ansraer
d44aa61735
implement better ui scaling
2021-10-05 14:30:38 +02:00
kobewi
f9720a9bf2
Add Listener2D
2021-10-05 13:29:59 +02:00
jitspoe
d2637ca950
Fix ViewportTexture error when viewport is used from a child scene
...
Fix invalid errors when a separate child scene file contains a viewport and
that viewport is used for a texture in the current scene.
Fixes #27790 .
2021-10-05 12:17:42 +02:00
Hugo Locurcio
c6617e956c
Tweak the Viewport configuration warning to mention 2×2 size requirement
2021-10-01 16:43:33 +02:00
Rémi Verschelde
b37776fa2f
Merge pull request #52591 from timothyqiu/error-macros
...
[3.x] Remove do{ } while(0) wrapper around error macros
2021-09-21 10:38:34 +02:00
Haoyu Qiu
70853fd669
Remove do{ } while(0) wrapper around error macros
2021-09-12 15:04:53 +08:00
Hugo Locurcio
1c63e335b3
Improve the error message about `SCREEN_TEXTURE` being unavailable
...
This also tweaks the Viewport `usage` property hint to match the
project setting used for the root viewport.
2021-09-11 23:17:07 +02:00
Rémi Verschelde
7c6bdea33c
Merge pull request #47416 from Calinou/add-contrast-adaptive-sharpening-3.x
...
Add support for contrast-adaptive sharpening in 3D (GLES3 only)
2021-08-10 10:08:24 +02:00
foxydevloper
f807c7e569
Name nodes added from drag & drop by `name_casing`
...
(cherry picked from commit 07a8f0fe38
)
2021-08-03 10:18:04 +02:00
Aaron Franke
e47018ffa4
[3.x] Fix building with the FreeType module disabled
2021-07-29 21:47:40 -05:00
Eric M
7b6b402a0c
Added Node name to print() when printing Nodes.
...
(cherry picked from commit 3ca25ffe8a
)
2021-07-20 13:05:09 +02:00
kleonc
6d48b67f14
Node::add_child Check for cyclic dependency
...
Node Replace string addition with vformat()
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 81388db8a7
)
2021-07-15 10:52:33 +02:00
Hugo Locurcio
a9c0c5484f
Add support for contrast-adaptive sharpening in 3D (GLES3 only)
...
This is an older, easier to implement variant of CAS as a pure
fragment shader. It doesn't support upscaling, but we won't make
use of it (at least for now).
The sharpening intensity can be adjusted on a per-Viewport basis.
For the root viewport, it can be adjusted in the Project Settings.
Since `textureLodOffset()` isn't available in GLES2, there is no
way to support contrast-adaptive sharpening in GLES2.
2021-06-21 15:37:31 +02:00
Marcel Admiraal
7e03bd1671
Remove duplicate WARN_PRINTS macro
2021-06-18 12:57:59 +01:00
Rémi Verschelde
c7f27f1d9d
Merge pull request #48651 from tavurth/3.x
...
Port HTTPRequest gzip compression to 3.4
2021-06-18 02:01:11 +02:00
Marcel Admiraal
5a58516231
Remove duplicate ERR_PRINTS macro
2021-06-16 11:56:25 +01:00
Fabio Alessandrelli
b6a5f8422a
[Net] Fix HTTPRquest store_buffer error.
...
HTTPRquest no longer call store_buffer/append_array when the chunk size
is 0.
(cherry picked from commit 507a9beca1
)
2021-06-01 12:53:31 +02:00
Will Whitty
c1135cf006
Work on porting HTTPRequest compression to 3.3
...
Fix doc issues
Use memcpy
Bind RESULT_BODY_DECOMPRESS_FAILED
Docs update
2021-05-14 12:20:31 +03:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rémi Verschelde
64a63e0861
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
3d15f04668
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
6e600cb3f0
Style: Set clang-format Standard to c++14
2021-05-04 14:45:15 +02:00
Rémi Verschelde
7e61be3cb0
Style: Remove executable bit from non-runnable files
2021-05-04 14:45:07 +02:00
Fabio Alessandrelli
77e3514315
[Net] Implement String::parse_url for parsing URLs.
...
Splits the URL into (scheme, host, port, path).
Supports both literal IPv4 and IPv6.
Strip credentials when present (e.g. http://user:pass@example.com/ ).
Use that function in both HTTPRequest and WebSocketClient.
(cherry picked from commit 3bb40669d5
)
2021-05-03 21:39:43 +02:00
Rémi Verschelde
0c14d10522
Merge pull request #48296 from akien-mga/3.x-cherrypicks
2021-04-29 13:48:49 +02:00
Rémi Verschelde
880b830ca8
Merge pull request #46292 from hilfazer/nested_scene_instances_duplication
2021-04-29 13:31:27 +02:00
univeous
43d3eca5e9
allow input echo when changing ui focus
...
(cherry picked from commit f5b506763e
)
2021-04-29 11:27:56 +02:00
Rémi Verschelde
6ba10c6c1f
SceneTree: Fix type hints for `global_menu_action` signal
...
Fixes https://github.com/godotengine/godot-headers/issues/89 .
2021-04-28 09:40:59 +02:00
lupoDharkael
3b0cf34299
Control: Expose pass_on_modal_close_click
2021-03-25 18:29:41 +01:00
Nathan Franke
5e434841ec
Add Root Null Check
...
(cherry picked from commit 3c921ba801
)
2021-03-21 01:20:59 +01:00
abaire
b032067e42
Relaxes Node naming constraints in glTF documents to match the Editor.
2021-03-12 08:35:50 -08:00
Zak
3f36ca7323
HTTPRequest: Improve response when disconnecting while downloading
...
Previously if a disconnect occured while downloading a non recoverable error was displayed. This PR attempts to fix this by making sure `request_completed` signal is emitted with an `STATUS_CONNECTION_ERROR` response code.
(cherry picked from commit 70c39737db
)
2021-03-04 11:31:57 +01:00
Fabio Alessandrelli
05367c755c
[Net] Better EOF handling in HTTPRequest.
...
This fix request_completed being emitted two times, the first with the
result, the second as a failure when retrieving responses served with
read-until-EOF.
(cherry picked from commit d61cd469f1
)
2021-03-02 10:26:14 +01:00