Commit Graph

53247 Commits

Author SHA1 Message Date
sk757a
59bd0ea48e Fix tween_cheatsheet 404 in Tween.xml
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-08-14 23:41:45 +05:00
Yuri Sizov
fc0b241c9b Bump version to 4.0.4-stable 2023-08-02 14:51:12 +02:00
Yuri Sizov
e6a21778de CI: Extract godot-cpp testing into its own job
This ensures that the godot-cpp job has plenty of resources
to run its build and avoid being affected by the main build.

Additionally:
- Extract test tasks into dedicated actions.
- Upload artifacts as early as possible.
- Ensure that we check master cache before random cache.

(cherry picked from commit deb6025781)
2023-08-02 14:51:12 +02:00
Rémi Verschelde
1fe01a7741 CI: Free disk space on Linux runners
Removing the Android toolchain saves 14 GiB, which gives us more room
for growth and to avoid running into out-of-space errors in the Linux
sanitizers + debug symbols builds.

Related to #79919, though the caches were just one part of the problem,
the real issue is that our Linux sanitizers builds take 12 GiB, and
adding godot-cpp on top with 2 GiB leaves only a few GiB left for the
cache itself.

(cherry picked from commit 611123f7fd)
2023-08-02 14:51:12 +02:00
Yuri Sizov
a0a5cbad57 Revert "Fix get_bone_pose_global_no_override()"
This reverts commit 9307d851a9.
2023-08-02 14:25:50 +02:00
Yuri Sizov
cfedb0a7a6
Merge pull request #79708 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.4) - 3rd batch
2023-07-20 17:46:13 +02:00
Yuri Sizov
c945ec71d3 Add changelog for 4.0.4 2023-07-20 14:58:02 +02:00
Fabio Alessandrelli
2120fcee1c [ENet] Update to upstream master.
(cherry picked from commit 35b70681e7)
2023-07-20 14:56:44 +02:00
Fabio Alessandrelli
96a480feac [Net] Explicitly handle buffer errors in send/recv
(cherry picked from commit 28001b9ef6)
2023-07-20 14:56:44 +02:00
NiskashY
07ec20b8fa Fix disabled slider highlighting
(cherry picked from commit 4394936392)
2023-07-20 13:46:46 +02:00
Amir-Rasteg
82ea4b4718 Fix a typo in the String.to_float description
(cherry picked from commit 9744657bb8)
2023-07-20 13:46:46 +02:00
Haoyu Qiu
b3c74b4874 Translate "No match" message in FindReplaceBar
(cherry picked from commit ac454ce2a7)
2023-07-20 13:46:46 +02:00
Ninni Pipping
de57ac9227 Fix documentation for Mutex.try_lock
Documentation was not updated when return type was changed from `Error`
to `bool`

(cherry picked from commit 40e2168ac6)
2023-07-20 13:46:46 +02:00
Haoyu Qiu
e862643007 Fix function signature in EditorImportPlugin example
(cherry picked from commit cea00ebf58)
2023-07-20 13:46:45 +02:00
kobewi
7a59ef60ee Fix crash with failed compatibility tiles
(cherry picked from commit 1a9739f591)
2023-07-20 13:46:45 +02:00
jpcerrone
dd2907f9b7 Fix for Win+M crashing the editor
Fixes #77790
Adds missing 'break' statement to 'VulkanContext::prepare_buffers' function.
It was mistakenly removed in #72859

(cherry picked from commit bd786ce0d9)
2023-07-20 13:46:45 +02:00
MewPurPur
52f583fdee Document ShaderInclude
(cherry picked from commit da84efc96d)
2023-07-20 13:46:45 +02:00
Phil Hudson
23c1eae8b6 fix(android): set pending intent flag to stop insta-crash
fix(android): add conditional check for minimum sdk version

fix(android): formatting

fix(android): formatting

fix(android): formatting

fix(android): formatting again

