-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add TextEncoderStream and TextDecoderStream transform streams #149
Commits on Jul 18, 2018
-
Add TextEncoderStream and TextDecoderStream transform streams
Integrate with the streams standard by adding TextEncoderStream and TextDecoderStream transform streams to the standard. These enable binary<>text conversions on a ReadableStream using the `pipeThrough()` method (see https://streams.spec.whatwg.org/#rs-pipe-through). A TextEncoderStream object can be used to transform a stream of strings to a stream of bytes in UTF-8 encoding. A TextDecoderStream object can be used to transform a stream of bytes in the encoding passed to the constructor to strings. There is a prollyfill and tests for the new functionality at https://github.com/GoogleChromeLabs/text-encode-transform-prollyfill. Closes whatwg#72.
Configuration menu - View commit details
-
Copy full SHA for 2756504 - Browse repository at this point
Copy the full SHA 2756504View commit details
Commits on Aug 3, 2018
-
* Remove unnecessary link-defaults * Make headers sentence case * Linkify GenericTransformStream * Indicate the GenericTransformStream's *transform* is a TransformStream. * Add [INFRA] to the reference to the Infra Standard.
Configuration menu - View commit details
-
Copy full SHA for 886d920 - Browse repository at this point
Copy the full SHA 886d920View commit details -
Make FooAttributes mixins fully own their "slots"
Remove the encoding, ignore BOM flag and error mode slots from TextDecoder and TextDecoderStream and reference the versions in TextDecoderAttributes instead. Also remove the "transform" slot from TextDecoderStream and TextEncoderStream and reference GenericTransformStream's version instead.
Configuration menu - View commit details
-
Copy full SHA for 3b912b3 - Browse repository at this point
Copy the full SHA 3b912b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f04369c - Browse repository at this point
Copy the full SHA f04369cView commit details
Commits on Aug 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6a65ad5 - Browse repository at this point
Copy the full SHA 6a65ad5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 343e148 - Browse repository at this point
Copy the full SHA 343e148View commit details -
Share the "serialize stream" algorithm
Rename TextXcoderAlgorithms to TextXcoderCommon and move the "serialize stream" from TextDecoder to TextDecoderCommon so that it can be shared sanely with TextDecoderStream.
Configuration menu - View commit details
-
Copy full SHA for 6623b0b - Browse repository at this point
Copy the full SHA 6623b0bView commit details
Commits on Aug 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0e64bf8 - Browse repository at this point
Copy the full SHA 0e64bf8View commit details -
Translate exceptions from "copy bytes" into rejections
We no longer have explicit language rejecting detached buffers, however the "get a copy of the buffer source" algorithm will throw exceptions for them. Convert those exception to rejections to get the effect of the check.
Configuration menu - View commit details
-
Copy full SHA for 407d85d - Browse repository at this point
Copy the full SHA 407d85dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60854d8 - Browse repository at this point
Copy the full SHA 60854d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5b36e1 - Browse repository at this point
Copy the full SHA e5b36e1View commit details
Commits on Aug 9, 2018
-
Remove no-longer-needed ECMASCRIPT refs section
Also stop explicitly importing "transform stream" as it is now exported from the streams standard.
Configuration menu - View commit details
-
Copy full SHA for 12b5161 - Browse repository at this point
Copy the full SHA 12b5161View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd65b39 - Browse repository at this point
Copy the full SHA dd65b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66aaab3 - Browse repository at this point
Copy the full SHA 66aaab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for af33687 - Browse repository at this point
Copy the full SHA af33687View commit details
Commits on Aug 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 29fdba4 - Browse repository at this point
Copy the full SHA 29fdba4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 256a138 - Browse repository at this point
Copy the full SHA 256a138View commit details
Commits on Aug 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b9dfb01 - Browse repository at this point
Copy the full SHA b9dfb01View commit details