Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

29 check-ins related to "invalid_utf8_table"

2016-06-17
00:04
merged from trunk Closed-Leaf check-in: 8a877a7b18 user: sdr tags: invalid_utf8_table
2016-06-16
22:14
shrunk size of lead byte table for invalid_utf8, and took a shortcut to invalidate lead bytes between 0x80 & 0xBF inclusive check-in: 69328517f5 user: sdr tags: trunk
17:01
more optimizations (all lead bytes between 0x80 & 0xBF are invalid, so use simple check for those, and also can shrink the invalid_utf8 lead byte table even more) check-in: 6eb9a30c08 user: sdr tags: invalid_utf8_table
12:14
More optimizations, taken over from trunk. check-in: ec7f6b2e71 user: jan.nijtmans tags: invalid_utf8_table
11:39
Minor further speed-up: Only increment pointer if really needed. check-in: 5be2e9cf7d user: jan.nijtmans tags: trunk
09:44
merge-mark check-in: c22ec007ea user: jan.nijtmans tags: invalid_utf8_table
09:44
Further invalid_utf8() improvement: Save one indirection and a check, and make the table size even smaller. check-in: 6a59dbbb99 user: jan.nijtmans tags: trunk
09:14
Merge trunk check-in: a3328c00b7 user: jan.nijtmans tags: invalid_utf8_table
09:13
Use faster table-based approach when checking for invalid utf-8, in stead of complex bit-operations. check-in: 60349a6617 user: jan.nijtmans tags: trunk
08:04
A little bit faster, by only accessing *z once and using bit-operations in stead of comparisions. check-in: f246ea4313 user: jan.nijtmans tags: invalid_utf8_table
07:46
Unroll loop for even greater speed check-in: cc09e00358 user: jan.nijtmans tags: invalid_utf8_table
2016-06-15
15:00
added a few comments check-in: 63313a5f16 user: sdr tags: invalid_utf8_table
08:19
Simplifications and constification check-in: 6051c441ed user: jan.nijtmans tags: invalid_utf8_table
2016-06-14
18:08
merged from trunk check-in: 12675ab794 user: sdr tags: invalid_utf8_table
18:06
moved static table data out of invalid_utf8 and pre-initialized the table to avoid run time overhead; also shrunk the table by 50% by removing the ASCII code points check-in: d3fc377276 user: sdr tags: invalid_utf8_table
14:11
Forgot close tag in previous commit check-in: 3b3310a7b3 user: jan.nijtmans tags: trunk
05:00
merged from trunk check-in: d22c72bc92 user: sdr tags: invalid_utf8_table
2016-06-13
08:29
Fix handling of byte sequence \xF4\x00 in utf-8 validation. Now all tests pass again. Thanks to Scott Robison for discovering this! check-in: 5684672ab7 user: jan.nijtmans tags: trunk
2016-06-11
05:23
Further coding style improvements for the new invalid_utf8() function. Also fixes several C99-isms. check-in: 2fb7d59bee user: mistachkin tags: invalid_utf8_table
00:41
reformatted invalid_utf8 to make it conform a bit better to existing style check-in: dd3bb22cd7 user: sdr tags: invalid_utf8_table
00:13
merged from trunk check-in: 4f906e5357 user: sdr tags: invalid_utf8_table
00:11
fixed a bad function name; had tested it external to fossil but didn't build/test before committing; mea culpa check-in: 2e7a6cb03d user: sdr tags: invalid_utf8_table
00:06
added new tests for invalid utf8 sequences check-in: 6da500a156 user: sdr tags: trunk
2016-06-10
20:45
performance optimizations check-in: 635f3b0300 user: sdr tags: invalid_utf8_table
11:52
Merge additional test-cases from trunk. All pass now. check-in: 8a65d6f05c user: jan.nijtmans tags: invalid_utf8_table
11:49
Add many test-cases of (possible) invalid UTF-8 sequences check-in: acf7fe47bf user: jan.nijtmans tags: trunk
08:07
proposed new invalid_utf8 function check-in: e58334a007 user: sdr tags: invalid_utf8_table
2016-06-09
23:59
fixed an edge case in invalid_utf8 where a valid three byte seq could be misidentified check-in: 314cdab0d4 user: sdr tags: invalid_utf8_table
15:26
Add mimetypes for bz2 and bzip. check-in: c7e9625d42 user: drh tags: trunk