(cherry picked from commit ce7f648694)
2023-07-20 13:46:45 +02:00
kobewi
627ddd412e Fix filesystem cache split error
(cherry picked from commit 7f18db9d9d)
2023-07-20 13:46:45 +02:00
Haoyu Qiu
22d3fa7292 Fix crash when opening a TileSet with invalid tiles
(cherry picked from commit 8b5d5dc2c4)
2023-07-20 13:44:15 +02:00
Yuri Sizov
f9a0ac507c Avoid error spam when (un)pausing GPUParticles out of tree
(cherry picked from commit 991f4d5183)
2023-07-20 13:44:15 +02:00
kobewi
5a82eadd2d Make sure script cache is created after reimport
(cherry picked from commit 680ed7f612)
2023-07-20 13:44:15 +02:00
RedworkDE
31e582b970 Fix crash when selecting lines in text edit
(cherry picked from commit 6b7008b73b)
2023-07-20 13:44:15 +02:00
kobewi
39f9c8cd29 Preserve selection when focusing SpinBox
(cherry picked from commit 968c5f6247)
2023-07-20 13:44:14 +02:00
pattlebass
fa8e3b200e Fix Range-derived nodes not redrawing
When using set_value_no_signal(), Range-derived nodes wouldn't redraw.

Also added a dedicated method to SpinBox to update its text.

(cherry picked from commit 9500f8e69a)
2023-07-20 13:44:14 +02:00
Devan OBoyle
0f23679699 Skip error messages for buttons that don't exist
(cherry picked from commit ed02d515e0)
2023-07-20 13:38:12 +02:00
Raffaele Picca
7f8de2df4c Correctly reset particle size and rotation in ParticlesProcessMaterial
Co-authored-by: clayjhn <claynjohn@gmail.com>
(cherry picked from commit 353a4e1e09)
2023-07-20 13:38:12 +02:00
Ninni Pipping
131ce4acf6 Fix type check in AnimationTrackKeyEdit for methods
(cherry picked from commit ad769903b0)
2023-07-20 13:38:12 +02:00
Ninni Pipping
c683fa9971 Fix trim when importing WAV
(cherry picked from commit ff127ba57e)
2023-07-20 13:38:12 +02:00
bruvzg
33618f25fd Fix SVG font rendering after ThorVG update.
(cherry picked from commit 35b0354577)
2023-07-20 13:38:12 +02:00
kobewi
9acd4cfdfc Draw materials in tile atlas view
(cherry picked from commit 16ac217aa0)
2023-07-20 13:38:12 +02:00
Lyuma
ca65d85d6e Fix for SkeletonIK3D interpolation and bone roll
Fix bug in internal Basis::rotate_to_align function (also used with identity Basis in scene/resources/curve.cpp)
Use ChainItem children rather than local bone rest to determine IK bone roll to match Godot 3.x behavior

(cherry picked from commit 9aa46bf3f5)
2023-07-20 13:38:12 +02:00
Lyuma
96eb16a365 Avoid doubly mutating the same Skin in rest fixer
Fixes a regression from #77123 that was caused by removal of ibm_diffs variable.
This replaced idempotent code with code that applied an offset each time.
If the same Skin was visited multiple times, this caused an incorrect result.

(cherry picked from commit 5ae311e577)
2023-07-20 13:09:57 +02:00
Lyuma
a18fe83298 Adjust BoneAttachment3D children/meshes during rest fixer
Also simplifies equivalent matrix math which previously used ibm_diffs to calculate skinned mesh offsets.

(cherry picked from commit 7b71061b3e)
2023-07-20 13:09:57 +02:00
Aaron Franke
1fcf58d72e Make Node::get_children() public
(cherry picked from commit 8eb9986dc5)
2023-07-20 13:09:57 +02:00
Fredia Huya-Kouadio
db7406e6a7 Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone
Fixes https://github.com/godotengine/godot/issues/73801

