Commit Graph

  • 18585d6615 Explain for_label vs. for_label_no_replacement more clearly. Henri Sivonen 2017-06-02 11:32:34 +03:00
  • 59bc64306f Use preprocessor define in encoding constant declarations in encoding_rs_statics.h. Henri Sivonen 2017-05-29 14:34:16 +03:00
  • cee5669748 Allow earlier preprocessor directives to override types in encoding_rs_statics.h. Henri Sivonen 2017-05-29 14:02:42 +03:00
  • e3429e1f1f Increment version number to 0.6.10. Henri Sivonen 2017-05-17 14:19:04 +03:00
  • a63d36ccf1 Document max length fix under BOM sniffing. Henri Sivonen 2017-05-17 14:18:40 +03:00
  • 8106cb4ffa Fix copypasta in max length calculation. Henri Sivonen 2017-05-17 14:09:17 +03:00
  • 6ec42ef326 Restore a plus one that got dropped when moving code. Henri Sivonen 2017-05-17 14:03:54 +03:00
  • b1925890fd Add label fuzzing. Henri Sivonen 2017-05-17 13:18:24 +03:00
  • 4b0908e234 Consider decoder morphing due to BOM when computing max length. Henri Sivonen 2017-05-17 13:18:12 +03:00
  • 697e49c7ed Take an already-seen escape turning into error in ISO-2022-JP decode into account. Henri Sivonen 2017-05-17 11:15:33 +03:00
  • 562fa10ada Take half-width katakana into account in UTF-8 max length. Henri Sivonen 2017-05-17 10:13:21 +03:00
  • cf651de052 Reserve enough space for NCRs when encoding to ISO-2022-JP. Henri Sivonen 2017-05-16 15:16:04 +03:00
  • b40d2385f4 Work around rustfmt bug. Henri Sivonen 2017-05-13 11:06:57 +03:00
  • 3fa3a1f7c0 Improve fuzzing. Henri Sivonen 2017-05-13 10:48:55 +03:00
  • d8aa438628 Correct max length calculations for multibyte decoders. Henri Sivonen 2017-05-13 10:48:37 +03:00
  • 3c2b510b3c Correctly calculate max length when encoding from UTF-16 to GBK. Henri Sivonen 2017-05-12 14:00:33 +03:00
  • 1660c7deb0 Add fuzzing. Henri Sivonen 2017-05-12 13:12:56 +03:00
  • 3a512dfadd Increment version number to 0.6.9. Henri Sivonen 2017-05-11 15:22:54 +03:00
  • 7d5fd289f5 Run rustfmt. Henri Sivonen 2017-05-11 15:18:05 +03:00
  • 091991510b Don't prepend anything when gb18030 range decode fails per whatwg/encoding#110. Henri Sivonen 2017-05-11 15:16:36 +03:00
  • 6779eaa072 Increment version number to 0.6.8. Henri Sivonen 2017-05-10 13:46:32 +03:00
  • cca431ad68 Fix last buffer following partial BOM prefix. Henri Sivonen 2017-05-10 13:45:43 +03:00
  • 7691fe28b4 Decode byte 7F corretly as ISO-2022-JP. Henri Sivonen 2017-05-10 12:12:58 +03:00
  • 75529f6a41 Upgrade rustfmt. Henri Sivonen 2017-05-10 11:57:02 +03:00
  • bb6adc059c Make UTF-16 to UTF-8 encode write closer to the end of the buffer. Henri Sivonen 2017-05-10 08:57:47 +03:00
  • f786eb5de6 Editorial: add Oxford comma Anne van Kesteren 2017-05-08 14:26:20 +02:00
  • df0663f070 Add html_root_url. Henri Sivonen 2017-05-08 14:54:36 +03:00
  • 8173d48f6d Inform crates.io about Travis. Henri Sivonen 2017-05-08 14:51:39 +03:00
  • ef37a69346 Add crates.io categories. Henri Sivonen 2017-05-08 14:47:39 +03:00
  • 9cc80229de Add Hash for Encoding to release notes. Henri Sivonen 2017-05-08 14:38:25 +03:00
  • a3bca3fd58 Implement Hash for Encoding. Henri Sivonen 2017-05-08 14:36:50 +03:00
  • 8c236b350b Document the existence of the XPCOM/MFBT-typed wrapper. Henri Sivonen 2017-05-08 12:03:01 +03:00
  • e63e661b21 Increment version number to 0.6.7. Henri Sivonen 2017-05-08 11:55:39 +03:00
  • 03376fef97 Map half-width katakana to full-width in ISO-2022-JP encoder per whatwg/encoding#105. Henri Sivonen 2017-05-08 11:54:57 +03:00
  • bf78f047ae Give InputEmpty correct precedent when encoding with replacement. Henri Sivonen 2017-05-08 10:33:20 +03:00
  • e2b8d33f82 Increment version number to 0.6.6. Henri Sivonen 2017-05-04 15:06:40 +03:00
  • 3aae9d5585 Take decoder life cycle into account in max length. Henri Sivonen 2017-05-04 15:02:21 +03:00
  • a413992f75 Increment version number to 0.6.5. Henri Sivonen 2017-05-03 17:48:15 +03:00
  • b687698837 Correct max length calculation in various encoders. Henri Sivonen 2017-05-03 17:47:01 +03:00
  • aeaa95801d Fix max length calculation for UTF-16 decoder. Henri Sivonen 2017-05-03 13:02:55 +03:00
  • e99e166273 Derive PartialEq and Eq for the FooResult types. Henri Sivonen 2017-05-03 11:52:10 +03:00
  • f1b9661f20 Increment version number to 0.6.4. Henri Sivonen 2017-05-02 11:19:30 +03:00
  • 234bf08f70 Avoid panic when the output buffer is too short for an NCR. Henri Sivonen 2017-05-02 09:42:36 +03:00
  • f77126c8fa Increment version number to 0.6.3. Henri Sivonen 2017-04-29 21:24:36 +03:00
  • 56e0194998 Fix support for 32-bit big-endian hosts. Henri Sivonen 2017-04-29 21:23:56 +03:00
  • a40401d02b Increment version number to 0.6.2. Henri Sivonen 2017-04-28 10:03:48 +03:00
  • d894e27dfa Fix subslicing with bad indices in Encoder::encode_from_utf16. Henri Sivonen 2017-04-28 10:01:04 +03:00
  • 6dd118cad4 Avoid a branch when accumulating total error status. Henri Sivonen 2017-04-27 10:04:39 +03:00
  • 0e80d781d6 Increment version to 0.6.1. Henri Sivonen 2017-04-25 10:50:44 +03:00
  • 7be005fc63 Address Clippy lints. Henri Sivonen 2017-04-25 10:45:01 +03:00
  • e11997869d Make checked_min() work correctly. Henri Sivonen 2017-04-24 18:35:23 +03:00
  • 47f3d176c9 Change version to 0.6.0. Henri Sivonen 2017-04-24 14:20:04 +03:00
  • daed296e9e Check for integer overflow in max size computation. Henri Sivonen 2017-04-24 14:18:35 +03:00
  • fac5655515 Upgrade rayon to 0.7.0. Henri Sivonen 2017-04-24 10:03:50 +03:00
  • 1c8bd234b3 Increment version to 0.5.1. Henri Sivonen 2017-04-24 09:57:49 +03:00
  • 079e52a918 Update release notes for 0.5.1. Henri Sivonen 2017-04-24 09:56:50 +03:00
  • 105d503e3b Update reason why the lastest rustfmt release doesn't work. Henri Sivonen 2017-04-24 09:52:41 +03:00
  • afac5e3d9a Comment out code that the ALU code split made dead. Henri Sivonen 2017-04-24 09:07:59 +03:00
  • 85f3d89ef8 Fix support for big-endian hosts. (Only tested the 64-bit case.) Henri Sivonen 2017-04-21 11:51:20 +03:00
  • 5b96b0cb9d Revert to the ASCII handling approaches that were the best for RPi3. Henri Sivonen 2017-04-19 15:54:33 +03:00
  • 76aba3b99d Merge branch 'master' of github.com:hsivonen/encoding_rs Henri Sivonen 2017-03-14 13:48:13 +02:00
  • aa4446d051 Merge pull request #10 from BurntSushi/doc-fix-bom-length Henri Sivonen 2017-03-12 19:39:05 +02:00
  • 105d0fc7bf Fix BOM length for UTF-16BE in docs. Andrew Gallant 2017-03-12 10:09:36 -04:00
  • 22b0b72baa Output encoding is always potentially borrowable. Henri Sivonen 2017-03-08 16:27:46 +02:00
  • 3629232b59 Improve docs. Henri Sivonen 2017-02-24 12:10:44 +02:00
  • 9c32412395 Reorder methods for better documentation readability. Henri Sivonen 2017-02-24 10:53:16 +02:00
  • abd87c2445 Increment version to 0.5.0. Henri Sivonen 2017-02-23 16:37:03 +02:00
  • 32a9a161b9 Annotate the result structs with #[must_use]. Henri Sivonen 2017-02-23 16:36:22 +02:00
  • ee17acb826 Add missing C availability annotation. Henri Sivonen 2017-02-23 16:28:08 +02:00
  • 1bc3cd82b2 Limit the size of the initial allocation in non-streaming decode. Henri Sivonen 2017-02-22 16:43:36 +02:00
  • 77dc4a19b0 Use correct length calculation when decoding without replacement. Henri Sivonen 2017-02-22 11:39:41 +02:00
  • 12bb66a48b Change version number to 0.4.0. Henri Sivonen 2017-02-15 08:58:06 +02:00
  • d2d1a7a173 Make Rayon optional considering questionable benefit. Henri Sivonen 2017-02-14 09:35:06 +02:00
  • d81d74674e Fix typo in docs. Henri Sivonen 2017-02-01 16:30:56 +02:00
  • 4c053fbd15 Expose UTF-8 and ASCII validation methods. Henri Sivonen 2017-02-01 16:26:19 +02:00
  • 31f2f4c904 Rename ascii_without_iso_2022_jp_specials_valid_up_to(). Henri Sivonen 2017-02-01 16:16:40 +02:00
  • a685c7a5af Borrow even with ISO-2022-JP when possible. Henri Sivonen 2017-02-01 16:14:43 +02:00
  • 11c24ea88d Add parallel UTF-8 to release notes. Henri Sivonen 2017-02-01 15:54:45 +02:00
  • 7998755983 Mark Rayon done. Henri Sivonen 2017-02-01 15:53:21 +02:00
  • 46db526298 Calibrate Rayon (with SSE2). Henri Sivonen 2017-02-01 15:52:19 +02:00
  • a45479098a Don't loop too many times in the inner loop when splitting UTF-8. Henri Sivonen 2017-02-01 14:55:42 +02:00
  • 92dadae6ac Parallelize UTF-8 validation with Rayon. Henri Sivonen 2017-02-01 12:01:39 +02:00
  • 0c0c711e3b Mark label lookups as done. Henri Sivonen 2017-02-01 11:25:12 +02:00
  • c767ee9a5c Tweak doc wording. Henri Sivonen 2017-02-01 11:24:22 +02:00
  • 8b1373b53e Make label and name resolution faster and more correct. Henri Sivonen 2017-02-01 11:22:19 +02:00
  • b47100e357 Remove useless declaration. Henri Sivonen 2017-02-01 09:54:08 +02:00
  • e06030b08f Make labels with bogus bytes fail fast. Henri Sivonen 2017-02-01 09:51:37 +02:00
  • 5a6c7a4a05 Mark CJK compression done. Henri Sivonen 2017-02-01 09:39:55 +02:00
  • 8eae2d472d Restore support for the Rust release channel. Henri Sivonen 2017-02-01 09:25:10 +02:00
  • 38e922ba26 Fix compilation with --features no-static-ideograph-encoder-tables. Henri Sivonen 2017-01-27 12:04:00 +02:00
  • 0a4726d6c8 Accelerate Big5 Level 1 Hanzi encode. Henri Sivonen 2017-01-27 11:06:55 +02:00
  • a652977446 Refactor Big5 BMP encode. Henri Sivonen 2017-01-27 10:50:37 +02:00
  • 683eb5aa53 Optimize Big5 astral encode. Henri Sivonen 2017-01-27 09:42:56 +02:00
  • e7e6d2f7d8 Clean up Big5 table generation. Henri Sivonen 2017-01-27 09:11:17 +02:00
  • f83a874841 Check for two-code-point Big5 pointers only if index lookup fails. Henri Sivonen 2017-01-27 08:56:29 +02:00
  • 4242f23779 Accelerate jis0208 Level 1 Kanji in ISO-2022-JP encode. Henri Sivonen 2017-01-25 14:41:06 +02:00
  • f3a81d28f1 Accelerate jis0208 Level 1 Kanji in EUC-JP encode. Henri Sivonen 2017-01-25 14:30:57 +02:00
  • 9abaef662a Accelerate jis0208 Level 1 Kanji in Shift_JIS encode. Henri Sivonen 2017-01-25 13:55:11 +02:00
  • c87af30363 Accelerate GB2312 Level 1 Hanzi encode. Henri Sivonen 2017-01-25 13:11:52 +02:00
  • 5862faa260 Refactor GB2312 Hanzi encode into functions. Henri Sivonen 2017-01-25 11:42:08 +02:00