Fossil

Timeline
Login

Timeline

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

32 check-ins tagged with "improve_commit_warning"

2013-04-04
15:24
eliminate goto ... (Closed-Leaf check-in: c11b3736 user: jan.nijtmans tags: improve_commit_warning)
12:02
don't use tabs ... (check-in: c3a39ffe user: jan.nijtmans tags: improve_commit_warning)
11:35
merge trunk ... (check-in: d8bc29f3 user: jan.nijtmans tags: improve_commit_warning)
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)
10:57
merge trunk (testcases not adapted yet!) ... (check-in: 43aa3b2d user: jan.nijtmans tags: improve_commit_warning)
2013-03-12
10:31
merge trunk ... (check-in: 0a93bf10 user: jan.nijtmans tags: improve_commit_warning)
2013-03-08
13:02
merge trunk ... (check-in: 17e972c3 user: jan.nijtmans tags: improve_commit_warning)
2013-02-27
10:03
merge trunk ... (check-in: dbf96517 user: jan.nijtmans tags: improve_commit_warning)
2013-02-23
21:45
merge trunk ... (check-in: eeb0231b user: jan.nijtmans tags: improve_commit_warning)
2013-02-17
21:37
merge trunk ... (check-in: fdf9050c user: jan.nijtmans tags: improve_commit_warning)
2013-02-07
09:39
merge trunk ... (check-in: 8994f368 user: jan.nijtmans tags: improve_commit_warning)
2013-01-21
11:38
Rename "unicode-glob" to "encoding-glob". ... (check-in: e8ecd18d user: jan.nijtmans tags: improve_commit_warning)
10:29
merge trunk ... (check-in: a68dffbf user: jan.nijtmans tags: improve_commit_warning)
2012-12-12
15:35
completed cp1252 table and conversion ... (check-in: bab2f28b user: jan.nijtmans tags: improve_commit_warning)
13:53
Add optional iso8859-1 to utf-8 conversion. Still to do: special cp1252 characters. ... (check-in: 4f060f6a user: jan.nijtmans tags: improve_commit_warning)
13:08
merge trunk ... (check-in: b70a3202 user: jan.nijtmans tags: improve_commit_warning)
2012-11-29
07:57
This change is intended to detect, during commit, whether some file contents cannot be interpreted as either UTF-8 or ASCII. This typically happens when the file is in the iso8859-1 (UNIX) or cp1252 (win32) encoding. Nothing very bad happens, only fossil cannot display the characters. For example, see: http://core.tcl.tk/tcl/info/7559185e9a

It would be nice if fossil detects this situation, so the user has the choice to change the encoding to utf-8, or answer 'y' if this is intended.

Probably missing is a 'latin-glob', 'non-utf8-glob' (any ideas for a better name?) setting.

An improvement would be to allow the 'c' response, which aborts the commit but first converts it to utf-8 (assuming iso8859-1 on UNIX and cp1252 on win32)

Another thing this change does is warn if the file contains long lines which cannot be handled by fossil. The user is given the chance to break the long lines into shorter ones. This cannot be done automatically. Maybe add a "longlines-glob" setting as well.

Feedback welcome! ... (check-in: 609ea54f user: mistachkin tags: improve_commit_warning)

2012-11-28
08:43
merge trunk ... (check-in: 569d0e2c user: jan.nijtmans tags: improve_commit_warning)
2012-11-27
12:10
merge trunk ... (check-in: 2e1f2e69 user: jan.nijtmans tags: improve_commit_warning)
2012-11-12
13:19
merge trunk ... (check-in: aaa1cb04 user: jan.nijtmans tags: improve_commit_warning)
2012-11-07
12:10
merge trunk

Fix continuation-byte check for UTF-8 chars > 2 bytes.

... (check-in: 3920fa67 user: jan.nijtmans tags: improve_commit_warning)
10:14
fix Abandoning warning ... (check-in: 4d6ae5c0 user: jan.nijtmans tags: improve_commit_warning)
09:47
styling ... (check-in: c8eaeb1b user: jan.nijtmans tags: improve_commit_warning)
09:43
merge trunk.

simplify utf-8 continuation byte checking, using a loop in stead of separater 2/3/4-byte versions.

... (check-in: 2f7ac60f user: jan.nijtmans tags: improve_commit_warning)
2012-11-05
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)
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)
2012-11-02
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)