Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-picks for the 4.1 branch (future 4.1.4) - 1st batch #87514

Merged
merged 80 commits into from
Jan 24, 2024

Conversation

YuriSizov
Copy link
Contributor

@YuriSizov YuriSizov commented Jan 23, 2024

This is the first batch of two for the 4.1 branch. It includes almost every PR has been marked for cherry-picking and which is already included in 4.2:
https://github.com/godotengine/godot/pulls?q=is%3Apr+is%3Amerged+label%3Acherrypick%3A4.1+-label%3Acherrypick%3A4.2+sort%3Aupdated-asc+

There are two more PRs fitting this criteria, but I need some help deciding on them. Can include them later, if we decide to pick them.

The second batch is going to include all PRs which are currently marked for cherry-picking for both 4.1 and 4.2. After that we can start building RC1.

Rindbee and others added 30 commits January 23, 2024 15:56
…ditor

When the name suffix grows, the old name is used if it is obtained first.

Fix the case where the following error message would appear when renaming
an animation.

```
ERROR: Animation '' doesn't exist.
   at: get_frame_count (scene/resources/sprite_frames.cpp:71)
```

(cherry picked from commit e9cd29c)
This would cause `updown.png` to be ignored in our default theme in 3.x.

These ignores were added in godotengine#36800 for godotengine#36572 (see that PR for usage
instructions).

From a quick test, using `--output-file` for `lcov` and `--output-directory`
for genhtml let us output the files in a way that won't conflict with the
Git repository (e.g. in `bin/`, or outside the Git repo).

(cherry picked from commit 5c38e42)
(cherry picked from commit 90f3992)
Implements the {project} placeholder, available when setting an external editor
in the project settings, via Editor > Editor Settings > Text Editor > External
for the c# external editor, under Editor > Editor Settings > Dotnet > Editor,

This allows passing the project folder as a command line argument when using a
custom external editor that isn't one of the available options.

Fixes godotengine#81845

(cherry picked from commit c01a478)
For example, searching for ".func" will now match in "a.func" even with Whole Words enabled.

(cherry picked from commit 676627e)
`Input::joy_axis` converts trigger values to be between 0.0f to 1.0f by default. This is not needed for Android, as values are already within that range, as per Android documentation: https://developer.android.com/reference/android/view/MotionEvent#AXIS_RTRIGGER

This patch prevents this conversion on Android, which caused L2 and R2 triggers to get stuck pressed. godotengine#79263

(cherry picked from commit d413a02)
The documentation stated the track was added to this, instead of
`to_animation`

(cherry picked from commit 9d23956)
… path

issue reference [godotengine#81769]

- adding a nullptr check on a Node pointer obtained from get_node(NodePath) in case it is null now we wont execute the next instruction

> ClassDB::get_property_info(nd->get_class(), prop, &prop_info);

Which then prevents the crash

(cherry picked from commit e7a35d1)
(cherry picked from commit d53529f)
Invalidly returned `true` on the non-matched path

(cherry picked from commit b04cf84)
Documents that these notifications are only sent for touch events.

(cherry picked from commit 44f62a4)
GitHub Actions output is not considered a TTY, so colored output
must be forced.

(cherry picked from commit dec26e1)
Invalidly returned `true` on the non-matched path

(cherry picked from commit 3ef6314)
- Enabling newly created addons can show a warning dialog, doing so before hiding the `ProjectSettingsEditor` dialog causes rendering glitches.
- Remove unused `PuginConfigDialog` in `EditorNode`. The one actually being used is an instance in `EditorPluginSettings`.

(cherry picked from commit 7b34fa8)
"Export as dedicated server" now uses a less confusing heading.

(cherry picked from commit 73c1b21)
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the doc picks

@YuriSizov
Copy link
Contributor Author

That's more than enough for me :)

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Great work!

@YuriSizov YuriSizov merged commit b915d7d into godotengine:4.1 Jan 24, 2024
14 checks passed
@YuriSizov YuriSizov deleted the 4.1-cherrypicks branch January 24, 2024 10:43
@YuriSizov
Copy link
Contributor Author

Well that was timely! :D Thanks for reviews

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.