Fossil

Timeline
Login

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

343 check-ins using file www/permutedindex.html version 181ee07cb1

2022-06-17
09:32
Add generation of manifest.descr to Makefile.msc (via makemake.tcl); this can be removed after 'version --describe' support gets built in. ... (check-in: a198cde661 user: danield tags: version-cmd-describe)
2022-05-14
20:52
Handle a possible existence of the additional checkbox introduced in [29a24941ed9bf4]. ... (Leaf check-in: 76844c35fc user: george tags: wcontent-subsets)
2022-04-23
17:23
Change signature of <code>add_inline_footnote()</code> in order to move away from returning of unreliable pointer. Amend a few comments. Fix a couple of minor issues that fuzzer complains about. ... (Closed-Leaf check-in: 0850862e6a user: george tags: markdown-footnotes)
15:56
Fix a possible heap-buffer-overflow in <code>parse_htmlblock()</code> introduced by [1e919d601f774fdb]. This is not related to footnotes but was revealed by fuzzing (case 80cbb6b185807e98a953426af7b1f802c9d13957). ... (check-in: bc4c5b6311 user: george tags: markdown-footnotes)
2022-04-22
12:49
Remove redundant <code>assert()</code> that fails for the case when the content of a span-bounded inline footnote is rendered into a void. This is a corner case that was revealed via fuzzing. ... (check-in: cab8a586ae user: george tags: markdown-footnotes)
2022-04-21
22:53
Bring in the latest SQLite 3.39.0 alpha, with over 4,500 lines of change, for the purpose of beta-testing SQLite. ... (check-in: b3c5a48926 user: drh tags: trunk)
22:31
Add a test case for fragment-bounded footnote that contains markup within the corresponding text fragment. ... (check-in: d38ec43d00 user: george tags: markdown-footnotes)
22:12
Add a warning in build.wiki that passing fuzzer-specific flags may cause the --fuzztype flag to get stripped from the argument list. ... (check-in: df1d256922 user: stephan tags: trunk)
21:13
Fix another use-after-realloc bug in handling of inline footnotes which was discovered during fuzzing. Also fix a few other issues revealed via fuzzer. ... (check-in: c5456211f4 user: george tags: markdown-footnotes)
15:45
Changed fossil_nice_default() to use nice level 19 instead of 20, as 19 is the documented max. ... (check-in: 2c8920296c user: stephan tags: trunk)
13:36
Revert Makefile.in to normal builds (leave a few comments about fuzzing). ... (check-in: 940779668f user: george tags: markdown-footnotes)
13:16
Fix a use-after-free bug in handling of nested inline footnotes. The bug was discovered by fuzzing with <code>'-fsanitize=fuzzer,undefined,address -DFOSSIL_FUZZ'</code> appended to <var>TCCFLAGS</var> in Makefile.in. It's noteworthy that the <code>',undefined,address'</code> part was essential to find the bug (otherwise just 'double-free' was reported). Many thanks to Stephan for documenting the fuzzing procedures and support. ... (check-in: 31e5df5fa2 user: george tags: markdown-footnotes)
12:06
In the check-in names documentation, mention that some prefixes can be chained. ... (check-in: ef9e42acb8 user: danield tags: trunk)
11:43
Minor tweaks to the fuzzer section of build.wiki. ... (check-in: dfb1234f93 user: stephan tags: trunk)
2022-04-20
15:21
Added another libfuzzer info link to build.wiki. ... (check-in: 1a397ee35f user: stephan tags: trunk)
15:04
Documentation for the new special name and changelog update. ... (check-in: b07729dae4 user: danield tags: name-start)
15:03
Add the new special name start:BRANCH to refer to the first check-in of the branch ... (check-in: c92fb60ba9 user: danield tags: name-start)
14:59
Rewrote the login-groups doc, making it both more clear and more detailed. This started out as clarifying a confusion brought up [forum:/forumpost/beba7d4e78c943d0 | on the forum], but experimentation kept bringing up new and interesting restrictions and interactions that I felt were worth documenting. ... (check-in: 697cf6fb35 user: wyoung tags: trunk)
14:07
Added a missing blob initializer. ... (check-in: 7209593814 user: stephan tags: markdown-footnotes)
13:55
Added a section to build.wiki about building for fuzz testing. ... (check-in: a42f5af812 user: stephan tags: trunk)
11:48
Merged in trunk for fuzz.c changes. ... (check-in: c9f4013530 user: stephan tags: markdown-footnotes)
11:46
Correct fuzz.c to honor --fuzztype markdown and add --fuzztype wiki2 which works like its previous --fuzztype wiki behavior, sending all inputs through both the fossil-wiki and markdown translators. Added a fatal error for --fuzztype artifact, as that tester is not implemented. ... (check-in: 8d4c479208 user: stephan tags: trunk)
09:38
Changed zlib crc type from int to unsigned long, as that's the type returned by zlib's crc32() and doing so reportedly resolves the CRC error reported in [forum:7a9097e557 | forum post 7a9097e557]. ... (check-in: 1bf6686e76 user: stephan tags: trunk)
2022-04-19
15:47
Fix the previous change to cover an extra case. ... (check-in: 19a01ac12e user: danield tags: trunk)
15:25
Remove unnecessary field from the auxiliary union <code>'bitfield64_t'</code> and amend the corresponding comments. Also add comment about FOOTNOTES_WITHOUT_URI macro. ... (check-in: cf1e96918e user: george tags: markdown-footnotes)
14:48
Add '--versions' option to 'fossil diff' to display details about the compared versions. ... (check-in: 49ef1b574e user: danield tags: diff-show-versions)
12:46
Relocate a declaration to cope with C89 rules. ... (check-in: 87955d9274 user: danield tags: trunk)
12:35
Code style tweaks, typos, and resolved a couple footnotes-related cosmetic TODOs. No functional changes. ... (check-in: 3a5b3d5e49 user: stephan tags: markdown-footnotes)
11:41
Merged in latest trunk to simplify code review and ease potential upcoming merge to trunk. ... (check-in: 8a4b099fb4 user: stephan tags: markdown-footnotes)
2022-04-16
16:29
Minor spelling corrections. No change in functionality. ... (check-in: 53754fff0c user: andybradford tags: trunk)
2022-04-15
13:56
Merge the enhanced load control measure to trunk. ... (check-in: 9413395f5b user: drh tags: trunk)
13:51
Enhanced interpretation of the "autosync" setting. It is now possible to set the setting to "on,open=off" to cause autosync to be on by default but off for the "open" command, as an example. Use the "help autosync" command for further detail. ... (check-in: 346e45702c user: drh tags: trunk)
12:41
Fix the "fossil open" command so that it honors global settings. ... (check-in: 24420b4e63 user: drh tags: trunk)
12:33
Simplify the autosync_loop() interface by omitting the second parameter, which was always the value of the "autosync-tries" setting. Have the autosync_loop() function look up the autosync-tries setting for itself. ... (check-in: 9445f8a8a2 user: drh tags: trunk)
2022-04-14
17:41
Added new loadavg-exempt WEBPAGE: flag for mkindex.c which exempts a given page from the load_control() check. Currently applied to /chat and its dependents: /builtin and /style.css. ... (Closed-Leaf check-in: 5c49ab3c7a user: stephan tags: load-control-rework)
17:15
Doc typo fix and more docs for load_control(). ... (check-in: e5724fb759 user: stephan tags: load-control-rework)
17:12
Exempt admin and setup users from the load_control() restriction. ... (check-in: 57cdf4f2b9 user: stephan tags: load-control-rework)
17:03
Added a fossil_nice() call to /vpatch. ... (check-in: 1cc86c16a2 user: stephan tags: load-control-rework)
16:58
Per /chat discussion, replace load_control() calls in selective pages with nice() and move load_control() into process_one_web_page(). There is still work to do here, e.g. allowing certain pages through (namely /chat, to facilitate coordination of site defense) and perhaps checking credentials if the load is too high and always allowing admin users. ... (check-in: 9b0ebcaf23 user: stephan tags: load-control-rework)
2022-04-13
16:27
On the /info view for a checkin which has a branch/branch-name wiki page, correct the Edit Wiki link to use /wikiedit instead of /wiki if permissions allow, otherwise the /wiki page's automatic redirection of branch/branch-name wiki pages to the timeline makes it impossible to get to the editor for a branch-specific wiki page. ... (check-in: 82510672b8 user: stephan tags: trunk)
2022-04-11
09:33
Brought the "Fossil grep vs POSIX grep" doc up to date relative to the [/info/f5f4471323d44a82 | merged grep-enhancements branch]. ... (check-in: caba4b0188 user: wyoung tags: trunk)
06:45
Fixed a couple mis-formatted SETTING decls, per [forum:6f1b0483cd | forum post 6f1b0483cd]. ... (check-in: 0dd4118063 user: stephan tags: trunk)
06:37
Part 2 of [bb0118227f2c]. ... (check-in: 74bd3fd4d9 user: stephan tags: trunk)
2022-04-10
19:58
mkheaders carriage-return fix from [forum:6b2e7dbee7 | forum post 6b2e7dbee7]. ... (check-in: bb0118227f user: stephan tags: trunk)
18:56
Added the "--page wcontent" bit to the new wiki versioning example in the glossary. ... (check-in: b05a07a9a2 user: wyoung tags: trunk)
18:53
Grammar tweaks to previous ... (check-in: ccd5cacc51 user: wyoung tags: trunk)
18:49
Added "Embedded Documentation" section to the glossary per larrybr's request in /chat. It's a Fossil-specific term of art. It also gives us a place to contrast with the wiki; that could live in the docs for the wiki or embedded docs instead, but the glossary is where newbies go to get oriented on terms, so the "but which should I use" question falls right out of the terminology. ... (check-in: e583b48a04 user: wyoung tags: trunk)
2022-04-08
08:46
Merged in trunk. ... (check-in: e8a1382fc3 user: stephan tags: markdown-tagrefs)
08:45
Cherrypicked [2f3c84b3e9ed], which wash intended for trunk. ... (check-in: 834db57d95 user: stephan tags: trunk)
2022-04-07
15:37
s/Safara/Safari/, per report from [forum:9e8015e09c | forum post 9e8015e09c]. ... (check-in: 2f3c84b3e9 user: stephan tags: markdown-tagrefs)
2022-04-06
16:42
Minor consistency fix about ambiguous sub-command dispatch and error reporting, see related [forum:/forumpost/48d6de4f8e2afdde|forum post]. ... (check-in: 512905efd3 user: mgagnon tags: trunk)
2022-04-05
19:51
When reporting the list of matching ambiguous sub-commands, make sure settings with the same prefix are not listed. ... (Closed-Leaf check-in: bb5162fe16 user: mgagnon tags: ambiguous_cmd_fix)
16:49
Don't give an "ambiguous command prefix" error when reported ambiguous commands are aliases to each others. Assume alias point to same function pointer and are all consecutive in the aCommand[] list. ... (check-in: 862ce7ce2c user: mgagnon tags: ambiguous_cmd_fix)
15:04
Modify the makefiles to provide for compile-time options for pikchr. Reduce the token-count limit in pikchr to 10,000. ... (check-in: 959807e915 user: drh tags: trunk)
14:41
Update to the latest Pikchr version that includes improved resistance to exponential macro-expansion attacks. ... (check-in: f753041961 user: drh tags: trunk)
2022-04-01
17:33
Update the built-in SQLite to the latest 3.39.0 alpha for testing. ... (check-in: aa2066b5d2 user: drh tags: trunk)
2022-03-31
12:10
For "fossil tag list" and the /taglist page, sort entries taking numbers into consideration. This puts tags that follow semantic versioning into the expected order. ... (check-in: 3500dbfd84 user: danield tags: trunk)
11:16
Add support for mermaid ... (Leaf check-in: 4ee9bcd123 user: mpcjanssen tags: mermaid)
09:37
Added "fossil describe" to the change log. ... (check-in: 56ef05a567 user: danield tags: trunk)
09:14
Improvements to the help text and code comments for the "describe" command. ... (check-in: 52dd8a91bf user: danield tags: trunk)
08:21
In "fossil describe", use hash_digits() as the default length when printing the commit hash. ... (check-in: 951cf9faf3 user: danield tags: trunk)
2022-03-30
21:11
Fix the describe_commit() routine so that it is faster and simpler and so that it ignores tags that are applied to more than one check-in. ... (check-in: 41dc5fc000 user: drh tags: trunk)
15:08
Add "--describe" flag to the "version" command to provide context to the most recent major commit tagged with "version*". Run "touch manifest.descr" in the repo root prior to the first build, then build it a second time to get it bootstrapped. ... (check-in: 4329553d51 user: danield tags: version-cmd-describe)
14:45
Add the new "fossil describe" command. ... (check-in: 36ca266479 user: drh tags: trunk)
14:36
Fix segfault and add message for ambiguous checkins. ... (Closed-Leaf check-in: e501d74440 user: danield tags: describe-cmd)
14:15
Merged in trunk. ... (check-in: 28fa015357 user: stephan tags: markdown-tagrefs)
14:01
Add comments, format code and remove magic size numbers. ... (check-in: 40de2cd9c3 user: danield tags: describe-cmd)
11:46
Add the "describe" command. This shows the commit hash along with (if applicable) its youngest ancestor with a non-propagating tag and the number of commits since that. ... (check-in: 3f06ed14fe user: danield tags: describe-cmd)
2022-03-28
13:39
Bug fix to the abs() function of pikchr. ... (check-in: b80ae0215e user: drh tags: trunk)
08:34
Updated a reference to macOS 11 from the backup doc: the condition it warns against is still true as of macOS 12.3. ... (check-in: 1bb4147fd2 user: wyoung tags: trunk)
2022-03-26
13:09
Updates to the change log. ... (check-in: 348d11184d user: drh tags: trunk)
2022-03-24
10:25
Fix hyperlink as per [forum:381b1fa627 | forum post 381b1fa627]. ... (check-in: 7de6f15cd8 user: danield tags: trunk)
2022-03-23
10:09
Update the built-in SQLite to the latest trunk version, that includes a patch to shell.c that tries to work around a nuisance warning from some implementations of MSVC. [forum:/forumpost/bd0844268f0fab71|Forum post bd0844268f0fab71]. ... (check-in: 92fd091703 user: drh tags: trunk)
2022-03-22
15:53
In the graph, when a merge riser comes up out of a leaf on a different rail, try to shift the branch rail to be directly underneath the merge riser. ... (check-in: 1e70f826b9 user: drh tags: trunk)
13:45
Fix a bug in graph display for when a merge descender is on rail zero, for example the merge descender on the bottom node of [/timeline?b=e5b1c70e2a6e0434&n=22]. ... (check-in: 2bbd70da66 user: drh tags: trunk)
13:30
Improved comments on the graph layout rail shuffling. ... (check-in: ebbfe7d997 user: drh tags: trunk)
11:46
For MSVC build, use /utf-8 option for CL (because some sources need it and this helps when some codepages are in effect) ... (check-in: 0324515b59 user: larrybr tags: trunk)
2022-03-21
17:36
Typo and link fixes via [forum:09c35aec52377b41 | forum post 09c35aec52377b41]. ... (check-in: 1b13f430c6 user: stephan tags: trunk)
16:42
Typo fix from [forum:a7a52ce98a | forum post a7a52ce98a]. ... (check-in: c3d321fb6f user: stephan tags: trunk)
2022-03-17
12:01
Update the fossil_prompt.sh script so that it keeps the username and hostname part of the prompt green and only changes the path from red to green. ... (check-in: cca805fa89 user: drh tags: trunk)
2022-03-12
20:11
Fix to the uintnocase collating sequence. See [forum:/forumpost/56250e7ff0|forum post 56250e7ff0]. ... (check-in: b39475b625 user: drh tags: trunk)
14:20
Update the built-in SQLite to the latest trunk version which includes all of the patches associated with version 3.38.1 plus additional performance enhancements. ... (check-in: b731e1f65b user: drh tags: trunk)
2022-03-10
12:50
Graph layout: Reduce the top-margin requirement for a merge arrow that comes straight up out of the top of a leaf node. ... (check-in: 6b56d89058 user: drh tags: trunk)
12:35
Graph layout: Strive harder for merge arrows to come straight up out of the top of leaf nodes. ... (check-in: a3bfe425e0 user: drh tags: trunk)
2022-03-08
20:47
On file listing pages, sort files that have numbers as part of their name in numeric order. ... (check-in: 59dfca5ed5 user: drh tags: trunk)
13:08
Faster implementation of start_of_branch() using a CTE. ... (check-in: 8736de8baa user: drh tags: trunk)
12:04
Fix the case eType==1 (find the first check-in of the branch). ... (Closed-Leaf check-in: 5e34c99828 user: danield tags: start-of-branch-cte)
01:07
Timeline graph layout changes that strive to do better a communicating the merging and branching activity between multiple branches. ... (check-in: d1d7fce64e user: drh tags: trunk)
2022-03-07
21:12
Fix the display of cherrypick links that are on the same rail as their origin node but then go left. ... (check-in: 632d07c6a9 user: drh tags: trunk)
21:01
Fix very minor comment typos. ... (check-in: 680837fae7 user: drh tags: trunk)
20:00
When displaying the graph for a branch such that the rail for that branch is on the left margin, try to draw merge lines coming into that branch on rails just to the right of the branch itself. ... (check-in: 8b1e14df0b user: drh tags: trunk)
19:01
Update to the latest SQLite 3.39.0 alpha with its performance enhancements and bug fixes. ... (check-in: 14da62eeb5 user: drh tags: trunk)
2022-03-04
17:56
Add braces around an if-block. ... (check-in: 9cd9271155 user: danield tags: start-of-branch-cte)
16:04
Fix query for eType 0 or 2. ... (check-in: f35abaff5c user: danield tags: start-of-branch-cte)
15:32
Fix an assertion failure. ... (check-in: d3625bd9c4 user: danield tags: start-of-branch-cte)
2022-03-03
23:19
Use a CTE instead of querying the database in a loop when finding the start of a branch. This can bring significant speedup on some machines. ... (check-in: c7749bb0a3 user: danield tags: start-of-branch-cte)
2022-03-02
02:00
Update the built-in SQLite to the latest trunk version that includes various performance enhancements. The purpose here is to test the recent SQLite enhancements in a real-world application. ... (check-in: ad744440dc user: drh tags: trunk)
2022-03-01
21:02
Ensure that db_open()'s db-is-an-appendvfs-binary check uses canonicalized filenames to avoid the problem reported in [forum:16880a28aad1a868 | forum post 16880a28aad1a868]. ... (check-in: ab7ad2348c user: stephan tags: trunk)
17:21
Allow optional "-" characters in the huge string argument to bid= on /timeline so that when the hyperlink will have wrap opportunities when pasted into the chat. ... (check-in: adfc1a6b60 user: drh tags: trunk)
16:21
Fix an unused var warning in windows ... (Closed-Leaf check-in: 169a3dabcf user: mgagnon tags: nameofexe-appendvfs-check)
2022-02-28
23:32
Calling db_open() to determine if a given repository is valid rather than a hand-rolled sqlite3_open() call. This then allows us to call db_looks_like_a_repository() to determine if the DB is a valid repo rather than duplicate the checks it already has in another nearby context. This is part of the apndvfs vs normal-case stuff done in prior commits, consolidating the notion of "valid" to a single spot in the code. ... (check-in: 69145d9d99 user: wyoung tags: trunk)
21:30
Resolve the bug revealed in [forum:16880a28aad1a868 | forum post 16880a28aad1a868] in which the db_open() appendvfs check can misinteract with g.nameOfExe. This is in a branch until a Windows user can confirm that the g.nameOfExe change in main.c behaves as desired on Windows. This was a collaborative bug fix via /chat, not my own. Edit: test success on Windows reported by Martin G. ... (check-in: ec02acfd09 user: stephan tags: nameofexe-appendvfs-check)
20:49
Since checkin [d8c32ebdff], file_fullexename() function is supported windows, remove comment saying otherwize. (no code change) ... (check-in: 491b986d0d user: mgagnon tags: trunk)
20:35
Simplified an overly-clever test for a file size being an even multiple of 512 bytes. Compiler Explorer says GCC 11 generates the same code both ways, at least, and it isn't in a CPU-critical code path anyway. Also added a comment referring to this new, simplified code, to prevent a recurrence of the problem fixed by the prior commit. ... (check-in: c67d54010d user: wyoung tags: trunk)
19:23
Reverted a check for the repository size being an even multiple of 512 bytes as a test for validity. Introduced in [/info/bd7f2727ba25912e | an omnibus commit] for obscure reasons, it causes some valid clone operations to fail, as originally reported [forum:/forumpost/16880a28aad1a868 | on the forum]. ... (check-in: 4a2d0e7878 user: wyoung tags: trunk)
14:05
/md_rules: replaced 'complex' with 'more', per /chat discussion. ... (check-in: 369d7d1a20 user: stephan tags: trunk)
2022-02-26
14:37
Removed ENABLE_JSON1 flag from tools/sqlcompattest.c because that flag is no longer in sqlite3 as of 3.38, which is the current minimum required version. Reported in [forum:549da79dd9 | forum post 549da79dd9]. ... (check-in: 8af827342f user: stephan tags: trunk)
01:36
globs.md: clarified that globs apply to the whole dir/filename combination without any awareness/special treatment of the directory part, as suggested in [forum:6637b92a6a17a6bc | forum post 6637b92a6a17a6bc]. ... (check-in: d862cb71d6 user: stephan tags: trunk)
2022-02-25
17:43
Increase the version number to 2.19 to begin the next development cycle. ... (check-in: 8f0a7ace0c user: drh tags: trunk)
11:24
Update the version number on the homepage. ... (check-in: 93768c1b67 user: drh tags: trunk)
2022-02-23
17:18
Spelling corrections caught by Debian's automated tools, thanks to Barak A. Pearlmutter. ... (check-in: 9993c43b5c user: danshearer tags: trunk)
13:22
Version 2.18 ... (check-in: 84f25d7eb1 user: drh tags: trunk, release, version-2.18)
13:09
The --share-links option seems to be causing no end of confusion. So we'll just make it undocumented and perhaps remove it or document it properly later. ... (check-in: 0a91005e35 user: drh tags: trunk)
13:01
Include the '&lt;html&gt;' rule in the Miscellaneous section of [/md_rules]. ... (check-in: f0fa7f21f8 user: drh tags: trunk)
12:50
Improvements to the change log for 2.18. Fix the aboutcgi.wiki document so that it correctly shows the scope of REQUEST_URI. ... (check-in: d0491fd0b4 user: drh tags: trunk)
12:33
Count overnesting as the fourth type of the footnote-related issues and report accordingly. ... (check-in: ae297bb671 user: george tags: markdown-footnotes)
09:45
Minor refactoring. Move the definition of <code>BLOB_APPEND_LITERAL()</code> macro from <code>markdown_html.c</code> to <code>blob.c</code> so that it could be used outside of <code>markdown_html.c</code>. Also rename it to lowercase for consistency with other API. Within <code>markdown.c</code> use that newly available macro instead of <code>blob_append_string()</code>. Within <code>markdown_html.c</code> use it for footnotes-relevant code. Other invocations of <code>BLOB_APPEND_LITERAL()</code> within <code>markdown_html.c</code> are left intact (they use an alias) in order to simplify the potential merge with the trunk. ... (check-in: c8a8d0c94c user: george tags: markdown-footnotes)
08:21
Minor refactoring. Move the definition of <code>BLOB_APPEND_BLOB()</code> macro from <code>markdown_html.c</code> to <code>blob.c</code> so that it could be used outside of <code>markdown_html.c</code>. Also rename it to <code>blob_appendb()</code> for consistency with <code>blob_appendf()</code> and other API. Within <code>markdown.c</code> use that newly available macro where appropriate. Within <code>markdown_html.c</code> use it for footnotes-relevant code. Other invocations of <code>BLOB_APPEND_BLOB()</code> within <code>markdown_html.c</code> are left intact (they use an alias) in order to simplify the potential merge with the trunk. ... (check-in: 33a681ebee user: george tags: markdown-footnotes)
07:36
Fix handling of user-provided classes for unreferenced, joined and overnested footnotes. In all these cases the tokens of user-provided classes are rendered as plain-text and no special classes are added anywhere. ... (check-in: 875472a8b0 user: george tags: markdown-footnotes)
2022-02-22
21:44
Improved organization and grouping of the change list for version 2.18. ... (check-in: 1841ce6747 user: drh tags: trunk)
21:20
Adjustments to the "/md_rules" page, suggested on the SQLite forum: <https://sqlite.org/forum/forumpost/b8e93aa66d> ... (check-in: c5e4c8b63a user: drh tags: trunk)
19:13
Update the built-in SQLite to version 3.38.0 final. ... (check-in: c55e0f6ca3 user: drh tags: trunk)
2022-02-21
20:54
docs: a typo fix and an updated date reference. ... (check-in: 841c78d2cd user: stephan tags: trunk)
20:44
antibot.wiki: changed 'billions' to 'millions', per /chat discussion. ... (check-in: d4f3babea9 user: stephan tags: trunk)
20:36
Per chat discussion and [forum:fd49a822db5bc522 | forum post fd49a822db5bc522], removed PellesC build from makemake.tcl and the corresponding makefile. ... (check-in: fcb33239b5 user: stephan tags: trunk)
05:14
Add a comment for <code>append_footnote_upc()</code>. Also substitute a variable of zero value with just "0" constant. No functional changes. ... (check-in: ae8a3dd5aa user: george tags: markdown-footnotes)
04:29
Impose a limit on the depth of nesting of inline footnotes. Also add a few test cases: for depth limiting and HTML hijacking. ... (check-in: f4ff013ace user: george tags: markdown-footnotes)
2022-02-20
23:00
If there are issues with footnotes then set TH1 variable <var>$footnotes_issues_counters</var> to a space separated list of integers that count for "misref", "unref" and "joins". This eliminates the need for JavaScript for the case when a custom skin wants to [forum:/forumpost/119b0be29a2b096b|warn about issues with footnotes] in the header of a page.<br> Also fix counting of "joins": count the number of unique labels that have multiple definitions (and not the number of such definitions). ... (check-in: 773cef5cf7 user: george tags: markdown-footnotes)
19:14
Fix typo in the output of "fossil help -o". ... (check-in: 5b4a729b71 user: drh tags: trunk)
2022-02-19
23:03
Adjust padding in /chat CSS to eliminate an unsightly dead zone between the chat area scrollbar and the right side of the page, as reported in /chat. ... (check-in: 46ec28aca9 user: stephan tags: trunk)
01:59
Fix hyperlinks on the [/help?cmd=/winfo|/winfo] page. These were broken when a page was accessed through [/help?cmd=/info|/info/HASH] or <code>/winfo/HASH</code> aliases. ... (check-in: 356a4845b3 user: george tags: trunk)
01:16
Parse inline footnotes even if a renderer does not define a callback for rendering of footnote markers. This seems more correct even though the current implementation of backlink processor does define such callback as an empty function. ... (check-in: e06c12d176 user: george tags: markdown-footnotes)
01:00
Handle some corner cases more thoroughly: dismiss empty footnotes, passthrough (more carefully) user-provided classlist if the token is not followed by a blank character or if a footnote's text consists just of such token and blank characters. Also simplify a little bit a few places inside of <code>is_footnote()</code> function. ... (check-in: fe3157803f user: george tags: markdown-footnotes)
2022-02-18
22:05
Do not try to uncompress generic HTTP content when the NOCOMPRESS flag is set. ... (check-in: 66ef906118 user: drh tags: trunk)
20:49
Rename the "fossil chat backup" command to "fossil chat pull". ... (check-in: 8ee8f03a77 user: drh tags: trunk)
20:32
For "fossil chat backup", when transfering content from the transfer table into the repository, be explicit about column names, as the column names might be in a different order. ... (check-in: e983a7dc93 user: drh tags: trunk)
20:25
Add the "fossil chat backup" command and the "/chat-backup" webpage to support it. ... (check-in: 1827a31487 user: drh tags: trunk)
15:23
Improved diff alignment following an indentation change. The objective of this change is to improve the diff output for of the [a36dd09d17f3057f] check-in. ... (check-in: 868d160838 user: drh tags: trunk)
13:35
Fix a minor comment typo. ... (check-in: e2aed163ac user: drh tags: trunk)
01:33
Add <code>--lint-footnotes</code> option to the <code>test-markdown-render</code> command. If this flag is given and footnotes in the input have issues, then print to <var>stderr</var> the counters of "misrefs", "strays" and "split-defs" and exit with error. This should partially address a concern [forum:/forumpost/119b0be29a2b096b|raised at the forum]. ... (check-in: 1f525713ff user: george tags: markdown-footnotes)
2022-02-17
22:09
If a footnote's text starts with a token of the special form then use this token to derive a set of CSS classes that are added to that footnote and its references. This enables users to style elements of a particular footnote provided that the administrator provisioned and documented some special CSS classes in a custum skin. Default skin does not provide any of such special classes which makes this feature an "opt-in". ... (check-in: 92516ced8b user: george tags: markdown-footnotes)
18:13
Fix a typo in the help for the "fossil remote" command. ... (check-in: 7ea1b380ea user: drh tags: trunk)
15:04
'update' shows the commit date for the updated-from version, for consistency." ... (check-in: 971dd2364d user: danield tags: trunk)
02:38
'update' now lists the updated-from version, per off-list user request, the intent being to simplify access to the version for purposes of running a diff after seeing updates arrive. ... (check-in: 07ed3fedfa user: stephan tags: trunk)
00:17
Clean-up and rephrase some comments. ... (check-in: a62c876896 user: george tags: markdown-footnotes)
2022-02-16
23:08
Make parsing slightly faster and fix a comment. No changes in functionality. ... (check-in: a36dd09d17 user: george tags: markdown-footnotes)
22:11
Include <code>REQUEST_URI</code> into footnotes' hyperlinks. This should make links work even if base href (in a page's header) is not consistent with the <code>REQUEST_URI</code>. If <code>FOOTNOTES_WITHOUT_URI</code> macro is defined while compiling <code>src/markdown_html.c</code> then bare "#fragment" hyperlinks (without <code>REQUEST_URI</code>) are generated. ... (check-in: 2c1f8f3592 user: george tags: markdown-footnotes)
13:22
Mention the REQUEST_URI fix in the change log. ... (check-in: ced2850813 user: drh tags: trunk)
2022-02-15
23:34
Update the built-in SQLite to the latest 3.38.0 beta. ... (check-in: abd90eb5a8 user: drh tags: trunk)
21:46
Return a 404-Not Found error on any attempt to access a "draft" skin that is not defined. ... (check-in: de320cc33e user: drh tags: trunk)
21:35
FIXME-comments in the code did not indicate issues and are now rephrased to be mere reminders. ... (Leaf check-in: d253ece08a user: george tags: base-href-fix)
02:26
Do not override base href for wiki pages. This needs testing. ... (check-in: 89dd34519f user: george tags: base-href-fix)
00:58
When setting <var>$webpagename</var> pass the value of <var>g.zPath</var> though <code>escape_quotes()</code>. This is unclear how <var>g.zPath</var> can contain quotes but let this strange case be handled in a safe way. ... (check-in: 288fe34ced user: george tags: base-href-fix)
00:14
Move <code><meta charset="UTF-8"></code> to the begining of the default header. Supply BODY element with a class that derives from <var>$webpagename</var>. ... (check-in: 6d135904ad user: george tags: base-href-fix)
2022-02-14
23:32
Minor code refactoring: rename a temporary variable and utilize <code>matching_bracket_offset()</code> one more time. No changes in functionality. ... (check-in: 5b845a0790 user: george tags: markdown-footnotes)
23:06
Do not export <var>g.zRelReqURI</var> to TH1 interpreter because <code>getParameter</code> proc can retrieve <code>PATH_INFO</code> and <code>QUERY_STRING</code>. Instead export <var>g.zPath</var> (as <var>$webpagename</var>) since that is typically needed in the TH1 headers/footers of custom skins. ... (check-in: ff4c7ed609 user: george tags: base-href-fix)
22:43
Make <code>style_set_base_href_suffix()</code> safe for misuse: if the resulting suffix contains unescaped quotes then escape them. <var>$base_href_suffix</var> is intended for interpolation inside of the quoted href attribute. This check-in should address the case when a user of malfunctioning browser (which mishandles quoting) is tricked by an adversary to visit a specially crafted hyperlink. ... (check-in: d97752f30b user: george tags: base-href-fix)
2022-02-13
19:29
Fix parsing of "free-standing" footnotes that was (slightly) broken by the previous check-in. ... (check-in: 23c3e0b2a7 user: george tags: markdown-footnotes)
19:16
Back out check-in [5bb921dd0893a548] which was wrong - the REQUEST_URI CGI parameter should include the query string. Improve the CGI variable documentation in comments. Improve robustness to malformed CGI variables. ... (check-in: e514eeea8f user: drh tags: trunk)
19:14
Improved robustness in CGI variable parsing. ... (Closed-Leaf check-in: b897350007 user: drh tags: cgi-compliance)
17:54
Rename variable <var>g.zUrlSuffix</var> to <var>g.zRelReqURI</var> (Relative Request URI). Provide it to TH1 interpreter as <var>$relrequri</var>. ... (check-in: 05e3fa76be user: george tags: base-href-fix)
16:00
Fix hyperlinks on the [/help?cmd=/winfo|/winfo] page. These were broken when a page was rendered through [/help?cmd=/info|/info/HASH] of <code>/winfo/HASH</code> aliases. ... (check-in: 5ce372ce48 user: george tags: base-href-fix)
01:35
Cherry-pick from branch 'cgi-compliance' (and thus back out [5bb921dd0893a548]). Adapt the computation of g.zUrlSuffix in <code>set_base_url()</code> accordingly. ... (check-in: 5c649c7e0f user: george tags: base-href-fix)
00:26
Back out [5bb921dd0893a548]. It turns out that REQUEST_URI should have the query string appended. Make other changes to cgi.c to bring it into "compliance". "Compliance" is in quotes because rfc3875 does not define REQUEST_URI. That variable is really just by conveniention. But Apache and Nginx both append the query string, so we should too. ... (check-in: fd1c9b090a user: drh tags: cgi-compliance)
2022-02-12
21:51
Add an overlooked call to <code>style_set_base_href_suffix()</code> in src/info.c and add a comment of why not to do so for [/help?cmd=/ext|/ext] ... (check-in: 87fba73120 user: george tags: base-href-fix)
20:53
Update the defense-against-robots documentation to align with current behavior. ... (check-in: c9082b2971 user: drh tags: trunk)
20:52
If markup is ambigous between a "span-bounded" footnote and a "free-standing" footnote followed by another footnote then interpret as the later case. ... (check-in: b363a4dbe7 user: george tags: markdown-footnotes)
20:30
Enhancement to robot defense. The auto-hyperlink setting can now be 2 (UserAgent only) in which case the UserAgent string is consulted and hyperlinks are generated if and only if the UserAgent looks human. Javascript does not come into play. When auto-hyperlink is 1, the traditional Javascript changes to href= in anchor tags are still used. ... (check-in: df337eb61c user: drh tags: trunk)
19:53
An attepmt to fix the [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base|<code><base href="..."></code>] element of webpages so that the value of <var>href</var> attribute matches the URL being served. This should fix "#fragment" hyperlinks on all pages where these were broken (all except [/help?cmd=/doc|<code>/doc</code>]). The values for [/help?cmd=/wiki|<code>/wiki</code>] and [/help?cmd=/info|<code>/info</code>] were left unchanged (it's yet unclear if they should also be changed). ... (check-in: 03b39f1d00 user: george tags: base-href-fix)
13:55
Do not require mouse events for auto-hyperlink if the UserAgent string includes "Android". Describe the Safari visited/unvisited link limitation on the auto-hyperlink setting. ... (check-in: cef15ed3d3 user: drh tags: trunk)
13:29
New javascript for href.js such that any mousemove or mousedown event at any time is sufficient to trigger the mouse activity condition for activation of hyperlinks. This works better on FF and chrome, but with safari, the visited/unvisited link color is determined by the initial value of href= and is not adjusted when href= changes, so visited/unvisited colors are not being updated on safari. ... (check-in: e7d67b7640 user: drh tags: trunk)
01:01
Modify the /honeypot to explain the situation to human readers who might accidentally reach it, and offer them a links to the login page to prove their humanness. ... (check-in: 533c2c7144 user: drh tags: trunk)
00:38
Robot defense uses a mousedown event rather than mouse motion as one of the signals that the request is from a human. This should make robot defense work better for users on mobile. ... (check-in: 8d4e11432d user: drh tags: trunk)
2022-02-11
21:25
The REQUEST_URI CGI parameter should not include the QUERY_STRING. ... (check-in: 5bb921dd08 user: drh tags: trunk)
16:00
Improvements to the /admin_sql page. ... (check-in: 6325f81d06 user: drh tags: trunk)
15:40
Better hyperlinks on the security-audit warning about the server load average setting. ... (check-in: e5c0543760 user: drh tags: trunk)
15:26
Enhance security audit to warn about giving hyperlink privilege to user nobody. ... (check-in: 5999d2446b user: drh tags: trunk)
14:57
Fix mis-coded HTML on the /setup_access page. ... (check-in: ecab8f430f user: drh tags: trunk)
01:26
Fix parsing of a multiline definition of labeled footnote for the case when lines end with CR+LF. ... (check-in: ea66d15cf3 user: george tags: markdown-footnotes)
2022-02-10
23:30
Fix a warning for unused variable 'p' introduced by [487e465263fd21] ... (check-in: 8895d938e2 user: george tags: trunk)
23:00
Clean-up and polish relevant CSS and HTML's class names. Insure visual spacing between footnotes' markers so that numbers are distinguishable when multiple footnotes in a row are used. Factor out auxiliary decorations from HTML into the default CSS, to enable customization via skins. ... (check-in: 2b1375abad user: george tags: markdown-footnotes)
19:38
Fix the "fossil remote add NAME URL" command so that it accepts aliases for URL. ... (check-in: c301e29389 user: drh tags: trunk)
15:50
Update the built-in SQLite to the latest 3.38.0 beta that includes the performance enhancements on the datetime() function. ... (check-in: 740d655e55 user: drh tags: trunk)
00:29
Merge from trunk ... (Leaf check-in: 2b5f9b211c user: george tags: search-terms-highlighting)
00:22
Merge from trunk ... (Leaf check-in: a961a67ba7 user: george tags: rptview-submenu-paralink)
00:17
Merge from trunk ... (check-in: 88ff4e5dea user: george tags: wcontent-subsets)
00:12
Merge from trunk ... (Leaf check-in: 9b76469b38 user: george tags: th1-doc-vars)
00:05
Remove unused local variable from cgi_parse_POST_JSON() to fix a compiler warning. ... (check-in: 96bf76a4b1 user: george tags: trunk)
2022-02-09
22:59
Handle unreferenced footnotes. If a labeled footnote is defined but there are no references to it, then add a special item at the end of footnotes. This item includes a label and the text of the strayed footnote - both rendered verbatim via <tt>html_escape()</tt>. Default skin makes such items visible and easily distinguishable. The order of such items match the order in the underlying source code. ... (check-in: ada55cd45a user: george tags: markdown-footnotes)
20:23
Cherrypicked [92221aaa192e82] and [7283ae6e120c10] on behalf of George. ... (check-in: f902814db6 user: stephan tags: trunk)
20:09
Join duplicated footnotes slightly faster. Fix a comment about auxiliary <tt>cmp_footnote_id()</tt> function. ... (check-in: 7f6a641808 user: george tags: markdown-footnotes)
19:38
Fix a misuse of an unsigned integer in the <tt>blobReallocMalloc()</tt> which can lead to redundant memory reallocations. ... (check-in: 92221aaa19 user: george tags: markdown-footnotes)
19:29
Fix a bug in the <tt>blob_reserve()</tt> function that was introduced by [1243bf39996b8a]. The <i>current</i> mainline is not affected because this function is not used anywhere. However it was causing memory corruption on the 'markdown-footnotes' branch since it was employed in [544df852b2d9a1]. ... (check-in: 7283ae6e12 user: george tags: markdown-footnotes)
06:59
Display build/patch number for the MSVC compiler. ... (check-in: 487e465263 user: danield tags: trunk)
2022-02-08
17:14
Fix compiler warning on builds that lack support for FuseFS. ... (check-in: 398c5cd1a7 user: drh tags: trunk)
17:07
Make the "fusefs" command and help text available, even on builds that lack support for FuseFS. ... (check-in: b1a78a65f6 user: drh tags: trunk)
14:09
An attempt to fix a "double free crash" from the previous check-in. ... (check-in: 18c9d10368 user: george tags: markdown-footnotes)
14:04
If several footnotes are defined with the same label then join them into a single footnote. Text from each definition becomes an item in the list. This solution makes such situations noticable for the usual case (when this is an oversight) but also not obtrusive for the rare cases (when this is intentional). The list is provided with a special class to enable styling via skin customization.<br><b>This check-in is known to cause crash, see the forthcoming check-in.</b> ... (check-in: 544df852b2 user: george tags: markdown-footnotes)
13:39
Add <tt>const</tt> qualifier to the arguments of the <tt>blob_compare()</tt> function. ... (check-in: 2822b63b39 user: george tags: markdown-footnotes)
2022-02-06
22:53
Handle misreferences more thoroughly. Implement support of footnotes-within-footnotes with (hopefully) proper crosslinking (that's where it's getting tricky). ... (check-in: 1787f6df11 user: george tags: markdown-footnotes)
2022-02-05
01:21
Update the built-in SQLite to the latest 3.38.0 beta. ... (check-in: 82bbde8d0f user: drh tags: trunk)
2022-02-04
23:07
Handle misreferences: a reference to undefined footnote. ... (check-in: 28e6a9cd13 user: george tags: markdown-footnotes)
19:47
Minor code refactoring. ... (check-in: 2636e2245e user: george tags: markdown-footnotes)
19:24
Automatically render a horizontal rule before the list of footnotes. If desired a particular skin can hide it using CSS selector "hr.footnotes-separator". ... (check-in: 6807b434a9 user: george tags: markdown-footnotes)
19:08
Add file [/doc/markdown-footnotes/test/markdown-test3.md|test/markdown-test3.md] that is suggested as an accumulator of footnotes-specific test cases. ... (check-in: fe9e6ff9eb user: george tags: markdown-footnotes)
17:28
For rendering a numeric footnote mark enclose HTML tag "a" inside of tag "sup" (instead of the opposite) and format anchor's id using "noteref%s-%i-%s" template (instead of "noteref-%s%i-%s"). Add highlighting when hovering over a span-bounded footnotes. ... (check-in: fb999972e4 user: george tags: markdown-footnotes)
16:54
Fix documentation so that an example of a referenced footnote definition inside of the fenced code block is not recognized as a real footnote defenition. This demonstrates a subtle gotcha and a possible work-arround of it. ... (check-in: 7229d0f588 user: george tags: markdown-footnotes)
11:28
On the repository list page, show Last Modified as 'unknown' for a repository with no entries in the event table (see [forum:/forumpost/993d5bcc8c | forum report]), and sort it still as oldest. ... (check-in: 9e42012742 user: danield tags: trunk)
00:37
Switch to <tt>(^...)</tt> for inline footnotes. Implement span-specific footnotes. Add [/doc/markdown-footnotes/src/markdown.md#ftnts|documentation]. ... (check-in: cae7a5d1ca user: george tags: markdown-footnotes)
2022-02-03
00:55
Remove a faulty assert() statement inserted by check-in [9c1199d723e0acda]. ... (check-in: 537a1394d8 user: drh tags: trunk)
2022-02-02
21:50
Fix typo in defcsp.md: DSP --> CSP ... (check-in: 9ce4dd0db2 user: mgagnon tags: trunk)
17:50
Bug-fix: Do not loose referenced footnotes when inline footnotes are also used. ... (check-in: a8f0f1e7ff user: george tags: markdown-footnotes)
2022-02-01
22:03
Add --case-sensitive and --nocgi to the output of 'fossil help -o', and --cgitrace to the webpage for global options. ... (check-in: 54cdf297fd user: danield tags: trunk)
21:24
Document the "--chdir" global option. (on "fossil help -o") ... (check-in: 4bb2090454 user: mgagnon tags: trunk)
20:12
Support multiline footnote definitions and inline footnotes via <tt>^[...]</tt> syntax (this syntax is not settled yet). Fix overall link support that was broken by [e3710ccd3a5a]. ... (check-in: 78b7846b8e user: george tags: markdown-footnotes)
13:20
Update to the latest SQLite 3.38.0 alpha that includes support for --wordwrap in the CLI. ... (check-in: 0505bc8289 user: drh tags: trunk)
2022-01-31
16:30
Update to the latest SQLite in order to fix compiler warnings. ... (check-in: 52b0272fda user: drh tags: trunk)
14:19
Update the built-in SQLite to the latest 3.38.0 alpha that include the new ".mode qbox" command and other enhancements in the shell. ... (check-in: 100118cb91 user: drh tags: trunk)
05:42
For the MSVC makefile, fix forwarding of XPCFLAGS and XPLDFLAGS to OpenSSL. This is only relevant if the MSVC makefile is used to build OpenSSL as a sub-project (FOSSIL_BUILD_SSL=1) for Windows XP (FOSSIL_ENABLE_WINXP=1). XPLDFLAGS only matters for the shared library case (FOSSIL_DYNAMIC_BUILD=1), and is applied in a post build step -- somewhat whacky, but fixes the problem, and there's a lot of comments and diagnostic output to help with troubleshooting. ... (check-in: fa3f60f694 user: florian tags: trunk)
05:32
Update the makemake.tcl script. ... (Closed-Leaf check-in: 771ab19439 user: florian tags: msvc-openssl-winxp)
05:29
Keep the verbose output as it's helpful for debugging, and because Fossil build output is also very detailed. ... (check-in: c62f663e19 user: florian tags: msvc-openssl-winxp)
2022-01-30
17:38
Do not assume little-endian architecture within <tt>to_base26()</tt> function. ... (check-in: 4b63b1ee55 user: george tags: markdown-footnotes)
17:08
Add an "eye-candy": if a footnote's mark is followed then the corresponding back-reference is highlighted, if a footnote's back-reference is followed then highlight the corresponding footnote's mark. ... (check-in: 50dcf92f85 user: george tags: markdown-footnotes)
11:32
Reduce output verbosity, but still provide enough hints in case of an error. ... (check-in: 7dcf497daa user: florian tags: msvc-openssl-winxp)
11:26
Remove an incorrect comment: it's possible to edit the OpenSSL makefile, and it only rebuilds itself if the templates are updated. ... (check-in: 87dcc045dd user: florian tags: msvc-openssl-winxp)
2022-01-29
00:19
Decouple parsing and HTML-specific rendering. Add support for back references in the list of footnotes. WIP - inline and multiline footnotes are not yet implemented. ... (check-in: e3710ccd3a user: george tags: markdown-footnotes)
2022-01-28
17:36
Improved TLS read-from-client support on Windows. ... (check-in: b0834be5d0 user: stephan tags: trunk)
14:51
Swapped semantics of the new argument to ssl_read_server(), [forum:2f818850abb72719 | per forum discussion]. Adjacent doc touchups. ... (Closed-Leaf check-in: 9110662fd1 user: stephan tags: ssl-read-loops2)
06:37
Minor code style fixes. ... (check-in: d4ef61538c user: florian tags: ssl-read-loops2)
05:51
Another attempt to fix the SSL_read() loops on Windows. Not necessarily more elegant, but at least working around a well-defined problem, making the code easier to maintain. ... (check-in: 4d8a71be8c user: florian tags: ssl-read-loops2)
2022-01-27
20:08
Remove the prototype for pikchr() from config.h, since pikchr.c gets a valid header file on all platforms. ... (check-in: fd9b8fd845 user: danield tags: trunk)
19:45
Minor code clean-up of src/markdown.c: add a few 'const' specifiers, reduce the scope of temporary variables and simplify their names. ... (check-in: b9393a4e64 user: george tags: markdown-footnotes)
16:27
Additional fixes to the build process to ensure that pikchr.c has a valid header file. ... (check-in: f46f8c3839 user: drh tags: trunk)
15:53
Change makemake.tcl accordingly for DMC (generated Makefile.dmc not tested). ... (Closed-Leaf check-in: 9f208a13bc user: danield tags: pickhr-prototype)
15:17
Fix makemake.tcl and Makefile.msc to build on Windows. ... (check-in: 2d354a6e7f user: danield tags: pickhr-prototype)
11:20
Be strict about compiler warnings for Windows builds. ... (check-in: 57f16ce8e5 user: drh tags: trunk)
06:45
Make MSVC build fail any level 2 warnings, and build w/o any. ... (Closed-Leaf check-in: 9c1199d723 user: larrybr tags: msvc-warn2-fatal)
06:39
Create new branch named "msvc-warn2-fatal" ... (check-in: 5e6484a5e5 user: larrybr tags: msvc-warn2-fatal)
04:34
Fix an off by 1 bug in "win32_http_request()" which was causing POST request to fail on windows. (e.g. wikiedit preview or upload of a file on the chat) Problem appear in checkin [7a3bf55f5489f534] ... (check-in: e4b49ce37d user: mgagnon tags: trunk)
04:16
A potential fix for the Makefile.msc and Makefile.dmc for the missing pikchr prototype, as discussed in /chat. Cannot test locally. _Might_ be that the added block in makemake.tcl line 1441 can be removed. ... (check-in: bc6bda98a1 user: stephan tags: pickhr-prototype)
03:57
Make sure the pikchr() function has a prototype(). MSVC generates incorrect code (and does not give a warning) if the prototype is missing. ... (check-in: a27b3364e3 user: drh tags: trunk)
2022-01-26
18:22
Make sure stdin and stdout are set to binary mode in Windows for the "fossil http" command. ... (check-in: be1c4d47f9 user: drh tags: trunk)
17:28
For Windows debugging, then "fossil ui" or "fossil server" is launched with the --httptrace option, the temporary files used to start subprocesses are stored in the working directory and are not deleted after each request. ... (check-in: 3d238187bb user: drh tags: trunk)
14:50
Initial support for [forum:/forumthread/d752446a4f63f390|footnotes in Markdown]. <br>This is WIP: support of multiline notes and code clean-up are pending. ... (check-in: ebce0f357e user: george tags: markdown-footnotes)
14:36
Fix compiler warning of unused function for builds without OpenSSL. ... (check-in: 2a563d60bf user: drh tags: trunk)
14:33
One more compiler warning fix. ... (check-in: 317c665ce6 user: drh tags: trunk)
14:32
Fix "unused variable" compiler warnings when building without OpenSSL. ... (check-in: c1350c8a44 user: drh tags: trunk)
14:00
Check-in [acffc8f7858254eb] was causing "CGI content-length mismatch" errors on the main Fossil website (xinet.d->althttpd->Fossil). This check-in attempts to resolve the problem. (Edit:) *Not!* The error is still occurring, though at least now we have a better error message. The problem might have been in althttpd and fixed at [https://sqlite.org/althttpd/info/fded041a3e9ce9b0]. ... (check-in: c5c7dd5ffb user: drh tags: trunk)
13:34
Improved help-page for the "http" command. ... (check-in: 42c4d045e1 user: drh tags: trunk)
13:10
Updates to the change log. ... (check-in: 076e7863c2 user: drh tags: trunk)
07:41
Alternative to [b890451cfb], [b70557f690] and [acffc8f785] to fix the SSL_read() loops on Windows. Pending tests on non-Windows platforms. ... (Closed-Leaf check-in: 95256636e4 user: florian tags: ssl-read-loops)
2022-01-25
19:36
Corrected parsing of /json-mode POST data in TLS mode. Extended /json/wiki/preview to support a mimetype option. ... (check-in: 7f5877e843 user: stephan tags: trunk)
18:14
ssl_read_server() now returns 0 on read error and lets the higher-level code deal with the short read. This might resolve the issue under discussion in [forum:/forumpost/2f818850abb72719 | forum post 2f818850abb72719]. ... (check-in: acffc8f785 user: stephan tags: trunk)
17:44
Update the built-in SQLite to the latest 3.38.0 beta, for the purpose of beta testing SQLite. ... (check-in: 605064e656 user: drh tags: trunk)
2022-01-24
08:42
/chat: added optional 'raw' URL argument to specify that the xmsg text should be returned as-is instead of HTML-izing it. This is not used by /chat but is to support Brad Harder's standalone curses-based /chat client (and similar ones). ... (check-in: 4359f4b573 user: stephan tags: trunk)
08:27
Simplified version of the previous patch which also catches SSL_read() errors on Windows. ... (check-in: b70557f690 user: stephan tags: trunk)
08:23
Preliminary workaround for Windows-specific SSL_read() behavior described in [forum:/forumpost/2f818850abb72719 | forum post 2f818850abb72719]. Patch tested by Florian (Windows) and myself (Linux). ... (check-in: b890451cfb user: stephan tags: trunk)
06:54
Replaced the "manual" TLS EOF tracking with BIO_eof(), analog to how is done in althttpd. ... (check-in: 06e300e5bd user: stephan tags: trunk)
2022-01-23
20:11
Diff algorithm is slightly faster and does a better job of dealing with indentation changes in code. See [forum:/forumpost/7631656a2823338a|forum thread 7631656a2823338a]. ... (check-in: 1cb182ac18 user: drh tags: trunk)
19:57
Add a heuristic to the diff generator that helps it do a better job of identifying differences in C code that result from a change in indentation level. ... (Closed-Leaf check-in: 8cd73dda3d user: drh tags: diff-improvement)
12:52
Fix bullets in wsl_caveats.wiki ... (check-in: ea6b2d3e86 user: larrybr tags: trunk)
11:29
Additional alignment debugging information output for "fossil diff --debug". ... (check-in: 9aaefcfd0a user: drh tags: diff-improvement)
09:16
Another follow-up to commits [85cfdd192a] and [6eeb7ec10e]: In the document to explain how Fossil reads environment variables to customize its behavior, do not mention how Fossil writes environment variables to customize the behavior of CGI programs, as that seems off-topic and confusing. ... (check-in: c7abbe1ee6 user: florian tags: trunk)
04:12
When trying to do an alignment of large blocks, first try an LCS on the same block using an ignore-whitespace comparison. If a large LCS is found, use that to subdivide the problem. Otherwise, continue with the usual divide-and-conquer technique. ... (check-in: c311efef07 user: drh tags: diff-improvement)
00:31
Approximately a 5x performance increase for diff with the -w (ignore whitespace) option. ... (check-in: fbdbc09b40 user: drh tags: diff-improvement)
2022-01-22
22:37
Remove expired link in userlinks.wiki ... (check-in: 1a370bc3d0 user: larrybr tags: trunk)
21:46
Link wsl_caveats.wiki into "Links For Fossil Users" ... (check-in: 70ca1ce4d2 user: larrybr tags: trunk)
18:02
Restore "const" before "DLine*" where possible in the diff generator. And even add some new instances of "const". ... (check-in: cf69ac4e39 user: drh tags: diff-improvement)
17:50
Fix the computation of DLink.nw for the case of the -w (no whitespace) option for diff. ... (check-in: 44b6f12845 user: drh tags: diff-improvement)
17:11
Add the Dline.nw field. Use it as a cache of the number of characters on a line with leading and trailing whitespace removed. ... (check-in: f6112b93e9 user: drh tags: diff-improvement)
13:49
Enhance the DLine.indent field so that it is always initialized to the number of space and control characters at the beginning of the line. ... (check-in: 2dad4158db user: drh tags: diff-improvement)
2022-01-21
20:34
Merge from trunk ... (check-in: 8d78edddf7 user: george tags: search-terms-highlighting)
20:24
Merge from trunk ... (check-in: 9094def2b9 user: george tags: rptview-submenu-paralink)
20:13
Merge from trunk ... (check-in: 5c0515e20c user: george tags: wcontent-subsets)
19:58
Merge from trunk ... (check-in: 6721c654a9 user: george tags: th1-doc-vars)
11:38
Fix the previous check-in to list environment variables used by the CGI Server Extensions feature in the correct place. ... (check-in: 6eeb7ec10e user: florian tags: trunk)
11:16
Defer output of status messages until relevant. Remove unnecessary FOR command variable expansions. ... (check-in: b2655b9c4d user: florian tags: msvc-openssl-winxp)
06:49
Forward XPCFLAGS and XPLDFLAGS to the OpenSSL build process to fix Windows XP builds with MSVC. This affects builds with FOSSIL_ENABLE_WINXP=1 and FOSSIL_BUILD_SSL=1. XPLDFLAGS is only relevant if FOSSIL_DYNAMIC_BUILD=1 also set, and is applied in a post-build step to work around the difficulties to append (MSVC) linker flags to the OpenSSL defaults. NOTE: Pending more tests, and back-porting to tools/makemake.tcl. ... (check-in: b9d40d68dc user: florian tags: msvc-openssl-winxp)
06:12
Add a few environment variables mentioned in recent check-in comments to the documentation. ... (check-in: 85cfdd192a user: florian tags: trunk)
2022-01-20
21:43
The test-httpmsg command does not need to open a repository. ... (check-in: b145f19df5 user: drh tags: trunk)
13:17
Add SERVER_SOFTWARE to the set of CGI parameters emitted by /ext ... (check-in: a9a1bd84d8 user: drh tags: trunk)
04:48
Per a /chat discussion in December, no longer "sterilize" manifests saved in zip/tar exports, as that changes their hash for client-side validation purposes and there is little risk of such exports being re-imported into a fossil repo. ... (check-in: 722c248d53 user: stephan tags: trunk)
2022-01-19
19:34
Change the definition of structure artifacts so that they can store UTF-8 text rather than just ASCII text. ... (check-in: cc214897fb user: drh tags: trunk)
16:55
For Solaris, omit the XOPEN_SOURCE define, as this is no longer recommended, according to private email from Claes Nästén. Also disable some obsolete compile-time options to SQLite. ... (check-in: 5b0c71d1fc user: drh tags: trunk)
16:00
If there is a global ssl-ca-location setting, make sure it is used when trying to locate the trust store for any client TLS operation. ... (check-in: 0ca1fc4d98 user: drh tags: trunk)
15:35
Change the priority of trust-store location search so that environment variables SSL_CERT_FILE and SSL_CERT_DIR take precedence over the ssl-ca-location setting. This allows a one-command override of the ssl-ca-location for testing or debugging. ... (check-in: e225dc9dec user: drh tags: trunk)
14:42
Add short option -ci for --checkin in 'fossil diff'. ... (check-in: c8a7ee7e4c user: danield tags: trunk)
06:30
Add wsl_caveats.wiki (now free-floating) ... (check-in: 73ba7637be user: larrybr tags: trunk)
2022-01-18
20:53
Fix a typo on the /secaudit0 page. ... (check-in: fef157554f user: drh tags: trunk)
19:59
Improvements to the on-line help text for the "fossil remote" command. ... (check-in: bbf17aeb87 user: drh tags: trunk)
19:18
Accept symbolic names for the URL in "fossil remote URL" command. ... (check-in: bcb09d6511 user: drh tags: trunk)
18:42
Fix the "fossil remote add NAME default" command so that it works to assign the name of NAME to the last sync URL. ... (check-in: ce1a1fd1d1 user: drh tags: trunk)
14:20
For the "fossil ssl-config" command, show the five possible locations of the trust store in priority order, and show the one that is actually used at the end. In -v mode, show the hash for each exception. ... (check-in: 0abeed1118 user: drh tags: trunk)
03:59
When renaming a user, rename any matching subscription entry to avoid that the user can no longer subscribe with the new name because the email address is already mapped. Also log user renames to the admin log. This does not work across all login groups because we don't know if each member has the subscriber table. ... (check-in: cdcffc413d user: stephan tags: trunk)
2022-01-17
20:32
Update the ssl-server.md document to conform to the latest changes. ... (check-in: 593c13baf2 user: drh tags: trunk)
19:57
Updates to the change log. ... (check-in: a0623f6928 user: drh tags: trunk)
18:10
Fix the "fossil sync" command so that it works with options -u and --all at the same time. ... (check-in: 95014ae996 user: drh tags: trunk)
16:56
A general simplification of the server-side TLS logic: Do not store server-certs in settings. Remove the ssl-config subcommands that try to do that. Change command-line options for server-TLS mode on "fossil server" and "fossil http": --cert for the cert file, --pkey for the private key, and omit --tls and --ssl. This check-in supercedes [/timeline?r=tls-server-fix|the tls-server-fix branch]. See [forum:/forumpost/de470658fdf45100|forum post de470658fdf45100]. ... (check-in: d7008b3457 user: drh tags: trunk)
13:47
This branch superceded by [d7008b34579d2f41|check-in d7008b34579d2f41] and therefore closed. Was: move the checking for --https to before verify_options is called ... (Closed-Leaf check-in: 60d1581ff0 user: rdb tags: tls-server-fix)
2022-01-16
18:42
The output of "fossil configuration --help" had two different ways -R was described, one wrong. The newer one was of a more consistent format with the rest of the help ([decd537016 | thus why it was added]) so removed the older one and reworked the newer one to be more accurate. ... (check-in: 6cb0fc2591 user: wyoung tags: trunk)
18:36
Fix the "fossil config pull AREA" command when it lacks a URL, so that it uses the default sync URL. ... (check-in: 661ea33159 user: drh tags: trunk)
11:29
merge latest trunk ... (check-in: 8dde277768 user: rdb tags: tls-server-fix)
10:55
/pikchrshow: in demo pikchrs which use an ampersand, write them as literals instead of HTML-escaped, to account for changes made to how pikchr handles those. ... (check-in: 4364ad05eb user: stephan tags: trunk)
10:09
Implement -p|--prototype option for diff command. This commit introduces support for displaying in the chunk header which C function each change is in. Tested on OpenBSD, Ubuntu, and macOS. <b>[closed: feature rejected]</b> ... (Closed-Leaf check-in: 792674372e user: jamsek tags: diff-show-func)
03:29
fix c90 forbids mixed declarations and code wanrning ... (check-in: ad66227c8d user: rdb tags: tls-server-fix)
02:03
When reading POST via TLS, fail fatally on a read error. Add SERVER_SOFTWARE to the environment when running in server mode. ... (check-in: ba95498d36 user: stephan tags: trunk)
01:34
Show the value of SERVER_SOFTWARE on the /test_env page. ... (check-in: f1729c4736 user: drh tags: trunk)
2022-01-15
16:49
add FOSSIL_ENABLE_SSL guards to new code ... (check-in: 9c68e9f8ca user: rdb tags: tls-server-fix)
16:44
tls: fix reading a loaded cert to be used with fossil server --tls repo.fossil talked about in forum thread https://fossil-scm.org/forum/forumpost/46f7dfc63f ... (check-in: 81c486badf user: rdb tags: tls-server-fix)
13:58
Cherrypicked [5fd1ca6f] (was checked in to wrong branch). ... (check-in: 8d456a5b77 user: stephan tags: trunk)
13:54
In standalone TLS mode, SSL_read() must be performed in a loop to avoid truncated POST data. Discussed in [https://sqlite.org/althttpd/forumpost/11c263b822fde80d | althttpd forum post 11c263b822fde80d]. ... (check-in: 5fd1ca6fba user: stephan tags: markdown-tagrefs)
10:09
Merged in trunk. ... (check-in: d11cbb637b user: stephan tags: markdown-tagrefs)
08:33
tls: fixes fossil ssl-config load-cert --filename so that the cert and keys are combined and stored in the config table. fossil ui --tls and fossil server --tls now reads the certificate from the config table field ssl-cert. ... (check-in: c2562490d4 user: rdb tags: tls-server-fix)
07:15
fix formatting style as per https://fossil-scm.org/forum/forumpost/a711fb4fa0 ... (check-in: 9769c4f756 user: rdb tags: trunk)
04:41
ssl-config show typo fixes reported in [forum:/forumpost/dde10203ae3dfe36 | forum post dde10203ae3dfe36]. ... (check-in: 2d3bee3b67 user: stephan tags: trunk)
04:11
fossil init: added options to set the project name and/or description during fossil init. --project-name --project-desc quote "string that contain spaces" ... (check-in: 9d98d861e5 user: rdb tags: trunk)
2022-01-14
16:34
added "clonly" command as alternate form of "clone --no-open" ... (Leaf check-in: 3598e3ae53 user: sdr tags: clone-no-open-alternative)
2022-01-13
19:45
Promote the test-detach to be just "detach". Provide better help. Require user confirmation. For "fossil pull --from-parent-project" remember the URL of the last parent project pull. Remove parent-project settings on a "fossil scrub". ... (check-in: b3f3a898c8 user: drh tags: trunk)
12:50
Change all calls to json_extract() into uses of the new ->> operator. ... (check-in: 50d433e5b0 user: drh tags: trunk)
2022-01-12
03:46
sync.wiki: fixed a typo and struck allow-symlinks from the list of sync'd config options. ... (check-in: d1ac2f90da user: stephan tags: trunk)
00:46
Possibly fix the assertion fault reported by [forum:/forumpost/4baa888c5743e3e1|forum post 4baa888c5743e3e1] ... (check-in: 3f8ee9e1f3 user: drh tags: trunk)
00:42
Update the built-in SQLite to the latest 3.38.0 alpha for testing. With this change, SQL now has access to the new -> and ->> operators for JSON. ... (check-in: cae03867de user: drh tags: trunk)
2022-01-10
22:59
A couple more 'src' to 'tools' fixes. ... (check-in: def53f0419 user: mistachkin tags: trunk)
07:16
Replaced a call to SSL_CTX_use_certificate_file() with SSL_CTX_use_certificate_chain_file(), per [forum:054f637e002683e3| forum post 054f637e002683e3]. ... (check-in: 82c62e5f8d user: stephan tags: trunk)
05:18
A couple more src-to-tools link fixes. ... (check-in: b3460ed3b0 user: stephan tags: trunk)
05:16
Fixed recently-broken links to makeheaders, caused by its move from src/ to tools/. Reported in the forum. ... (check-in: 78c484d153 user: stephan tags: trunk)
2022-01-09
10:15
Refactored the QUERY_STRING initialization so that a redirect to the index-page when visiting the top of a repo can catch the skin URL parameter. ... (check-in: 1b6ec17d59 user: stephan tags: trunk)
00:22
Another help text typo fix: s/clear-certs/clear-cert/. ... (check-in: c4ab04b59d user: stephan tags: trunk)
00:21
Doc/help fix for the ssl-config command: s/load-certs/load-cert/, per forum report. ... (check-in: 67e0be1ec0 user: stephan tags: trunk)
2022-01-08
08:28
Resolved crash in (hook delete all) reported in [forum:/forumpost/8a3a2f7df6 | forum post 8a3a2f7df6]. ... (check-in: faa39ea31a user: stephan tags: trunk)
04:58
Moved the GitHub forking stats down in the fossil-v-git doc to a spot where it fits better. Updated the stats, and tightened up the prose. ... (check-in: c0269e3477 user: wyoung tags: trunk)
04:19
Fixed a Markdown-ism in a Fossil wiki doc. ... (check-in: ab48b9da17 user: wyoung tags: trunk)
04:19
Made the "scale" issue in fossil-v-git less of a false dichotomy. ... (check-in: 5171e59120 user: wyoung tags: trunk)
2022-01-06
22:34
Fix the capexpr TH1 command so that it actually works for a list of terms. ... (check-in: 8188ef9bc7 user: drh tags: trunk)
22:19
Update the built-in SQLite to the latest 3.38.0 alpha that includes all of the bug fixes that appear in 3.37.2. ... (check-in: 186f5c2623 user: drh tags: trunk)
19:00
Corrected new cherry-pick merge alias to account for users entering a partial command name like 'cher'. Reported Martin G. in /chat. ... (check-in: 7ffc999f05 user: stephan tags: trunk)
2022-01-05
23:30
Added cherry-pick to the change log. ... (check-in: 12fc5dc7ce user: stephan tags: trunk)
23:26
Make the merge command behave as if --cherrypick were passed in if merge is invoked with the name cherry-pick, per [forum:/forumpost/7ca2e5dc4c | forum post 7ca2e5dc4c] and /chat discussion. Fixed an unrelated internal doc typo. ... (check-in: 0421108812 user: stephan tags: trunk)
13:09
Fix a harmless compiler warning in checkin.c that resulted from the oversize file check-in warning enhancements of [3ffe893f88a4b65b]. ... (check-in: a36cddb453 user: drh tags: trunk)
2022-01-04
18:49
Added year=YYYY filter to /timeline, per request in [forum:/forumpost/7c923903ad45c8ea | forum post 7c923903ad45c8ea]. ... (check-in: f8681a9c06 user: stephan tags: trunk)
01:13
Cross-link the ssl-server.md and ssl.wiki documents. Both of them still need improvements. Some Pikchr diagrams would be a great addition. ... (check-in: 939753d046 user: drh tags: trunk)
2022-01-02
20:46
In the forum, omit unnecessary query parameters on generated URLs, so that it is easier to copy/paste URLs into commit messages or chat windows. ... (check-in: 168eb71643 user: drh tags: trunk)
20:20
Warn against adding the private-key used by Fossil's built-in self-signed cert to the OS's trust store. ... (check-in: 890b49f8e0 user: drh tags: trunk)