Fossil

Timeline
Login

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

44 check-ins using file src/rebuild.c version 43e7058a28

2012-11-02
02:27
Merge commit warning and file content type detection changes to trunk. check-in: 0c7c61447f user: mistachkin tags: trunk
2012-11-01
20:19
Add detection of binary data with no leading UTF-16 byte-order-mark. Closed-Leaf check-in: 7d3a06b89a user: mistachkin tags: commitWarningV2
20:09
Improve detection of UTF-8, UTF-16, binary data, and carriage returns during commit operations. check-in: c837e44445 user: mistachkin tags: commitWarningV2
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
14:02
bug-fix: Before preparing a diff, BOM's should not be removed. It might result in a BOM in the middle of UTF-8, which is invalid, but that's how diff works. check-in: cd06b7d8af user: jan.nijtmans tags: use-blob_strip_bom
12:32
merge trunk check-in: 9e97de3410 user: jan.nijtmans tags: use-blob_strip_bom
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
07:40
dont check for same BOM twice check-in: 8c32e6f0dd user: jan.nijtmans tags: trunk
03:44
Merge commit warning and looks_like_text() enhancements to trunk. Further changes based on these will occur on a branch. check-in: 6182584217 user: mistachkin 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
14:56
Some more style en comment fixes, backported from [d57f0a9361], that I missed before. check-in: 1e2fdf98bc user: jan.nijtmans tags: trunk
14:15
Add the "fossil test-missing" command. Make test-missing and test-orphans available to "fossil all". check-in: eb94999143 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
12:12
Enhance the control-artifact parser to optionally return an error when the parse fails. Fix a bug in the artifact parser which caused it to ignore Z-card checksum failures. check-in: aab9e66b8b user: drh tags: trunk
09:56
strip BOM from artifacts embedded in HTML or text check-in: 01050d689d user: jan.nijtmans tags: trunk
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
00:11
Avoid the use of stdarg.h in the "all" command, since it was causing problems for reasons I do not understand. check-in: ec4c935223 user: drh tags: trunk
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
16:16
merge trunk check-in: 27d8f1b6d0 user: jan.nijtmans tags: use-blob_strip_bom
16:14
Style en comment fixes, backported from [d57f0a9361] check-in: c7b2b2ed3c user: jan.nijtmans tags: trunk
15:18
working utf-16 diff, still being tested check-in: 879d1e2405 user: jan.nijtmans tags: use-blob_strip_bom
10:23
Fix a typo in a comment. check-in: 1167d7b145 user: drh tags: trunk
08:06
take over various stylistic adjustments check-in: ab5a6b436e user: jan.nijtmans tags: use-blob_strip_bom
02:17
Refactor commit warning functionality. Break out UTF-16 BOM detection into a new function. Style and comment fixes. Closed-Leaf check-in: d57f0a9361 user: mistachkin tags: commitWarning
2012-10-29
22:09
Working "c=convert" option for <nowiki>[fossil commit]</nowiki>. Just to be tested a little bit more. check-in: a97aa34920 user: jan.nijtmans tags: use-blob_strip_bom
16:01
fix bit handling check-in: 1badca9491 user: jan.nijtmans tags: use-blob_strip_bom
15:57
(experiment) Allow 'c' for converting unicode/crlf files at user request, not complete yet. check-in: 121394b04f user: jan.nijtmans tags: use-blob_strip_bom
14:45
Allow unicode files for Wiki-rendering on Windows. <p>Trying to commit a file with an UTF-16 BOM will now give a warning, just as a file containing crlf <p>The --args command line option now accept UTF-16 files as well check-in: 70b4f105eb user: jan.nijtmans tags: trunk
14:35
fix "possible unresolved merge conflict" warning message to show the pathname relative to the wd in stead of the root check-in: 2a15d87edb user: jan.nijtmans tags: trunk
14:04
fix handling of "crlf-glob" option: UTF-16 BOM's always give a warning now Closed-Leaf check-in: 9267dba498 user: jan.nijtmans tags: use-blob_strip_bom
08:27
merge trunk check-in: f61d0a1c50 user: jan.nijtmans tags: use-blob_strip_bom
2012-10-28
23:01
Simplify the looks_like_binary() macro. Remove literal tab character, adjust styling and comments in looks_like_text(). check-in: c8e72df08e user: mistachkin tags: trunk
22:37
missing &lt;tr&gt; tag check-in: b2204034ec user: jan.nijtmans tags: trunk
22:08
merge trunk check-in: 6c41027335 user: jan.nijtmans tags: use-blob_strip_bom
21:52
now tested with ssl enabled as well check-in: 101a53cfc9 user: jan.nijtmans tags: trunk
21:38
- finally, do the ++j update in looks_like_text() right - More consistancy in prompt handling: accept Capitals everywhere, use '(' not '[', and abbreviate yes/no to y/N everywhere check-in: 7c527165a6 user: jan.nijtmans tags: trunk