Fossil

Timeline
Login

Timeline

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

78 check-ins using file src/stash.c version a4330d63

2012-11-05
13:10
If the committed file has CR/NL or UTF-16 (or both), give the user the possibility to convert it to resp NL or UTF-8 (or both) without committing ... (check-in: c6223a8e user: jan.nijtmans tags: convert_before_commit)
11:23
Add commit warning message when text files have a long line length ... (check-in: 87901276 user: jan.nijtmans tags: improve_commit_warning)
2012-11-04
18:06
off-by-one ... (check-in: a7fff6fe user: jan.nijtmans tags: improve_commit_warning)
18:03
merge trunk ... (check-in: e86aa2a1 user: jan.nijtmans tags: improve_commit_warning)
18:00
merge trunk

Factor out main part of UTF-8 check to macro

... (check-in: ce7c5222 user: jan.nijtmans tags: improve_commit_warning)
17:41
Merge the "spelling" branch into trunk, fixing a huge number of typos, mostly in comments, but occasionally in error messages or help screens. ... (check-in: db0c5127 user: drh tags: trunk)
12:59
Fix typos. ... (Closed-Leaf check-in: 45065c5c user: dmitry tags: spelling)
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: c0fe455c user: drh tags: trunk)
10:50
merge trunk ... (check-in: bd7b8a48 user: jan.nijtmans tags: improve_commit_warning)
10:48
merge trunk, some improvements in messages (not yet ready yet) ... (check-in: 517a6f7a 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: 27298fff 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: 19ca7c6c 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: dccb97fc 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: d6605776 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: 640a4f49 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: fca9c526 user: drh tags: trunk)
21:38
Add the -g option to builds using the Mingw makefile. ... (check-in: 004a31a6 user: drh tags: trunk)
21:33
Fix an out-of-order variable declaration in blob.c. ... (check-in: 9073d8dc 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: 52199a50 user: drh tags: trunk)
17:49
Make form field widths consistent for settings. Fix comment for the 'binary-glob' setting. ... (check-in: c24b6890 user: mistachkin tags: trunk)
17:37
Allow commit warning for binary data to be disabled via the 'binary-glob' setting. ... (check-in: d25f6ddf user: mistachkin tags: trunk)
17:22
Adjustments to looks_like_utf16 to handle wchar_t being missing or not 2 bytes. ... (check-in: 7d881d82 user: mistachkin tags: trunk)
14:22
don't forget to compensate for the line-length check ... (check-in: 9011fe12 user: jan.nijtmans tags: improve_commit_warning)
10:55
Generate warning when to-be-committed file contains invalid UTF-8 ... (check-in: 4e86b06a user: jan.nijtmans tags: improve_commit_warning)
08:31
speedup mimetype_from_content() by using a 256 byte array.
Mark VT and Ctrl-Z as text bytes, not binary.
Decrease maximum UTF-16 line length to 2731
Check for FFFF in addition to 0, in UTF-16/binary detection.
... (check-in: d804902f user: jan.nijtmans tags: trunk)
03:30
Add the new moderation permissions to the list maintained by the JSON code. ... (check-in: 1cc7e8ce 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: 531b2e2d user: mistachkin tags: trunk)
02:41
Clean up some harmless compiler warnings. ... (check-in: 0a4193be 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: ba418ee1 user: drh tags: trunk)
02:34
Make sure the MODREQ table exists before using it in the "modreq" webpage. ... (Closed-Leaf check-in: def256a2 user: drh tags: moderation)
02:27
Merge commit warning and file content type detection changes to trunk. ... (check-in: 0c7c6144 user: mistachkin tags: trunk)
02:26
Additional tweaks to the wiki/ticket editing logic with moderation control. ... (check-in: d3d094ff 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: 628c4024 user: drh tags: moderation)
20:19
Add detection of binary data with no leading UTF-16 byte-order-mark. ... (Closed-Leaf check-in: 7d3a06b8 user: mistachkin tags: commitWarningV2)
20:09
Improve detection of UTF-8, UTF-16, binary data, and carriage returns during commit operations. ... (check-in: c837e444 user: mistachkin tags: commitWarningV2)
17:56
Add moderator approval for attachments. ... (check-in: 9ac46731 user: drh tags: moderation)
15:38
Correct wrong manual merge. ... (Closed-Leaf check-in: 5963c2dd user: jan.nijtmans tags: improve_looks_like_binary)
15:08
Tickets are now held for moderator approval. ... (check-in: aa4dd798 user: drh tags: moderation)
14:49
Add back checks for FFFE and FFFF in looks_like_text:
- 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.
- 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.

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: 64868f2b user: jan.nijtmans tags: improve_looks_like_binary)
14:34
Wiki moderation now appears to be working. ... (check-in: b7ccf110 user: drh tags: moderation)
13:11
More infrastructure for wiki and ticket moderation. ... (check-in: f7938ebd user: drh tags: moderation)
11:52
style fix ... (check-in: 0ccbb44f user: jan.nijtmans tags: improve_looks_like_binary)
11:48
merge trunk

