Fossil

Timeline
Login

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

50 events by user jan.nijtmans occurring around 2012-10-30 20:10:28.

2012-11-04
18:00
merge trunk <p>Factor out main part of UTF-8 check to macro check-in: ce7c52223e user: jan.nijtmans tags: improve_commit_warning
10:50
merge trunk check-in: bd7b8a485f user: jan.nijtmans tags: improve_commit_warning
10:48
merge trunk, some improvements in messages (not yet ready yet) check-in: 517a6f7a53 user: jan.nijtmans tags: improve_commit_warning
2012-11-03
11:21 Ticket [8ca2aae391] Command-line wildcards broken with Fossil 1.24 on Windows, in some cases crashing Fossil (1.23 was OK) status still Open with 1 other change artifact: 9612c7d921 user: jan.nijtmans
2012-11-02
14:22
don't forget to compensate for the line-length check check-in: 9011fe1226 user: jan.nijtmans tags: improve_commit_warning
10:55
Generate warning when to-be-committed file contains invalid UTF-8 check-in: 4e86b06a9f user: jan.nijtmans tags: improve_commit_warning
08:49 Edit [5963c2dde8801d5f|5963c2dde8]: Mark "Closed". artifact: f04ffb7632 user: jan.nijtmans
08:31
speedup mimetype_from_content() by using a 256 byte array. <br>Mark VT and Ctrl-Z as text bytes, not binary. <br>Decrease maximum UTF-16 line length to 2731 <br>Check for FFFF in addition to 0, in UTF-16/binary detection. check-in: d804902f23 user: jan.nijtmans tags: trunk
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
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
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
14:56
Some more style en comment fixes, backported from [d57f0a9361], that I missed before. check-in: 1e2fdf98bc user: jan.nijtmans 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: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
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
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
08:06
take over various stylistic adjustments check-in: ab5a6b436e user: jan.nijtmans tags: use-blob_strip_bom
2012-10-29
22:34 Ticket [d23fb0b742] i18n for commit comments status still Open with 1 other change artifact: fc93890ca9 user: jan.nijtmans
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
15:24 Edit [70b4f105ebaab44c|70b4f105eb]: Edit check-in comment. artifact: a7fd691a23 user: jan.nijtmans
14:45 Edit [9267dba49830aeda|9267dba498]: Mark "Closed". artifact: 83f2091302 user: jan.nijtmans
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
22:38 Edit [b2204034ecb389e5|b2204034ec]: Edit check-in comment. artifact: 4c6d14245b user: jan.nijtmans
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
21:20 Edit [204680eedc023295|204680eedc]: Edit check-in comment. artifact: 8b3944072a user: jan.nijtmans
20:47
.. but don't forget to update j check-in: 6542935c9d user: jan.nijtmans tags: trunk
20:40
speed-up looks_like_text(), by eliminating variable "i" and handle first character separately. check-in: 204680eedc user: jan.nijtmans tags: trunk
10:05
fix abandoning message check-in: f57f74b2af user: jan.nijtmans tags: use-blob_strip_bom
10:03
merge trunk check-in: 0b6b0dfd0b user: jan.nijtmans tags: use-blob_strip_bom
09:34
modify looks_like_binary() to looks_like_text() such that it is usable in cr_warning() as well check-in: 1bffce5230 user: jan.nijtmans tags: trunk