Fossil

Timeline
Login

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

248 check-ins using file src/printf.c version 4f8b95b439

2021-09-07
12:18
Simplify the interface to the internal diff_file() routine. check-in: db034a5a6c user: drh tags: trunk
11:40
Bring back the diff command option `-N|--new-file' as an alias for `-v|--verbose' for script compatibility. check-in: 4ef3ba374c user: florian tags: trunk
10:42
Minor fix to adapt the `append_diff_javascript()' function and its call points to the new diff logic (already partially done with check-in [1347a1ddb9]). check-in: f9761abb6a user: florian tags: trunk
00:18
Move more diff parameters into the DiffConfig object. check-in: 346de5d122 user: drh tags: trunk
2021-09-06
22:26
Internally, use the new DiffConfig object to pass around diff settings, rather than the legacy u64 bit array. This provides increased flexibility to the internals. There should be no user-visible changes (unless I made a mistake). Note that more parameters could be folded into the DiffConfig object. This check-in is just a start. check-in: 1347a1ddb9 user: drh tags: trunk
22:24
For the --json diff output, generate an array of objects, one object per file and the diff array all contained within the object. Closed-Leaf check-in: 4ab3525927 user: drh tags: diff-config
20:51
Begin adding value that used to be function arguments into the DiffConfig object. This check-in deals with the pRe parameter. check-in: bdb4bfaa3a user: drh tags: diff-config
19:24
Futher integration of DiffConfig up and down the diff stack. check-in: 7c1498aeff user: drh tags: diff-config
18:52
Continue integrating DiffConfig up the diff stack. check-in: 153a464dab user: drh tags: diff-config
18:35
Incremental step in integrating DiffConfig. check-in: f7c8416fcd user: drh tags: diff-config
18:14
Create the new DiffConfig object used to pass around information about a file difference computation. Begin integrating this new object into various interfaces. Lots more work to be done. check-in: 8601fb13d6 user: drh tags: diff-config
14:07
Updates the change log to talk briefly about the new diff enhancements. check-in: 68d728867f user: drh tags: trunk
13:35
Improvements to help text for "diff" and "xdiff". check-in: dc757a5d08 user: drh tags: trunk
13:22
Expand the 'fossil wiki export --technote' interface to support technote retrieval via tag name as discussed in the chat. The query looks to match against both 'sym-TAG' and 'TAG' as technote tags are presently prefixed with 'sym-'. This identifier should be reserved for branches, however, so may be removed from technotes, at which point this query should be changed. check-in: d71b648c6c user: jamsek tags: trunk
13:06
Update the built-in SQLite to the latest 3.37.0 alpha, for testing. check-in: 04b725d9bf user: drh tags: trunk
12:00
Improvement to the ticket customization documentation suggested by [forum:/forumpost/31e44444cda1a7821912|forum post 31e44444cda1a7821912] check-in: 3fcdfb0cd8 user: drh tags: trunk
01:22
The diff --tk option shows an error message on the display if it encounters an input line that it does not understand. This means that "cannot compute difference between binary files" errors, and similar, are dealt with correctly. check-in: 86f0722e0c user: drh tags: trunk
2021-09-05
22:58
Identical lines in diff output should never use the "|" comparison mark. check-in: 99f93d9231 user: drh tags: trunk
22:11
Improved hyperlinks on the "Fossil Self-Hosting Repositories" page. check-in: 6decc47add user: drh tags: trunk
20:59
Minimum line-number width in --tk output is 3, to accommodate ellipses. check-in: 719498bd5f user: drh tags: trunk
20:54
Further improvements to diff alignment. check-in: e5b1c70e2a user: drh tags: trunk
19:31
Added just a tiny bit of left/right padding on the new diff tables so that the line numbers don't run right up to the edge of the border. check-in: f25a987bae user: stephan tags: trunk
19:16
Add a #define for the diff block alignment algorithm threshold. check-in: 0a4ae4408e user: drh tags: trunk
19:02
Refactor the diff logic for improved modularity and performance. This check-in transitions the diff improvement efforts from a branch to trunk. The effort is not yet complete, but it is stable enough to continue going on trunk. User-visible changes include (1) improved diff display, especially for unified diffs, (2) the new "fossil xdiff" command (promoting the older "test-diff" command into a supported command), and improved performance. Behind the scenes, (3) the class names DOM module used for for HTML diffs is simplified - which may break custom skins, (4) the internal processing of diffs is simplified in many ways. check-in: 9e330740cc user: drh tags: trunk
00:33
Fix a harmless compiler warning from previous check-in. Closed-Leaf check-in: bcd3e80f20 user: drh tags: diff-color-enhancements
00:31
A new, faster algorithm for alignment of rows in a change block. check-in: 71759ef5bf user: drh tags: diff-color-enhancements
2021-09-04
19:45
Add the test-line-hash command for use in debugging and analyzing the match_dline() functions. check-in: 6a2bfba43d user: drh tags: diff-color-enhancements
16:51
If unable to get good alignment between two diff block, try merging the current diff block with the subsequent diff block, if it is nearby. check-in: 45c91a6670 user: drh tags: diff-color-enhancements
16:22
Fix incorrect xReplace method in the --tcl formatter. check-in: 2e583d2a2c user: drh tags: diff-color-enhancements
15:00
Fix the SKIP display for --tk diffs. check-in: 581d3f8d88 user: drh tags: diff-color-enhancements
10:38
Fix diff.js so that it does not limit the width of unified diff <pre> elements. check-in: 723ce36ddb user: drh tags: diff-color-enhancements
10:27
Fix the blob_append_tcl_literal() routine to escape carriage-return characters (U+000d). Possible fix for the problem reported at [forum:/forumpost/390440e9793bfef7|forum post 390440e9793bfef7]. check-in: b4c961e8fb user: drh tags: diff-color-enhancements
2021-09-03
23:39
Add chunk numbers to each row of the diff output for HTML diffs. check-in: 8caab6155e user: drh tags: diff-color-enhancements
23:00
Draw a thin box around diffs in the default skin (per [forum:/forumpost/a42aade32dd9d42|forum post a42aade32dd9d42]). Show ellipsis at the tops and bottoms of files, if warranted. Fix a problem with "diff.js" that was failing to link all scrollbars associated with a single diff. check-in: 63a5c754fd user: drh tags: diff-color-enhancements
22:49
Improved alignment of partial line diffs. More work to be done in this area. Also fix a problem in diff.js that was causing problems when comparing two empty files. check-in: 24d28cb7c9 user: drh tags: diff-color-enhancements
18:45
Refactor the name of the sub-line change detection object. check-in: 3e08b15858 user: drh tags: diff-color-enhancements
17:51
Escape [, \, and ] characters when quoting TCL strings. check-in: fd2d27f01b user: drh tags: diff-color-enhancements
14:33
Add the test-line-diff command for testing the oneLineChange() routine of the diff logic. check-in: 0755a81bb5 user: drh tags: diff-color-enhancements
14:05
Adjust CSS to show blue change text for the --by option. check-in: 4381c7ea8c user: drh tags: diff-color-enhancements
13:39
First attempt at documenting the new diff web layout. check-in: 07d28ec886 user: drh tags: diff-color-enhancements
12:33
Restore the blue color for changed text in side-by-side diffs. check-in: 00b5e02ab2 user: drh tags: diff-color-enhancements
12:23
Merge recent trunk enhancements into the diff-color-enhancement branch. check-in: 17dde4c75b user: drh tags: diff-color-enhancements
12:21
Fix to the --ssl-identity issue described at [forum:/forumpost/6e2b2ee5316b7aef|forum post 6e2b2ee5316b7aef]. check-in: 82b42943b1 user: drh tags: trunk
12:07
On windows, make sure temporary pathnames containing non-ASCII characters are handled correctly. Add the fossil_freopen() wrapper around freopen() for portability. check-in: f48e48f664 user: drh tags: trunk
11:51
Adjust diff colors in all skins. check-in: 3910360677 user: drh tags: diff-color-enhancements
2021-09-02
23:43
Delete a bunch of obsolete side-by-side diff code. check-in: 9f3d89612a user: drh tags: diff-color-enhancements
22:44
Delete unused legacy context-diff logic for HTML. check-in: 1fb022ff98 user: drh tags: diff-color-enhancements
22:28
Improved comments on the diff formatter and related logic. check-in: d29ddba321 user: drh tags: diff-color-enhancements
19:38
New format for JSON diff output. Promote the "test-diff" command to "xdiff", retaining the older spelling as a backup for compatibility. check-in: b051102272 user: drh tags: diff-color-enhancements
18:44
Better control over the blue/red/green colors in the --tk TCL code. check-in: 1df8b9d773 user: drh tags: diff-color-enhancements
16:15
Fix line numbers off-by-one in --tk display. check-in: b3e1fd9ff4 user: drh tags: diff-color-enhancements
14:25
Various improvements and bug fixes to the new diff logic. check-in: 10f736f04f user: drh tags: diff-color-enhancements
10:09
Get the --tk option working with the new --tcl format. check-in: 63610f3f27 user: drh tags: diff-color-enhancements
09:19
Add the --tcl format option to the diff commands. The plan is to use this to implement --tk (in place of --html -y) but that part is not yet implemented. check-in: e933d5d731 user: drh tags: diff-color-enhancements
07:56
Half of [d700f5ff4f215c69 | the prior commit] was unnecessary. Backed it out. check-in: 9a4e87a3b6 user: wyoung tags: trunk
07:52
Added db_unprotect/pop wrappers around the "clone --ssh-command" handling to avoid a bogus "unauthorized change to protected setting" error, as reported [forum:/forumpost/29027c6a67c280e7 | on the forum]. check-in: d700f5ff4f user: wyoung tags: trunk
2021-09-01
19:53
First attempt to generate side-by-side diffs using the new formatter. This breaks the --tk option. The "fossil diff -b" and "--by" work, but side-by-side diff on /info pages and similar is currently busted. CSS is simplified, which means that skins will need to be modified. This is an incremental check-in. check-in: 4cd8a743cd user: drh tags: diff-color-enhancements
15:38
Further improvements to unified diff. Simplified CSS that can be used in common with split diff. Separate columns for each line number and the change mark. check-in: ce856a8614 user: drh tags: diff-color-enhancements
2021-08-31
22:43
Tweaks to diff formatting. check-in: 598d7736e7 user: drh tags: diff-color-enhancements
14:13
Removed the link to /setup_smtp from the main /admin page: the backing feature was removed [/info/db5c2d399c143a04 | several months ago]. Addresses [forum:/forumpost/413e04bba5 | an anonymous forum post]. check-in: 7aaee6fc31 user: wyoung tags: trunk
14:10
Markdown tweak in www/alerts.md to avoid semi-redundant constructs like "[MTA][mta]". check-in: 897bd90b27 user: wyoung tags: trunk
14:03
Fixed several "descendents" typos. (It's "descendants".) There's still one remaining in sqlite3.c, but of course fixing that here won't help. check-in: 85f119dc7d user: wyoung tags: trunk
13:44
Small grammar tweaks to previous check-in: c2f0063f1e user: wyoung tags: trunk
13:33
Improvements to the new unified diff algorithm. check-in: 2a256a4cce user: drh tags: diff-color-enhancements
13:29
Further tweaks to §2.5.1 of the fossil-v-git doc: spelling and grammar fixes, updated references, clarifications... check-in: c00b6a4844 user: wyoung tags: trunk
13:14
Updated the fossil-v-git doc to talk about "fossil patch" in addition to "fossil bundle". check-in: e3e06d31f5 user: wyoung tags: trunk
10:39
Refactor the previous commit by adding a wrapper for `freopen()', and use the Cygwin-aware routines to convert path names to/from UTF-16. Closed-Leaf check-in: 963de841f2 user: florian tags: win32-temppath-mojibake
07:01
On Windows, make sure temporary path names containing non-ASCII characters are accessible, for example if the default temporary path "C:\Users\«Username»\AppData\Local\Temp" contains a user name with extended characters, of if the %TEMP% environment variable points to a directory name with extended characters. check-in: 102339828b user: florian tags: win32-temppath-mojibake
03:00
An attempt to rework HTML unified diff to show partial line matches. Still needs CSS work. check-in: a01e46d85e user: drh tags: diff-color-enhancements
02:56
Fixed a copy/paste typo from [ae28ae82] which broke some JS-using pages. check-in: b22bf1c954 user: stephan tags: trunk
2021-08-30
22:39
Merge fixed from trunk into the diff-color-enhancements branch. check-in: 06a4494e01 user: drh tags: diff-color-enhancements
16:43
Added fossil.dom.ins/del() factory functions in prep for JS-based diff renderer. (Later) This check-in seems to break chat on the server-side. (Later still) fixed in trunk - copy/paste typo. Closed-Leaf check-in: ae28ae8273 user: stephan tags: oops
16:40
Fix handling of backslash and tab in quoted JSON text for the --json option. check-in: 9a30e83d88 user: drh tags: diff-color-enhancements
15:03
Add the experimental JSON diff output format. check-in: 5d759da711 user: drh tags: diff-color-enhancements
14:23
Fix --debug diff output for multi-byte UTF-8. check-in: 9191ea9e63 user: drh tags: diff-color-enhancements
13:55
In the "diff --debug" output show the regions of change. check-in: 4b8f203f5d user: drh tags: diff-color-enhancements
12:00
Code and comment cleanup. Fixes to the new formatDiff() routine related to block alignment. check-in: 16a2364f36 user: drh tags: diff-color-enhancements
02:36
Corrections to line counting in the formatDiff procedure that drives the DiffBuilder object. Remove the test-rawdiff command and substitute and undocumented --raw option on the various diff commands. check-in: 5e70c3ff96 user: drh tags: diff-color-enhancements
2021-08-29
22:55
Demonstrate the concept of a generic DiffBuilder object. check-in: 6e8d87b398 user: drh tags: diff-color-enhancements
12:58
Minor sbsdiff.js tweak to try to avoid unsightly page-level horizontal scrollbars, as reported in [forum:96e40f90db | forum post 96e40f90db]. check-in: fa667a9308 user: stephan tags: trunk
2021-08-28
16:36
Further improvements to fossil_temp_filename() to help ensure that the correct directory separators are used on both unix and windows. check-in: 5434d2e32c user: drh tags: trunk
15:47
Merge trunk fixes into the diff-color-enhancements branch. check-in: e696aa705c user: drh tags: diff-color-enhancements
15:46
More robust implementation of fossil_temp_filename that does not require an open connection to a real database. check-in: 939696667a user: drh tags: trunk
15:19
Minor legibility improvement for the previous commit [8ad6aa53a4]. check-in: db8c5a9296 user: stephan tags: trunk
15:11
Added missing db_protect() when importing (config export user) data via (config import), as reported in [forum:dea06dd696359a59 | forum post dea06dd696359a59]. check-in: 8ad6aa53a4 user: stephan tags: trunk
00:46
Performance optimization. Now faster than trunk. check-in: 2cb7f2f9d1 user: drh tags: diff-color-enhancements
00:13
Side-by-side diff coloration now appears to be technically correct, though further improves are needed to optimize for human perception, and for performance. check-in: 6ed7541472 user: drh tags: diff-color-enhancements
2021-08-27
21:11
Additional work on improved diff. Incremental check-in. Still not working right. check-in: 4fea7cc0ca user: drh tags: diff-color-enhancements
16:48
Coloring on side-by-side diffs allows up to 8 separate segments of change. Incremental check-in - not everything is working correctly. check-in: 925399da07 user: drh tags: diff-color-enhancements
14:01
Clean up the data structures associated with adding color to diffs in preparation for attempts to improve the coloration. check-in: 8c619bf278 user: drh tags: diff-color-enhancements
12:31
Fix login redirects for the forum. [forum:/forumpost/7663482abad5a3ea|Forum post 7663482abad5a3ea]. check-in: c717d2803e user: drh tags: trunk
12:09
Add a missing #include to diffcmd.c so that the build will work under mingw32. check-in: 00c8622a02 user: drh tags: trunk
11:29
Fix the goofy non-quoting of URL arguments to "start" on windows by including an extra quoted empty term. [forum:/forumpost/9600b10ffd0a7483|Forum post 9600b10ffd0a7483]. check-in: 0d8c92882a user: drh tags: trunk
07:54
Attempt to fix quoting issues with the browser launch command on windows. check-in: c72c6df465 user: drh tags: trunk
05:57
/chat: when submitting a message, trim trailing whitespace from all input lines in order to keep pasted-in text from consoles, especially wide ones, from forcing horizontal scrollbars on all clients to due long runs of blanks at the end of each line. Sidebar: this is incompatible with markdown-formatted text which makes use of lines ending with whitespace for continuation of multi-paragraph list entries. check-in: afaffb66df user: stephan tags: trunk
03:17
Fixed incorrect /hash-color-test URI in the user-color-map setting's help text. check-in: 966305b264 user: stephan tags: trunk
00:33
Do not use an external diff command to generate HTML for --tk or --webpage or --browser. check-in: 83feccc291 user: drh tags: trunk
2021-08-26
15:23
Update the change log for the shift from --www to --by. check-in: 16a01582e6 user: drh tags: trunk
15:12
CSS adjustments for the --browser option on diff commands. check-in: de2d0054a7 user: drh tags: trunk
14:01
Rename the new --www option (check-in [f3961f453aee1ef5]) to --browser and -b. Add the --by option as shorthand for --browser --sidebyside, as that is expected to be a common usage pattern. check-in: 9a3372eec5 user: drh tags: trunk
13:41
Minor code simplification and cleanup for the HTTP server launch in the "fossil ui" and similar commands. check-in: 2f122aac73 user: drh tags: trunk
00:16
Update the change log. check-in: a49582b343 user: drh tags: trunk
2021-08-25
23:47
More improvements to login redirects. See the discussion on the [forum:/forumpost/f81625500d96cc0f|forum thread f81625500d96cc0f]. check-in: e5c16594b3 user: drh tags: trunk
23:17
Fix a harmless compiler warning in the previous check-in. check-in: 4291b9c87f user: drh tags: trunk
23:08
Add the --www option to the various "diff" commands. check-in: f3961f453a user: drh tags: trunk
20:56
Improved internal interfaces for diff. For --webpage, omit the CSS used only for side-by-side diffs when doing a unified diff. check-in: eb6611c4dc user: drh tags: trunk
18:26
Enhance the sbsdiff.js script to do the diff-column width expansion and constraction as the browser width chagnes. Add the complete sbsdiff.js script text to the end of --webpage diff output, but only when the -y option is also used. check-in: 5380333f63 user: drh tags: trunk
18:00
For the --webpage output, use javascript to resize all side-by-side diff columns so that they completely fill the available screen width. check-in: 571dd613ac user: drh tags: trunk
17:18
Fix the --webpage option so that it correctly generates the HTML closing tags for the "fossil test-diff" command. check-in: 7e37ae9549 user: drh tags: trunk
16:48
Fix a bad redirect associated with Logout. Problem caused by [3571c8715d512a28] check-in: 85f87c8d30 user: drh tags: trunk
16:22
Fix a problem in the "fossil patch diff" command introduced by the previous --webpage check-in. check-in: 874e7fa7bb user: drh tags: trunk
16:10
Add the --webpage option to the various "diff" commands. This option causes the diff output to be in the form of a stand-alone webpage that can be sent to a remote collaborator (for example via a chat attachment). check-in: ea52b7d06c user: drh tags: trunk
13:10
Improvements to the g= query parameter on login redirects. This is an attempt to fix the problem described by [forum:/forumpost/f81625500d|forum post forum f81625500d]. check-in: 3571c8715d user: drh tags: trunk
2021-08-23
02:40
Minor internal doc tweaks. No code changes. check-in: 4907122668 user: stephan tags: trunk
2021-08-20
22:41
After prompting to save an SSL cert verification, ensure that the config db is opened to avoid a fatal error when saving. See forum posts [forum:c53d1915a4e0a051|c53d1915a4e0a051] and [forum:4dcd2f16c289848c|4dcd2f16c289848c]. check-in: edd280c3b6 user: stephan tags: trunk
2021-08-19
19:38
Add the --fossilcmd option to the "patch push" and "patch pull" commands. Also improve the "patch" documentation slightly. check-in: 280e12a356 user: drh tags: trunk
19:21
Enhancements to "fossil patch". The -f flag now causes a revert prior to applying the patch. The -f, -v and -n flags work with "patch push". check-in: 136d200408 user: drh tags: trunk
19:01
Fix the "fossil patch pull" command so that it works even if the remote has added two or more files. check-in: 08be0c75b9 user: drh tags: trunk
13:53
Enhance the "scrub" command to more aggressively prune the CONFIG table. check-in: 6b608a0ccb user: drh tags: trunk
10:38
Fix for previous. :P check-in: 3befe7aab4 user: wyoung tags: trunk
10:37
URL fix addressing [forum:/forumpost/d35232eda0 | a report on the forum]. check-in: 0da45710a0 user: wyoung tags: trunk
2021-08-18
21:37
Resolved, it seems, skin cookie/query param/--skin flag priority bug which allowed an empty skin= query param to take effect even when --skin was used. Reported in [forum:745cbb55268aff37 | forum post 745cbb55268aff37]. check-in: a9995c561b user: stephan tags: trunk
19:13
attachment_list(), used by wiki, tech-note, and ticket attachment lists, now includes a download link which attempts to download using the file's name instead of artifact ID. Discussed in [forum:6566f665a3685c4f | forum post 6566f665a3685c4f]. check-in: 648bb4c1b5 user: stephan tags: trunk
18:18
In the attachment list of /wiki, link the word Attachments to the /attachlist page as a workaround for downloading the attachments using their expected names (rather than change the historical behaviour of the in-page links, which download using artifact IDs). Discussed in [forum:6566f665a3685c4f | forum post 6566f665a3685c4f]. check-in: 6e44230314 user: stephan tags: trunk
2021-08-17
19:44
Back out the main-url patch. On second thought, this does not add a lot of value but does introduce complication. Maybe it will get added back in later. check-in: 5bb4f12a8f user: drh tags: trunk
17:32
Provide a warning on the security-audit page if any of the TH1 scripts that run during a syncm, push, pull, or clone are configured. check-in: cfb5be4189 user: drh tags: trunk
17:13
Add the "main-url" setting. Use it to send the "pragma from-url" on a sync. The server uses this to add new syncwith: entries for the client. check-in: 2ae7a5160f user: drh tags: trunk
15:41
Improvements to the /urllist page → the sync URLs and Git mirrors are combined into a single section. Add the url_unparse() interface for freeing memory from a url_parse_local(). check-in: 9bdbcd39cb user: drh tags: trunk
2021-08-16
00:11
Relax <tt>isSnippetMark()</tt> so that almost arbitrary search terms are highlighted. This change is preliminary and [forum:/forumpost/042e179e0c25b8|needs further analysis]. check-in: 6b37b55f75 user: george tags: search-terms-highlighting
2021-08-15
23:49
Merge from trunk check-in: 59010c7c09 user: george tags: rptview-submenu-paralink
23:27
Merge from trunk check-in: 282c6f956f user: george tags: wcontent-subsets
23:13
Merge from trunk check-in: 5b67899db0 user: george tags: th1-doc-vars
18:38
Remove a harmless unused variable. check-in: a004b1729c user: drh tags: trunk
00:43
Improve the /urllist page so that it shows all servers with which the repository has synced. check-in: 89e5c03a32 user: drh tags: trunk
2021-08-14
22:06
Remember the URLs for Git-mirror syncs. Show them on the /urllist page. check-in: 458b35a507 user: drh tags: trunk
18:25
Further improvements to "fossil all git status" output. Do not show repositories for which the git export repository does not exist or is inactive. check-in: 999d838de2 user: drh tags: trunk
18:00
Improved output (less clutter) from the "fossil all git status" command. Results are only shown from repositories that actually have a Git mirror. check-in: 9179663d8c user: drh tags: trunk
2021-08-12
16:07
Added a link from build.wiki to the Release Build How-to wiki page, per forum request. check-in: c763040b9d user: stephan tags: trunk
15:41
Added 'Results' to the title for /docsrch and /search pages when s=... param is passed in, analog to checkin [b0862611cc], per request in [forum:61bd27b76f4b8ae2 | forum post 61bd27b76f4b8ae2]. check-in: 809c010db2 user: stephan tags: trunk
14:38
Correctly handle block HTML in markdown if the end tag occurs at the very end of the input without even a new-line. check-in: a06f3379f0 user: drh tags: trunk
2021-08-11
18:56
Adjusted the optional cscope feature so it collects symbols only from the src subdir, primarily to get the bld/* stuff out of the way. check-in: b6cc6f680f user: wyoung tags: trunk
18:54
/forum page now changes its title to 'Forum Search Results' when showing search results, per request in [forum:291f9af918 | forum post 291f9af918]. check-in: b0862611cc user: stephan tags: trunk
2021-08-09
01:11
Markdown enhancement (after [forum:/forumpost/938896d37da30394|forum post 938896d37da30394] and follow-ups) in which &lt;html&gt;...&lt;/html&gt; that is preceded and followed by blank lines disables all markdown processing and just returns raw HTML text. The &lt;html&gt; and its end-tag are removed. Removal of "dangerous" HTML is handled in a later pass, so the results should still be safe. check-in: 1e919d601f user: drh tags: trunk
2021-08-08
18:20
More information in the log file for signal handlers. Include the phase of operation as part of the log message. check-in: 48c06b0a13 user: drh tags: trunk
2021-08-07
17:28
Improved error message upon timeout. Combine redundant implementations of the function that finds user and kernel CPU usage. check-in: 6c3d370496 user: drh tags: trunk
17:28
Update to the latest trunk version of SQLite, for SQLite testing. check-in: 5570a6aae9 user: drh tags: trunk
10:33
Fix an uninitialized variable resulting from check-in [cdbf0bf179989a2d]. check-in: a099ccfe92 user: drh tags: trunk
10:18
Update change long to mention the recent Markdown formatter change. check-in: 2125ddb964 user: drh tags: trunk
2021-08-06
23:39
Minor internal doc fixes. check-in: b473ba079b user: stephan tags: trunk
23:23
Simplify the HTML block tag handling in the markdown formatter. (See [forum:/forumpost/3f0136cd8054a14e|forum thread 3f0136cd80].) Dramatically reduce the number of of HTML block tags that do not apply markdown formatting to their content. The list is now just &lt;pre&gt; and &lt;script&gt;. Formerly this list include things like &lt;p&gt; and &lt;table&gt;. check-in: cdbf0bf179 user: drh tags: trunk
2021-08-05
17:06
Minor doc fix for previous commit. No code changes. check-in: 04a9e74a93 user: stephan tags: trunk
11:55
Resolved invalid memory write in --args FILE handling when FILE contains embedded NULs, as reported in [forum:/forumpost/7b34eecc1b8cf5d2|forum post 7b34eecc1b8cf5d2]. Cause: mismatch between --args expansion's own line counting vs blob_line() counting. All bytes after the first embedded NUL are now effectively ignored. check-in: e120c2a9a7 user: stephan tags: trunk
2021-08-02
10:09
Typo fix in previous check-in: e3066edea3 user: wyoung tags: trunk
08:49
Clarified the double-quoting and {} quoting rules for TH1 in the docs. check-in: a1e415291c user: wyoung tags: trunk
2021-07-26
20:07
Fix typo on the /stat page. check-in: 9860f1ea44 user: drh tags: trunk
03:03
Updated URLs in fossil.1 man page to https. check-in: 762dc040b8 user: stephan tags: trunk
2021-07-25
02:59
Add new branch subcommands: close, reopen, hide, unhide. check-in: f1fb1239be user: stephan tags: trunk
2021-07-23
21:47
Updated the caps/index.md doc to reflect the recent "sxy" change check-in: 34de621459 user: wyoung tags: trunk
19:48
Comment typo fix in previous check-in: ec5efceb8a user: wyoung tags: trunk
19:35
The default user capability string for the test-http command — used by ssh:// URLs despite the "test-" prefix! — is now "sxy" to grant all permissions as claimed [/doc/trunk/www/caps/#webonly | in the docs]. While this is objectively correct, it doesn't solve the actual problem I was chasing, being UV sync failure over SSH per [forum:/forumpost/b121db582ee1ed2c | a recent forum post]. check-in: 129e395878 user: wyoung tags: trunk
06:12
Added (branch reopen) subcommand, the inverse of (branch close), per forum feedback. Closed-Leaf check-in: 6f3ab14165 user: stephan tags: branch-close-subcommand
02:44
branch hide/unhide subcommands now skip over checkins which have resp. don't have the hidden tag. check-in: 768f30ffb7 user: stephan tags: branch-close-subcommand
02:22
Added (branch hide/unhide) subcommands. check-in: 05b42e6aa6 user: stephan tags: branch-close-subcommand
2021-07-22
23:21
Internal refactoring of (branch close) subcommand in prep for pending addition of similar (branch hide/unhide) feature. check-in: 9baa9768f6 user: stephan tags: branch-close-subcommand
23:08
Enhance the /vdiff page to understand the nc (no-color) query parameter and to do a better job of preserving query parameter choices when clicking on other display options. check-in: 2e51bb9b03 user: drh tags: trunk
07:47
branch close: added --user/date-override options, per forum feedback. check-in: 94764e962c user: stephan tags: branch-close-subcommand
06:25
branch close: minor doc and style cleanups. Delay output of control artifact in dry-run mode until after Z-card is calculated. Only show new dry-run artifact in --verbose mode. check-in: 25197505b1 user: stephan tags: branch-close-subcommand
06:16
branch close: dry-run mode no longer skips the saving steps. check-in: a6a1a3cf0c user: stephan tags: branch-close-subcommand
05:59
Initial impl of (branch close) subcommand. check-in: 0bdb19f3d3 user: stephan tags: branch-close-subcommand
2021-07-21
18:48
Cleanup for the "fossil help" command implementation. check-in: 8a231a7990 user: drh tags: trunk
17:13
Update the built-in SQLite to the latest trunk version, for testing purposes. check-in: cd90fc9114 user: drh tags: trunk
2021-07-20
20:57
Updated the link to cURL's cacert.pem package from the "SSL" doc check-in: af7bbdcee9 user: wyoung tags: trunk
14:34
Recreate the ability to view all settings in a single command. check-in: 65f59beae9 user: andybradford tags: trunk
2021-07-19
18:20
Start the list of changes for version 2.17. check-in: 482c1c9ee8 user: drh tags: trunk
13:27
Improved comments on anchor-generation routines like href(). Simplify the logic. Fix a bug in the generation of form elements for the /register page. check-in: 8dd7542892 user: drh tags: trunk
2021-07-18
12:47
/wikiedit: show the list of attachments for the current page and list URLs suitable for pasting them into the page, e.g. for use in IMG tags. check-in: ce15e35e47 user: stephan tags: trunk
00:00
Fix a potential division-by-zero in Pikchr. check-in: bee7418f07 user: drh tags: trunk
2021-07-17
19:26
Further improvements to the "chop" mechanism of Pikchr. check-in: 58fb007eb8 user: drh tags: trunk
17:29
Update the built-in pikchr.c file to the latest version with the preliminary fix for the chop bug. check-in: 60c9dc9f5f user: drh tags: trunk
10:48
wikiedit: the attachment area now explains that new pages cannot have attachments until the page is saved once. Closed-Leaf check-in: 70716bbc0e user: stephan tags: wikiedit-attachment-list
2021-07-16
18:30
Internal wikiedit doc touchups. check-in: a36cd610af user: stephan tags: wikiedit-attachment-list
18:15
Added reload capability to /wikiedit attachment list. check-in: 91bb602ad6 user: stephan tags: wikiedit-attachment-list
16:51
Initial work on attachment list for /wikiedit. Still requires the ability to update the list to see attachments made since edits were last locally loaded and stashed. check-in: 74c6b9c5be user: stephan tags: wikiedit-attachment-list
02:45
Added test-list-attachments command as a preliminary step towards adding the ability to list wiki page attachments from within /wikiedit. check-in: a0577666f4 user: stephan tags: trunk
2021-07-15
21:43
Fix a typo in a variable name that broke the build when JSON support was enabled. check-in: f31b5a838b user: danield tags: trunk
20:25
Updated the systemd service article to account for my experience following the instructions on a CentOS 8 box. (It was originally written for an older Debian type platform.) check-in: 74670ab1ff user: wyoung tags: trunk
16:55
Updated the meld example for the gmerge help output, from a [forum:/forumpost/f548a47462 | fix suggested on the forum]. check-in: 375589e50e user: wyoung tags: trunk
16:32
Fix a minor typo in a comment. check-in: 56262c7ea7 user: drh tags: trunk
02:21
A value of "auto" for --branchcolor (commit) or --bgcolor (branch new) instructs Fossil to choose the color automatically. This makes it possible to have private branches that are not colored orange by default. check-in: b910219a4f user: drh tags: trunk
00:17
Minor orthographic correction in settings help description. check-in: 66c309537b user: andybradford tags: trunk
2021-07-14
23:58
Recreate the ability to view all the settings easily in one command that was lost with [f74f7014c2271beb] and enhance the output to show whether or not a setting is versioned. Closed-Leaf check-in: b572b76604 user: andybradford tags: verbose-settings-help
23:05
A value of "auto" for --branchcolor (commit) or --bgcolor (branch new) instructs Fossil to choose the color automatically. This makes it possible to have private branches that are not colored orange by default. Closed-Leaf check-in: ac42160241 user: danield tags: private-non-orange
12:52
Add the --no-http-compression option to "fossil sync" and similar. Extra explanation of compressed and uncompressed values in the response output from the sync. check-in: 2b8ac4d15b user: drh tags: trunk
2021-07-13
15:21
When doing a verbose sync/pull/push, also print total uncompressed bytes sent/received, to match displayed statistics for each round trip. check-in: 9abbd35b8e user: danield tags: trunk
2021-07-12
18:37
Back out the m2= query parameter for /timeline. Instead go back in and document the sel1= and sel2= query parameters. Note the subtle differences between m= and sel1=. Do not allow m=, or c=, or any other parameter to override sel1=. check-in: ee07556688 user: drh tags: trunk
18:14
Update the built-in Pikchr to the latest trunk version. check-in: 3fa951bb45 user: drh tags: trunk
15:13
Hostname prefix on the repository name for the "fossil ui" command must be at least two characters in length, to avoid confusing it with a drive letter on windows. check-in: 385344eff7 user: drh tags: trunk
13:26
Timeline enhancements: (1) Add the "nc" query parameter which means to omit all graph colorations other than highlights from "m" or "m2". (2) Add the "m2=" query parameter for secondary highlight. (3) Undocumented sel1= and sel2= query parameters remain undocumented but are now aliases for the documented "m=" and "m2=" query parameters. check-in: a3392298c3 user: drh tags: trunk
2021-07-11
23:43
Add the ticket-default-report setting, which if set to the title of a ticket report causes that ticket report to be displayed below the search box in the /ticket page. check-in: c51ace6bc8 user: drh tags: trunk
21:55
Add default report checkbox and compare report titles instead Closed-Leaf check-in: eaa7f6bb5c user: kevgrig tags: ticket-search-empty-report-number
19:30
Enhance the Cache-control: header for tarballs and archives so that if the object is uniquely identified by a hash the download has a 10-year timeout and an "immutable" tag. check-in: 44339d5378 user: drh tags: trunk
19:16
Checked into the wrong branch... Closed-Leaf check-in: 005bba0650 user: drh tags: wrong-branch
2021-07-10
05:47
Add ticket-search-empty-report-number setting to optionally show a report if the ticket search page query is blank check-in: 714ce73d38 user: kevgrig tags: ticket-search-empty-report-number
2021-07-09
16:15
Auto-sync prior to running "fossil open". Add the --nosync flags to "fossil open" and "fossil up" to disable the auto-sync. check-in: dc97155ec7 user: drh tags: trunk
10:51
Update to the latest Pikchr trunk version. check-in: f0b08d071a user: drh tags: trunk
2021-07-08
17:43
Enhancement to codecheck1.c to verify that routines like db_set() use a string literal as the setting argument, and are thus impervious to injection attacks. check-in: 0a5d0e191c user: drh tags: trunk
11:54
diff -tk: simplified wrap toggle implementation a bit using a ttk::checkbutton. Closed-Leaf check-in: 57a2cab38f user: stephan tags: mistake
08:51
In diff -tk window, add a button which toggles the line wrap mode, as discussed in [forum:/forumpost/c5e018e78a8e9d26 | forum post c5e018e78a8e9d26]. (My very first tk code, so it might be significantly improved upon by someone who knows Tk Fu.) (Edit: it turns out that wrapping doesn't work with the line numbers.) check-in: 132340e6f7 user: stephan tags: mistake
2021-07-07
18:14
Fix the unversioned_content_hash() function so that it returns the SHA1 of a zero-length buffer if the "unversioned" table does not exist. check-in: ccce70fb59 user: drh tags: trunk
13:12
Do not log the base URL in the CONFIG table when running "fossil ui". check-in: a965221ab2 user: drh tags: trunk
12:20
New documentation hyperlinks. check-in: 71499f1386 user: drh tags: trunk
11:12
Minor fixes to the embeddeddoc.wiki document. check-in: 0627f28075 user: drh tags: trunk
2021-07-06
16:31
Fix the previous check-in so that it works even when the --page option is omitted. check-in: 6d178fa90f user: drh tags: trunk
15:58
For the --page option to the "fossil ui" command, ignore any initial leading "/" on the page name. check-in: 10f9624207 user: drh tags: trunk
15:46
Enhance the blob_eq() macro to help ensure that its second argument is a string literal, not a pointer. check-in: d6477def97 user: drh tags: trunk
13:46
Only issue the warning about unable to push UV content due to insufficient privilege if the client has new UV content that otherwise might push. check-in: 22005dfcf1 user: drh tags: trunk
13:15
Fix an inefficiency in uv-sync in which the uv-catalog is always sent even if the uv-hash matches. Also add preliminary change to support uv-push. check-in: d015a269e6 user: drh tags: trunk
2021-07-05
20:44
In the ssh command for the "fossil ui REMOTE" command, add a space between the -L option and its argument, as this is required by plink. check-in: 3fd84de3f4 user: drh tags: trunk
20:40
For the "fossil ui REMOTE" command, omit the -- in the ssh command that separates local ssh options from the remote command, as it does not appear to be needed, and does not work with plink. check-in: d6b573f72d user: drh tags: trunk
20:18
When using the "fossil ui" command with a remote repository, ensure that the global configuration database is opened prior to trying to acquire the "web-browser" and "ssh-command" settings. check-in: 23b84b33cd user: drh tags: trunk
17:58
Omit all of the submenu when a wiki page is shown using the /home URL. [forum:/forumpost/5010f8f2d35c8024|Forum post 5010f8f2d35c8024]. check-in: da2f1522db user: drh tags: trunk
17:41
Increase the version number to 2.17 to start the next development cycle. check-in: d6759551fb user: drh tags: trunk
16:55
Resolved problems with recursive invocation of th1's render command. check-in: a5f00e0a71 user: stephan tags: trunk
16:52
Resolved a g.th1Flags bitmask collision between TH_STATE_xxx and TH_INIT_NO_ENCODE. Closed-Leaf check-in: 0dc3a65515 user: stephan tags: th1-recursive-render
2021-07-02
12:46
Version 2.16 check-in: 7aedd56758 user: drh tags: trunk, release, version-2.16
04:16
When calling Th_Render() recursively, pass on g.th1Flags so that recursive calls do not inadvertently toggle flags like TH_INIT_NO_ENCODE. check-in: 0a57df7e07 user: stephan tags: th1-recursive-render
2021-07-01
22:00
Replaced a char with an int to fix incorrect /json/branch/create handling on platforms where char is unsigned by default. Problem discovered by Daniel Dumitriu. check-in: 8cb972e7da user: stephan tags: trunk
20:32
Add a note to the changelog about DROP support within tickets schema definition. check-in: f5b5991ee5 user: george tags: trunk
19:27
Fix the file_fullexename() function (used by the "info" and "test-which" commands) so that it works correctly on Windows. check-in: d8c32ebdff user: drh tags: trunk
18:54
Improvements to the on-line help for the "fossil all" command, and improvements to the change log. No changes to code. check-in: e39854ae51 user: drh tags: trunk
18:12
Enhanced help text for the "fossil ui" command. No changes to code. check-in: 301bc21791 user: drh tags: trunk
14:53
Fix uninitialized local variable in the "fossil ui" implementation. check-in: a7aa779b2b user: drh tags: trunk
13:58
Add the --fossilcmd option to "fossil ui". Carry the --jsmode and --create options through to the remote fossil. check-in: c359589ef6 user: drh tags: trunk
04:03
Proposed fix for out-of-order output when calling th1 render function from a th-doc page body. DO NOT MERGE: this is being checked in so that it can be deployed on a test server. check-in: a381a8102b user: stephan tags: th1-recursive-render
03:26
Minor doc typo fix. check-in: 12b5eed944 user: stephan tags: trunk
2021-06-30
22:58
Replaced part of [3946ff81] which was inadvertently removed via [612f6cee] (parallel edits). Removed an unused var. check-in: 4f095cdba0 user: stephan tags: trunk
22:49
Mirror many "fossil ui" options to the remote side when using a remote repository. check-in: 612f6cee38 user: drh tags: trunk
21:24
patchcmd.md: added a description of how to enable, if needed, a custom PATH via the remote bashrc. check-in: 9a931a16ac user: stephan tags: trunk
20:33
Enhance the "fossil ui" command so that the REPOSITORY argument can be on a remote system. check-in: f3acbe429a user: drh tags: trunk
20:31
Update the change log to talk about the enhancements to "fossil ui". Closed-Leaf check-in: 2d19a40df3 user: drh tags: remote-ui
20:15
Improvements to "fossil ui HOST:PATH". check-in: cff1f785e1 user: drh tags: remote-ui
19:14
Initial changes to support HOST: prefixes on the REPOSITORY argument of the "fossil ui" command. check-in: cb34f1a8ac user: drh tags: remote-ui
18:55
Change log typo fix and added an all-encompassing 'numerous other minor enhancements' to 2.16. check-in: 56a40e3b9d user: stephan tags: trunk
18:46
Refactored [bf66d61582] to move the dir-has-a-checkout-db check into the new dir_has_ckout_db() routine. check-in: 3946ff81b0 user: stephan tags: trunk
17:57
Retroactively added a note to the 2.12.1 change log about the allow-symlinks setting no longer syncing, per forum request. check-in: c5dc24d4eb user: stephan tags: trunk
17:39
Add the new file_skip_userhost() function that will find an skip over a "USER@HOST:" prefix on a filename, if it exists. Use this to extract the USER@HOST prefix from names in the "fossil patch push/pull" commands. check-in: 89a8588853 user: drh tags: trunk
13:56
The argument to the "fossil ui" command is allowed to be a directory name instead of a repository filename. If a directory, repository associated with the checkout at that directory is used. check-in: 9ec744ed79 user: drh tags: trunk
13:52
Enhance the blob_append_escaped_args() routine with a new parameter to indicate if the argument is a filename. Only prepend "./" to filename arguments that begin with "-". The "%$" printf conversion assumes a filename, but the "%!$" conversion does not. check-in: 4f83d06275 user: drh tags: trunk