Timeline
Not logged in

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

32 check-ins using file src/main.c version 0eb9635fb8

2012-10-31
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.
- 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: 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():
- 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 gu...

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

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 [fossil commit]. 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.

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: 70b4f105eb 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: 9267dba498 user: jan.nijtmans tags: use-blob_strip_bom
08:27
merge trunk check-in: f61d0a1c50 user: jan.nijtmans tags: use-blob_strip_bom
2012-10-28
22:08
merge trunk check-in: 6c41027335 user: jan.nijtmans tags: use-blob_strip_bom
10:05
fix abandoning message check-in: f57f74b2af user: jan.nijtmans tags: use-blob_strip_bom
10:03
merge trunk check-in: 0b6b0dfd0b user: jan.nijtmans tags: use-blob_strip_bom
2012-10-26
13:01
merge trunk check-in: bc027af59b user: jan.nijtmans tags: use-blob_strip_bom
12:38
Oops, not too fast..... check-in: 884dd2331c user: jan.nijtmans tags: use-blob_strip_bom
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: 110d68f2a1 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...

check-in: 748071a25d 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: 05033666fd 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: cbb24cf854 user: jan.nijtmans tags: use-blob_strip_bom