Fossil

Timeline
Login

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

68 check-ins using file src/wikiformat.c version 3870d4293b

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
11:58
Improvements to the fix for [0ff64b0a5fc88e7e]: (1) Better error message and (2) allow the partial commit of the renamed file as long as its destination files is also part of the partial commit. check-in: c0fe455c78 user: drh tags: trunk
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
00:46
Disallow the sequence: "fossil mv A B; fossil add A; fossil commit A;" since doing so requires both the old A and the new A to be in the same check-in. Ticket [0ff64b0a5fc8]. check-in: 27298fffc8 user: drh tags: trunk
2012-11-03
02:53
Perserve the "ubg", "brbg", and "ng" query parameters on the timeline when moving the display forwards and backwards in time or changing the length, etc, using the submenu buttons. check-in: 19ca7c6c54 user: drh tags: trunk
2012-11-02
23:52
Make the repeated-ticket suppressor output text ("N similar events omitted") appear at the end of the first line in the timeline, rather than on a separate line. Less obtrusive this way. check-in: dccb97fc34 user: drh tags: trunk
22:32
Add the undocumented --test option to "fossil clean", so that we can easily see what is being removed without actually removing it. This found a bug in the case-sensitivity logic, which was also fixed. Ticket [03fec0ab6021c776a4b3] check-in: d66057762f user: drh tags: trunk
21:53
Be aware of the filename case sensitivity of the underlying filesystem in the "fossil clean" command. Ticket [03fec0ab6021c77]. check-in: 640a4f49b1 user: drh tags: trunk
21:45
Only use the Tcl-derived argv/argc parser when compiling on windows using a compiler other than mingw. The crt0 for mingw works, and it also does wildcard expansion. Need to update the parse_windows_command_line() function to do wildcard expansion in order to fix builds using non-mingw windows compilers. Ticket [8ca2aae39172f9] check-in: fca9c52637 user: drh tags: trunk
21:38
Add the -g option to builds using the Mingw makefile. check-in: 004a31a6c7 user: drh tags: trunk
21:33
Fix an out-of-order variable declaration in blob.c. check-in: 9073d8dcc7 user: drh tags: trunk
21:20
Fix a segfault that occurs with the "fossil md5sum" command when files named on the command-line do not actually exist. Ticket [8ca2aae39172f90c]. check-in: 52199a504a user: drh tags: trunk
17:49
Make form field widths consistent for settings. Fix comment for the 'binary-glob' setting. check-in: c24b689019 user: mistachkin tags: trunk
17:37
Allow commit warning for binary data to be disabled via the 'binary-glob' setting. check-in: d25f6ddf35 user: mistachkin tags: trunk
17:22
Adjustments to looks_like_utf16 to handle wchar_t being missing or not 2 bytes. check-in: 7d881d8280 user: mistachkin tags: trunk
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: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
03:30
Add the new moderation permissions to the list maintained by the JSON code. check-in: 1cc7e8ce29 user: mistachkin tags: trunk
03:10
Use local variable when checking for a carriage-return in looks_like_utf8/utf16. Update custom MinGW makefile. check-in: 531b2e2df0 user: mistachkin tags: trunk
02:41
Clean up some harmless compiler warnings. check-in: 0a4193be58 user: drh tags: trunk
02:36
Merge the "moderation" branch into trunk. This adds the ability to have an approval process for edits to Wiki and Tickets, including creating new Wiki and Tickets and adding attachments. Probably there are still some problems, but things are working well enough for trunk. check-in: ba418ee1ce user: drh tags: trunk
02:34
Make sure the MODREQ table exists before using it in the "modreq" webpage. Closed-Leaf check-in: def256a23b user: drh tags: moderation
02:27
Merge commit warning and file content type detection changes to trunk. check-in: 0c7c61447f user: mistachkin tags: trunk
02:26
Additional tweaks to the wiki/ticket editing logic with moderation control. check-in: d3d094ff55 user: drh tags: moderation
2012-11-01
22:54
All aspects of Wiki and Ticket moderation and attachments are working better. But there are still room for improvement before merging this enhancement sprint into trunk. check-in: 628c402414 user: drh tags: moderation
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
17:56
Add moderator approval for attachments. check-in: 9ac467310f user: drh tags: moderation
15:38
Correct wrong manual merge. Closed-Leaf check-in: 5963c2dde8 user: jan.nijtmans tags: improve_looks_like_binary
15:08
Tickets are now held for moderator approval. check-in: aa4dd79835 user: drh tags: moderation
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:34
Wiki moderation now appears to be working. check-in: b7ccf110f3 user: drh tags: moderation
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
13:11
More infrastructure for wiki and ticket moderation. check-in: f7938ebd00 user: drh tags: moderation
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
23:07
Improvements to the display of Wiki and Ticket changes. check-in: ba0ae3b24a user: drh tags: moderation
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
20:40
Initial infrastructure for adding the ability to moderate Wiki and Ticket changes. check-in: ef112586a0 user: drh tags: moderation
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