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

200 check-ins occurring around 2018-09-22 17:40:11.

Fix the labels on email alerts for wiki edits and ticket changes, which were reversed. ... (check-in: a8856c6b user: drh tags: trunk)
Allow the Admin user to modify the skin. ... (check-in: 257318c1 user: drh tags: trunk)
Fix to the sizing of the iframe for HTML in the /info page so that it works with CSP unsafe-inline. ... (check-in: 4675fc70 user: drh tags: trunk)
Add the backoffice-disable setting to completely disable all backoffice processing. ... (check-in: 2467a356 user: drh tags: trunk)
The /setup_adunit, /setup_logo, and /setup_skin pages now give full rights to Admin-only users, not just to Setup users, since it seems sensible for a Setup user to delegate cosmetic matters to "mere" Admins. ... (Closed-Leaf check-in: a4265ae8 user: wyoung tags: setup-delegates-cosmetics-to-admin)
Update custom mingw makefile. Update openssl version ... (check-in: 71399243 user: jan.nijtmans tags: trunk)
Improvements to the command-line comment formatter so that it works better with non-ASCII characters. ... (check-in: 1c84a0c1 user: drh tags: trunk)
Minor stylistic changes to the comment formatter. ... (Closed-Leaf check-in: cc9c422d user: drh tags: comment-formatter-utf8)
The /setup page can now be seen by both Admin and Setup users, as requested by drh via private email. The set of links shown is culled for Admin-only users. Also changed some comments to match the code with respect to Admin vs Setup capability. The only change to user capability interpretation in this checkin is to the /setup page. ... (check-in: 7d034d34 user: wyoung tags: trunk)
The /setup_modreq page was limited to Setup users, but since it controls what users with Moderator capability can do, made it available to Admin users as well. ... (check-in: 6242e24d user: wyoung tags: trunk)
Found several more pages protected with "!g.perm.Setup && !g.perm.Admin" guards: changed them all to "!g.perm.Admin" only for the same reason as [558952c8]. ... (check-in: 42c3364f user: wyoung tags: trunk)
The /secaudit0 page was checking for both Admin and Setup capabilities, which means it was only accessible to users with Setup users, since that is the only class that can have both capabilities. Since it's documented as being available to Admin users, changed the logic to allow access to Admin *OR* Setup users. ... (check-in: 558952c8 user: wyoung tags: trunk)
Update the built-in SQLite to the latest 3.26.0 beta for testing. ... (check-in: c523d0a9 user: drh tags: trunk)
Minor optimizations: drop a few redundant comparisons and calculations, and take advantage of the logical AND short-circuit by testing the least expensive and most unlikely condition first. Also fold away the iterative comments into cross references. ... (check-in: 490d38ff user: florian tags: comment-formatter-utf8)
Fix two bugs (introduced with this branch) that become manifest with invalid UTF-8 sequences. ... (check-in: b86a2fc7 user: florian tags: comment-formatter-utf8)
Fix a bug (already present on trunk) with the (non-legacy) comment printing algorithm, detected while running the regression tests from test/comment.test with UTF-8 text: the function to print the indent (modified to a calculate-only function on this branch) was handed a pointer to the current line index and the current line index, thus performing checks at (current line index * 2), causing random increments of the current line index. ... (check-in: 70dd8f74 user: florian tags: comment-formatter-utf8)
More coding style fixes. ... (check-in: 2dca9b82 user: florian tags: comment-formatter-utf8)
Coding style fixes. ... (check-in: aadbbb38 user: florian tags: comment-formatter-utf8)
For better word breaking results with the (non-legacy) comment printing algorithm, make sure the lookahead to the next space character is UTF-8-aware. Also make sure the per-line remaining character count is decremented properly for UTF-8 sequences. The neuralgic points now handle UTF-8 sequences correctly, and they could be enhanced to work with the effective display width, if required (to handle combining characters, and East Asian Wide and Fullwidth characters). ... (check-in: c9ec3d18 user: florian tags: comment-formatter-utf8)
Ensure the line buffer for the legacy comment printing algorithm can hold maximum-length UTF-8 sequences. ... (check-in: 29d3a2ed user: florian tags: comment-formatter-utf8)
Fix a problem with initial indent introduced by the previous check-in, so that all regression tests from test/comment.test now succeed. Also eliminate three more calls to fossil_print(). Regarding performance, the legacy comment printing algorithm is outnumbered by factor 2-3, with these changes. ... (check-in: b029ed22 user: florian tags: comment-formatter-utf8)
Add output buffering to the (non-legacy) comment printing algorithm, to reduce calls to fossil_print(). The resulting performance improvement can be up to factor 10, with a perceptible difference even for short comments (measured and tested on Windows with MSVC builds, and on Ubuntu with GCC builds). (For comparison: for the legacy comment printing algorithm, the extra UTF-8 checks added by this branch impair performance by 0.12-1.8%, depending on whether the input contains predominantly multi-byte vs. ASCII-only sequences.) ... (check-in: 16fde3ff user: florian tags: comment-formatter-utf8)
Update the built-in SQLite to the latest 3.26.0 beta. This is beta-testing for SQLite. ... (check-in: d3f454fa user: drh tags: trunk)
Fix a bug in the skin edit pages that can result in an infinite loop. ... (check-in: 995e184c user: drh tags: trunk)
Do not run backoffice if the "--in" option is used on the "fossil http" command. ... (check-in: afb1e5f6 user: drh tags: trunk)
Do not attempt to run backoffice if the repository is read-only. ... (check-in: 4f15d34f user: drh tags: trunk)
Merged login-on-post branch to trunk ... (check-in: c0e384cf user: wyoung tags: trunk)
Another attempt to fix non-constant format complaint. ... (Closed-Leaf check-in: 725630f3 user: wyoung tags: login-on-post)
Fix to previous for the "non-constant format" complaint from some compilers. I can't see what they're yelling about, but this fixes it. ... (check-in: 095333fc user: wyoung tags: login-on-post)
The "New Thread" button in /forum is no longer restricted to those with forum write capability: if you lack it, we now send you to the login page instead. Without this, users without the capability to post are left looking in through the window of a building without obvious doors. This change pairs especially nicely with the self-registration feature, but it doesn't require it, since /login also allows anonymous login, which should be enabled for Fossil forums on sites where non-users are expected to visit. ... (check-in: cdb7f3b9 user: wyoung tags: login-on-post)
Improve grep documentation ... (check-in: 4af31f11 user: andygoth tags: trunk)
When running a bisect, show the span between the two extremes and the number of steps remaining after each step. ... (check-in: b45dd1c7 user: drh tags: trunk)
Fix the /brlist page so that branches are (once again) shown in time order. ... (check-in: c21c7742 user: drh tags: trunk)
Enhance the "fossil branch ls" command with two new options. The -t option sorts the branch list with the most recent branch first. The -r option reverses the sort order. ... (check-in: db2682dc user: drh tags: trunk)
Enhance makeheaders so that it is able to deal with static_assert() statements. (These do not come up in Fossil itself. This check-in is in response to use of Makeheaders by external projects.) ... (check-in: 8cecc544 user: drh tags: trunk)
Enhance the repository list page so that it shows the name of project for each repository, and so that the "Last Modified" time is based on the most recent event in the repository, not the repository file mtime. ... (check-in: cdea59dc user: drh tags: trunk)
Split out the repo_list_page() routine, used to generate the repository list for "fossil all ui" and similar, into a separate source file "repolist.c" to make it easier to enhance and maintain. ... (check-in: 45a71349 user: drh tags: trunk)
Update custom MinGW makefile. ... (check-in: 1c32c5b8 user: mistachkin tags: trunk)
Fixed an off-by-one error in the error log header printer, resulting in the day number being for the next day past the call time. Bug diagnosis and fix from ... (check-in: cf9b44a9 user: wyoung tags: trunk)
Now that type has changed due to [d0fa9eee56], cast back to match total variable. ... (check-in: 77371043 user: andybradford tags: trunk)
Use a signed type to avoid an infinite loop in socket_send(); socket_receive() is already fine. ... (check-in: d0fa9eee user: andybradford tags: trunk)
Enhance the security-audit page to detect insecurities resulting from having self-registration enabled. This is a work in progress. More testing and more checks are needed in this area. ... (check-in: 724ccc46 user: drh tags: trunk)
Modify the comment formatter to avoid output of incomplete UTF-8 sequences, and to avoid line breaks inside UTF-8 sequences. See for detailed information and tests. ... (check-in: 1bbca2c3 user: florian tags: comment-formatter-utf8)
Backout [4d384ed875] and [5677271a1c] to simplify the hamburger menu customization template. ... (check-in: bf8946a1 user: florian tags: js-hamburger-menu)
Remove leftover IE8 compatibility code, as the hamburger menu never worked with this browser. (The hamburger button would be replaced with a non-scripted link to the sitemap, if JS processing got this far.) ... (check-in: b0043203 user: florian tags: js-hamburger-menu)
For consistency, HTMLize another TH1 variable, though not sure if this is required, see ... (check-in: 5677271a user: florian tags: js-hamburger-menu)
Switch away from classic (bubbling-only) event handling to simplify management of temporary handlers, and to have the ESC key listener use a priority (capturing) handler, to prevent any other keydown handlers or default actions for the ESC key while the panel is open. This does not change the compatibility test results summarized here: (IE8 halts JS processing at JSON.parse in antiRobotDefense, anyway.) Also, for non-compatible browsers, there's a new fallback to transform the hamburger button into a simple (non-scripted) link to the sitemap. ... (check-in: e3376829 user: florian tags: js-hamburger-menu)
Fix a comment on the "html" and "puts" TH1 commands. Before this fix, the meanings of the two commands were reversed. ... (check-in: 35563f3d user: drh tags: trunk)
Alternative name for the "customskin" document in the document index. ... (check-in: 2aa4ef94 user: drh tags: trunk)
Cancel the timer to remove the border of the hamburger menu panel after the closing animation, if the menu is closed and immediately reopened by double-clicking the hamburger button. ... (check-in: c73deeb6 user: florian tags: js-hamburger-menu)
Recalculate the dimensions of the hamburger menu if the browser window is resized. ... (check-in: 7c724cf7 user: florian tags: js-hamburger-menu)
Fix the hamburger menu template from the documentation to ensure TH1 variables are properly HTMLized. ... (check-in: 4d384ed8 user: florian tags: js-hamburger-menu)
Enable customization of the hamburger menu through the default skin header.txt. ... (check-in: 497dbb35 user: florian tags: js-hamburger-menu)
Extend the CSS fixes to avoid column breaks inside list items, [dc5e06ff71] and [51da396650], as Firefox classifies 'break-inside' as an 'invalid property name'. This affects the sitemap and the hamburger drop-down menu. ... (check-in: 5bd8d6fe user: florian tags: js-hamburger-menu)
Read the CSS transition style to be restored later directly from the (previously initialized) style property, as window.getComputedStyle() seems to return null with Firefox, in this specific case. This fixes a problem introduced with the previous check-in. ... (check-in: c6735b38 user: florian tags: js-hamburger-menu)
Allow the hamburger menu to be closed instantly by pressing ESC or by clicking outside. This is the patch initially submitted to, with the interim changes incorporated. ... (check-in: a44fdd17 user: florian tags: js-hamburger-menu)
Fix minor inaccuracy in the number of years in the human_readable_age() function. ... (check-in: e93ae526 user: drh tags: trunk)
Applied a patch by forum user vor0nwe to allow the WYSIWYG wiki page editor to work in the face of the new CSP restrictions on inline JavaScript. The patch and explicit license for inclusion in Fossil are here: ... (check-in: 543cdd47 user: wyoung tags: trunk)
Removed a period at the end of a sentence ending in a URL to avoid the need for cleverness in URL handling to get the correct document to open. (Affects "fossil help grep" output.) Problem noticed by jungleboogie on the forum, /forumpost/13332107cc.) ... (check-in: fac3d6b0 user: wyoung tags: trunk)
Added a nonce attribute to the <script> tag for the inline JavaScript backing the WYSIWYG wiki editor feature. Without this, modern browsers throw a CSP violation. ... (check-in: 12a90ff4 user: wyoung tags: trunk)
Bolded the card letters in and normalized 'X card' vs 'X-card' vs '"X" card' to make it easier to search for a given card type in the document. ... (check-in: a1437b24 user: wyoung tags: trunk)
Update to SQLite 3.25.2 final ... (check-in: 04a21428 user: jan.nijtmans tags: trunk)
Fix a conflict when syncing forum posts. ... (check-in: 8a980fde user: drh tags: trunk)
Fix a minor hyperlink problem in the bootstrap skin. ... (check-in: 7ca68af0 user: drh tags: trunk)
Added the mv/rm files change to the 2.7 changelog ... (check-in: be1bc912 user: wyoung tags: trunk)
Fixed an HTML typo in the /help page, reported by "Z03": ( ... (check-in: 1f4a9eb9 user: wyoung tags: trunk)
The "fossil help -o" command shows command-line options that are common to all commands. ... (check-in: 50eb6bd5 user: drh tags: trunk)
Activate CSP for the bootstrap skin. ... (check-in: a762ba1f user: drh tags: trunk)
On the /setup_ucap_list page, show the number of users having each capability, with a link to a list of users. This only works for administrators. ... (check-in: 59442179 user: drh tags: trunk)
Update list of common commands in man page ... (check-in: cc6f7a92 user: andygoth tags: trunk)
Allow users with Forum Supervisor permission ('6') to add Forum Write Trusted permission ('4') to users as they are approving a post by that user. ... (check-in: d33d446f user: drh tags: trunk)
Remove the SQLITE_ENABLE_FTS3_PARENTHESIS compile-time option from default builds. This avoids problems that might arise when users type parentheses in search boxes that use FTS. ... (check-in: 9dc49e61 user: drh tags: trunk)
Avoided a crash in Fossil > Admin > Notification > Send Announcement triggered when no subscribers are set up, causing it to fail on Submit if you tell it to send the announcement to all subscribers. The check also guards against sending such things before email alerts are set up. In either case, the "Send Announcmeent" page gives an error pointing you to the docs, rather than a form that cannot be successfully submitted. ... (check-in: ea646955 user: wyoung tags: trunk)
Fixed an off-by-one error affecting "fossil grep" when the final argument was left off. ... (check-in: f6502e8c user: wyoung tags: trunk)
Commented out the -lm option added to Makefile.classic recently: libm doesn't exist on all platforms. ... (check-in: 729360ec user: wyoung tags: trunk)
Checkin [15e1dcd058b5b3e1] had no useful effect: we need to set this flag at the "make" level, not as a C preprocessor flag. Not backing it out because the change is harmless as well as useless. ... (check-in: f08a09ca user: wyoung tags: trunk)
Added -lm to LIB in Makefile.classic to allow src/piechart.c to build on systems where the trig functions are in libm. ... (check-in: ba71b359 user: wyoung tags: trunk)
Added -DUSE_LINENOISE to Makefile.classic, since it's built into Fossil, and that build system has no way to find or use libedit or libreadline intead. ... (check-in: 15e1dcd0 user: wyoung tags: trunk)
Listed the actual differences between fossil grep options and those defined by POSIX in www/ ... (check-in: d5499091 user: wyoung tags: trunk)
Added a spec reference to POSIX grep, and fixed a typo. ... (check-in: 9fc411ab user: wyoung tags: trunk)
Expanded a few of the sections in the new www/ doc ... (check-in: f984d331 user: wyoung tags: trunk)
URL fix ... (check-in: 186748ff user: wyoung tags: trunk)
Moved the documentation for Fossil's grep implementation out of src/regexp.c into a new document with greatly-expanded content, www/, which is now referenced both from the source code and in the output for "fossil help grep". ... (check-in: 2e1775e2 user: wyoung tags: trunk)
Added an entry for `fossil grep` to the www/ file in the 2.7 section. Somehow this addition wasn't noted prior to the release. ... (check-in: 9e1faa02 user: wyoung tags: trunk)
Remove uncommonly used commands from the set of "common" commands in the "fossil help" listing. ... (check-in: 29313518 user: drh tags: trunk)
Merged branch libbind-ns-alternative: I haven't found any platform where this won't build. It doesn't enable libbind or use libresolv better on every platform where it might possibly work, but at the very least it avoids build errors everywhere I've tried it. ... (check-in: 71c298f3 user: wyoung tags: trunk)
New document: Fossil as Blockchain. ... (check-in: a937c69e user: drh tags: trunk)
Update man page to sync with www/ ... (check-in: 50c2a14d user: andygoth tags: trunk)
Run "tools/man_page_command_list.tcl fossil.1" to update Fossil man page to include new "common" commands, according to the output of "fossil help" ... (check-in: 7f890aa4 user: andygoth tags: trunk)
Document reference links having no second set of square brackets ... (check-in: 2856830e user: andygoth tags: trunk)
Fix typo in the page. ... (check-in: 335d5295 user: drh tags: trunk)
Guess that agents with "iPad" in their name do not want the narrow screen versions of the page. ... (check-in: b76eebea user: drh tags: trunk)
Update to SQLite 3.25.2 ... (check-in: c7db0ee5 user: jan.nijtmans tags: openssl-1.1)
"New Message" -> "New Thread" in forum. ... (check-in: e11d3917 user: wyoung tags: trunk)
Setup and Admin users that are in the subscriber table were getting email alerts only if they had explicit moderator capabilities set. Those with bare "s" or "a" weren't getting notified. ... (check-in: 1d3dd1d9 user: wyoung tags: trunk)
Enable the chronological forum display for all users able to read the forum. Make chronological the default display mode for mobile devices, as determined by the user-agent string. ... (check-in: c720327a user: drh tags: trunk)
When clicking on a username in the timeline, link to a timeline that shows *all* events for that user. In other words, override the display-cookie y= query parameter by providing an explicit y=a query term. ... (check-in: 6313d0a8 user: drh tags: trunk)
Update the built-in SQLite to the 3.25.2 release candidate, for testing. ... (check-in: 5fdd5312 user: drh tags: trunk)
Update to Fossil 2.7 ... (check-in: 9d067b61 user: jan.nijtmans tags: openssl-1.1)
Version 2.7 ... (check-in: 9aa9ba8b user: drh tags: trunk, release, version-2.7)
Typo fix ... (Closed-Leaf check-in: b6c490ce user: tangent tags: libbind-ns-alternative)
Added a check for ns_parserr(), which we currently don't know how to find on OpenBSD. This also fixes a logic error in auto.def which would cause the warning that this feature won't be compiled to not be given. ... (check-in: f99e7632 user: wyoung tags: libbind-ns-alternative)
Removed the "Linux" platform test from the DNS MX stuff in src/smtp.c. You should always test for features, not platforms, and we've now got the feature tests we need to replace this too-broad platform test. ... (check-in: 5358fe95 user: wyoung tags: libbind-ns-alternative)
Replaced the call to the undocumented ns_name_uncompress() function with dn_expand(), which is documented, at least on OpenBSD, and it's shorter. Then made ns_name_uncompress() and __ns_name_uncompress() fallbacks for this, with suitable autosetup tests for all of it. ... (check-in: d0fb5ac7 user: wyoung tags: libbind-ns-alternative)
Fix to previous for CentOS 7. ... (check-in: c7640b38 user: tangent tags: libbind-ns-alternative)
The previous checkin on this branch prevented src/smtp.c from both building and linking because the code previously assumed that it could only build against libresolv for MX lookups and such on Linux, but the checkin gave it enough slack to *attempt* to build on macOS. This checkin prevents that from happening if run on stock macOS, but if you install libbind via Homebrew, it also opens up the possibilty to biuld against it for the first time. It's a complicated sequence of checks due to the way libbind interacts with the stock libresolv. This means we have yet more reason to want to test this widely before merging it to trunk. ... (check-in: 4d9970f6 user: wyoung tags: libbind-ns-alternative)
Added autosetup checks for alternative libraries and names for the res_query() and ns_*() functions that module smtp.c previously depended on finding in libresolv/glibc. Checking it in on a branch because it needs multiplatform testing. This version solves the problem originally reported on the forum by Andy Goth, being that the current trunk doesn't build on CentOS 5. ... (check-in: ed3b1e4d user: wyoung tags: libbind-ns-alternative)
Add build directories to ignore-glob. ... (Closed-Leaf check-in: bddd4961 user: ashepilko tags: build-ignore-glob)
Second attempt at blockquote styling, this time restricting it to forum posts only. (Previous: [2190f86c324d0]) ... (check-in: c285cd08 user: wyoung tags: trunk)
Fix the indented paragraph on the homepage. ... (check-in: 0d7ac90d user: drh tags: trunk)
Avoid unnecessary quoting of ASCII characters 34 and 39 in the markdown formatter. ... (check-in: 7950dc22 user: drh tags: trunk)
Back out the block-indentation CSS change from check-in [2190f86c324d0f57fa4f8]. ... (check-in: eae0a982 user: drh tags: trunk)
Replaced the "hasOwnProperty" test for CSS transition support in the animated hamburger menu JS code with a better test that not only works on old IE but also on some truly ancient versions of SeaMonkey, Firefox, Chrome, etc. ... (check-in: ee074372 user: wyoung tags: trunk)
Updates to the change log for the upcoming 2.7 release. ... (check-in: 450e8723 user: drh tags: trunk)
Update the built-in SQLite to version 3.25.1. ... (check-in: c5abb962 user: drh tags: trunk)
Fix the default CSS for the "columns" class to avoid breaking column breaks within a single <li> element. ... (check-in: 51da3966 user: drh tags: trunk)
Fixed the test in the default skin's js.txt so that it will work on IE8 and below. See code comment for rationale. ... (check-in: e54095f9 user: wyoung tags: trunk)
Allow /sitemap to accept the popup query parameter as GET as long as the incoming request is from the same origin. This is probably sufficient to prevent revealing URLs to robots. And the use of GET seems to be more in keeping with the REST idea. ... (check-in: 2804c71a user: drh tags: trunk)
The POST request by the hamburger menu must set the right content type of application/x-www-form-urlencoded in order to pass the popup=1 query parameter. ... (check-in: ee0f77df user: drh tags: trunk)
Backout of [e0cc10f03e518831]: Bring back default windows builds with OpenSSL 1.3 ... (check-in: 9e03e513 user: jan.nijtmans tags: openssl-1.1)
Add docs on using IDE for Fossil development. ... (check-in: 7d2be6f8 user: ashepilko tags: cmake-ide)
Merge updates from trunk. ... (check-in: 2269309f user: ashepilko tags: cmake-ide)
Ignore errors in the clean target commands. ... (check-in: 27c7a491 user: ashepilko tags: trunk)
Backout of [115544e97517f447]. Unbreaks the SSL enabled build for MSVC on Windows, due to OpenSSL build system changes that are not accounted for by the check-in. Also, there were crashes with MinGW produced binaries using OpenSSL 1.1.1. ... (check-in: e0cc10f0 user: mistachkin tags: trunk)
Added a missing db_finalize() call in /json/branch/list which led to a downstream segfault via an invalid/destructed Stmt handle. ... (check-in: e45789ee user: stephan tags: trunk)
Add the "fossil branch current" command to the 2.7 change log. ... (check-in: fc977f14 user: drh tags: trunk)
Add the "fossil branch current" command. Also rearrange the code and the help text for the "fossil branch" command so that the various subcommands are in alphabetical order. ... (check-in: 3b0a1f4e user: drh tags: trunk)
Wiki markup fixes in the recent edits to the www/ doc ... (check-in: 07943152 user: wyoung tags: trunk)
Removed a paragraph stranded by the email docs reorg several checkins ago. ... (check-in: ba35b5ff user: wyoung tags: trunk)
Fixed a typo ... (check-in: 692aceed user: wyoung tags: trunk)
Added colored shading, more padding, and a thick left border to
elements in the default skin. This is based on some custom styling that Florian Balmer has been doing for quoted text on the forum lately, but the styling is rather different. It affects all such elements, not just those in forum posts, since I couldn't see a good reason to restrict it: it should be equally valuable in wiki and embedded doc articles as well.
... (check-in: 2190f86c user: wyoung tags: trunk)
Updated the documentation permuted index to include a grammar fix checked in with the previous checkin. ... (check-in: d8d979fe user: wyoung tags: trunk)
Reworked the documentation for email alerts to put all the information in a single document: a) Moved the "quick email setup" material from the document into ``; b) linked to that moved material from its original location; c) greatly expanded the material previously present in the `` document; c) merged the `` document into ``, so we don't have to link out to two separate documents which previously partially repeated each other. This pass also fixed a number of grammar errors and broken links. ... (check-in: 2ef70be2 user: wyoung tags: trunk)
Replaced the WIP and indefinite future paragraphs in www/ with definite statements now that we're approaching release. ... (check-in: 05b40829 user: wyoung tags: trunk)
Docker: upgrade to fedora 28, and use https in stead of http to retrieve fossil source code. Use fedora versions of Tcl in stead of building our own. ... (check-in: edc31f46 user: jan.nijtmans tags: trunk)
Make sure that Fossil is always compiled with SQLite >= 3.25.0. Add mention of TLS 1.3 to changelog. ... (check-in: d0dcf908 user: jan.nijtmans tags: trunk)
add support for TLS 1.3, when compiled with OpenSSL 1.1.1 (LTS). Windows build adapted to use OpenSSL 1.1.1 by default. Still compiles and runs with older OpenSSL as well ... (check-in: 115544e9 user: jan.nijtmans tags: trunk)
Rerun mkindex.tcl to get an updated permutedindex.html file. ... (check-in: ce1d61ac user: drh tags: trunk)
Added www/ to the documentation index. ... (check-in: 7bd7b2c6 user: wyoung tags: trunk)
Increase the version number to 2.7. ... (check-in: 4559373c user: drh tags: trunk)
Update the built-in SQLite to the 3.25.0 release. ... (check-in: 048a6f80 user: drh tags: trunk)
Fix a typo. ... (check-in: 4b562158 user: ashepilko tags: trunk)
Describe the debugging options. ... (check-in: d364933a user: ashepilko tags: cmake-ide)
Merge updates from trunk. ... (check-in: f59c9ecb user: ashepilko tags: cmake-ide)
Update the change log. ... (check-in: d78f1f3c user: drh tags: trunk)
Removed the anti-robot defense stand-down call from the default skin's new footer JS: that's handled server-side now with /sitemap?popup=1. ... (check-in: 7d5ff435 user: wyoung tags: trunk)
Added copyright and license comment to the top of the new skins/default/js.txt file. ... (check-in: 972ae10b user: wyoung tags: trunk)
Avoided a divide by 1000 by changing a value formerly specified in floating point seconds to be specified in milliseconds, so we don't need the arithmetic. ... (check-in: 1d5eea66 user: wyoung tags: trunk)
Moved a single-use variable interpolation inline with its use point. Also improved some comments. ... (check-in: 56db6170 user: wyoung tags: trunk)
Documentation updates for custom TH1 commands. ... (check-in: 874a4dac user: mistachkin tags: trunk)
merge trunk ... (Closed-Leaf check-in: 368c78a8 user: jan.nijtmans tags: openssl-1.1)
Compile openssl with option no-weak-ssl-ciphers (or -DOPENSSL_NO_WEAK_SSL_CIPHERS) Update custum Makefile.mingw ... (check-in: 58b7b4e5 user: jan.nijtmans tags: trunk)
The default skin requires 1200px or more before the "wideonly" class is displayed. ... (check-in: 68f4c2b0 user: drh tags: trunk)
Fixes to the new script element of skins. ... (check-in: c22b71df user: drh tags: trunk)
Add a hamburger menu that brings up an overlaid /sitemap to the default skin. ... (check-in: 9c887998 user: drh tags: trunk)
Split out the javascript for the default skin into the separate skin-script property. ... (Closed-Leaf check-in: 72cfbf70 user: drh tags: js-hamburger-menu)
Merge in the ability to define a script for a skin. ... (check-in: 666c4f9a user: drh tags: js-hamburger-menu)
Add the styleScript TH1 command to enabling including the script element of the skin in-line in the header or footer. ... (Closed-Leaf check-in: dc88a533 user: drh tags: skin-script)
Add the new "script" element to skins, accessible as /script.js. The idea is to put the hamburger menu javascript from the js-hamburger-menu branch in this script element, rather than inlining it in the footer. But I am not certain that is the best way to go so this change is parked on a branch for now. ... (check-in: e5dbc612 user: drh tags: skin-script)
Update the built-in SQLite to the first 3.25.0 release candidate. ... (check-in: ed84acb6 user: drh tags: trunk)
Added a guard on the use of CSS transitions so it falls back to a non-animated menu pull down if they appear not to be available on the current browser. Also added a check for the existence of the hamburger menu item in case the skin admin diked it out, and did a few other minor tweaks to the footer JS code. ... (check-in: 5d9a3454 user: wyoung tags: js-hamburger-menu)
Timing tweaks: made "hide borders" hack occur about the same time as the CSS transition finishes, and increased the menu show delay still further to make it work for Firefox. ... (check-in: 7bb68023 user: wyoung tags: js-hamburger-menu)
Changed hamburger menu drop-down menu from 33% of the screen width to 90%: it works better on small screens, and it allows the sitemap to go multi-column on wider screens. Also added some right-side padding to balance the padding added for
    on the left.
