Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
17 check-ins related to "improve_looks_like_binary"
|
2012-11-01
| ||
| 15:38 | Correct wrong manual merge. ... (Closed-Leaf check-in: 5963c2dde8 user: jan.nijtmans tags: improve_looks_like_binary) | |
| 14:49 | Add back checks for FFFE and FFFF in looks_like_text: <br>- FFFE is a reversed BOM. It could arise when an UTF-16LE and an UTF-16BE file are concatenated. This is always a fatal error, so diff should bail out early. <br>- FFFF is a permanently unassigned character as well, which doesn't exist in any font. Sometimes uninitialized variables are either initialized with 0000 or FFFF, so this makes it much more likely that binary files are detected early. <p>The earlier check for FEFF was not sensible: A BOM in the middle of an UTF-16 file could easily arise when two UTF-16LE or twe UTF-16BE files are concatenated. Nothing goes wrong in that case, the BOM should just be displayed a zero-width-space. Therefore, diff should not bail out. ... (check-in: 64868f2b98 user: jan.nijtmans tags: improve_looks_like_binary) | |
| 11:52 | style fix ... (check-in: 0ccbb44f14 user: jan.nijtmans tags: improve_looks_like_binary) | |
| 11:48 | merge trunk <p>let looks_like_text() give different values for UTF-16 BE/LE. Not used yet. ... (check-in: 348637dedf user: jan.nijtmans tags: improve_looks_like_binary) | |
| 10:20 | Restore Style fix, which got lost by [618258421767778c] ... (check-in: ef6c243ed9 user: jan.nijtmans tags: trunk) | |
|
2012-10-31
| ||
| 20:56 | adapt comments accordingly ... (check-in: b5123d5154 user: jan.nijtmans tags: improve_looks_like_binary) | |
| 20:49 | Don't make it too complicated, too much risk to break other things. ... (check-in: de5a2ef661 user: jan.nijtmans tags: improve_looks_like_binary) | |
| 19:48 | Add the wiki-moderator and ticket-moderator permissions. Not yet used. ... (check-in: fc0bffd995 user: drh tags: trunk) | |
| 13:58 | fix comment ... (check-in: e1aed25eee user: jan.nijtmans tags: improve_looks_like_binary) | |
| 12:58 | Two more enhancements. <br>- DOS text files sometimes use Control-Z (0x1a) as eof-marker, so this byte should be considered text. <br>- FEFF, FFFE and FFFF are invalid UTF-16 code points (when not used as BOM), so files containing those should be considered binary. ... (check-in: e3f3c390f1 user: jan.nijtmans tags: improve_looks_like_binary) | |
| 09:15 | Fix UTF-16 line length determination: j is counted in characters, not bytes. ... (check-in: 44c6be2ab6 user: jan.nijtmans tags: improve_looks_like_binary) | |
| 08:43 | Enhance looks_like_text(): <br>- Detect line-length overflow earlier, not at the next NL <br>- Implement the same binary and line-length check for UTF-16 as well <p>For UTF-16, the line-length limit is set to 2/3th of the line length limit for other text, because UTF-16 -> UTF-8 conversion can increase the line length (in bytes) by max 50%. This guarantees that a UTF-16 diff can be made by converting the two UTF-16 files to UTF-8 and then do a normal diff. ... (check-in: 58702daa55 user: jan.nijtmans tags: improve_looks_like_binary) | |
|
2012-10-30
| ||
| 20:10 | Faster determination of binary files, by not only checking for NUL <p>re-use looks_like_blob ... (check-in: 0ba08f9d26 user: jan.nijtmans tags: improve_looks_like_binary) | |
| 18:14 | Update to the version of SQLite that adds support for coroutines used to generate subqueries. ... (check-in: bdbe6c74b8 user: drh tags: trunk) | |
|
2012-10-26
| ||
| 01:38 | Improvements to the way binary files are detected. ... (check-in: 8a1c80fb34 user: drh tags: trunk) | |
|
2012-10-25
| ||
| 14:50 | diff.c:looks_like_binary(): No need to make the blob null-terminated. <p>checkin.c: Make limits the same as in looks_like_binary(), preparation to move the function to diff.c ... (Closed-Leaf check-in: c3ec6309fd user: jan.nijtmans tags: improve_looks_like_binary) | |
| 13:59 | Allow the deletion of multiple stash entries using "fossil stash rm" with multiple arguments. Multi-stash deletion is undoable. ... (check-in: f41308d780 user: drh tags: trunk) | |