Timeline
Not logged in

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

71 check-ins using file src/main.c version 3b0acec05b

2021-09-17
19:32
Update the changes log. Fix a minor typo in the help text for "diff". check-in: 5839abaee4 user: drh tags: trunk
19:06
Bring the help text for the "fossil all git" command into alignment with the implementation after changes on 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 obsolete named anchor feature from HTML before 4.0 to use fragment identifiers instead. (www/* subtree only.)

Where possible, changed constructs like

<a name="foo"></a><h3>
to
<h3 id="foo">

... 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
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 scrol... 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 pe... 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