Commit Graph

  • 53a7f4c7cb Work around constants being inline expressions instead of values. Henri Sivonen 2016-07-14 15:03:35 +03:00
  • f7b3e45c5d Add output encoding tests. Henri Sivonen 2016-07-14 13:36:49 +03:00
  • 2e8b126d4c Add a way to obtain an encoding for a BOM. Henri Sivonen 2016-07-14 11:47:28 +03:00
  • b25b03428b Add newline to the end of COPYRIGHT. Henri Sivonen 2016-07-14 11:26:24 +03:00
  • 186ab87b68 Dedicate Test Code to the Public Domain per Mozilla policy. Henri Sivonen 2016-07-14 11:25:09 +03:00
  • 93f6ef79bd Better error messages in the Python script. Henri Sivonen 2016-07-12 13:45:19 +03:00
  • bf67f9f3d1 Add Encoding.is_ascii_compatible(). Henri Sivonen 2016-07-12 13:45:00 +03:00
  • 2a4a56a7ff Upgrade license URLs to https. Henri Sivonen 2016-07-12 10:57:35 +03:00
  • 4275e2e7ac Update roadmap status. Henri Sivonen 2016-07-09 15:33:14 +03:00
  • f6d137e206 Add package description. Henri Sivonen 2016-07-09 15:24:02 +03:00
  • 7477af6b78 Prepare for the first crates.io release. Henri Sivonen 2016-07-09 15:21:08 +03:00
  • f12fd6c205 Link to docs from Cargo.toml. Henri Sivonen 2016-07-09 15:10:12 +03:00
  • bea1edf801 Add crates.io and license badges. Henri Sivonen 2016-07-09 15:03:44 +03:00
  • 39cec93f23 Make ffi.rs compile with rustc 1.10. Henri Sivonen 2016-07-09 14:32:41 +03:00
  • 263df450c2 Add Travis build status image to the README. Henri Sivonen 2016-07-08 15:13:50 +03:00
  • 3eee9e268f Add Travis CI configuration. Henri Sivonen 2016-07-08 15:09:24 +03:00
  • d210df9751 Link to API docs. Henri Sivonen 2016-07-07 13:09:25 +03:00
  • 1f63cfa497 Rename from encoding-rs to encoding_rs. Henri Sivonen 2016-07-07 13:03:33 +03:00
  • 1b22b78224 Make EncoderResult doc consistent with DecoderResult. Henri Sivonen 2016-07-07 12:51:56 +03:00
  • 1513b63ba1 Add non-streaming convenience methods for decoding. Henri Sivonen 2016-07-07 12:49:54 +03:00
  • 90392ffc31 Make naming of max length methods for decoding consistent in FFI. Henri Sivonen 2016-07-07 11:35:01 +03:00
  • d04f32eed1 Swap naming around "with replacement" and "without replacement". Henri Sivonen 2016-07-07 11:20:41 +03:00
  • 754b322206 Flag a convenience method for removal. Henri Sivonen 2016-07-05 14:27:08 +03:00
  • fd3fc8cb96 Improve doc for output encoding. Henri Sivonen 2016-07-05 14:21:02 +03:00
  • abea0ee372 Fix formatting. Henri Sivonen 2016-07-05 14:17:49 +03:00
  • 48fa460ddf Add docs explaining Encoding instances. Henri Sivonen 2016-07-05 14:17:09 +03:00
  • 90173729e1 More FFI docs. Henri Sivonen 2016-07-05 13:40:55 +03:00
  • 69b71c21dd More documentation. Henri Sivonen 2016-07-05 13:30:37 +03:00
  • e3c788a32a Add missing word. Henri Sivonen 2016-07-05 10:10:27 +03:00
  • 4175536a6c Add a contribution guide. Henri Sivonen 2016-07-05 10:08:54 +03:00
  • 732398d5be Mention binary search on the roadmap. Henri Sivonen 2016-07-05 09:21:05 +03:00
  • df9bb0d873 Remove sentence that's no longer true. Henri Sivonen 2016-06-30 16:31:00 +03:00
  • de60c3cec9 Fix typo. Henri Sivonen 2016-06-30 16:29:26 +03:00
  • 03407ecd6f Fix typo. Henri Sivonen 2016-06-30 16:27:52 +03:00
  • 8ed15d23d1 Fix description of WithReplacementResult. Henri Sivonen 2016-06-30 16:26:17 +03:00
  • 856913bbff Upgrade rustfmt. Henri Sivonen 2016-06-30 16:25:47 +03:00
  • 9c74fb7055 Remove more mentions of "DOM name". Henri Sivonen 2016-06-30 16:18:41 +03:00
  • 256f86134b Remove mention of "DOM name". Henri Sivonen 2016-06-30 16:17:40 +03:00
  • d5b6b11cd8 Remove remarks about the spec having lower-case names. Henri Sivonen 2016-06-30 16:14:56 +03:00
  • f0c013cb32 Remove duplicate mention of output encoding. Henri Sivonen 2016-06-30 16:12:53 +03:00
  • ebe899cfc2 Suppress warning about unused unread_handle. Henri Sivonen 2016-06-30 16:08:39 +03:00
  • 505ad8ac30 Suppress warning. Henri Sivonen 2016-06-30 16:07:05 +03:00
  • dc0ddf68e5 Remove dead method. Henri Sivonen 2016-06-30 15:42:55 +03:00
  • 87392ea767 Test x-user-defined. Henri Sivonen 2016-06-30 15:30:46 +03:00
  • 56b4fde4a6 Remove unused "use". Henri Sivonen 2016-06-30 15:22:55 +03:00
  • 05667cebed More testing of UTF-8 as output encoding. Henri Sivonen 2016-06-30 15:16:44 +03:00
  • 9636045cf0 Test UTF-16 encode (actually UTF-8). Henri Sivonen 2016-06-30 15:14:06 +03:00
  • 1758faca11 Test UTF-16 decode. Henri Sivonen 2016-06-30 15:09:59 +03:00
  • ee10dfaed3 Test ISO-2022-JP encode. Henri Sivonen 2016-06-30 13:31:56 +03:00
  • 56569a75b7 Test ISO-2022-JP decode. Henri Sivonen 2016-06-30 12:19:06 +03:00
  • e73e66bedd Test more bad EUC sequences. Henri Sivonen 2016-06-30 10:25:13 +03:00
  • 5668dc4b18 Clean up gb18030 math. Henri Sivonen 2016-06-28 13:28:37 +03:00
  • fed68c2370 More tests for gb18030. Henri Sivonen 2016-06-28 13:22:44 +03:00
  • a8b2d62177 Fix whitespace. Henri Sivonen 2016-06-28 12:42:04 +03:00
  • e351f5e682 Add documentation to the roadmap. Henri Sivonen 2016-06-27 20:50:58 +03:00
  • 90df469366 Test GB18030 decode. Henri Sivonen 2016-06-27 18:30:21 +03:00
  • 68a55b57fb Remove unused argument from the replacement decoder. Henri Sivonen 2016-06-01 14:59:15 +03:00
  • e5a2035d49 Test EUC-KR. Henri Sivonen 2016-06-01 14:55:18 +03:00
  • 2e8e821a76 Fix Shift_JIS. Henri Sivonen 2016-06-01 13:20:59 +03:00
  • 5f817aabbc Remove an empty item from the roadmap. Henri Sivonen 2016-06-01 12:05:15 +03:00
  • 46e4e8ee4d Add a roadmap to the README. Henri Sivonen 2016-06-01 12:03:55 +03:00
  • 76e4dee792 Test Shift_JIS. Henri Sivonen 2016-05-30 17:38:47 +03:00
  • ba53f077e0 Simplify testing by automatically generating the UTF-16 variants. Henri Sivonen 2016-05-27 13:31:14 +03:00
  • 537825909c Test the EUC-JP encoder. Henri Sivonen 2016-05-27 12:55:46 +03:00
  • 23c09485a0 Test the EUC-JP decoder. Henri Sivonen 2016-05-26 15:06:47 +03:00
  • 28dfc4718e Test half-width EUC-JP. Henri Sivonen 2016-05-26 14:48:44 +03:00
  • 6791b61c68 Avoid integer overflow when decoding half-width EUC-JP. Henri Sivonen 2016-05-26 14:41:32 +03:00
  • d970b70b26 Fix the ISO-2022-JP encoder. Henri Sivonen 2016-05-26 11:39:22 +03:00
  • 182f95da5d Increment position by 4 in write_four(). Henri Sivonen 2016-05-26 10:46:27 +03:00
  • 6a022c68ff Delete dead code in handles.rs. Henri Sivonen 2016-05-26 10:45:26 +03:00
  • a23d6cf0a4 Implement the UTF-16 decoder. Henri Sivonen 2016-05-26 10:38:54 +03:00
  • dcdeff54da Fix formatting for EUC-JP and Shift_JIS. Henri Sivonen 2016-05-24 12:54:12 +03:00
  • 07d4b01668 Implement the x-user-defined decoder. Henri Sivonen 2016-05-24 12:53:38 +03:00
  • 3361cfa107 Make ISO-2022-JP length calculation compile. Henri Sivonen 2016-05-24 12:53:21 +03:00
  • 5cc787da43 Implement the x-user-defined encoder. Henri Sivonen 2016-05-24 12:48:46 +03:00
  • f88995e01c Fill in buffer length calculations. Henri Sivonen 2016-05-24 12:44:24 +03:00
  • f7e8c165d5 Remove useless paratheses. Henri Sivonen 2016-05-24 12:17:01 +03:00
  • f86a4ad80c Implement the Shift_JIS encoder. Henri Sivonen 2016-05-19 15:35:42 +03:00
  • 71020dcd26 Implement the EUC-KR encoder. Henri Sivonen 2016-05-19 15:28:37 +03:00
  • 432d0cdf4d Implement the EUC-JP encoder. Henri Sivonen 2016-05-19 15:25:50 +03:00
  • 0d7e2075b6 gb18030 cannot encode all of Unicode! Henri Sivonen 2016-05-19 15:11:26 +03:00
  • 96fc5470b9 Take the gbk flag into account when computing max encode sizes. Henri Sivonen 2016-05-19 14:48:54 +03:00
  • d2c74a5f00 Add gb18030 encoder. Henri Sivonen 2016-05-19 14:42:26 +03:00
  • dfab9510a1 Max size calculations for the GB18030 decoder. Henri Sivonen 2016-05-02 15:15:06 +03:00
  • 3320c61588 Add the gb18030 decoder. Henri Sivonen 2016-04-18 14:56:59 +03:00
  • 6dc315a52a Make the JIS0212 index compile. Henri Sivonen 2016-04-15 11:33:14 +03:00
  • da338b2ce9 Implement EUC-JP decoder. Henri Sivonen 2016-04-13 15:18:19 +03:00
  • 00f8231174 Implement EUC-KR decoder. Henri Sivonen 2016-04-13 14:44:40 +03:00
  • 7090847c55 Implement Shift_JIS decoder. Henri Sivonen 2016-04-13 14:31:29 +03:00
  • b8afd05654 Implement ISO-2022-JP encoder. Henri Sivonen 2016-04-13 13:31:44 +03:00
  • 6bef04a800 Use references instead of pointers for _into variants in C++. Henri Sivonen 2016-04-13 12:09:37 +03:00
  • f2710d3da1 Signal the actual encoding used by the convenience methods. Henri Sivonen 2016-04-11 13:35:05 +03:00
  • 2b1dd8a990 Support all three BOM handling modes from the spec. Henri Sivonen 2016-04-11 12:57:06 +03:00
  • 6fedce70f6 Designate the correct malformed bytes in ISO-2022-JP. Henri Sivonen 2016-04-11 12:20:14 +03:00
  • ae4136afe9 Implement ISO-2022-JP decoder. Henri Sivonen 2016-04-06 17:28:27 +03:00
  • a423c998b1 Add more UTF-8 test cases. Henri Sivonen 2016-03-31 16:07:16 +03:00
  • fff7abbffe Add naive UTF-8 decoding. Henri Sivonen 2016-03-31 15:50:32 +03:00
  • d70280fcbb Implemen the output encoding concept. Henri Sivonen 2016-03-31 13:26:08 +03:00
  • 3f7aa8cc94 Document that the decode methods on Encoding sniff the BOM. Henri Sivonen 2016-03-31 12:59:45 +03:00
  • 493805fd2f Have a separate set of methods for creating decoders without sniffing. Henri Sivonen 2016-03-31 12:56:21 +03:00