Fossil

Timeline
Login

Timeline

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

54 check-ins for the month beginning 2012-10-01 by user jan.nijtmans

Following month ↑
2012-10-31
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)
14:56
Some more style en comment fixes, backported from [d57f0a9361], that I missed before. ... (check-in: 1e2fdf98 user: jan.nijtmans 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)
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)
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)
16:16
merge trunk ... (check-in: 27d8f1b6 user: jan.nijtmans tags: use-blob_strip_bom)
16:14
Style en comment fixes, backported from [d57f0a9361] ... (check-in: c7b2b2ed user: jan.nijtmans tags: trunk)
15:18
working utf-16 diff, still being tested ... (check-in: 879d1e24 user: jan.nijtmans tags: use-blob_strip_bom)
08:06
take over various stylistic adjustments ... (check-in: ab5a6b43 user: jan.nijtmans tags: use-blob_strip_bom)
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
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)
20:47
.. but don't forget to update j ... (check-in: 6542935c user: jan.nijtmans tags: trunk)
20:40
speed-up looks_like_text(), by eliminating variable "i" and handle first character separately. ... (check-in: 204680ee user: jan.nijtmans tags: trunk)
10:05
fix abandoning message ... (check-in: f57f74b2 user: jan.nijtmans tags: use-blob_strip_bom)
10:03
merge trunk ... (check-in: 0b6b0dfd 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: 1bffce52 user: jan.nijtmans tags: trunk)
09:05
glad that I double-checked.... ... (check-in: 6feba0db user: jan.nijtmans tags: trunk)
09:00
a little consistancy: Allow lower and uppercase for all commit responds, so if Caps-Lock hangs that doesn't matter any more. ... (check-in: d503cfd4 user: jan.nijtmans tags: trunk)
08:32
Handle eventual utf-8 correctly everywhere in download page ... (check-in: 63565631 user: jan.nijtmans tags: trunk)
2012-10-26
13:01
merge trunk ... (check-in: bc027af5 user: jan.nijtmans tags: use-blob_strip_bom)
12:38
Oops, not too fast..... ... (check-in: 884dd233 user: jan.nijtmans tags: use-blob_strip_bom)
12:28
src/stash.c: In function ‘stash_cmd’:
src/stash.c:377:16: warning: ‘stashid’ may be used uninitialized in this function
src/stash.c:472:7: note: ‘stashid’ was declared here
... (check-in: 10e0d0b2 user: jan.nijtmans tags: trunk)
12:14
a little consistancy: Allow lower and uppercase for all commit responds, so if Caps-Lock hangs that doesn't matter any more. ... (check-in: 110d68f2 user: jan.nijtmans tags: use-blob_strip_bom)
09:44
Even though wiki pages can now be in UNICODE on Windows, this is still not recommended: A diff doesn't work, and it is Windows-only.
So give out a warning when a UNICODE file is attempted to be checked in on Windows, just as for CrLf files as well

Implement looks_like_text(), similar to looks_like_binary() but it can distinguish more types of text/binary files.

... (check-in: 748071a2 user: jan.nijtmans tags: use-blob_strip_bom)
09:07
use blob_strip_bom() in wikiformat.c

This has the effect that on Windows wiki pages can now be in unicode as well.

... (check-in: 05033666 user: jan.nijtmans tags: use-blob_strip_bom)
08:19
use blob_strip_bom in main.c

This has the effect that on Windows the --args file accepts a unicode file, starting with a UTF-16 BOM as well

... (check-in: cbb24cf8 user: jan.nijtmans tags: use-blob_strip_bom)
2012-10-25
14:50
diff.c:looks_like_binary(): No need to make the blob null-terminated.

checkin.c: Make limits the same as in looks_like_binary(), preparation to move the function to diff.c

... (Closed-Leaf check-in: c3ec6309 user: jan.nijtmans tags: improve_looks_like_binary)
10:27
use utf8 in stash comment editor on Windows, just like the commit comment editor ... (check-in: fb565614 user: jan.nijtmans tags: trunk)
2012-10-24
07:42
relax Wiki name restriction ... (Closed-Leaf check-in: d5453ca0 user: jan.nijtmans tags: ticket-897c39d284)
2012-10-22
21:16
Update to Toni Rönkkö's latest version (1.12.1) of dirent.h http://www.softagalleria.net/dirent.php ... (check-in: f460839c user: jan.nijtmans tags: trunk)
14:56
merge trunk ... (Closed-Leaf check-in: c7703868 user: jan.nijtmans tags: use-utf8-in-win-external-editor)
2012-10-18
05:11
dequote_git_filename: missing return type ... (check-in: ee424936 user: jan.nijtmans tags: trunk)
2012-10-16
01:22
merge trunk ... (check-in: 7f939bd8 user: jan.nijtmans tags: use-utf8-in-win-external-editor)
01:11
unused variable includeDotFiles

struct utimbuf -> struct _utimbuf (compiler warning with mingw-w64)

a few "const" additions (lower memory footprint, allows C-compiler to optimize better)

... (check-in: 6032dd51 user: jan.nijtmans tags: trunk)
2012-10-15
05:28
unused variable includeDotFiles

struct utimbuf -> struct _utimbuf (compiler warning with mingw-w64)

a few "const" additions

... (check-in: d2e1469d user: jan.nijtmans tags: use-utf8-in-win-external-editor)
05:11
merge trunk ... (check-in: 69a0db2d user: jan.nijtmans tags: use-utf8-in-win-external-editor)
05:09
bug-fix: is_temporary_file expects utf8, not unicode on Windows ... (check-in: 0e6b7bc3 user: jan.nijtmans tags: trunk)
2012-10-14
20:09
Bug-fix: missing blob_zero. This commit is done with a big-endian unicode comment file ... (check-in: 8a0c2c36 user: jan.nijtmans tags: use-utf8-in-win-external-editor)
19:55
implement big-endian unicode decoding for commit message files ... (check-in: 514f71a1 user: jan.nijtmans tags: use-utf8-in-win-external-editor)
2012-10-13
18:38
merge trunk ... (check-in: 01114206 user: jan.nijtmans tags: use-utf8-in-win-external-editor)
2012-10-07
17:18
merge trunk make Notepad the default comment editor on Windows ... (check-in: 10cf72bd user: jan.nijtmans tags: use-utf8-in-win-external-editor)
Previous month ↓