... (check-in: e76a243d user: wyoung tags: js-hamburger-menu)
Removed the
    and moved the multicolumn styling applied to it down to the
      , since it is already a block level element, so we don't need a div wrapper on it. And then there's the real reason, which is that we want the multicolumn styling to work on the drop-down hamburger menu version as well.
... (check-in: 0d391a1b user: wyoung tags: js-hamburger-menu)
Increased the transition delay to make the initial drop-down animation happen in Firefox 62. ... (check-in: 8918a8a8 user: wyoung tags: js-hamburger-menu)
Using CSS transitions to mimic jQuery's slideUp/Down() transitions. This probably restricts browser compatibility still further above the XHR issue noted in the earlier checkin on this branch. According to MDN, we're probably restricted to IE 10+ with this, and maybe not even that due to not using vendor-specific extensions for the transitional browser versions. ... (check-in: 90bd6675 user: wyoung tags: js-hamburger-menu)
Converted JS hamburger button menu code to use standard JS only, no jQuery.

Temporarily lost the animation with this change: I'm checking this in separately to make the difference between this and the jQuery version clearer.

Not sure how portable it is yet; I wouldn't be surprised if it broke on old IE, since we're using xhr.onload instead of the horrid mess that is xhr.onreadystatechange. ... (check-in: 113ba3d9 user: wyoung tags: js-hamburger-menu)

Merged in trunk improvements ... (check-in: 96b1a9ca user: wyoung tags: js-hamburger-menu)
Reverted [59c7ca0509]: drh says we can't use jQuery. Also, there was a syntax error that sent all hyperlinks to the honeypot in some conditions. ... (check-in: 5a62b395 user: wyoung tags: js-hamburger-menu)
Update the built-in SQLite to the latest 3.25.0 alpha version for testing. ... (check-in: 48171b66 user: drh tags: trunk)
The hyperlinks in the hamburger menu drop-down still had the anti-robot defense activated. Defeated it. ... (check-in: 571df2e8 user: wyoung tags: js-hamburger-menu)
Converted src/href.js to jQuery as a demonstration: the code's nearly half the size, and it's clearer as a result. ... (check-in: 59c7ca05 user: wyoung tags: js-hamburger-menu)
Typo fix; patch by jungleboogie in forum post ID 775e4c0771. ... (check-in: c8ef388b user: wyoung tags: trunk)
Fixed a bug in the onclick handler for the new hamburger button which allowed the browser to follow our empty 'a href="#"' link. For some reason, Chrome only did this sometimes, not always, which lead to me thinking it was some kind of race condition. ... (check-in: e806e5c4 user: wyoung tags: js-hamburger-menu)
Ajaxy animated drop-down menu on clicking a new hamburger button in the default skin, as requested by drh on the forum:

Initial version uses jQuery loaded from Google Hosted APIs for ease of development. ... (check-in: d7c43c5a user: wyoung tags: js-hamburger-menu)

Avoid column breaks inside a top-level bullet in the /sitemap. ... (check-in: dc5e06ff user: drh tags: trunk)
Added more info on quoting rules in Tcl/TH1 to the doc ... (check-in: 30e9ccd5 user: wyoung tags: trunk)
Fixed some grammar and spelling in the doc. ... (check-in: 40787f50 user: wyoung tags: trunk)
Do away with compiler warning about uninitialized variable. ... (check-in: af39da6d user: andybradford tags: trunk)
Calling db_end_transaction() from the early-exit code paths of setup_skin_admin() to avoid "Transaction started at ./src/skins.c:466 never commits" complaints with some types of Admin -> Skins edits. ... (check-in: 1c0b78b4 user: wyoung tags: trunk)
Merged wrap-run_in_checkout branch down to trunk. ... (check-in: 49e86fe0 user: wyoung tags: trunk)
The test harness now skips all tests done in the Fossil source repo checkout directory while there are uncommitted changes because that will affect the behavior of fossil status, fossil diff, etc., which in turn tends to create false positives in test harness code that checks for changes in fossil command output. ... (Closed-Leaf check-in: 78ec6838 user: wyoung tags: wrap-run_in_checkout)
Partially reverted one of the run_in_checkout replacements in test/th1.test: it was inside a foreach loop, which means the test for whether we're inside the Fossil repo checkout was being done 26 times. This is not only inefficient, it spammed the output with "Skipping test blabla..." lines. Now doing a manual check outside the loop and skipping the in-repo tests silently inside the loop. ... (check-in: 3cb1b4f0 user: wyoung tags: wrap-run_in_checkout)
Fixed a Tcl syntax error checked in with [33efa2fa]. (Yay dynamic languages that run the code even if it's syntactically invalid. P'tui!) ... (check-in: 4315d464 user: wyoung tags: wrap-run_in_checkout)
The new test_block_in_checkout proc in tester.tcl was not setting the CODE and RESULT global variables when it skipped a test, so there was a chance that a test would end up checking the prior values and throw a false positive. ... (check-in: 2aaee484 user: wyoung tags: wrap-run_in_checkout)
Fixed a Tcl logic error committed with [33efa2fa]. ... (check-in: 02430597 user: wyoung tags: wrap-run_in_checkout)
Extracted the logic that was in tester.tcl's new outside_fossil_repo proc to the global level which just saves the result to a global variable so the logic doesn't have to be re-run for each test that relies on it. The result doesn't change from one call to the next, as you'd hope for a proc without parameters. ... (check-in: 1a4e87dc user: wyoung tags: wrap-run_in_checkout)
Replaced most of the direct calls to run_in_checkout from within the test suite with one of two wrapper functions that skip those tests when you run "make test" outside a Fossil repository checkout directory, such as from a directory containing an unpacked source release tarball. (The two remaining direct calls to that proc from test/*.test are preceded by a check that skips the whole file they're in, since that whole file does nothing else.) This is being checked in on a branch because it is not yet thoroughly tested, yet I need the checkpoint. ... (check-in: 33efa2fa user: wyoung tags: wrap-run_in_checkout)
The -quiet flag passed by default to tester.tcl can now be overridden by passing TESTFLAGS to make. Before, there was no way to set -verbose this way because "-quiet -verbose" means the same thing as "-quiet". ... (check-in: 401a4c3d user: wyoung tags: trunk)
Cached the result of "$tcl_platform(platform) eq "windows"" in test/tester.tcl and replaced all of the repetitions of this expression with a test of the variable. ... (check-in: 2e4143aa user: wyoung tags: trunk)
Removed a debug message accidentally checked in. ... (check-in: 8eadf4c4 user: wyoung tags: trunk)
Merged tclsh-macos down to trunk. ... (check-in: ee2ffe35 user: wyoung tags: trunk)
Fixed an incorrect Tcl string comparison checked in with [e449cb09]. ... (Closed-Leaf check-in: c94617b5 user: wyoung tags: tclsh-macos)
Explained "Why can't we use Jim Tcl for the test suite?" in the auto.def comment above the check for a suitable tclsh version. Basically, I tried it and then documented a few of the resulting failures. ... (check-in: 91eaef61 user: wyoung tags: tclsh-macos)
After autosetup checks for the existence of tclsh in the PATH, it now checks whether it's at least version 8.6, because macOS is still shipping 8.5, despite it being nearly 6 years old. If we find an old tclsh, try to find the Homebrew tcl-tk package, and use that version instead. This is not a macOS or Homebrew specific change in principle: we can extend this logic for other systems to find their best Tcl/Tk version, as needed.

On systems where autosetup is used, this only affects "make test". There are other uses of tclsh in this tree which may also benefit from our PATH discoveries, but this checkin doesn't update those.

This checkin also doesn't try to address similar problems on other platforms, such as the "TCLSH = tclsh" line in Makefile.mingw. ... (check-in: e449cb09 user: wyoung tags: tclsh-macos)

In the file browser, limit the maximum number of columns to be the number of files, so that a single file is never split across two columns. ... (check-in: e585c3e6 user: drh tags: trunk)
Noted the responsive design changes to the default skin in the change log. Expanded on the forum and alerts feature items. Changed all the past-tense verbs to present tense to match the rest of the items and the prevailing style in past change log entries. ... (check-in: 6f87b4af user: wyoung tags: trunk)
Added "overflow-y: hidden;" to the CSS for the default skin to prevent some browsers (Chrome, Firefox, and Safari on macOS, at least) from adding a vertical scroll bar to the navbar. This was only necesasry on this skin because of the recently-added "overflow-x: auto" style, which tells the browser to clip or horizontally-scroll the navbar if the screen width isn't sufficient to show the whole thing; previously in this skin, and currently in all other skins, this condition causes the navbar to wrap to the next line, which looks particularly bad on the default skin. I believe this then made these browsers calculate some extra space for a possible horizontal scroll bar, which then ran the layout engine out of space, so it included the vertical bar just in case. This may be macOS specific, due to the scroll bar hiding behavior introduced several OS release back. ... (check-in: e8783b9a user: wyoung tags: trunk)
Add 1em of left padding to multi-column unordered lists. This extra padding is necessary to get Chrome and Edge to display the bullets on second and subsequent columns. ... (check-in: c429bb79 user: drh tags: trunk)
Make the sitemap show in multiple columns on wide-screen browsers. ... (check-in: 894cff0a user: drh tags: trunk)