Fossil

Timeline
Login

Timeline

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

14 check-ins related to "comment-formatter-wcwidth"

2024-10-06
04:32
Merge another update to the comment formatter. ... (check-in: 9ae999d74f user: florian tags: trunk)
04:23
Restore an error handling path deleted by an optimization. ... (Closed-Leaf check-in: cc8a3116d1 user: florian tags: comment-formatter-wcwidth)
2024-10-05
13:29
Merge updates to the character width measurements of the comment formatter. Note that multi-byte and wide characters are not handled in the comment prefix, which is entirely controlled by the application and only contains ASCII text. ... (check-in: 725af94791 user: florian tags: trunk)
13:27
Fix some compiler warnings reported by clang 17.0.6 on FreeBSD. ... (Closed-Leaf check-in: b9e34fa9d2 user: florian tags: comment-formatter-wcwidth)
13:06
Try two optimizations (to be reverted after further measurements, if they don't pay off): (0) Abort forward scanning for space characters as soon as the scanned characters don't fit on the current line. (1) Shortcut for ASCII characters on UTF-8 string analysis. ... (check-in: 4e8dd7df46 user: florian tags: comment-formatter-wcwidth)
13:04
Add tests for the comment formatter with multi-byte and fullwidth characters. ... (check-in: 1cc31c309d user: florian tags: comment-formatter-wcwidth)
2024-10-02
14:47
Update the comment for the code copied from the SQLite shell. ... (check-in: d98999f801 user: florian tags: comment-formatter-wcwidth)
14:45
Have the `test-comment-format' command call `verify_all_options()' to report unknown command-line options. ... (check-in: fb0845d1aa user: florian tags: comment-formatter-wcwidth)
14:43
Fix the off-by-one errors if a fullwidth character only fits partially, and take into account character widths when scanning forward to find the distance to the next space. ... (check-in: d5479ba7c6 user: florian tags: comment-formatter-wcwidth)
2024-09-30
18:21
Fix the unicode code-point width estimating function to align with the SQLite CLI. ... (check-in: e483b3b15f user: drh tags: trunk)
2024-09-28
18:21
Take into account zero-width and double-width unicode character when formatting the command-line timeline. ... (check-in: 83743188a3 user: drh tags: trunk)
18:19
Copy the wcwidth() implementation from SQLite over into comformat.c, so that comformat.c does not depend on SQLite. Fix the comformat routine so that it does not begin a new line with spaces. ... (Closed-Leaf check-in: 7b581b48a0 user: drh tags: comment-formatter-wcwidth)
2024-09-27
04:52
Quick test whether the `cli_wcwidth()' function [https://sqlite.org/src/vdiff?branch=variable-width-char | recently added to the SQLite shell] can be used by the comment formatter to take character widths into account when calculating word-break positions. TODOs: (0) Fix the "modern" (i.e. non-legacy) comment formatter being off by one if a fullwidth character only fits partially. (1) Add tests for the comment formatters with non-ASCII input. (2) Implement a modified `decodeUtf8()' function (which is static, anyway) that also accepts single-byte UTF-8 characters and may allow for some simplifications to the comment formatter algorithms. ... (check-in: b2dbdc8afb user: florian tags: comment-formatter-wcwidth)
2024-09-26
19:49
Merge the latest SQLite enhancements, and in particular the new ".www" dot-command available to "fossil sql". ... (check-in: c20aa86727 user: drh tags: trunk)