Skip to content

Conversation

@joriskleiber
Copy link
Contributor

Adds GString::chars for 4.1 and hides GString::chars_checked/GString::chars_unchecked

may close #712

@GodotRust
Copy link

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-714

Copy link
Member

@Bromeon Bromeon left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this!

It would be nice if the API >= 4.1 would deprecate and not remove the old names, with a short explanation like:

Renamed to chars(). No longer checked + unchecked overloads, because Godot 4.1 ensures valid UTF-32.\nFor details, see #714.

(I hope that's actually true, didn't check all angles here)...

You can use #[cfg_attr(..., deprecated(...))] for this.

@Bromeon Bromeon added quality-of-life No new functionality, but improves ergonomics/internals c: core Core components labels May 15, 2024
Copy link
Member

@Bromeon Bromeon left a comment

Choose a reason for hiding this comment

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

Thanks for the update! Only few things left 😉

Copy link
Member

@Bromeon Bromeon left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@Bromeon Bromeon added this pull request to the merge queue May 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 17, 2024
@Bromeon Bromeon added this pull request to the merge queue May 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 17, 2024
@Bromeon Bromeon added this pull request to the merge queue May 17, 2024
@Bromeon
Copy link
Member

Bromeon commented May 17, 2024

This race condition is truly annoying... 🙄

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 17, 2024
@Bromeon Bromeon added this pull request to the merge queue May 20, 2024
github-merge-queue bot pushed a commit that referenced this pull request May 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 20, 2024
@Bromeon Bromeon added this pull request to the merge queue May 21, 2024
Merged via the queue into godot-rust:master with commit d093359 May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: core Core components quality-of-life No new functionality, but improves ergonomics/internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with string & sse4 support

4 participants