let looks_like_text() give different values for UTF-16 BE/LE. Not used yet.

... (check-in: 348637de user: jan.nijtmans tags: improve_looks_like_binary)
10:20
Restore Style fix, which got lost by [618258421767778c] ... (check-in: ef6c243e user: jan.nijtmans tags: trunk)
07:40
dont check for same BOM twice ... (check-in: 8c32e6f0 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: 61825842 user: mistachkin tags: trunk)
2012-10-31
23:07
Improvements to the display of Wiki and Ticket changes. ... (check-in: ba0ae3b2 user: drh tags: moderation)
20:56
adapt comments accordingly ... (check-in: b5123d51 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: de5a2ef6 user: jan.nijtmans tags: improve_looks_like_binary)
20:40
Initial infrastructure for adding the ability to moderate Wiki and Ticket changes. ... (check-in: ef112586 user: drh tags: moderation)
19:48
Add the wiki-moderator and ticket-moderator permissions. Not yet used. ... (check-in: fc0bffd9 user: drh tags: trunk)
14:56
Some more style en comment fixes, backported from [d57f0a9361], that I missed before. ... (check-in: 1e2fdf98 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: eb949991 user: drh tags: trunk)
13:58
fix comment ... (check-in: e1aed25e user: jan.nijtmans tags: improve_looks_like_binary)
12:58
Two more enhancements.
- DOS text files sometimes use Control-Z (0x1a) as eof-marker, so this byte should be considered text.
- 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: e3f3c390 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: aab9e66b user: drh tags: trunk)
09:56
strip BOM from artifacts embedded in HTML or text ... (check-in: 01050d68 user: jan.nijtmans tags: trunk)
09:15
Fix UTF-16 line length determination: j is counted in characters, not bytes. ... (check-in: 44c6be2a user: jan.nijtmans tags: improve_looks_like_binary)
08:43
Enhance looks_like_text():
- Detect line-length overflow earlier, not at the next NL
- Implement the same binary and line-length check for UTF-16 as well

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: 58702daa 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: ec4c9352 user: drh tags: trunk)
2012-10-30
20:10
Faster determination of binary files, by not only checking for NUL

re-use looks_like_blob

... (check-in: 0ba08f9d 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: bdbe6c74 user: drh tags: trunk)
16:14
Style en comment fixes, backported from [d57f0a9361] ... (check-in: c7b2b2ed user: jan.nijtmans tags: trunk)
10:23
Fix a typo in a comment. ... (check-in: 1167d7b1 user: drh tags: trunk)
08:06
take over various stylistic adjustments ... (check-in: ab5a6b43 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: d57f0a93 user: mistachkin tags: commitWarning)
2012-10-29
22:09
Working "c=convert" option for [fossil commit]. Just to be tested a little bit more. ... (check-in: a97aa349 user: jan.nijtmans tags: use-blob_strip_bom)
16:01
fix bit handling ... (check-in: 1badca94 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: 121394b0 user: jan.nijtmans tags: use-blob_strip_bom)
14:45
Allow unicode files for Wiki-rendering on Windows.

Trying to commit a file with an UTF-16 BOM will now give a warning, just as a file containing crlf

The --args command line option now accept UTF-16 files as well

... (check-in: 70b4f105 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: 2a15d87e 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: 9267dba4 user: jan.nijtmans tags: use-blob_strip_bom)
08:27
merge trunk ... (check-in: f61d0a1c 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: c8e72df0 user: mistachkin tags: trunk)
22:37
missing <tr> tag ... (check-in: b2204034 user: jan.nijtmans tags: trunk)
22:08
merge trunk ... (check-in: 6c410273 user: jan.nijtmans tags: use-blob_strip_bom)
21:52
now tested with ssl enabled as well ... (check-in: 101a53cf 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: 7c527165 user: jan.nijtmans tags: trunk)