Fossil

Timeline
Login

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

50 most recent check-ins that include changes to files matching 'src/*'

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. Leaf check-in: 1bbca2c3 user: florian tags: comment-formatter-utf8
2018-10-12
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
2018-10-11
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
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
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
2018-10-06
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
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
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
2018-10-03
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
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-28
20:54
Document reference links having no second set of square brackets check-in: 2856830e user: andygoth 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 Leaf 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: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
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
2018-09-20
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
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
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
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: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