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

Prevents coupling UTF-16 text value encodings to WASM targets #198

Merged
merged 14 commits into from
Oct 26, 2024

Conversation

miguelangel-dev
Copy link
Contributor

@miguelangel-dev miguelangel-dev commented Oct 16, 2024

Related PRs

Description

Because of misalignments in encoding width between UTF-16 and Unicode Scalars; when we use emoji, or any other Unicode character, splice-text, markers and cursors won't work.

Using Automerge 0.5.11

Previous to apply automerge#977
Screenshot 2024-10-21 at 16 32 00

Using Automerge 0.5.12

Screenshot 2024-10-21 at 16 53 47

@miguelangel-dev miguelangel-dev force-pushed the migue/wasm-text-value-encoding branch 3 times, most recently from 7ed8c3e to eef77b5 Compare October 16, 2024 21:34
@miguelangel-dev miguelangel-dev marked this pull request as draft October 16, 2024 21:34
@miguelangel-dev miguelangel-dev force-pushed the migue/wasm-text-value-encoding branch 3 times, most recently from 286ee6c to a8f0cb7 Compare October 16, 2024 21:48
@miguelangel-dev miguelangel-dev force-pushed the migue/wasm-text-value-encoding branch from a8f0cb7 to 271ed5d Compare October 16, 2024 21:50
Copy link
Collaborator

@heckj heckj left a comment

Choose a reason for hiding this comment

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

I'd very much prefer to NOT rely on a nightly build of anything if we can get away with it, especially for ongoing CI, but if that's the only version with a release version not yet available that does what's needed here, I can live it it for now.

.github/workflows/ci.yaml Show resolved Hide resolved
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@miguelangel-dev miguelangel-dev force-pushed the migue/wasm-text-value-encoding branch from d2572ef to bccb29e Compare October 21, 2024 13:56
ci: wasm job

minor

minor

minor

missing wastime
@miguelangel-dev miguelangel-dev force-pushed the migue/wasm-text-value-encoding branch 2 times, most recently from d6ce253 to 6eb0de3 Compare October 21, 2024 14:26
@miguelangel-dev miguelangel-dev force-pushed the migue/wasm-text-value-encoding branch 2 times, most recently from ce582d3 to 3b2cb60 Compare October 21, 2024 15:38
@miguelangel-dev miguelangel-dev marked this pull request as ready for review October 21, 2024 15:39
@miguelangel-dev miguelangel-dev requested a review from heckj October 21, 2024 15:39
@miguelangel-dev miguelangel-dev force-pushed the migue/wasm-text-value-encoding branch 2 times, most recently from 509794e to ce582d3 Compare October 21, 2024 15:59
@miguelangel-dev miguelangel-dev force-pushed the migue/wasm-text-value-encoding branch from ce582d3 to b11a12e Compare October 21, 2024 16:01
Copy link
Collaborator

@heckj heckj left a comment

Choose a reason for hiding this comment

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

Looks completely reasonable to me. Thanks for the notes on the different platform options - I expect this to continue to be in flux over the coming few years, and hopefully there'll be options to make installation of SDKs and toolchains for CI easier (and more consistent) down the road.

@heckj heckj merged commit 6e729d2 into automerge:main Oct 26, 2024
5 checks passed
@miguelangel-dev miguelangel-dev deleted the migue/wasm-text-value-encoding branch October 28, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants