Fossil

Timeline
Login

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

136 check-ins using file src/diffcmd.c version 14b4629103

2021-08-25
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