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

Upgrade Rust #6

Merged
merged 32 commits into from Jun 4, 2014
Merged

Upgrade Rust #6

merged 32 commits into from Jun 4, 2014

Commits on May 10, 2014

  1. initial decoder refactoring.

    this should make the whole decoder business easy to maintainable.
    currently this change is available to Korean and Japanese codecs.
    lifthrasiir committed May 10, 2014
  2. additional refactoring work for Chinese encodings.

    this also keeps up with the recent WHATWG spec changes, including
    a merge of GBK18030 with GB18030.
    lifthrasiir committed May 10, 2014

Commits on May 12, 2014

  1. 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 committed May 12, 2014
  2. further DSL tweak.

    - 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 committed May 12, 2014

Commits on May 14, 2014

  1. 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 committed May 14, 2014

Commits on May 15, 2014

  1. added benches to indices.

    lifthrasiir committed May 15, 2014
  2. 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 committed May 15, 2014

Commits on May 22, 2014

  1. Merge pull request lifthrasiir#30 from mbrubeck/ext-deps

    Rebuild when external dependencies change
    lifthrasiir committed May 22, 2014

Commits on May 26, 2014

Commits on May 31, 2014

  1. 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 committed May 31, 2014

Commits on Jun 3, 2014

Commits on Jun 4, 2014

You can’t perform that action at this time.