(cherry picked from commit 8ca14183f0)
2023-07-20 12:45:54 +02:00
Clement C
2dfb108a6a Fix crash when changing node type from PopMenu to ItemList
(cherry picked from commit 999a1fffec)
2023-07-20 12:45:54 +02:00
Rémi Verschelde
31b1f98bba
Merge pull request #79111 from akien-mga/4.0-fix-udev-fallback-with-use_sowrap-no
[4.0] Linux: Fix udev fallback logic with `use_sowrap=no`
2023-07-11 11:32:48 +02:00
Rémi Verschelde
4a747edb6f
Linux: Fix udev fallback logic with use_sowrap=no 2023-07-06 17:10:58 +02:00
Rémi Verschelde
c8e0bd50c5
Merge pull request #78838 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.4) - 2nd batch
2023-06-30 13:44:09 +02:00
Yuri Sizov
0164b293f0 Update codespell and add new exceptions 2023-06-29 16:22:29 +02:00
RedworkDE
a3292d6891 C#: Always decode dotnet output as UTF-8
(cherry picked from commit e0efa3c357)
2023-06-29 16:03:22 +02:00
Rémi Verschelde
b11499edce Add missing stdint.h includes for GCC 13+
Fixes #77927.

(cherry picked from commit 10676e78e3)
2023-06-29 16:03:22 +02:00
kobewi
d6e0170e94 Cancel tooltip when mouse leaves viewport
(cherry picked from commit 807431c49a)
2023-06-29 16:03:22 +02:00
MJacred
d8caf0a726 Replace get_rendering_device() call to prevent crashes on OpenGL.
And make OpenGL video adapter info align with Vulkan.

(cherry picked from commit 2c5e2196bd)
2023-06-29 16:03:22 +02:00
MJacred
101adc3853 Make system information for issue reports single-line
Additionally:
* for custom builds, add commit hash
* added a tooltip to help mitigate potential/understandable confusion whether the single-line output might be a bug
* prettify driver name

(cherry picked from commit ca1ee316b5)
2023-06-29 16:03:22 +02:00
MJacred
78773b74f0 Copy system info to clipboard + Update bug_report.yml
plus minor static-related fixes
* linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times
* windows/linuxbsd: get_video_adapter_driver_info() writes info into static
* linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable
* windows/uwp/android: remove unnecessary use of static

(cherry picked from commit 9e5bf3d589)
2023-06-29 16:03:22 +02:00
Jason Yundt
07c4a32a84 Streamline and centralize bug reporting guides
Before this change, there was three different bug reporting guides:

- [“Filing an issue on GitHub”][1]
- [“Reporting bugs”][2]
- [The issue template][3]

This commit:

1. makes sure that [the issue template][3] contains all of the same
   information that [“Filing an issue on GitHub”][1] and
   [“Reporting bugs”][2] did and
2. makes [“Reporting bugs”][2] simply tell users to fill out the
   template.

The goal of this change is to make reporting bugs easier. This change
accomplishes that goal by presenting bug reporters with all of the
information they need to know on the bug reporting page itself.

This commit partially implements this proposal:
<https://github.com/godotengine/godot-proposals/discussions/4083>

[1]: https://docs.godotengine.org/en/stable/community/contributing/ways_to_contribute.html#filing-an-issue-on-github
[2]: ./CONTRIBUTING.md#reporting-bugs
[3]: ./.github/ISSUE_TEMPLATE/bug_report.yml

(cherry picked from commit a6dc35e5cf)
2023-06-29 16:03:22 +02:00
RedworkDE
f05e3712d6 C#: Synchronize adding ScriptInstances
(cherry picked from commit 8fdebb85ef)
2023-06-29 16:03:22 +02:00
Rakka Rage
980d95a3ad Fix crash when using tile atlas merge with recreated alt tile
(cherry picked from commit 88d2ed433d)
2023-06-29 16:03:22 +02:00