servo / rust-encoding
forked from lifthrasiir/rust-encodingNew 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
Upgrade Rust #6
Upgrade Rust #6
Commits on May 10, 2014
-
this should make the whole decoder business easy to maintainable. currently this change is available to Korean and Japanese codecs.
lifthrasiir committedMay 10, 2014 -
fixed a stupid bug on Shift_JIS EUDC decoder.
lifthrasiir committedMay 10, 2014 -
additional refactoring work for Chinese encodings.
this also keeps up with the recent WHATWG spec changes, including a merge of GBK18030 with GB18030.
lifthrasiir committedMay 10, 2014 -
bumped the copyright year for substantially changed files.
lifthrasiir committedMay 10, 2014
Commits on May 12, 2014
-
reencoding trap now depends on the *current* encoder state.
previously it didn't depend on the encoder state at all, resulting in the incorrect output when the encoder has a complex state. this directly affects ISO 2022 encodings in the development.
lifthrasiir committedMay 12, 2014 -
language changes: std::cast is merged to std::mem.
lifthrasiir committedMay 12, 2014 -
generalized the stateful decoder DSL to support non-ASCII-compatible …
…decoders.
lifthrasiir committedMay 12, 2014 -
more DSL support for generalized stateful decoders.
lifthrasiir committedMay 12, 2014 -
- the last codec error is now stored in the intermediate context, so the state machine can use a code like `ctx.err(..), S1(ctx)`. - fixed a performance regression due to the decoder generalization. the decoder performance should be on par with hand-written one (less than 10% difference) with `--opt-level=3 -Z lto` rustc flags.
lifthrasiir committedMay 12, 2014 -
generic context methods are no longer necessary; eliminated them.
lifthrasiir committedMay 12, 2014 -
lifthrasiir committed
May 12, 2014
Commits on May 13, 2014
-
added HZ encoding. this completes support for all WHATWG encodings.
lifthrasiir committedMay 13, 2014 -
fixed Shift_JIS encoder not to return unexpected EUDC codes.
lifthrasiir committedMay 13, 2014
Commits on May 14, 2014
-
added more benchmarks to CJK encodings and UTF-8.
lifthrasiir committedMay 14, 2014 -
applied some optimizations to UTF-8 decoder.
lifthrasiir committedMay 14, 2014 -
from_utf8 reimplementation now returns as soon as error is found.
this also tries to fix a possible interference issue between the benchmark and aggressive optimization passes.
lifthrasiir committedMay 14, 2014
Commits on May 15, 2014
-
applied optimizations to ASCII; refactored unsafe portions of UTF-8 i…
…mpls.
lifthrasiir committedMay 15, 2014 -
moved generated tests for indices to testutils.
lifthrasiir committedMay 15, 2014 -
lifthrasiir committed
May 15, 2014 -
single-byte indices switched to the tries.
this greatly improves backward mapping performance, with improvements ranging from 50% to 400%. this also allows for the exact accounting of the binary size overhead.
lifthrasiir committedMay 15, 2014
Commits on May 22, 2014
-
Rebuild when external dependencies change
Depends on servo/servo#2472.
mbrubeck committedMay 22, 2014 -
Merge pull request lifthrasiir#30 from mbrubeck/ext-deps
Rebuild when external dependencies change
lifthrasiir committedMay 22, 2014
Commits on May 23, 2014
-
temporarily switch to the official nightly.
lifthrasiir committedMay 23, 2014 -
language changes: special treatments on &str and ~str are finally gone.
lifthrasiir committedMay 23, 2014
Commits on May 26, 2014
-
language changes: StrBuf -> String.
lifthrasiir committedMay 26, 2014
Commits on May 29, 2014
-
Merge remote-tracking branch 'refs/remotes/upstream/master' into servo
metajack committedMay 29, 2014 -
language changes: to_owned() on &str is being deprecated.
lifthrasiir committedMay 29, 2014
Commits on May 31, 2014
-
expanded the documentation; the initial stability assignments.
this also changes names of Macintosh encodings from `encoding::all` to stay away from names assigned by WHATWG Encoding Standard.
lifthrasiir committedMay 31, 2014 -
added a mention about EncodingRef.
lifthrasiir committedMay 31, 2014 -
some more documentation rewriting.
lifthrasiir committedMay 31, 2014
Commits on Jun 3, 2014
-
Merge commit 'aff8048' into HEAD
SimonSapin committedJun 3, 2014
Commits on Jun 4, 2014
-
metajack committed
Jun 4, 2014