Fossil

Timeline
Login

Timeline

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

196 check-ins by user george

2024-02-23
21:57
In the source of the home page (www/index.wiki) move the "What Is It?" header ahead of the floating sidebar. This fixes appearence under the custom skin where that sidebar (from the content) collides with another floating sidebar (emitted by the header of a skin). ... (check-in: 3a78497b user: george tags: trunk)
2023-12-24
15:22
Fix /whistory page: prevent csrf parameter from appearing within a query string when requesting a diff.

csrf started to appear in a query due to csrf-defense-enhancement: form_begin() unconditionally generates a hidden input with csrf token since [88a402fe2a5641]. This check-in addapts /whistory page to the new behaviour. ... (check-in: abdf2805 user: george tags: trunk)

2023-03-26
23:54
Do not render "Check-ins" button within a submenu of /tktview, /tkthistory, /tkttimeline and /info pages, unless a user actually has a capability to read check-ins. This should prevent confusion and save some screen space. ... (check-in: c04c814e user: george tags: trunk)
2023-01-22
22:01
Remember the chosen type of artifacts that are shown at /timeline page as a display preference. This amends the initial behavior introduced on 2017-11-29 with the 'sticky-timeline-style' branch. ... (check-in: 61bd0c9b user: george tags: trunk)
18:35
Fix appearance of a chat-only view: eliminate redundant gap between the vertical scrollbar and the right edge of a window. ... (check-in: d3c0206e user: george tags: trunk)
2022-12-25
16:17
A minor fix to the previous check-in. ... (check-in: abfec4dd user: george tags: trunk)
2022-12-20
14:21
A couple of corrections to the [2213a0eb2d413f|previous /secaudit0 addition]. ... (check-in: 43601b3d user: george tags: trunk)
02:01
Make /secaudit0 page aware of the Tcl integration opportunities. ... (check-in: 2213a0eb user: george tags: trunk)
2022-12-12
16:12
Add support for omitting some ticket events from the default timeline view. Filtering is defined by the 'ticket-hidden-expr' option added to the /tktsetup_timeline page. Filtering is bypassed if this expression is unset or if the "Unhide" checkbox (at the timeline's submenu) is checked. See forum thread 4c49b2ad661c for discussion. ... (Leaf check-in: 452805c2 user: george tags: tkt-hidden-expr)
2022-11-26
17:31
Fix artifact_page() function so that the content of a text file is surrounded by CODE elements even if a file's extension is just a single letter. ... (check-in: e7a7b5c1 user: george tags: trunk)
2022-11-24
22:13
Add TH1 command "submenu". For the time being it has just one subcommand "link" that adds a hyperlink to the submenu of a page. ... (check-in: 71b22165 user: george tags: trunk)
2022-11-20
01:58
Do not attempt to render empty description of a report. Also make hyperlinks in a report's submenu more robust. This amends [fcf17b28a902c0]. ... (check-in: 04a01d06 user: george tags: trunk)
2022-11-19
16:48
Omit "Show associated wikis" from the submenu of a /wcontent page if there are no associated wikis in a repository (this amends [29a24941ed9b]). Also optimize out a couple of unnecessary calls to mprintf(). ... (check-in: e3c8aad9 user: george tags: trunk)
16:19
Fix malformed hyperlink for historical revisions of a forum post. Perhaps introduced by check-in [168eb71643a4]. Reported by forum post 44505ae8ec51. ... (check-in: 114b17c4 user: george tags: trunk)
2022-11-05
22:10
Respect `"timeline-utc"` setting when a ticket change artifact is displayed on the /info page. This makes it consistent with other places and fixes a hyperlink to the corresponding item of the /timeline. ... (check-in: 0028a3ca user: george tags: trunk)
2022-11-02
22:51
Omit "Show associated wikis" from the submenu of a /wcontent page if there are no associated wikis in a repository. This amends [29a24941ed9b]. ... (Closed-Leaf check-in: 6e28f280 user: george tags: pre-2.21)
2022-10-28
17:08
Improve correctness, usability and efficiency for the case when values in a TICKET's column tend to be long and volatile.

Owner of a repository may specify one or several TICKET's columns so that delta-compression is tried for the corresponding ticket change artifacts and the corresponding changes on the /tkthistory page are rendered via unified diffs.

See details in the associated wiki. ... (check-in: 872a3b23 user: george tags: trunk)

16:28
Add comments for auxiliary local variables inside ticket_output_change_artifact(). ... (Closed-Leaf check-in: 53b66cf6 user: george tags: deltify-tkt-blobs)
00:18
Fix a typo in a comment. ... (check-in: a2ed1119 user: george tags: deltify-tkt-blobs)
00:11
Add more comments and a changelog item. No code changes. ... (check-in: e690df08 user: george tags: deltify-tkt-blobs)
2022-10-16
00:09
Highlight a ticket's change that corresponds to the URL's fragment of the /tkthistory page. ... (check-in: 7afd4db3 user: george tags: deltify-tkt-blobs)
2022-10-09
22:56
Rework the previous check-in to fix incorrect backlinks' sources for the case when values are appended to a field (i.e. a value of J-card starts with '+'). Consider a reference to 77ab05a0e9 from [caeb7d672df20] for an example which was handled incorrectly by [668e45baff99]. ... (check-in: 4d5ded5e user: george tags: deltify-tkt-blobs)
2022-10-03
01:41
Fix redundant back-references originating from outdated/superseded values within TICKET table. See forum thread a6ba08e926. ... (check-in: 668e45ba user: george tags: deltify-tkt-blobs)
01:31
Fix naming of columns on the /test-backlinks page. ... (check-in: 6a5604f4 user: george tags: deltify-tkt-blobs)
2022-09-20
14:13
On the /tkthistory page supply each ticket change item with a corresponding id attribute and make the 'History' button within a submenu of a /tinfo page to link back to that particular element on the /tkthistory page. ... (check-in: 4bb91f38 user: george tags: deltify-tkt-blobs)
13:56
Minor optimization and refactoring. ... (check-in: b2049d64 user: george tags: deltify-tkt-blobs)
2022-09-15
13:40
Improve /tkthistory page: render selected ticket fields as unified diffs. ... (check-in: b75a9d0f user: george tags: deltify-tkt-blobs)
2022-09-14
13:12
Remove redundant PRE tags on the /wdiff pages. ... (check-in: 0dd5451d user: george tags: deltify-tkt-blobs)
2022-08-29
14:27
Add a missing closing LI tag for the /tkthistory page. ... (check-in: 2d0b2bda user: george tags: deltify-tkt-blobs)
14:03
Minor optimization within getAllTicketFields() function. ... (check-in: c3e7ed30 user: george tags: deltify-tkt-blobs)
2022-08-22
18:27
Make it possible to store similar ticket change artifacts as deltas. This might be useful when a certain column of the TICKET table holds a lengthy text that may undergo frequent modifications.

This is an opt-in feature. It is activated only when TICKET table contains a phony INTEGER column "baseline for $name" where $name stands for the name of the actual column provisioned for the aforementioned frequently changing text. ... (check-in: 0f4a0fe8 user: george tags: deltify-tkt-blobs)

2022-07-18
14:47
Do not omit a forum thread's title while rendering /forumthread page. ... (check-in: ffd32a9f user: george tags: trunk)
2022-07-02
20:05
Honor 'timeline-utc' setting while rendering of /wdiff pages. This is similar to [17ebe42d6183ed]. ... (check-in: 46de798a user: george tags: trunk)
12:24
Enhance "Changes to wiki page" entries within /timeline: turn the word "Changes" into a hyperlink to the corresponding /wdiff page. ... (check-in: 3a9090fc user: george tags: trunk)
2022-06-22
12:35
Fix a minor footnotes-related bug that was discovered by Stephan: if a free-standing footnote reference follows immediately after the exclamation mark then parse that as a footnote (and not as an image). This check-in also postpones initialization of a few local variables within char_link() function (which may save a few CPU cycles). ... (check-in: 97b28fea user: george tags: trunk)
2022-06-12
19:32
Add extsrc/pikchr.wasm to the list of binary blobs. ... (check-in: 13cd92de user: george tags: trunk)
2022-06-04
23:09
Supply elements in submenus with additional specific CSS classes. For each submenu element a corresponding classname is derived either from the visible label (for hyperlink-like submenu elements) or from the name of the distinguishing query parameter (for other items). ... (check-in: e8a051e6 user: george tags: trunk)
2022-05-28
14:38
Ignore columns of the TICKET and TICKETCHNG tables that contain spaces in their names. Such ticket fields could not be properly tracked by the earlier versions of Fossil because a ticket field name isn't fossilized when an artifact is constructed. ... (check-in: dbcb4469 user: george tags: trunk)
2022-05-25
20:52
Clarify the documentation: say explicitly that Clone capability, "g" provides read access to tickets, wiki and forum; and that Write capability, "i" implies that changes to tickets, wiki and forum are also accepted from clones upon syncronization. ... (check-in: 6e5337e8 user: george tags: trunk)
2022-05-24
20:32
If neither TICKET nor TICKETCHNG table has regular "mimetype" column then generated "mimetype" columns of these two tables are queried and used during the extraction of backlinks from ticket change artifacts. See forum post 40c1208a0f84 for rationale. ... (check-in: 6fb642c0 user: george tags: trunk)
2022-05-18
22:52
Fix a couple of invokations of backlink_extract() that were overlooked in the previous check-in. ... (Closed-Leaf check-in: 33c67c28 user: george tags: generated-tkt-mimetype)
20:21
Add support for generated "mimetype" column in the TICKET table. Introduce integer mimetype codes and refactor backlink_extract() accordingly. Make the overall handling of the generated "mimetype" columns a bit more clear. ... (check-in: e39f7790 user: george tags: generated-tkt-mimetype)
2022-05-14
20:52
Handle a possible existence of the additional checkbox introduced in [29a24941ed9bf4]. ... (Leaf check-in: 76844c35 user: george tags: wcontent-subsets)
19:12
A tiny optimization inside of ticket_insert(): rearrange two db_finalize() calls in order to avoid additional malloc() for zMimetype. ... (check-in: 563c6b9e user: george tags: generated-tkt-mimetype)
18:27
If "mimetype" column of the TICKETCHNG table is a generated column, than use these generated values for extraction of backlinks from the ticket-changes. ... (check-in: 5ab73ab8 user: george tags: generated-tkt-mimetype)
17:42
Fix a subtle bug in ticket_insert() which may lead to redundant rows in the BACKLINK table. The bug appeared in [7c13a57358ae]. ... (check-in: 3b42738e user: george tags: generated-tkt-mimetype)
2022-05-13
23:35
If TICKETCHNG table has TKT_USER column then make the values in that column match to the corresponding U-cards. Add TKT_USER to the default schema. See forum thread 5593538afb77 for rationale. ... (check-in: cf00d07c user: george tags: trunk)
2022-05-11
21:23
Ensure that $requested_page is always initialized. This is a follow-up to [c68fa2edd76d90] that fixes a bug in [b05a6c6bc826d3]. ... (check-in: a44e3c73 user: george tags: trunk)
2022-05-09
21:22
Supply TH1 interpreter with two auxiliary variables: $requested_page (holds the first segment of the requested PATH_INFO) and $canonical_page (holds the canonical name of a web-page being served). Also amend default HTML header: add two corresponding classes to the BODY element and move <meta charset="UTF-8"> to the top. ... (check-in: b05a6c6b user: george tags: trunk)
2022-05-08
20:40
Rename proposed column to tkt_user which seems more natural. Amend default schema to create this column (and also drop a nearby comment). Add a tiny optimization to getAllTicketFields(). ... (Closed-Leaf check-in: 6d95ae4f user: george tags: tkt-ucard)
2022-05-01
21:00
Add support for optional tkt_ucard column of the TICKETCHNG table. If this column is present then its value is populated from the U-card of the corresponding artifact. ... (check-in: d681e1dc user: george tags: tkt-ucard)
20:53
Minor code clean-up inside of ticket_insert() function. ... (check-in: 3e4ba24e user: george tags: tkt-ucard)
2022-04-23
21:32
Extend Markdown with footnotes support. See known limitations and the corresponding forum thread. ... (check-in: 3990518b user: george tags: trunk)
17:23
Change signature of add_inline_footnote() 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: 0850862e user: george tags: markdown-footnotes)
15:56
Fix a possible heap-buffer-overflow in parse_htmlblock() introduced by [1e919d601f774fdb]. This is not related to footnotes but was revealed by fuzzing (case 80cbb6b185807e98a953426af7b1f802c9d13957). ... (check-in: bc4c5b63 user: george tags: markdown-footnotes)
2022-04-22
12:49
Remove redundant assert() 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: cab8a586 user: george tags: markdown-footnotes)
2022-04-21
22:31
Add a test case for fragment-bounded footnote that contains markup within the corresponding text fragment. ... (check-in: d38ec43d user: george tags: markdown-footnotes)
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: c5456211 user: george tags: markdown-footnotes)
13:36
Revert Makefile.in to normal builds (leave a few comments about fuzzing). ... (check-in: 94077966 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 '-fsanitize=fuzzer,undefined,address -DFOSSIL_FUZZ' appended to TCCFLAGS in Makefile.in. It's noteworthy that the ',undefined,address' 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: 31e5df5f user: george tags: markdown-footnotes)
2022-04-19
15:25
Remove unnecessary field from the auxiliary union 'bitfield64_t' and amend the corresponding comments. Also add comment about FOOTNOTES_WITHOUT_URI macro. ... (check-in: cf1e9691 user: george tags: markdown-footnotes)
2022-02-23
12:33
Count overnesting as the fourth type of the footnote-related issues and report accordingly. ... (check-in: ae297bb6 user: george tags: markdown-footnotes)
09:45
Minor refactoring. Move the definition of BLOB_APPEND_LITERAL() macro from markdown_html.c to blob.c so that it could be used outside of markdown_html.c. Also rename it to lowercase for consistency with other API. Within markdown.c use that newly available macro instead of blob_append_string(). Within markdown_html.c use it for footnotes-relevant code. Other invocations of BLOB_APPEND_LITERAL() within markdown_html.c are left intact (they use an alias) in order to simplify the potential merge with the trunk. ... (check-in: c8a8d0c9 user: george tags: markdown-footnotes)
08:21
Minor refactoring. Move the definition of BLOB_APPEND_BLOB() macro from markdown_html.c to blob.c so that it could be used outside of markdown_html.c. Also rename it to blob_appendb() for consistency with blob_appendf() and other API. Within markdown.c use that newly available macro where appropriate. Within markdown_html.c use it for footnotes-relevant code. Other invocations of BLOB_APPEND_BLOB() within markdown_html.c are left intact (they use an alias) in order to simplify the potential merge with the trunk. ... (check-in: 33a681eb 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: 875472a8 user: george tags: markdown-footnotes)
2022-02-21
05:14
Add a comment for append_footnote_upc(). Also substitute a variable of zero value with just "0" constant. No functional changes. ... (check-in: ae8a3dd5 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: f4ff013a user: george tags: markdown-footnotes)
2022-02-20
23:00
If there are issues with footnotes then set TH1 variable $footnotes_issues_counters 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 warn about issues with footnotes in the header of a page.
Also fix counting of "joins": count the number of unique labels that have multiple definitions (and not the number of such definitions).
... (check-in: 773cef5c user: george tags: markdown-footnotes)
2022-02-19
01:59
Fix hyperlinks on the /winfo page. These were broken when a page was accessed through /info/HASH or /winfo/HASH aliases. ... (check-in: 356a4845 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: e06c12d1 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 is_footnote() function. ... (check-in: fe315780 user: george tags: markdown-footnotes)
2022-02-18
01:33
Add --lint-footnotes option to the test-markdown-render command. If this flag is given and footnotes in the input have issues, then print to stderr the counters of "misrefs", "strays" and "split-defs" and exit with error. This should partially address a concern raised at the forum. ... (check-in: 1f525713 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: 92516ced user: george tags: markdown-footnotes)
00:17
Clean-up and rephrase some comments. ... (check-in: a62c8768 user: george tags: markdown-footnotes)
2022-02-16
23:08
Make parsing slightly faster and fix a comment. No changes in functionality. ... (check-in: a36dd09d user: george tags: markdown-footnotes)
22:11
Include REQUEST_URI into footnotes' hyperlinks. This should make links work even if base href (in a page's header) is not consistent with the REQUEST_URI. If FOOTNOTES_WITHOUT_URI macro is defined while compiling src/markdown_html.c then bare "#fragment" hyperlinks (without REQUEST_URI) are generated. ... (check-in: 2c1f8f35 user: george tags: markdown-footnotes)
2022-02-15
21:35
FIXME-comments in the code did not indicate issues and are now rephrased to be mere reminders. ... (Leaf check-in: d253ece0 user: george tags: base-href-fix)
02:26
Do not override base href for wiki pages. This needs testing. ... (check-in: 89dd3451 user: george tags: base-href-fix)
00:58
When setting $webpagename pass the value of g.zPath though escape_quotes(). This is unclear how g.zPath can contain quotes but let this strange case be handled in a safe way. ... (check-in: 288fe34c user: george tags: base-href-fix)
00:14
Move <meta charset="UTF-8"> to the begining of the default header. Supply BODY element with a class that derives from $webpagename. ... (check-in: 6d135904 user: george tags: base-href-fix)
2022-02-14
23:32
Minor code refactoring: rename a temporary variable and utilize matching_bracket_offset() one more time. No changes in functionality. ... (check-in: 5b845a07 user: george tags: markdown-footnotes)
23:06
Do not export g.zRelReqURI to TH1 interpreter because getParameter proc can retrieve PATH_INFO and QUERY_STRING. Instead export g.zPath (as $webpagename) since that is typically needed in the TH1 headers/footers of custom skins. ... (check-in: ff4c7ed6 user: george tags: base-href-fix)
22:43
Make style_set_base_href_suffix() safe for misuse: if the resulting suffix contains unescaped quotes then escape them. $base_href_suffix 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: d97752f3 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: 23c3e0b2 user: george tags: markdown-footnotes)
17:54
Rename variable g.zUrlSuffix to g.zRelReqURI (Relative Request URI). Provide it to TH1 interpreter as $relrequri. ... (check-in: 05e3fa76 user: george tags: base-href-fix)
16:00
Fix hyperlinks on the /winfo page. These were broken when a page was rendered through /info/HASH of /winfo/HASH aliases. ... (check-in: 5ce372ce 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 set_base_url() accordingly. ... (check-in: 5c649c7e user: george tags: base-href-fix)
2022-02-12
21:51
Add an overlooked call to style_set_base_href_suffix() in src/info.c and add a comment of why not to do so for /ext ... (check-in: 87fba731 user: george tags: base-href-fix)
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: b363a4db user: george tags: markdown-footnotes)
19:53
An attepmt to fix the <base href="..."> element of webpages so that the value of href attribute matches the URL being served. This should fix "#fragment" hyperlinks on all pages where these were broken (all except /doc). The values for /wiki and /info were left unchanged (it's yet unclear if they should also be changed). ... (check-in: 03b39f1d user: george tags: base-href-fix)
2022-02-11
01:26
Fix parsing of a multiline definition of labeled footnote for the case when lines end with CR+LF. ... (check-in: ea66d15c user: george tags: markdown-footnotes)
2022-02-10
23:30
Fix a warning for unused variable 'p' introduced by [487e465263fd21] ... (check-in: 8895d938 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: 2b1375ab user: george tags: markdown-footnotes)
00:29
Merge from trunk ... (Leaf check-in: 2b5f9b21 user: george tags: search-terms-highlighting)
00:22
Merge from trunk ... (Leaf check-in: a961a67b user: george tags: rptview-submenu-paralink)
00:17
Merge from trunk ... (check-in: 88ff4e5d user: george tags: wcontent-subsets)
00:12
Merge from trunk ... (Leaf check-in: 9b76469b user: george tags: th1-doc-vars)
00:05
Remove unused local variable from cgi_parse_POST_JSON() to fix a compiler warning. ... (check-in: 96bf76a4 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 html_escape(). Default skin makes such items visible and easily distinguishable. The order of such items match the order in the underlying source code. ... (check-in: ada55cd4 user: george tags: markdown-footnotes)
20:09
Join duplicated footnotes slightly faster. Fix a comment about auxiliary cmp_footnote_id() function. ... (check-in: 7f6a6418 user: george tags: markdown-footnotes)
19:38
Fix a misuse of an unsigned integer in the blobReallocMalloc() which can lead to redundant memory reallocations. ... (check-in: 92221aaa user: george tags: markdown-footnotes)
19:29
Fix a bug in the blob_reserve() function that was introduced by [1243bf39996b8a]. The current 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: 7283ae6e user: george tags: markdown-footnotes)
2022-02-08
14:09
An attempt to fix a "double free crash" from the previous check-in. ... (check-in: 18c9d103 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.
This check-in is known to cause crash, see the forthcoming check-in.
... (check-in: 544df852 user: george tags: markdown-footnotes)
13:39
Add const qualifier to the arguments of the blob_compare() function. ... (check-in: 2822b63b 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: 1787f6df user: george tags: markdown-footnotes)
2022-02-04
23:07
Handle misreferences: a reference to undefined footnote. ... (check-in: 28e6a9cd user: george tags: markdown-footnotes)
19:47
Minor code refactoring. ... (check-in: 2636e224 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: 6807b434 user: george tags: markdown-footnotes)
19:08
Add file test/markdown-test3.md that is suggested as an accumulator of footnotes-specific test cases. ... (check-in: fe9e6ff9 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: fb999972 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: 7229d0f5 user: george tags: markdown-footnotes)
00:37
Switch to (^...) for inline footnotes. Implement span-specific footnotes. Add documentation. ... (check-in: cae7a5d1 user: george tags: markdown-footnotes)
2022-02-02
17:50
Bug-fix: Do not loose referenced footnotes when inline footnotes are also used. ... (check-in: a8f0f1e7 user: george tags: markdown-footnotes)
2022-02-01
20:12
Support multiline footnote definitions and inline footnotes via ^[...] syntax (this syntax is not settled yet). Fix overall link support that was broken by [e3710ccd3a5a]. ... (check-in: 78b7846b user: george tags: markdown-footnotes)
2022-01-30
17:38
Do not assume little-endian architecture within to_base26() function. ... (check-in: 4b63b1ee 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: 50dcf92f user: george tags: markdown-footnotes)
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: e3710ccd user: george tags: markdown-footnotes)
2022-01-27
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: b9393a4e user: george tags: markdown-footnotes)
2022-01-26
14:50
Initial support for footnotes in Markdown.
This is WIP: support of multiline notes and code clean-up are pending.
... (check-in: ebce0f35 user: george tags: markdown-footnotes)
2022-01-21
20:34
Merge from trunk ... (check-in: 8d78eddd user: george tags: search-terms-highlighting)
20:24
Merge from trunk ... (check-in: 9094def2 user: george tags: rptview-submenu-paralink)
20:13
Merge from trunk ... (check-in: 5c0515e2 user: george tags: wcontent-subsets)
19:58
Merge from trunk ... (check-in: 6721c654 user: george tags: th1-doc-vars)
2021-11-21
10:32
Fix invokation of rebuild_db() from the src/json.c which was overlooked in the previous check-in. ... (check-in: 54ebad01 user: george tags: trunk)
2021-10-09
20:13
Merge in trunk (release 2.17) ... (check-in: c1868b9f user: george tags: search-terms-highlighting)
20:05
Merge in trunk (release 2.17) ... (check-in: a33f616e user: george tags: rptview-submenu-paralink)
19:50
Merge in trunk (release 2.17) ... (check-in: 315351f4 user: george tags: wcontent-subsets)
19:31
Merge in trunk (release 2.17) ... (check-in: 56e2d3ad user: george tags: th1-doc-vars)
2021-08-16
00:11
Relax isSnippetMark() so that almost arbitrary search terms are highlighted. This change is preliminary and needs further analysis. ... (check-in: 6b37b55f user: george tags: search-terms-highlighting)
2021-08-15
23:49
Merge from trunk ... (check-in: 59010c7c user: george tags: rptview-submenu-paralink)
23:27
Merge from trunk ... (check-in: 282c6f95 user: george tags: wcontent-subsets)
23:13
Merge from trunk ... (check-in: 5b67899d user: george tags: th1-doc-vars)
2021-07-01
20:32
Add a note to the changelog about DROP support within tickets schema definition. ... (check-in: f5b5991e user: george tags: trunk)
2021-06-22
00:30
Fix a subtle glitch in the Changelog. No code changes. ... (check-in: 2b073cc3 user: george tags: trunk)
2021-06-19
20:58
This should demonstrate a behavior of inline STYLE tags. Notice gray background of PRE elements in www/defcsp.md and the lack of it in www/webui.wiki. See forum thread 69f475cf48. ... (Leaf check-in: 1d276f7b user: george tags: inline-style-inconsistency)
02:29
Fix a possible "use-after-free" while rendering a /file page for the case when "ci" parameter is missing. This is a preliminary fix, it may introduce a (tiny) memory leak. ... (check-in: a6477bca user: george tags: trunk)
2021-06-17
23:34
Amend "Interwiki Tag Map" heading at the bottom of /md_rules and /wiki_rules pages: turn the word "Map" into a link to the /intermap page. ... (check-in: 50615990 user: george tags: trunk)
22:51
On the /rptsql page wrap a report's source code and the tickets schema with CODE elements having class="language-sql". ... (check-in: d3ca01a8 user: george tags: trunk)
2021-06-15
22:31
Do not allow links with "../" substring or '<' character. The former enforces that the link maps into a repo-local page; the later enforces defense against injection of malicious HTML elements. ... (check-in: 6261c94b user: george tags: rptview-submenu-paralink)
21:45
Merge from trunk ... (check-in: f4458559 user: george tags: rptview-submenu-paralink)
21:37
Merge from trunk ... (check-in: cea36e6c user: george tags: wcontent-subsets)
21:27
Merge from trunk ... (check-in: 1cf5c43e user: george tags: th1-doc-vars)
2021-06-12
18:43
Add support for submenu parametric hyperlinks for /rptview and /wiki pages. ... (Closed-Leaf check-in: 9690fc39 user: george tags: not-allowed.)
17:28
Add a note to the Changelog. No code changes. ... (check-in: 528d6289 user: george tags: rptview-submenu-paralink)
2021-06-08
01:04
Merge from trunk ... (check-in: 9712d59d user: george tags: rptview-submenu-paralink)
2021-05-25
16:14
Split recognizable names of query parameters into three groups: 1) "...smplX" for the common use within user content 2) "...smplXa" that is provisioned to be used in aliases; 3) "...smplXs" that is provisioned to be used in custom skins. In all three groups X is a digit from {1,2,3,4,5}. ... (check-in: 588b3765 user: george tags: rptview-submenu-paralink)
2021-05-22
12:40
In the submenu of the /rptview page: 1) add "Reports" that links to /reportlist page (see forumpost 612170e3); 2) fix a "Raw" link, that was incorrect for the case when /rptview is accessed through an alias. The later was addressed in [bed4b0f7fc58], but the bugfix was incomplete. Both of these amendments used to live on 'rptview-submenu-paralink' branch - this check-in places them on trunk. ... (check-in: 3e350682 user: george tags: trunk)
2021-04-26
19:45
Gracefully degrade to the old behaviour if a user's browser does not support URLSearchParams. ... (check-in: 262c0fb6 user: george tags: trunk)
19:26
Reinforce the previous for the case when access to non-existent field resolves to null (instead of undefined). ... (Closed-Leaf check-in: 8a7620e4 user: george tags: vdiff-context-glob)
19:12
Gracefully degrade to the old behaviour if a user's browser does not support searchParams() method for URLs. ... (check-in: 9ec88b57 user: george tags: vdiff-context-glob)
2021-04-22
01:40
Merge from 'brlist-timeline' which enables easy selection of several branches on the /brlist page. A special hyperlink in the submenu of /brlist page interactively tracks which branches are checked and points to the /timeline view of just these selected branches. ... (check-in: 5df47469 user: george tags: trunk)
01:09
Minor refactoring: unite two similar code fragments using new auxiliary function amendAnchor(). ... (Closed-Leaf check-in: f2348f27 user: george tags: brlist-timeline)
00:26
Apply encodeURIComponent() function to the generated regular expression before appending it to the hyperlink's prefix. This should handle some awkward characters within branch names. Spaces and commas are a noteworthy examples of characters that still should be avoided within branch names. ... (check-in: 6281f24e user: george tags: brlist-timeline)
2021-04-21
20:53
Enable interactive adjustment of the set of wiki pages that are listed on the /wcontent page. Corresponding submenu controls can be configured by the administrator to fulfill local needs and constraints. ... (check-in: 79713433 user: george tags: wcontent-subsets)
2021-04-19
16:45
Do not use bold font for the "View X branch(es)" hyperlink. ... (check-in: 08b90535 user: george tags: brlist-timeline)
16:08
Display "View 1 branch" hyperlink if just one branch is selected. Add documentation to the www/javascript.md and to the changelog. Also minor CSS tweaks. ... (check-in: c6a061f2 user: george tags: brlist-timeline)
01:01
Rename 'Timeline' submenu link into 'View X branches' that is shown only if two or more branches are selected. Also some minor code refactoring for better compatability with old versions of WebView. ... (check-in: 00891cba user: george tags: brlist-timeline)
2021-04-18
20:11
Fix the previous: add the fossil.page.brlist.js script which was forgotten. ... (check-in: 6f5a5643 user: george tags: brlist-timeline)
19:59
Improve /brlist page so that several branches can be easily selected for the dedicated study via /timeline page. This is implemented using simple JavaScript that interactively changes a special hyperlink in the submenu of /brlist page. See forum thread 07c94e4d7c. ... (check-in: 08433ff8 user: george tags: brlist-timeline)
2021-04-14
18:48
If a parameter's value starts with an uppercase letter then truncate resulting label to just the first path segment. This check-in also adds a few code-comments related to %s formatting. ... (check-in: b75ee4f2 user: george tags: rptview-submenu-paralink)
2021-04-10
04:30
Fix dereferencing of NULL-pointer in 'pWiki' for the case when non-existent wiki page is requested. ... (check-in: 735a7051 user: george tags: th1-doc-vars)
2021-04-09
04:21
Remove useless 'nMaxDigit' parameter from the signature of the style_submenu_parametric(). Also edit a corresponding comment. ... (check-in: d1651e7e user: george tags: rptview-submenu-paralink)
02:58
Use "Reports" for the /reportlist element, as per [1a1c0ebe3cf9]. Also be more pedantic when composing user-visible labels for the parameter-induced hyperlinks. ... (check-in: 8861a68e user: george tags: rptview-submenu-paralink)
2021-04-07
03:10
Make some auxiliary Th1 variables available within skins' header/footer. For /doc, /uv and /wiki pages put into "artifact_hashsum" variable (and also into its page-specific variant) a full identifier of the requested file or wiki. For /wiki pages also provide "wiki_editor" and "wiki_timestamp" variables. There is an old forum thread on the topic and another thread on a little bit related issue. ... (check-in: 80e062e1 user: george tags: th1-doc-vars)
2021-04-04
15:42
Allow to DROP some specific tables, views and indices that could be introduced into the database schema of a repository through customization of ticketing subsystem. For example, DROP may be required due to the need to update tickets configuration of the already deployed repository. See the forum thread c9b8322fde for discussion. (Update) Security risk. Do not merge to trunk. ... (check-in: ca175c61 user: george tags: tktschema-allow-drop)
2021-03-31
22:53
Fix (URL-decode) a hyperlink that gets into clipboard when user selects a line of code (or a range of lines) and clicks "copy-to-clipboard". This affects /file, /artifact and /whatis pages. This fix may be somewhat suboptimal or incomplete: it may be worth investigating why some submenu's links are mangled on a server's side and fix it there (hint: perhaps %T and %h formatting does not play well with style_submenu_*() family of functions, see also check-in [b982c00150] and post b8ea664a57). ... (check-in: 89815187 user: george tags: trunk)
20:42
Fix broken hyperlink at www/caps/index.md. Also substitute "most recent version" in the QuickStart with "checkout version" that seems more specific (checkout may very well correspond to a historic version). ... (check-in: 68344d62 user: george tags: trunk)
2021-03-26
20:16
Append to the list of changes in v2.15 an item about /whistory. ... (check-in: 920b7079 user: george tags: trunk)
18:25
Integrate rptview-submenu-paralinks branch. For this check-in parametric links in submenus are enabled on /rptview page (may be triggered by rvsmpl, rvsmplX, rptview_smpl, rptview_smplX parameter names) and also for /wiki page (may be triggered by wikismpl, wikismplX parameter names). See also forum threads 612170e310 and 8cc4931e69. ... (check-in: 5c5aa19c user: george tags: trunk)
17:59
Merge-in changes from trunk (~ version 2.15) ... (check-in: 29067107 user: george tags: rptview-submenu-paralink)
17:20
Allow a page's submenu to have multiple parametric hyperlinks induced by several different query string parameters. Use a common suffixes (smpl,smpl1,...smpl9) to probe for defined parameters. Relax constraints on hyperlink values to allow linking to wiki pages (for example). As a proof of concept add support of paralinks to the /wiki page. Get rid of dangling '&' at the endings. ... (check-in: d075801a user: george tags: rptview-submenu-paralink)
2021-03-25
04:11
At /rptview page show link to /reportslist. If request's query string contains rvsmpl parameter then also show an auxiliary link to the page defined by the value of this parameter. Labels and links rendered via %s format specifier because %h and %T did not work properly. In this particular case this seems fine because style_finish_page() renders HTML via %h(...). Code review is very welcome though. ... (check-in: b982c001 user: george tags: rptview-submenu-paralink)
2021-03-24
04:25
Always include a report number parameter into the report's "Raw" link (at the top of the /rptview page). This fixes the glitch for the case when the report number is "hidden" within URL alias. ... (check-in: bed4b0f7 user: george tags: trunk)
2021-03-23
14:50
Implement selection of two arbitrary versions of a wiki for comparison (radio-button selects a baseline, anchor sign clears this selection). Also let several sequential edits by the same user be "recycled" into a single row. Effectively this backouts [cef8425cf4a482a3]. See also a forum thread ... (check-in: 6ebf5c7c user: george tags: trunk)
13:31
Merge changes from trunk ... (Closed-Leaf check-in: 9ff7d9e5 user: george tags: wiki-history)
2021-03-16
17:33
Make timestamps displayed on forum posts consistent with those on timeline. Technically this means that forum rendering now respects (repo-local) "timeline-utc" setting ... (check-in: c67f5bf2 user: george tags: trunk)
2021-03-13
22:15
Avoid segfault while serving /wdiff page with empty "pid" parameter in a query string. Segfault occurs due to dereferencing of a NULL pointer in pW2, which happens because both name_to_typed_rid("","w") and manifest_get(0,...) return 0. ... (check-in: 7b81aac1 user: george tags: wiki-history)
21:39
Merge from trunk ... (check-in: 1a403a7a user: george tags: wiki-history)
2021-02-25
14:55
Merge from trunk ... (check-in: 7e755346 user: george tags: wiki-history)
14:15
Rearrange the JavaScript code as a handler of the 'load' event; this keeps the global scope clean from the supplementary variables. ... (check-in: ec55e51c user: george tags: wiki-history)
2021-01-20
19:19
Merge version-2.14 ... (check-in: 0e31c8d2 user: george tags: wiki-history)
2020-12-15
20:50
Merge from trunk ... (check-in: 7b9ca24c user: george tags: wiki-history)
2020-12-14
20:38
Merge from trunk ... (check-in: 959699bf user: george tags: wiki-history)
20:34
Merge from trunk ... (check-in: df330b70 user: george tags: wiki-history)
2020-11-17
18:46
Merge-in trunk ... (check-in: f4a75745 user: george tags: wiki-history)
18:38
Merge-in styling improvements from trunk ... (check-in: bb159b9e user: george tags: wiki-history)
17:55
Merge version-2.13 ... (check-in: 98b44710 user: george tags: wiki-history)
2020-10-10
17:54
Merge in trunk ... (check-in: 7803cfef user: george tags: wiki-history)
2020-08-26
16:11
Merge in trunk (check-in [9543ddbef2]) ... (check-in: b56460fc user: george tags: wiki-history)
15:52
Merge in trunk (check-in [f741baa6be]) ... (check-in: 5d4a57f2 user: george tags: wiki-history)
13:31
Merge in trunk (version-2.12.1) ... (check-in: 62c31630 user: george tags: wiki-history)
12:44
Merge in trunk (version-2.11.2) ... (check-in: 4f5bda65 user: george tags: wiki-history)
2020-05-26
18:27
Merge in trunk (version-2.11) ... (check-in: 6819e2ff user: george tags: wiki-history)
2020-04-26
23:10
Merge in trunk ... (check-in: 161a2106 user: george tags: wiki-history)
2019-12-01
20:18
Special UI controls added onto the /whistory webpage for easy comparison of arbitrary versions of a wiki page. ... (check-in: ec04c8b4 user: george tags: wiki-history)