Fossil

Timeline
Login

Timeline

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

105 check-ins using file src/branch.c version eda96651

2019-01-02
07:24
Oops, fallen for testing built-in versus customized skin, fix the previous check-in. ... (Closed-Leaf check-in: dac9293b user: florian tags: js-hamburger-menu)
07:03
Less rigid string-to-number conversion for the custom "data-anim-ms" attribute. ... (check-in: e4a18b67 user: florian tags: js-hamburger-menu)
2018-11-28
23:43
Minor stylistic changes to the comment formatter. ... (Closed-Leaf check-in: cc9c422d user: drh tags: comment-formatter-utf8)
2018-11-24
07:49
Minor optimizations: drop a few redundant comparisons and calculations, and take advantage of the logical AND short-circuit by testing the least expensive and most unlikely condition first. Also fold away the iterative comments into cross references. ... (check-in: 490d38ff user: florian tags: comment-formatter-utf8)
07:16
Fix two bugs (introduced with this branch) that become manifest with invalid UTF-8 sequences. ... (check-in: b86a2fc7 user: florian tags: comment-formatter-utf8)
2018-11-16
19:39
Fix a bug (already present on trunk) with the (non-legacy) comment printing algorithm, detected while running the regression tests from test/comment.test with UTF-8 text: the function to print the indent (modified to a calculate-only function on this branch) was handed a pointer to the current line index and the current line index, thus performing checks at (current line index * 2), causing random increments of the current line index. ... (check-in: 70dd8f74 user: florian tags: comment-formatter-utf8)
14:02
More coding style fixes. ... (check-in: 2dca9b82 user: florian tags: comment-formatter-utf8)
11:26
Coding style fixes. ... (check-in: aadbbb38 user: florian tags: comment-formatter-utf8)
11:14
For better word breaking results with the (non-legacy) comment printing algorithm, make sure the lookahead to the next space character is UTF-8-aware. Also make sure the per-line remaining character count is decremented properly for UTF-8 sequences. The neuralgic points now handle UTF-8 sequences correctly, and they could be enhanced to work with the effective display width, if required (to handle combining characters, and East Asian Wide and Fullwidth characters). ... (check-in: c9ec3d18 user: florian tags: comment-formatter-utf8)
2018-11-15
15:32
Ensure the line buffer for the legacy comment printing algorithm can hold maximum-length UTF-8 sequences. ... (check-in: 29d3a2ed user: florian tags: comment-formatter-utf8)
15:16
Fix a problem with initial indent introduced by the previous check-in, so that all regression tests from test/comment.test now succeed. Also eliminate three more calls to fossil_print(). Regarding performance, the legacy comment printing algorithm is outnumbered by factor 2-3, with these changes. ... (check-in: b029ed22 user: florian tags: comment-formatter-utf8)
12:43
Add output buffering to the (non-legacy) comment printing algorithm, to reduce calls to fossil_print(). The resulting performance improvement can be up to factor 10, with a perceptible difference even for short comments (measured and tested on Windows with MSVC builds, and on Ubuntu with GCC builds). (For comparison: for the legacy comment printing algorithm, the extra UTF-8 checks added by this branch impair performance by 0.12-1.8%, depending on whether the input contains predominantly multi-byte vs. ASCII-only sequences.) ... (check-in: 16fde3ff user: florian tags: comment-formatter-utf8)
2018-11-02
15:21
Enhance makeheaders so that it is able to deal with static_assert() statements. (These do not come up in Fossil itself. This check-in is in response to use of Makeheaders by external projects.) ... (check-in: 8cecc544 user: drh tags: trunk)
13:48
Enhance the repository list page so that it shows the name of project for each repository, and so that the "Last Modified" time is based on the most recent event in the repository, not the repository file mtime. ... (check-in: cdea59dc user: drh tags: trunk)
13:08
Split out the repo_list_page() routine, used to generate the repository list for "fossil all ui" and similar, into a separate source file "repolist.c" to make it easier to enhance and maintain. ... (check-in: 45a71349 user: drh tags: trunk)
2018-10-21
18:38
Update custom MinGW makefile. ... (check-in: 1c32c5b8 user: mistachkin tags: trunk)
2018-10-20
15:00
Fixed an off-by-one error in the error log header printer, resulting in the day number being for the next day past the call time. Bug diagnosis and fix from https://fossil-scm.org/forum/forumpost/0d5933da4c ... (check-in: cf9b44a9 user: wyoung tags: trunk)
2018-10-19
22:37
Now that type has changed due to [d0fa9eee56], cast back to match total variable. ... (check-in: 77371043 user: andybradford tags: trunk)
22:12
Use a signed type to avoid an infinite loop in socket_send(); socket_receive() is already fine. ... (check-in: d0fa9eee user: andybradford tags: trunk)
2018-10-17
23:53
Enhance the security-audit page to detect insecurities resulting from having self-registration enabled. This is a work in progress. More testing and more checks are needed in this area. ... (check-in: 724ccc46 user: drh tags: trunk)
14:16
Modify the comment formatter to avoid output of incomplete UTF-8 sequences, and to avoid line breaks inside UTF-8 sequences. See https://fossil-scm.org/forum/forumpost/1247e4a3c4 for detailed information and tests. ... (check-in: 1bbca2c3 user: florian tags: comment-formatter-utf8)
2018-10-14
06:46
Backout [4d384ed875] and [5677271a1c] to simplify the hamburger menu customization template. ... (check-in: bf8946a1 user: florian tags: js-hamburger-menu)
06:44
Remove leftover IE8 compatibility code, as the hamburger menu never worked with this browser. (The hamburger button would be replaced with a non-scripted link to the sitemap, if JS processing got this far.) ... (check-in: b0043203 user: florian tags: js-hamburger-menu)
2018-10-12
16:18
For consistency, HTMLize another TH1 variable, though not sure if this is required, see https://fossil-scm.org/forum/forumpost/bc0b6ce4a1. ... (check-in: 5677271a user: florian tags: js-hamburger-menu)
16:16
Switch away from classic (bubbling-only) event handling to simplify management of temporary handlers, and to have the ESC key listener use a priority (capturing) handler, to prevent any other keydown handlers or default actions for the ESC key while the panel is open. This does not change the compatibility test results summarized here: https://fossil-scm.org/forum/forumpost/f425a1756c. (IE8 halts JS processing at JSON.parse in antiRobotDefense, anyway.) Also, for non-compatible browsers, there's a new fallback to transform the hamburger button into a simple (non-scripted) link to the sitemap. ... (check-in: e3376829 user: florian tags: js-hamburger-menu)
16:14
Fix a comment on the "html" and "puts" TH1 commands. Before this fix, the meanings of the two commands were reversed. ... (check-in: 35563f3d user: drh tags: trunk)
16:08
Alternative name for the "customskin" document in the document index. ... (check-in: 2aa4ef94 user: drh tags: trunk)
2018-10-11
16:36
Cancel the timer to remove the border of the hamburger menu panel after the closing animation, if the menu is closed and immediately reopened by double-clicking the hamburger button. ... (check-in: c73deeb6 user: florian tags: js-hamburger-menu)
16:36
Recalculate the dimensions of the hamburger menu if the browser window is resized. ... (check-in: 7c724cf7 user: florian tags: js-hamburger-menu)
16:36
Fix the hamburger menu template from the documentation to ensure TH1 variables are properly HTMLized. ... (check-in: 4d384ed8 user: florian tags: js-hamburger-menu)
16:36
Enable customization of the hamburger menu through the default skin header.txt. ... (check-in: 497dbb35 user: florian tags: js-hamburger-menu)
16:36
Extend the CSS fixes to avoid column breaks inside list items, [dc5e06ff71] and [51da396650], as Firefox classifies 'break-inside' as an 'invalid property name'. This affects the sitemap and the hamburger drop-down menu. ... (check-in: 5bd8d6fe user: florian tags: js-hamburger-menu)
16:36
Read the CSS transition style to be restored later directly from the (previously initialized) style property, as window.getComputedStyle() seems to return null with Firefox, in this specific case. This fixes a problem introduced with the previous check-in. ... (check-in: c6735b38 user: florian tags: js-hamburger-menu)
16:36
Allow the hamburger menu to be closed instantly by pressing ESC or by clicking outside. This is the patch initially submitted to https://fossil-scm.org/forum/forumpost/2abe305c2d, with the interim changes incorporated. ... (check-in: a44fdd17 user: florian tags: js-hamburger-menu)
09:39
Fix minor inaccuracy in the number of years in the human_readable_age() function. ... (check-in: e93ae526 user: drh tags: trunk)
2018-10-10
19:49
Applied a patch by forum user vor0nwe to allow the WYSIWYG wiki page editor to work in the face of the new CSP restrictions on inline JavaScript. The patch and explicit license for inclusion in Fossil are here: https://fossil-scm.org/forum/forumpost/6985a4754e ... (check-in: 543cdd47 user: wyoung tags: trunk)
16:42
Removed a period at the end of a sentence ending in a URL to avoid the need for cleverness in URL handling to get the correct document to open. (Affects "fossil help grep" output.) Problem noticed by jungleboogie on the forum, /forumpost/13332107cc.) ... (check-in: fac3d6b0 user: wyoung tags: trunk)
2018-10-09
16:06
Added a nonce attribute to the <script> tag for the inline JavaScript backing the WYSIWYG wiki editor feature. Without this, modern browsers throw a CSP violation. ... (check-in: 12a90ff4 user: wyoung tags: trunk)
15:21
Bolded the card letters in fileformat.wiki and normalized 'X card' vs 'X-card' vs '"X" card' to make it easier to search for a given card type in the document. ... (check-in: a1437b24 user: wyoung tags: trunk)
13:57
Update to SQLite 3.25.2 final ... (check-in: 04a21428 user: jan.nijtmans tags: trunk)
12:28
Fix a conflict when syncing forum posts. ... (check-in: 8a980fde user: drh tags: trunk)
12:22
Fix a minor hyperlink problem in the bootstrap skin. ... (check-in: 7ca68af0 user: drh tags: trunk)
2018-10-06
23:02
Added the mv/rm files change to the 2.7 changelog ... (check-in: be1bc912 user: wyoung tags: trunk)
17:10
Fixed an HTML typo in the /help page, reported by "Z03": (https://fossil-scm.org/forum/forumpost/13c80e13e2 ... (check-in: 1f4a9eb9 user: wyoung tags: trunk)
14:14
The "fossil help -o" command shows command-line options that are common to all commands. ... (check-in: 50eb6bd5 user: drh tags: trunk)
2018-10-04
18:35
Activate CSP for the bootstrap skin. ... (check-in: a762ba1f user: drh tags: trunk)
14:56
On the /setup_ucap_list page, show the number of users having each capability, with a link to a list of users. This only works for administrators. ... (check-in: 59442179 user: drh tags: trunk)
14:08
Update list of common commands in man page ... (check-in: cc6f7a92 user: andygoth tags: trunk)
13:45
Allow users with Forum Supervisor permission ('6') to add Forum Write Trusted permission ('4') to users as they are approving a post by that user. ... (check-in: d33d446f user: drh tags: trunk)
12:52
Remove the SQLITE_ENABLE_FTS3_PARENTHESIS compile-time option from default builds. This avoids problems that might arise when users type parentheses in search boxes that use FTS. ... (check-in: 9dc49e61 user: drh tags: trunk)
07:36
Avoided a crash in Fossil > Admin > Notification > Send Announcement triggered when no subscribers are set up, causing it to fail on Submit if you tell it to send the announcement to all subscribers. The check also guards against sending such things before email alerts are set up. In either case, the "Send Announcmeent" page gives an error pointing you to the docs, rather than a form that cannot be successfully submitted. ... (check-in: ea646955 user: wyoung tags: trunk)
07:13
Fixed an off-by-one error affecting "fossil grep" when the final argument was left off. ... (check-in: f6502e8c user: wyoung tags: trunk)
06:20
Commented out the -lm option added to Makefile.classic recently: libm doesn't exist on all platforms. ... (check-in: 729360ec user: wyoung tags: trunk)
2018-10-03
22:23
Checkin [15e1dcd058b5b3e1] had no useful effect: we need to set this flag at the "make" level, not as a C preprocessor flag. Not backing it out because the change is harmless as well as useless. ... (check-in: f08a09ca user: wyoung tags: trunk)
21:52
Added -lm to LIB in Makefile.classic to allow src/piechart.c to build on systems where the trig functions are in libm. ... (check-in: ba71b359 user: wyoung tags: trunk)
21:51
Added -DUSE_LINENOISE to Makefile.classic, since it's built into Fossil, and that build system has no way to find or use libedit or libreadline intead. ... (check-in: 15e1dcd0 user: wyoung tags: trunk)
21:25
Listed the actual differences between fossil grep options and those defined by POSIX in www/grep.md. ... (check-in: d5499091 user: wyoung tags: trunk)
21:11
Added a spec reference to POSIX grep, and fixed a typo. ... (check-in: 9fc411ab user: wyoung tags: trunk)
20:20
Expanded a few of the sections in the new www/grep.md doc ... (check-in: f984d331 user: wyoung tags: trunk)
20:11
URL fix ... (check-in: 186748ff user: wyoung tags: trunk)
20:09
Moved the documentation for Fossil's grep implementation out of src/regexp.c into a new document with greatly-expanded content, www/grep.md, which is now referenced both from the source code and in the output for "fossil help grep". ... (check-in: 2e1775e2 user: wyoung tags: trunk)
20:09
Added an entry for `fossil grep` to the www/changes.wiki file in the 2.7 section. Somehow this addition wasn't noted prior to the release. ... (check-in: 9e1faa02 user: wyoung tags: trunk)
16:52
Remove uncommonly used commands from the set of "common" commands in the "fossil help" listing. ... (check-in: 29313518 user: drh tags: trunk)
2018-10-01
06:21
Merged branch libbind-ns-alternative: I haven't found any platform where this won't build. It doesn't enable libbind or use libresolv better on every platform where it might possibly work, but at the very least it avoids build errors everywhere I've tried it. ... (check-in: 71c298f3 user: wyoung tags: trunk)
2018-09-29
17:51
New document: Fossil as Blockchain. ... (check-in: a937c69e user: drh tags: trunk)
02:23
Update man page to sync with www/index.wiki ... (check-in: 50c2a14d user: andygoth tags: trunk)
02:18
Run "tools/man_page_command_list.tcl fossil.1" to update Fossil man page to include new "common" commands, according to the output of "fossil help" ... (check-in: 7f890aa4 user: andygoth tags: trunk)
2018-09-28
20:54
Document reference links having no second set of square brackets ... (check-in: 2856830e user: andygoth tags: trunk)
14:59
Fix typo in the event.wiki page. ... (check-in: 335d5295 user: drh tags: trunk)
2018-09-27
02:17
Guess that agents with "iPad" in their name do not want the narrow screen versions of the page. ... (check-in: b76eebea user: drh tags: trunk)
2018-09-26
19:46
Update to SQLite 3.25.2 ... (check-in: c7db0ee5 user: jan.nijtmans tags: openssl-1.1)
18:45
"New Message" -> "New Thread" in forum. ... (check-in: e11d3917 user: wyoung tags: trunk)
18:39
Setup and Admin users that are in the subscriber table were getting email alerts only if they had explicit moderator capabilities set. Those with bare "s" or "a" weren't getting notified. ... (check-in: 1d3dd1d9 user: wyoung tags: trunk)
14:04
Enable the chronological forum display for all users able to read the forum. Make chronological the default display mode for mobile devices, as determined by the user-agent string. ... (check-in: c720327a user: drh tags: trunk)
13:33
When clicking on a username in the timeline, link to a timeline that shows *all* events for that user. In other words, override the display-cookie y= query parameter by providing an explicit y=a query term. ... (check-in: 6313d0a8 user: drh tags: trunk)
2018-09-25
17:26
Update the built-in SQLite to the 3.25.2 release candidate, for testing. ... (check-in: 5fdd5312 user: drh tags: trunk)
2018-09-22
19:37
Update to Fossil 2.7 ... (check-in: 9d067b61 user: jan.nijtmans tags: openssl-1.1)
17:40
Version 2.7 ... (check-in: 9aa9ba8b user: drh tags: trunk, release, version-2.7)
17:09
Typo fix ... (Closed-Leaf check-in: b6c490ce user: tangent tags: libbind-ns-alternative)
17:02
Added a check for ns_parserr(), which we currently don't know how to find on OpenBSD. This also fixes a logic error in auto.def which would cause the warning that this feature won't be compiled to not be given. ... (check-in: f99e7632 user: wyoung tags: libbind-ns-alternative)
16:55
Removed the "Linux" platform test from the DNS MX stuff in src/smtp.c. You should always test for features, not platforms, and we've now got the feature tests we need to replace this too-broad platform test. ... (check-in: 5358fe95 user: wyoung tags: libbind-ns-alternative)
16:38
Replaced the call to the undocumented ns_name_uncompress() function with dn_expand(), which is documented, at least on OpenBSD, and it's shorter. Then made ns_name_uncompress() and __ns_name_uncompress() fallbacks for this, with suitable autosetup tests for all of it. ... (check-in: d0fb5ac7 user: wyoung tags: libbind-ns-alternative)
06:57
Fix to previous for CentOS 7. ... (check-in: c7640b38 user: tangent tags: libbind-ns-alternative)
06:46
The previous checkin on this branch prevented src/smtp.c from both building and linking because the code previously assumed that it could only build against libresolv for MX lookups and such on Linux, but the checkin gave it enough slack to *attempt* to build on macOS. This checkin prevents that from happening if run on stock macOS, but if you install libbind via Homebrew, it also opens up the possibilty to biuld against it for the first time. It's a complicated sequence of checks due to the way libbind interacts with the stock libresolv. This means we have yet more reason to want to test this widely before merging it to trunk. ... (check-in: 4d9970f6 user: wyoung tags: libbind-ns-alternative)
05:47
Added autosetup checks for alternative libraries and names for the res_query() and ns_*() functions that module smtp.c previously depended on finding in libresolv/glibc. Checking it in on a branch because it needs multiplatform testing. This version solves the problem originally reported on the forum by Andy Goth, being that the current trunk doesn't build on CentOS 5. ... (check-in: ed3b1e4d user: wyoung tags: libbind-ns-alternative)
04:21
Add build directories to ignore-glob. ... (Closed-Leaf check-in: bddd4961 user: ashepilko tags: build-ignore-glob)
00:54
Second attempt at blockquote styling, this time restricting it to forum posts only. (Previous: [2190f86c324d0]) ... (check-in: c285cd08 user: wyoung tags: trunk)
00:22
Fix the indented paragraph on the homepage. ... (check-in: 0d7ac90d user: drh tags: trunk)
2018-09-21
13:57
Avoid unnecessary quoting of ASCII characters 34 and 39 in the markdown formatter. ... (check-in: 7950dc22 user: drh tags: trunk)
12:34
Back out the block-indentation CSS change from check-in [2190f86c324d0f57fa4f8]. ... (check-in: eae0a982 user: drh tags: trunk)
01:52
Replaced the "hasOwnProperty" test for CSS transition support in the animated hamburger menu JS code with a better test that not only works on old IE but also on some truly ancient versions of SeaMonkey, Firefox, Chrome, etc. ... (check-in: ee074372 user: wyoung tags: trunk)
2018-09-20
15:55
Updates to the change log for the upcoming 2.7 release. ... (check-in: 450e8723 user: drh tags: trunk)
13:38
Update the built-in SQLite to version 3.25.1. ... (check-in: c5abb962 user: drh tags: trunk)
13:35
Fix the default CSS for the "columns" class to avoid breaking column breaks within a single <li> element. ... (check-in: 51da3966 user: drh tags: trunk)
11:21
Fixed the panel.style.hasOwnProperty() test in the default skin's js.txt so that it will work on IE8 and below. See code comment for rationale. ... (check-in: e54095f9 user: wyoung tags: trunk)
10:31
Allow /sitemap to accept the popup query parameter as GET as long as the incoming request is from the same origin. This is probably sufficient to prevent revealing URLs to robots. And the use of GET seems to be more in keeping with the REST idea. ... (check-in: 2804c71a user: drh tags: trunk)
10:27
The POST request by the hamburger menu must set the right content type of application/x-www-form-urlencoded in order to pass the popup=1 query parameter. ... (check-in: ee0f77df user: drh tags: trunk)
06:44
Backout of [e0cc10f03e518831]: Bring back default windows builds with OpenSSL 1.3 ... (check-in: 9e03e513 user: jan.nijtmans tags: openssl-1.1)
2018-09-19
21:00
Add docs on using IDE for Fossil development. ... (check-in: 7d2be6f8 user: ashepilko tags: cmake-ide)
20:19
Merge updates from trunk. ... (check-in: 2269309f user: ashepilko tags: cmake-ide)
19:55
Ignore errors in the clean target commands. ... (check-in: 27c7a491 user: ashepilko tags: trunk)
2018-09-18
19:37
Backout of [115544e97517f447]. Unbreaks the SSL enabled build for MSVC on Windows, due to OpenSSL build system changes that are not accounted for by the check-in. Also, there were crashes with MinGW produced binaries using OpenSSL 1.1.1. ... (check-in: e0cc10f0 user: mistachkin tags: trunk)
17:50
Added a missing db_finalize() call in /json/branch/list which led to a downstream segfault via an invalid/destructed Stmt handle. ... (check-in: e45789ee user: stephan tags: trunk)
15:53
Add the "fossil branch current" command to the 2.7 change log. ... (check-in: fc977f14 user: drh tags: trunk)
15:50
Add the "fossil branch current" command. Also rearrange the code and the help text for the "fossil branch" command so that the various subcommands are in alphabetical order. ... (check-in: 3b0a1f4e user: drh tags: trunk)