Fossil

Timeline
Login

Timeline

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

87 check-ins using file src/blob.c version 25313f3db2

2013-03-15
11:16
minor simplifications ... (check-in: 731e07dd94 user: jan.nijtmans tags: bomRefactor)
10:28
fix comments ... (check-in: d0a36540fd 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: 3528062ac1 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: fab2b8aea5 user: jan.nijtmans tags: trunk)
2013-03-14
22:16
Add a regexp command to TH1. ... (check-in: d772ff7219 user: mistachkin tags: trunk)
22:14
Better handling and tests for initial CR/LF chars in the looks_like_utf*() functions. ... (check-in: 3d6d2e7f35 user: mistachkin tags: trunk)
21:14
Do not accept the SHA1 password hash as a legitimate password on the login screen. ... (check-in: 2bb8a7a8fc user: drh tags: trunk)
20:45
The VSEEN table added in the previous check-in should be a TEMP table. ... (check-in: ec4c9787c9 user: drh tags: trunk)
20:27
Prevent time warps from causing infinite loops in the annotator. ... (check-in: 1605649f3e user: drh tags: trunk)
16:07
In the timeline with the "namechng" query parameter, show the name change even if the file content does not change. ... (check-in: 9e9e4d080f user: drh tags: trunk)
14:56
Enhance the web timeline so that with the "namechng" query parameter it shows only check-ins that involve filename changes. ... (check-in: 1d2f4c2f26 user: drh tags: trunk)
14:48
Merging from trunk to get the annotate fixes. Trivial conflict solved. <strong>Update:</strong> the new branch viric_flavour ([b31afcc2ca]) includes most of these changes in a more recent fossil. ... (Closed-Leaf check-in: f14798e0e3 user: viriketo tags: annotate_links)
14:41
merge trunk. Add fossil and fossil.exe to "ignore-glob". ... (check-in: 4acff0a6d3 user: jan.nijtmans tags: clean-with-ignore)
14:19
merge trunk ... (check-in: 4aa55e5533 user: jan.nijtmans tags: clean-with-ignore)
14:18
Update the "annotate" command and webpage to prefer to take changes from direct ancestors of the version being analyzed, rather than more recent changes on branches. ... (check-in: e320f0cd79 user: drh tags: trunk)
14:09
style ... (check-in: 3ba9a4d5ca user: jan.nijtmans tags: trunk)
13:51
LOOK_LENGTH flags only has meaning when LOOK_NUL is not set. ... (check-in: 8923e06cea 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: bd1dcc1c52 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: ce9d6abea2 user: jan.nijtmans tags: trunk)
2013-03-13
15:03
merge trunk ... (Closed-Leaf check-in: 9263d4c2c3 user: jan.nijtmans tags: bomRefactor)
14:52
make expected "utf-check" parameters less cryptic ... (check-in: 5a9f855810 user: jan.nijtmans tags: trunk)
13:44
remove debug code ... (check-in: 7ef1890c19 user: jan.nijtmans tags: bomRefactor)
13:37
merge trunk ... (check-in: 3718383e5c user: jan.nijtmans tags: bomRefactor)
12:13
merge trunk ... (check-in: 515feb5697 user: jan.nijtmans tags: clean-with-ignore)
01:22
Update the built-in SQLite to the latest 3.7.16 beta from upstream. ... (check-in: f803d534d0 user: drh tags: trunk)
2013-03-12
22:37
Modify the looks_like_utf*() functions to detect lone CR and LF characters and set new output flags accordingly. ... (check-in: 7dee903839 user: mistachkin tags: trunk)
16:01
add .lib, remove some unneeded entries ... (check-in: 124aad1864 user: jan.nijtmans tags: clean-with-ignore)
15:54
fix "fossil clean --test" ... (check-in: ca5903240d user: jan.nijtmans tags: clean-with-ignore)
15:48
Add --keep option to "fossil clean", and versionable "keep-glob" setting ... (check-in: 6c72cab73c user: jan.nijtmans tags: clean-with-ignore)
15:30
Fix "fossil clean --test" not to remove files. ... (check-in: 1c8efa5cab user: jan.nijtmans tags: trunk)
12:48
merge trunk ... (check-in: b72908bc5b 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: c1d3526741 user: jan.nijtmans tags: trunk)
2013-03-11
21:40
Bring in the latest SQLite version 3.7.16 beta from upstream for testing. ... (check-in: d586f2edfc user: drh tags: trunk)
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: e42ea98f95 user: jan.nijtmans tags: bomRefactor)
07:51
Prototype for a TH1 regexp command. ... (Closed-Leaf check-in: be4a6630a6 user: mistachkin tags: th1RegExp)
2013-03-10
13:32
Add possible 'a=all' response to "fossil clean" ... (check-in: 5f4881d421 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: 3a2c433aa4 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: 5a3855f68b user: jan.nijtmans tags: clean-with-ignore)
09:23
Skip running the Tcl integration tests if Fossil was not compiled with Tcl integration support. ... (check-in: 6c47a16e5d user: mistachkin tags: trunk)
01:36
Add UTF detection tests for the LOOK_ODD flag. ... (check-in: c58b815f2b user: mistachkin tags: trunk)
00:18
Style and comment fixes. ... (check-in: 4368611ba8 user: mistachkin tags: trunk)
2013-03-08
11:56
merge trunk ... (Closed-Leaf check-in: 8be674a133 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: 25eec8cfaf user: jan.nijtmans tags: trunk)
02:18
Make it easier to correlate the UTF detection test results with the byte-order-mark and data used to produce them. ... (check-in: 70d15c8104 user: mistachkin tags: trunk)
00:46
In the test for the UTF-8/UTF-16 detection functions, use the right byte-order-mark for the endianness of the machine. ... (check-in: 05ac588496 user: mistachkin tags: trunk)
00:09
Revise the looks_like_utf16() function so that it can handle blobs with an odd number of bytes and still set all the applicable output flags. Add tests for the UTF-8/UTF-16 detection functions. ... (check-in: e3ae41483d user: mistachkin 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: 14019cb0e2 user: jan.nijtmans tags: bomRefactor)
12:35
Somewhat better layout: Putting text-field title first, above the text-field. ... (Closed-Leaf check-in: 3546a84c1f user: jan.nijtmans tags: ticket-2cfd96b2ba)
11:00
merge trunk ... (check-in: f96894a54a user: jan.nijtmans tags: ticket-2cfd96b2ba)
10:19
merge-mark trunk ... (check-in: 9baee7e90f user: jan.nijtmans tags: bomRefactor)
10:16
Fix gcc warning, and add test-case (which fails in current trunk) ... (check-in: c53b128f15 user: jan.nijtmans tags: bomRefactor)
09:56
Since the blob size is unsigned, looks_like_utf16() cannot easily process the content if the size is not even. ... (check-in: 32b8fc7dcd user: mistachkin tags: trunk)
09:21
Better comment. ... (check-in: 2237e34377 user: jan.nijtmans tags: bomRefactor)
08:54
Forgot to remove the odd bytes check, and fixed comment. ... (check-in: b5a3f0b48a 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: 7b0b7ec87d user: jan.nijtmans tags: bomRefactor)
01:27
Add support for detecting standalone carriage-return characters via the looks_like_utf*() functions. ... (check-in: 6c7185d9ba user: mistachkin tags: trunk)
01:14
Fix typo in comments. ... (check-in: 30e4e3e25d user: mistachkin tags: trunk)
01:12
For the looks_like_utf*() functions, continue to examine blob content in order to fully set the output flags, even if it appears to be binary. Also, increase the strictness of starts_with_utf16_bom() and make it more accurate. ... (check-in: 13fac7f74a user: mistachkin tags: trunk)
2013-03-06
20:53
Enhance the GLOB processing on settings like binary-glob so that any sequence of commas and/or whitespace serves as a delimiter. Delimiters inside of quotes are part the glob pattern and are ignored. Enhance the test-glob command to verify correct operation of the globber. ... (check-in: a93b58cf83 user: drh tags: trunk)
20:50
Enhancements to the test-glob command for better testing of the setting globber. ... (Closed-Leaf check-in: ad44353d90 user: drh tags: globListRefactor)
20:46
Modify the commit_warning() function so the warning for possible binary content is higher priority than the other warnings. ... (check-in: 2d9ae4ee73 user: mistachkin tags: trunk)
20:27
Add the test-looks-like-utf test command to help test the looks_like_utf*() and related functions. ... (check-in: 08b96cedee user: mistachkin tags: trunk)
15:40
merge trunk ... (Closed-Leaf check-in: 820f64320b 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: af0ca3b4eb user: jan.nijtmans tags: trunk)
14:40
merge trunk ... (check-in: 7aa9f66f92 user: jan.nijtmans tags: fix-test-move-repository)
12:58
(experimental) fix for [2cfd96b2ba] ... (check-in: 949976e065 user: jan.nijtmans tags: ticket-2cfd96b2ba)
11:30
Locate the local checkout database even if it is read-only. ... (check-in: f7b355b311 user: drh tags: trunk)
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: beb91c9163 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: 98fd649a9a user: jan.nijtmans tags: trunk)
07:50
Refactor the looks_like_utf*() functions to use a single output flags argument to convey the various pieces of blob status information. ... (check-in: 30a63b8b66 user: mistachkin tags: trunk)
06:58
Refactor the glob list handling code and add some tests. ... (check-in: 1b6c39c1aa user: mistachkin tags: globListRefactor)
02:18
Allow newlines to serve as separators for multiple glob strings in the binary-glob setting (and in any other setting that accepts a list of glob patterns). Fix for ticket [ed23ef59cf0fb] ... (check-in: 0e5f0da7eb user: drh tags: trunk)
02:15
Update the built-in SQLite to the latest 3.7.16 beta from upstream. ... (check-in: 6e460c3427 user: drh tags: trunk)
2013-03-05
12:25
style: use g.zConfigDbName in stead of g.configDbName, as all other strings. ... (check-in: a5dc5332d4 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: 473e08a6d1 user: jan.nijtmans tags: trunk)
10:04
Proposed fix for [ed23ef59cf]: Fossil ignoring "binary-glob" setting ... (Closed-Leaf check-in: e0e88821bd 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: ab2920c2b9 user: jan.nijtmans tags: trunk)
02:06
Add warning for overly long lines found during the commit process. ... (check-in: 10fbcda270 user: mistachkin tags: trunk)
01:27
Revert check-in [3a74f9fe52], which added a special warning for overly long lines being detected as binary files. ... (check-in: ccdd1abba7 user: mistachkin tags: trunk)
01:26
Fix artifact links for ticket attachments. ... (check-in: 3b09348fd4 user: mistachkin tags: trunk)
2013-03-04
23:13
Revert check-in [3a74f9fe52], which added a special warning for overly long lines being detected as binary files. ... (Closed-Leaf check-in: dd9e030bc9 user: mistachkin tags: noLineLenWarning)
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: 1e90d43d76 user: jan.nijtmans tags: home-check-too-restricted)
19:18
revert [9122ad308a]. It appears that file_access() cannot bries on win32 ... (check-in: 1eb9496c48 user: jan.nijtmans tags: trunk)
16:12
Merge in various complications needed to support CYGWIN. ... (check-in: d95cbba2e6 user: drh tags: trunk)
14:25
merge trunk ... (check-in: aa6038265a 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: a6f4093e3f 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: 18d8d2a69d user: jan.nijtmans tags: build-breaker)