Fossil

Timeline
Login

Timeline

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

83 check-ins for the month beginning 2013-03-01 by user jan.nijtmans

Following month ↑
2013-03-31
18:56
Fix for [2cfd96b2ba]: Improve ignore-glob. This changes the UI regarding versionable settings with a string value to use a multi-line input field. Already looks quite good, but feedback on layout perfectioning appreciated! ... (check-in: bc047d1e user: jan.nijtmans tags: trunk)
2013-03-29
15:05
Win32: Fossil now understands Cygwin paths containing one or more of the characters "*:<>?|. Those are normally forbidden in win32. This means that the win32 fossil.exe is better usable in a Cygwin environment. See http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars. ... (check-in: fc413110 user: jan.nijtmans tags: trunk)
2013-03-28
22:30
(!Experiment, not meant for trunk, ever!) How would the fossil code look like, if the Tcl_InitSubsystems() function (TIP #414) was available. ... (Closed-Leaf check-in: be1a7396 user: jan.nijtmans tags: initsubsystems2)
2013-03-27
09:45
Allow looks_like_utf8/16 to specify when the loop should stop, in stead of leaving it unspecified. Minor comment/doc fixes. ... (check-in: 79f7eb2f user: jan.nijtmans tags: trunk)
2013-03-26
11:12
Enable fossil to distinguish correctly CR/CRNL/mixed line endings. ... (check-in: f89e2ecc user: jan.nijtmans tags: trunk)
2013-03-22
10:36
typo, mention Cygwin as well. ... (check-in: 68f8aafb user: jan.nijtmans tags: trunk)
09:36
Allow win32 forbidden characters to be used in filenames, using the Cygwin workaround: http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars. The files test/00*.x should NOT be merged to trunk, otherwise trunk cannot be checked out with older win32 fossil versions any more! ... (Closed-Leaf check-in: c68afe0f user: jan.nijtmans tags: win32-please-evaluate)
2013-03-21
12:37
merge trunk. Not correct: Test-case 414 doesn't give the right answer! ... (check-in: 4310b0b2 user: jan.nijtmans tags: improve_commit_warning)
12:06
Add flag LOOK_INVALID, not used yet. Add many more UTF8/16 test-cases. ... (check-in: 3ec3909b user: jan.nijtmans tags: trunk)
10:57
merge trunk (testcases not adapted yet!) ... (check-in: 43aa3b2d user: jan.nijtmans tags: improve_commit_warning)
2013-03-19
14:12
take over new testcases from bomRefactor branch. ... (check-in: f58bc2df user: jan.nijtmans tags: trunk)
10:06
merge trunk (still experimental) ... (Closed-Leaf check-in: af4d7804 user: jan.nijtmans tags: use-blob_strip_bom)
08:59
Merge "cr-warning" branch to trunk: Fossil now warns before committing files with CR line-endings and offers to convert them to LF line-endings; fossil's diff cannot handle those. In checkin.c, use LOOK_BINARY in stead of LOOK_NUL, in case more flags are added to the BINARY detection. Rename LOOK_LENGTH to LOOK_LONG. ... (check-in: ea2598e4 user: jan.nijtmans tags: trunk)
08:34
Fix expected value of test-cases: The value of LOOK_LONE_CR is wrong in 19 cases. I leave it to Joe to fix the code. ... (check-in: 8af1541a user: jan.nijtmans tags: bomRefactor)
2013-03-18
12:37
Adapt test-case 112 such that it contains a reversed CR/LF, a case not covered before. Fix detection of reversed CR/LF and lone CR in reversed UTF-16 case, broken by [e3f9a42b58]. ... (check-in: a4cdc723 user: jan.nijtmans tags: trunk)
11:45
Add test-cases using reverse UTF-16 BOM, and the unicode characters U+0A00 and U+0D00 ... (check-in: d1f0c4b9 user: jan.nijtmans tags: trunk)
10:22
Add test-cases using reverse UTF-16 BOM, and the unicode characters U+0A00 and U+0D00 ... (Closed-Leaf check-in: a9f1cbbd user: jan.nijtmans tags: reverse-bom-testcases)
09:30
Remove dead code from checkin.c Fix LOOK_BINARY macro: LOOK_ODD doesn't say anything about being binary or not, it only means it cannot be UTF-16. ... (check-in: 12ce0041 user: jan.nijtmans tags: trunk)
2013-03-17
09:54
remove the LOOK_ODD flag. It doesn't fit in looks_like_utf16() because it doesn't need each character to be scanned. ... (check-in: d4fe8be6 user: jan.nijtmans tags: trunk)
2013-03-16
06:46
move starts_with_utf16_bom() call out of looks_like_utf16(), so we do it only once. ... (check-in: b58800e5 user: jan.nijtmans tags: trunk)
2013-03-15
15:02
Code changes for Android, suggested by Mark Janssen. ... (check-in: d4d66d13 user: jan.nijtmans tags: trunk)
14:07
Fix ticket [38cecac15f]: test-move-repository requires access to original repository ... (check-in: e5905473 user: jan.nijtmans tags: trunk)
12:53
(expirimental) First implementation of "CR line endings" warning. ... (Closed-Leaf check-in: 5a886cfd user: jan.nijtmans tags: cr-warning)
12:29
merge trunk ... (Closed-Leaf check-in: 59f26447 user: jan.nijtmans tags: bomRefactor)
12:23
Don't let looks_like_utf8/16 decide any more whether the blob is text or binary. Calling code can do that based on the returned flags. This simplifies looks_like_utf8/16 a lot. ... (check-in: 276b3495 user: jan.nijtmans tags: trunk)
11:32
Allow blob_remove_cr() to be used for both \r\n -> \n as well as \r -> \n conversions. ... (check-in: 4b2c2a51 user: jan.nijtmans tags: trunk)
11:16
minor simplifications ... (check-in: 731e07dd user: jan.nijtmans tags: bomRefactor)
10:28
fix comments ... (check-in: d0a36540 user: jan.nijtmans tags: bomRefactor)
10:17
re-apply [3d6d2e7f35]: Better handling and tests for initial CR/LF chars in the looks_like_utf*() functions. ... (check-in: 3528062a user: jan.nijtmans tags: bomRefactor)
10:05
Add two new utf-16 test-cases, which were handled wrong up to now, and fix the code accordingly. ... (check-in: fab2b8ae user: jan.nijtmans tags: trunk)
2013-03-14
14:41
merge trunk. Add fossil and fossil.exe to "ignore-glob". ... (check-in: 4acff0a6 user: jan.nijtmans tags: clean-with-ignore)
14:19
merge trunk ... (check-in: 4aa55e55 user: jan.nijtmans tags: clean-with-ignore)
14:09
style ... (check-in: 3ba9a4d5 user: jan.nijtmans tags: trunk)
13:51
LOOK_LENGTH flags only has meaning when LOOK_NUL is not set. ... (check-in: 8923e06c user: jan.nijtmans tags: trunk)
12:11
Simplify many if() expressions. Use the fact that if the last char in a file is CR, it cannot be followed by a LF any more. This way we don't need to verify the value of 'n' (number of characters remaining) any more. ... (check-in: bd1dcc1c user: jan.nijtmans tags: trunk)
10:33
Fix detection of LOOK_LONE_CR/LOOK_LONE_LF for the first byte/character of the file. Fix off-by-one error in utf8 LOOK_LONE_CR detection, which could access one byte past the blob. Simplify the code, making use of the know relation between some LOOK_XXX flags. ... (check-in: ce9d6abe user: jan.nijtmans tags: trunk)
2013-03-13
15:03
merge trunk ... (Closed-Leaf check-in: 9263d4c2 user: jan.nijtmans tags: bomRefactor)
14:52
make expected "utf-check" parameters less cryptic ... (check-in: 5a9f8558 user: jan.nijtmans tags: trunk)
13:44
remove debug code ... (check-in: 7ef1890c user: jan.nijtmans tags: bomRefactor)
13:37
merge trunk ... (check-in: 3718383e user: jan.nijtmans tags: bomRefactor)
12:13
merge trunk ... (check-in: 515feb56 user: jan.nijtmans tags: clean-with-ignore)
2013-03-12
16:01
add .lib, remove some unneeded entries ... (check-in: 124aad18 user: jan.nijtmans tags: clean-with-ignore)
15:54
fix "fossil clean --test" ... (check-in: ca590324 user: jan.nijtmans tags: clean-with-ignore)
15:48
Add --keep option to "fossil clean", and versionable "keep-glob" setting ... (check-in: 6c72cab7 user: jan.nijtmans tags: clean-with-ignore)
15:30
Fix "fossil clean --test" not to remove files. ... (check-in: 1c8efa5c user: jan.nijtmans tags: trunk)
12:48
merge trunk ... (check-in: b72908bc user: jan.nijtmans tags: clean-with-ignore)
12:00
Fix determination of LOOK_CR/LOOK_LF to include the first character in the file, eliminating overlap with LOOK_CRLF. This way, inconsistant line endings can be determined by verifying that at most one of the flags LOOK_CR/LOOK_LF/LOOK_CRLF may be set. Test cases adapted accordingly. ... (check-in: c1d35267 user: jan.nijtmans tags: trunk)
10:31
merge trunk ... (check-in: 0a93bf10 user: jan.nijtmans tags: improve_commit_warning)
2013-03-11
15:37
Combine looks_like_utf8/looks_like_utf16 to a single looks_like_utf function, which can be used in both checkin.c and utf.test. This assures that utf.test really checks the same thing as checkin.c is using. ... (check-in: e42ea98f user: jan.nijtmans tags: bomRefactor)
2013-03-10
13:32
Add possible 'a=all' response to "fossil clean" ... (check-in: 5f4881d4 user: jan.nijtmans tags: trunk)
10:09
Add possible 'a=all' response to "fossil clean", and print out which files actually are removed. ... (check-in: 3a2c433a user: jan.nijtmans tags: clean-with-ignore)
09:57
Change behavior of "fossil clean --ignore": The ignore setting now specifies which files can be removed without confirmation Add versionable "ignore-glob" setting for fossil, in order to demonstrate the desired behavior. ... (check-in: 5a3855f6 user: jan.nijtmans tags: clean-with-ignore)
2013-03-08
13:02
merge trunk ... (check-in: 17e972c3 user: jan.nijtmans tags: improve_commit_warning)
11:56
merge trunk ... (Closed-Leaf check-in: 8be674a1 user: jan.nijtmans tags: bomRefactor)
09:15
Fix crnl-warning for file which starts with þÿ or ÿþ (latin-1) and has an odd number of bytes. ... (check-in: 25eec8cf user: jan.nijtmans tags: trunk)
2013-03-07
22:26
Detect overlong and nul-bytes for files starting with utf-16 BOM but with odd number of bytes. ... (Closed-Leaf check-in: 14019cb0 user: jan.nijtmans tags: bomRefactor)
12:35
Somewhat better layout: Putting text-field title first, above the text-field. ... (Closed-Leaf check-in: 3546a84c user: jan.nijtmans tags: ticket-2cfd96b2ba)
11:00
merge trunk ... (check-in: f96894a5 user: jan.nijtmans tags: ticket-2cfd96b2ba)
10:19
merge-mark trunk ... (check-in: 9baee7e9 user: jan.nijtmans tags: bomRefactor)
10:16
Fix gcc warning, and add test-case (which fails in current trunk) ... (check-in: c53b128f user: jan.nijtmans tags: bomRefactor)
09:21
Better comment. ... (check-in: 2237e343 user: jan.nijtmans tags: bomRefactor)
08:54
Forgot to remove the odd bytes check, and fixed comment. ... (check-in: b5a3f0b4 user: jan.nijtmans tags: bomRefactor)
08:21
If the blob has an odd number of bytes, it means that the content of the file cannot be interpreted as UTF-16 characters. So, starts_with_utf16_bom() should return false and looks_like_utf16() shouldn't even be called. The flag LOOK_ODD makes no sense in starts_with_utf16_bom(). ... (check-in: 7b0b7ec8 user: jan.nijtmans tags: bomRefactor)
2013-03-06
15:40
merge trunk ... (Closed-Leaf check-in: 820f6432 user: jan.nijtmans tags: fix-test-move-repository)
15:33
fix commit dialog (problem is introduced in [30a63b8b66]) for files containing crlf or long lines followed by nul byte. test-case: $ tclsh8.6 % set f [open abc w];fconfigure $f -translation binary;puts -nonewline $f \r\n\0;close $f;exit

$ fossil add abc ADDED abc

$ fossil commit --test ./abc contains CR/NL line endings. Use --no-warnings or the "crnl-glob" setting to disable this warning. Commit anyhow (a=all/c=convert/y/N)? n

After correction:

$ ./fossil commit --test ./abc contains binary data. Use --no-warnings or the "binary-glob" setting to disable this warning. Commit anyhow (a=all/y/N)? n ... (check-in: af0ca3b4 user: jan.nijtmans tags: trunk)

14:40
merge trunk ... (check-in: 7aa9f66f user: jan.nijtmans tags: fix-test-move-repository)
12:58
(experimental) fix for [2cfd96b2ba] ... (check-in: 949976e0 user: jan.nijtmans tags: ticket-2cfd96b2ba)
10:16
In db_open_local() check writability of local-db itself in stead of the directory it is in. This should enable fossil checkouts on NFS-mounts, which sometimes lie about writability of directories. ... (check-in: beb91c91 user: jan.nijtmans tags: trunk)
09:28
Fix gcc-4.7.2 warning: src/md5.c: In functie 'MD5Final': src/md5.c:263:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] src/md5.c:264:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ... (check-in: 98fd649a user: jan.nijtmans tags: trunk)
2013-03-05
12:25
style: use g.zConfigDbName in stead of g.configDbName, as all other strings. ... (check-in: a5dc5332 user: jan.nijtmans tags: trunk)
12:17
Add check for win32/cygwin whether the config-db is writable in stead of checking that the $HOME directory is writable. Eliminate g.zHome and g.configOpen, in stead use a single g.configDbName. Then people no longer have to guess whether the config db name is ".fossil" or "_fossil". g.zHome was only used for locating the config db, nothing else. ... (check-in: 473e08a6 user: jan.nijtmans tags: trunk)
10:04
Proposed fix for [ed23ef59cf]: Fossil ignoring "binary-glob" setting ... (Closed-Leaf check-in: e0e88821 user: jan.nijtmans tags: ticket-ed23ef59cf)
09:24
Don't trigger the long-lines warning if the long line is followed by a null-byte: it's a normal binary file then. re-write looks_like_utf8/16 to handle crlf the same way as long lines (thanks, Joe, for the long-lines rewrite!) ... (check-in: ab2920c2 user: jan.nijtmans tags: trunk)
2013-03-04
20:06
Check on writability of the home directory appears too restricted. Writability of the $HOME/.fossil file should be sufficient for fossil to operate. ... (Closed-Leaf check-in: 1e90d43d user: jan.nijtmans tags: home-check-too-restricted)
19:18
revert [9122ad308a]. It appears that file_access() cannot bries on win32 ... (check-in: 1eb9496c user: jan.nijtmans tags: trunk)
14:25
merge trunk ... (check-in: aa603826 user: jan.nijtmans tags: ticket-d17d6e5b17)
13:26
Enabled the 'c=convert' commit option for Cygwin, now that it can handle UTF-16. ... (Closed-Leaf check-in: a6f4093e user: jan.nijtmans tags: build-breaker)
13:19
Improve fossil_utf8_to_filename() for cygwin: no longer hardcode "/cygdrive/" prefix. Fix Cygwin's handling of absolute win32 paths in a few more places. Teach Cygwin how to handle UTF-16. ... (check-in: 18d8d2a6 user: jan.nijtmans tags: build-breaker)
10:25
Proposed fix for ticket: test-move-repository requires access to original repository ... (check-in: 1b61defd user: jan.nijtmans tags: fix-test-move-repository)
2013-03-03
15:39
minor cut/paste error ... (check-in: b163569a user: jan.nijtmans tags: trunk)
15:32
New warning when file is considered binary due to long lines only. ... (check-in: 3a74f9fe user: jan.nijtmans tags: trunk)
2013-03-01
13:45
Enable access check on HOME directory for win32/cygwin ... (check-in: 9122ad30 user: jan.nijtmans tags: trunk)
13:19
Teach fossil_utf8_to_filename() how to handle win32 paths on Cygwin. Use this function where-ever possible. ... (check-in: caf2eb25 user: jan.nijtmans tags: trunk)
Previous month ↓