Fossil

Timeline
Login

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

92 check-ins using file src/printf.c version 193a7fe4f5

2021-09-17
23:02
Add sig_nonce card to support low signature security. ... (Leaf check-in: f4ec38f5b7 user: rransom tags: trunk)
19:48
Formatting improvements on the change log. Improvements to the help text for the "fossil ui" command. ... (Leaf check-in: 76f65b4362 user: drh tags: trunk)
19:32
Update the changes log. Fix a minor typo in the help text for "diff". ... (check-in: 5839abaee4 user: drh tags: trunk)
19:10
Fix public-key auth design to put signature first The existing login card mechanism already puts a (SHA-1) hash of the entire message at the beginning; there is no reason to put the signature at the end or bother with stream signatures at this time. ... (check-in: 8e654c4157 user: rransom tags: trunk)
19:06
Bring the help text for the "fossil all git" command into alignment with the implementation after changes on [/timeline?c=202108141825|2021-08-14]. ... (check-in: 1033e0ff88 user: drh tags: trunk)
10:46
Tolerate one or two punctuation characters at the end of a symbolic name, if the name does not otherwise match, to accomodate names taken from the ends of URLs where some extra punctuation from the following text was included with the URL. ... (check-in: d81190bd72 user: drh tags: trunk)
02:32
Updated the JS doc's section about the hamburger menu to reflect the recent addition of this menu to other stock skins. ... (check-in: 36d84427f6 user: wyoung tags: trunk)
02:02
Converted all uses of the [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-name | obsolete] named anchor feature from HTML before 4.0 to use fragment identifiers instead. (<tt>www/*</tt> subtree only.) Where possible, changed constructs like <verbatim><a name="foo"></a><h3></verbatim> to <verbatim><h3 id="foo"></verbatim> Also fixed a few cases where the link target came after a header so the browser would scroll the header off the screen when visiting the targeted section. Added a 50em pad at the bottom of one such edited doc to allow the intra-doc link targets to be useful since it's a short enough doc that on sufficiently tall browser windows, scrolling isn't possible, so using those anchors has no visible effect. ... (check-in: 93cee1f56e user: wyoung tags: trunk)
00:34
Remove obsolete diagram source files that have now been replaced by Pikchr. The files are still accessible in older versions, of course, and can be easily resurrected if needed. But there is no reason to include them in modern source tarballs. ... (check-in: dbf94ab50c user: drh tags: trunk)
2021-09-16
22:50
xekri skin: make /chat names and timestamps slightly more legible. ... (check-in: 919468b358 user: stephan tags: trunk)
17:12
Moved the [2d8a9046a1] CSS change into (table.diff pre), as the previous placement reportedly makes no difference. ... (check-in: bb2e6c6185 user: stephan tags: trunk)
17:05
Xekri skin: added same logo toggle as in [c4c64257cf], improved page layout in chat mode, and slightly modernized the header layout. Gave chat message area in all skins a very slight side padding. ... (check-in: 714ff82433 user: stephan tags: trunk)
15:39
Added diff context loading to the list of places we use JS in javascript.md. ... (check-in: 30a2b87c4e user: stephan tags: trunk)
15:38
Added text-size-adjust:none CSS to table.diff in an attempt to keep iPhones from scaling the code text size up, bringing it out of alignment with the line numbers. Whether this works remains to be seen. ... (check-in: 2d8a9046a1 user: stephan tags: trunk)
15:36
Eagle skin: added a toggle in the header to switch the logo link between the historical behavior (link to top of the current domain) and new (link to top of current repo), defaulting to the original behavior. [forum:f7a84dc19d51efa8|Forum post f7a84dc19d51efa8]. ... (check-in: c4c64257cf user: stephan tags: trunk)
06:59
Add public-key authentication design ... (check-in: fd8be2cdb0 user: rransom tags: trunk)
2021-09-15
19:50
Prevent an extra leading slash from the post-login redirector. Also, on the 'register' page, include the email notifications input element if the 'selfreg-verify' setting is enabled, even when the 'default-perms' setting does not include the 'Email Alerts' ('7') permission. ... (check-in: 129ea22423 user: mistachkin tags: trunk)
19:43
Fix harmless compiler warning on Win32. ... (check-in: e1996e2558 user: mistachkin tags: trunk)
19:42
Update the custom MinGW makefile. ... (check-in: 47bda8418a user: mistachkin tags: trunk)
08:04
wiki list CLI command no longer lists deleted pages by default: use --all to include those (same parameter name as /wcontent uses for that purpose). [forum:cf4195f8bf6824fa | Forum post cf4195f8bf6824fa]. ... (check-in: 88e5336007 user: stephan tags: trunk)
2021-09-14
22:07
eagle skin: cleaned up the clock-update JS function and modernized the logo appearance a bit. /fileedit: fixed a help test typo. ... (check-in: 7912deb5fd user: stephan tags: trunk)
09:04
/wikiedit and /fileedit can now dynamically load more diff context. Discovered that the unified diff scrolling under the new diff model is not quite right and the magical CSS invocations to solve it properly elude me: for now they're scrolling (if needed) from a higher parent container level of the DOM than they should be, so the line numbers scroll along with the code. ... (check-in: ef69044cf9 user: stephan tags: trunk)
2021-09-13
21:30
Fix typo. ... (check-in: 1e5dc324ef user: mistachkin tags: trunk)
21:08
diff CSS: more fine-tuning of line-height and INS/DEL padding to account for another browser and fill in the gaps of color caused by the inflated line-height. Work around a "slight wiggle" problem on some FF versions. Minor simplification of some nearby CSS. ... (check-in: 1e28e74720 user: stephan tags: trunk)
19:59
skins: replaced CSS attributes prefixed with old/obsolete/non-standard -moz/-ms/-mx/-webkit with their standard counterparts. ... (check-in: 9386c4c069 user: stephan tags: trunk)
19:24
Proactive fix for diff context loading init which would have been a bug once wikiedit and fileedit get connected to it. ... (check-in: 63eb9d3b00 user: stephan tags: trunk)
18:25
Diff-related style tweaks to Ardoise skin, per /chat discussion. ... (check-in: efebb41733 user: stephan tags: trunk)
04:20
Exposed the JS code which initializes diff context loading, for eventual use in /wikiedit and /fileedit (currently missing required metadata in the diff for those apps). Removed a now-extraneous PRE.udiff wrapper element in ajax response diffs. ... (check-in: 0cbfc02b4b user: stephan tags: trunk)
03:44
Removed a reference to a newly-removed fossil.info-diff.js builtin file. This resolves fatally breaking sites which use the jsmode bundled option. ... (check-in: 3d69a8a46f user: stephan tags: trunk)
2021-09-12
18:20
Soften the box around diffs with a 5px corner radius. ... (check-in: bce9662451 user: drh tags: trunk)
17:50
Resolution for uneven line alignment on mobile browsers, as reported in [forum:e6f4ee7de98b55c0 | forum post e6f4ee7de98b55c0]. ... (check-in: 49d69ff6c5 user: stephan tags: trunk)
10:28
Slightly smaller fonts on diffs. ... (check-in: 912f7295a6 user: drh tags: trunk)
2021-09-11
19:51
More tweaks to the diff alignment algorithm. ... (check-in: f9cc72fffa user: drh tags: trunk)
19:20
Enhance blob_append_json_literal() so that it escapes all control characters. ... (check-in: 810576be15 user: drh tags: trunk)
18:39
blob_append_json_literal() now escapes hard tab, newlines, and carriage returns. Fixes /jchunk loading of makefiles and potentially files with any stray carriage returns. ... (check-in: 0f7740b632 user: stephan tags: trunk)
18:01
darkmode skin: give SELECT elements a color combination which is visible, as reported in [forum:9a87b3e40d | forum post 9a87b3e40d]. ... (check-in: ee0b76a77e user: stephan tags: trunk)
17:44
diff context: never show the dual-mode up/down buttons at the very start or end of a file, only in the gaps between two chunks. ... (check-in: 7b1e2aaee1 user: stephan tags: trunk)
17:28
Improved alignment by giving a score of 62 to an inserted or deleted line. ... (check-in: 2bded9fb6c user: drh tags: trunk)
17:09
Enhance the various diff views (excluding diff -b output) to be able to dynamically load more context lines per mouse click. ... (check-in: 51c1efd403 user: stephan tags: trunk)
15:53
Merge the diff alignment scoring tweak from trunk. ... (Closed-Leaf check-in: 916094f820 user: drh tags: diff-js-refactoring)
15:52
Tweak the diff-alignment scoring algorithm to give extra affinity to lines that share a common prefix. ... (check-in: 2921ec2588 user: drh tags: trunk)
08:17
Diff-related CSS cleanups. ... (check-in: 1ca68f3ab4 user: stephan tags: diff-js-refactoring)
07:36
Worked around, rather accidentally, the Darkmode and Xekri skin weirdness - side effects of padding. Bootstrap is still a bit funky, depending at least partially on which media query is currently active. ... (check-in: 3480785e39 user: stephan tags: diff-js-refactoring)
05:48
jchunk-related style tweaks for Eagle and Khaki skins. ... (check-in: bbc534e7a4 user: stephan tags: diff-js-refactoring)
05:10
Several CSS tweaks to get the skins playing nicely. We still have some weird, as-yet unexplained quirks with Darkmode, Bootstrap, and Xekri (forced tables sizes are not being applied, or are inconsistent, despite styles being set). ... (check-in: 860f8f252c user: stephan tags: diff-js-refactoring)
03:20
Final chunk load mode implemented, but diff table widths have somehow been broken (too wide - not sure since when). This version is suitable for playing with and feedback, but not quite yet for trunk. ... (check-in: 5938083e48 user: stephan tags: diff-js-refactoring)
00:30
Merge recent trunk enhancements into the diff-js-refactoring branch. ... (check-in: a7fbefee38 user: drh tags: diff-js-refactoring)
2021-09-10
23:50
When computing a diff display, if the number of rows to skip between two diff regions is less than the context size, then go ahead and show the skip area as common text. ... (check-in: 674da6424a user: drh tags: trunk)
23:12
Propagate the default value of diff_context_lines() through to window.fossil.config.diffContextLines for use by the jchunk UI. Per /chat discussion, jchunk will load 3x that many lines of context per button click. ... (check-in: 8f84424fff user: stephan tags: diff-js-refactoring)
23:01
Disabled diff context pos debug output. ... (check-in: 4f6b56d253 user: stephan tags: diff-js-refactoring)
22:55
Implemented "downwards" loading of diff context (appending to previous chunk). Fixed HTML escaping of loaded lines so that it works together with the existing colorized diff content. ... (check-in: 621ef5b7e8 user: stephan tags: diff-js-refactoring)
21:30
Removed some dead code. Internal cleanups and reorg in prep for upcoming changes. ... (check-in: bc5dc16e55 user: stephan tags: diff-js-refactoring)
16:08
Some JS code simplification and added dark-mode CSS filter to jchunk controls. ... (check-in: 65ae15e008 user: stephan tags: diff-js-refactoring)
15:53
Implemented diff.js arrow key scroll fix from [566b7f1165293655]. ... (check-in: c624ed868e user: stephan tags: trunk)
13:11
Mark private branches in the CLI output of "fossil branch list", and output only those when "-p" is given. Clarify that private branches do not appear in a merge manifest. ... (check-in: cf04bcb2b1 user: danield tags: trunk)
2021-09-09
22:41
When filling a whole gap with loaded jchunk lines, merge the previous and following TR elements together with the new content, providing a seamless fill, eliminating the extraneous scrollbars. This means we cannot style the newly-loaded chunk differently (like github does), but it looks much, much nicer than before. Partial-chunk loads are still pending. ... (check-in: 11a981ead0 user: stephan tags: diff-js-refactoring)
21:36
Implemented fetching and injection of chunks which are smaller than the configured load size, but the results do not play well with our scrolling workaround and need to be revisited after some sleep, perhaps appending/prepending the results directly to the previous/next TR instead of injecting a new one. ... (check-in: da8a0f82b5 user: stephan tags: diff-js-refactoring)
20:03
Style improvements. Hooked up the buttons but they don't yet fetch anything. ... (check-in: f0984389ba user: stephan tags: diff-js-refactoring)
18:50
More jchunk button style tweaks. ... (check-in: 7cc651c87f user: stephan tags: diff-js-refactoring)
18:31
Doc typos. ... (check-in: fa654e947a user: stephan tags: diff-js-refactoring)
18:28
Got jchunk loader buttons in place but they're currently non-functional. ... (check-in: 365ef58b8c user: stephan tags: diff-js-refactoring)
16:19
Edit pass on the blockchain doc: mainly clarity improvements, but also some typo and grammar fixes. ... (check-in: c34ca6299f user: wyoung tags: trunk)
15:06
Refactored tr.diffsplit to hold enough information to allow partial chunk loads in either direction and to know where the next/previous chunks (if any) start/end. Actual loading is currently disabled, pending addition of controls which make use of this new state. ... (check-in: cedcd3585b user: stephan tags: diff-js-refactoring)
15:01
Fixed left/right arrow key scrolling in diff.js. ... (check-in: 566b7f1165 user: stephan tags: diff-js-refactoring)
06:37
jchunk integration now shows the LHS line numbers. RHS are still TODO. ... (check-in: e63ad6ff25 user: stephan tags: diff-js-refactoring)
05:31
TR-click event handling simplification. ... (check-in: c7f3d04244 user: stephan tags: diff-js-refactoring)
04:58
/jchunk code lines are now injected into the diff view but the line numbers are still TODO. ... (check-in: 49a60a580d user: stephan tags: diff-js-refactoring)
03:23
Fetching of /jchunk lines by clicking on the '...' separator of a diff is now working but the fetched lines still need to be integrated into the UI. ... (check-in: 41ef416e77 user: stephan tags: diff-js-refactoring)
2021-09-08
18:42
/jchunk now always uses a JSON response, even for permissions problems. Doc improvements for the jchunk interface. ... (check-in: 1fec5f4abc user: stephan tags: diff-js-refactoring)
18:25
Add a warning to /jchunk that it is an internal-use-only interface that is likely to change in the future. ... (check-in: 1da4b6c752 user: drh tags: diff-js-refactoring)
18:17
Renamed /jtext to /jchunk. Added window.fossil.fetchArtifactLines() to interact with that API. ... (check-in: 9684425b0c user: stephan tags: diff-js-refactoring)
17:36
Merge in trunk for manifest_parse() output fix and "hidden" ajax routes. ... (check-in: f68b0b7187 user: stephan tags: diff-js-refactoring)
17:23
help: added optional 'hidden' flag to WEBPAGE/COMMAND/SETTING entries, which causes them to be elided from most listings. They can still be invoked by the help system if their name is used, but they won't be listed. This is primarily intended for internal-use ajax routes. ... (check-in: 701c6dc284 user: stephan tags: trunk)
13:41
Fix UV sync so that it works over SSH. [forum:/forumpost/b121db582ee1ed2c|Forum thread b121db582ee1ed2c]. See also the earlier attempt to fix this at [129e39587803da00]. ... (check-in: b11359c4bf user: drh tags: trunk)
12:21
Add the --test option to the test-http command to make it usable interactively over an ssh link. Improve the on-line documentation for the test-http command. ... (check-in: 9834d4dc72 user: drh tags: trunk)
11:11
Caught more instances of the previous commit's fix. ... (check-in: 992b62fa8b user: stephan tags: trunk)
11:03
Attempt to squelch stdout errors from manifest parsing when it encounters a non-manifest. Reported at [forum:/forumpost/d6a8e3b2a843c498 | forum post d6a8e3b2a843c498]. ... (check-in: 65dbc19eae user: stephan tags: trunk)
02:43
Minor tweaks in the diff-related JS and CSS. ... (check-in: fd7d2557aa user: stephan tags: diff-js-refactoring)
01:01
Fix the /vpatch webpage output, apparently broken by check-in [3a561322cafbc337]. [forum:/forumpost/2a0e4c729e|Forum post 2a0e4c729e]. ... (check-in: ebcad739e8 user: drh tags: trunk)
2021-09-07
23:08
Optimize diff.js's width updater to only perform DOM selection when it's first run. Also delay its execution until the onload event. ... (check-in: 077f3db109 user: stephan tags: diff-js-refactoring)
22:28
Ongoing refactoring and feature-adding related to the JS/ajax components of the new diff views. ... (check-in: 65aa2c9643 user: stephan tags: diff-js-refactoring)
22:24
Made diff view table 100% wide instead of 98%. The unsightly horizontal scrollbars still don't appear at that width and this eliminates an odd-looking gap on the right. ... (check-in: be9602d0df user: stephan tags: trunk)
21:55
diff.js: instead of polling for window size changes every 100ms, listen for window resize events. ... (check-in: c5f8e79990 user: stephan tags: trunk)
21:32
Re-added the file-toggle checkboxes to the diff views which were disabled via recent refactoring. ... (check-in: cf4b9fbd9c user: stephan tags: trunk)
21:12
json API: removed reference to recently-removed DIFF_CONTEXT_MASK. ... (check-in: 0c496d8ad3 user: stephan tags: trunk)
19:15
On the /jtext page, terminate the JSON array early if there are insufficient lines of text in the file to complete the request. ... (check-in: 6f5dfd9d80 user: drh tags: trunk)
19:09
Add the /jtext webpage, intended for use by XHR. ... (check-in: 5f7fcbabf0 user: drh tags: trunk)
18:45
When HTML diffs are generated from a webpage, include sufficient information in class names ids, and data- elements to permit JS to redraw the separators to include context fill-in buttons. ... (check-in: c275a166b3 user: drh tags: trunk)
17:11
Fix the diff block alignment so that it correctly suppresses unnecessary diff marks, even when in ignore-whitespace mode. ... (check-in: 85ca2fe5b5 user: drh tags: trunk)
16:06
Further simplification of the DiffConfig object by splitting out the lines of context and column width values from the diffFlags vector into separate columns. There should be no user-visible changes in behavior. ... (check-in: ca6fa4b2f3 user: drh tags: trunk)
13:29
Take advantage of the new pBlob==NULL capabilities in blob_appendf() to simplify some of the diff logic. ... (check-in: 590e01dbdd user: drh tags: trunk)
12:51
Enhance the blob_append(), blob_appendf(), blob_append_char(), and similar interfaces such that if the Blob pointer in the first argument is NULL, the result is written directly to stdout. ... (check-in: 3a561322ca user: drh tags: trunk)