Commit Graph

149 Commits

Author SHA1 Message Date
Sujay Jayakar e9210364d8 Update nonstarter_count correctly + add test for all nonstarters string 2020-11-30 15:21:35 -08:00
Manish Goregaokar fd4997b126 Add github actions 2020-11-30 15:21:35 -08:00
Manish Goregaokar 69a16a17f6 Publish 0.1.16 2020-11-18 13:33:10 -08:00
Manish Goregaokar 933ee7948f Merge pull request #64 from sunfishcode/sunfishcode/nfd-buffering
Make the decompose iterator avoid buffering elements past a starter.
2020-11-18 13:32:05 -08:00
Manish Goregaokar 6138a5beb1 Merge pull request #65 from sunfishcode/sunfishcode/stream-safe-reset
Reset the stream-safe position when a starter is seen.
2020-11-18 13:31:32 -08:00
Manish Goregaokar 8d93152948 Merge pull request #66 from sunfishcode/master
Minor cleanups after #63
2020-11-18 13:30:30 -08:00
Dan Gohman 49654fcb12 Make the decompose iterator avoid buffering elements past a starter.
Once the decompose iterator sees a starter, it should immediately start
returning characters from the preceeding sequence. If the input happens
to be stream-safe, it should never get more than MAX_NONSTARTERS + plus
boundary values ahead of its inner iterator.
2020-11-18 11:16:13 -08:00
Dan Gohman 43948859e4 Reset the stream-safe position when a starter is seen.
This avoids inserting too many CGJs.
2020-11-18 11:15:42 -08:00
Dan Gohman 06dc0cc429 Fix an unused import warning in a test. 2020-11-18 10:48:39 -08:00
Dan Gohman 960ac7fd7d Use a local path dependency for unicode-normalization.
And update the libfuzzer-sys dependency while here.
2020-11-18 10:30:11 -08:00
Dan Gohman 00e2834d24 Use assert_ne! instead of assert! and !=. 2020-11-18 10:29:32 -08:00
Manish Goregaokar b3b473748c Merge pull request #63 from sunfishcode/master
Add a fuzz target.
2020-11-17 22:06:24 -08:00
Dan Gohman 8a24c56ae7 Add a fuzz target. 2020-11-17 21:58:20 -08:00
Manish Goregaokar 96e66358f7 Bump version, add self as co-maintainer 2020-11-17 19:45:32 -08:00
Manish Goregaokar b8bc682b9b Merge pull request #62 from unicode-rs/streamsafe-reset
Correctly reset streamsafe iterator
2020-11-17 19:43:35 -08:00
Manish Goregaokar ff51b1fae1 Add test for streamsafe iterator 2020-11-17 19:39:42 -08:00
Manish Goregaokar 4621ed6b98 Reset stream safe iterator to buffered character when outputting CGJ 2020-11-17 19:39:16 -08:00
Manish Goregaokar 4de7c07202 Merge pull request #61 from Lokathor/tinyvec-version-bump
update tinyvec version to the new 1.0
2020-08-27 21:01:00 -07:00
Lokathor ee8519830d Update Cargo.toml 2020-08-27 21:54:58 -06:00
Manish Goregaokar c238ebbc09 Merge pull request #60 from matklad/biggertinyvec
Update tinyvec dependency
2020-07-23 09:54:56 -07:00
Aleksey Kladov 2ca77c3a4b Update tinyvec dependency 2020-07-23 11:44:29 +02:00
Manish Goregaokar 2b2ba4f221 Bump to 0.1.14 2020-06-30 11:41:43 -07:00
Manish Goregaokar d41511abdd Merge branch 'pr-56' into HEAD 2020-06-30 11:41:19 -07:00
Manish Goregaokar f01e1c882a Fix https url 2020-06-30 11:40:48 -07:00
Pyfisch bd1fcfbfab Update to Unicode 13
Change version fields to u8 as the maximum value
of each field is 255 according to specification.
2020-04-13 11:58:40 +02:00
Manish Goregaokar 2d54d9a19a Merge pull request #55 from Dentosal/master
Add no_std + alloc support
2020-04-10 15:14:25 -07:00
Hannes Karppila df9c4652db Bump version 2020-04-10 23:37:39 +03:00
Hannes Karppila b1d2bd86a6 Add note about no_std support to readme 2020-04-10 23:37:38 +03:00
Hannes Karppila 8933ac623c Remove stable feature flag iterator_step_by 2020-04-10 23:37:38 +03:00
Hannes Karppila 1d77ba2bc4 Add no_std + alloc support 2020-04-10 23:37:38 +03:00
Hannes Karppila ca0037583e Apply rustfmt 2020-04-10 23:37:34 +03:00
Hannes Karppila b098399338 Do not automatically format tables 2020-04-10 23:35:20 +03:00
Hannes Karppila 36184100f7 Remove ignored inline annotations 2020-04-10 23:35:19 +03:00
Hannes Karppila 9e3b5169d6 Fix generated import statements in tables.rs 2020-04-10 23:35:11 +03:00
Hannes Karppila 0d6e296cc4 Migrate to Rust 2018 edition 2020-04-09 19:10:25 +03:00
Hannes Karppila a509705221 Update tinyvec dependency 2020-04-09 19:09:23 +03:00
Manish Goregaokar 39a487eb43 Merge pull request #54 from Shnatsel/tinyvec
Switch from SmallVec to 100% safe TinyVec
2020-03-16 10:17:55 -07:00
Sergey "Shnatsel" Davidoff f401915be2 Merge remote-tracking branch 'origin/master' into tinyvec 2020-03-16 00:57:27 +01:00
Sergey "Shnatsel" Davidoff 432074711b Improve comment 2020-03-16 00:37:04 +01:00
Sergey "Shnatsel" Davidoff 3058939b1f Update to newer TinyVec 2020-03-16 00:22:48 +01:00
Manish Goregaokar a303f6f448 Publish 0.1.12 2020-01-21 14:34:56 -08:00
Manish Goregaokar d257973689 Merge pull request #52 from clintfred/master
Bump to smallvec 1.1.0
2020-01-21 14:24:18 -08:00
Clint Frederickson 0274330fea bump to smallvec 1.1.0 2020-01-21 15:15:16 -07:00
Sergey "Shnatsel" Davidoff 09fdcc2b81 Switch from SmallVec to 100% safe TinyVec 2020-01-13 19:56:13 +01:00
Manish Goregaokar 1e2049e4f9 Merge pull request #49 from unicode-rs/bump
Bump to 0.1.11
2019-11-22 08:31:48 -08:00
Manish Goregaokar ecadf7d44c Bump to 0.1.11 2019-11-22 08:31:00 -08:00
Manish Goregaokar a29396492b Add #[allow(ellipsis_inclusive_range_patterns)] to unicode.py 2019-11-22 08:30:05 -08:00
Manish Goregaokar 68a82a383f Merge pull request #48 from kentfredric/attempt-4
Migrate normalization tests to test/ to simplify pruning tests during shipping.
2019-11-22 08:28:45 -08:00
Manish Goregaokar df6b42c95d Merge pull request #47 from unicode-rs/version-bump
Bump to 0.1.10
2019-11-21 13:45:10 -08:00
Manish Goregaokar ad8c48e4bf Bump to 0.1.10 2019-11-21 13:43:19 -08:00