Fossil

History for src/doc.c
Login

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

History for src/doc.c

2020-05-17
20:38
[426c91fc] part of check-in [b5ab1ebe] Allow unversioned files to be identify by hash in addition to name. For the /uv webpage, when a file is identify by hash it has a long expiration time. (check-in: [b5ab1ebe] user: drh branch: trunk, size: 45823)
2020-05-16
01:08
[86ace4f0] part of check-in [7dd07b2e] Integrate ARIA suggestions from Peter Laursen. (check-in: [7dd07b2e] user: drh branch: trunk, size: 45592)
2020-04-05
23:45
[db19761c] part of check-in [06afb702] Match the COMMAND and WEBPAGE names with _cmd and _page functions; forumpost/045bffda68 (check-in: [06afb702] user: ashepilko branch: api-cleanup, size: 45586)
2020-03-12
17:02
[7fd95561] part of check-in [1b63f689] Removed the favicon byte array added in support of the /favicon.ico URL handler. It's unused since [81b3ce3a1350eaa9], when that page began serving a GIF and now gets the same data from the aLogo byte array. (check-in: [1b63f689] user: wyoung branch: trunk, size: 45589)
2020-03-07
12:06
[4014bf2d] part of check-in [5ca0a05a] Change the default favicon.ico to an actual GIF image of the Fossil lizard. (check-in: [5ca0a05a] user: drh branch: trunk, size: 49276)
2020-03-03
14:35
[36ebe663] part of check-in [00e2f051] Fix the mimetype for /favicon.ico. (check-in: [00e2f051] user: drh branch: trunk, size: 50442)
2020-03-02
12:57
[7cdf7385] part of check-in [81b3ce3a] Add the /favicon.ico web page. (check-in: [81b3ce3a] user: drh branch: trunk, size: 50449)
2020-02-26
14:28
[e76b1f90] part of check-in [14c81d9d] Put the Content-Security-Policy in the HTTP reply header in addition to the HTML header. That way, the CSP is enforced even for raw HTML pages or if the skin provides an HTML header that omits the CSP. Add a new "default-csp" setting included with the skin that allows an administrator to change the CSP to allow for CDNs and such. (check-in: [14c81d9d] user: drh branch: trunk, size: 44913)
2020-02-12
16:35
[502a0f90] part of check-in [45427ae1] Change the special $SELF substitution used by Markdown and HTML embedded documentation into $CURRENT. See the forum discussion for details. (check-in: [45427ae1] user: drh branch: trunk, size: 44882)
2020-01-24
18:28
[c2664672] part of check-in [14d1b7a9] /mimetype_list: only show the custom mimetypes table if any are set. Add a link to the mimetypes setting help to the top of the page. Expanded the setting's help text. (check-in: [14d1b7a9] user: stephan branch: mimetypes-setting, size: 44873)
16:58
[1e9eacb1] part of check-in [baf11933] /mimetype_list: tiny efficiency tweak in the main mimetype loop and only show the 'exclamation point means it's overridden' message if the repo contains at least one custom entry. (check-in: [baf11933] user: stephan branch: mimetypes-setting, size: 44640)
16:45
[0bc90cdf] part of check-in [9ceec69e] Merged in mimetype-list branch. (check-in: [9ceec69e] user: stephan branch: mimetypes-setting, size: 44439)
15:14
[c1844d10] part of check-in [26f2bb6f] Fix dynamic sorting of the mimetype tables, as originally intended. Note that the table sorter utility skips leading non-word characters, such as the leading exclamation mark used to flag overwritten entries. (check-in: [26f2bb6f] user: florian branch: mimetypes-list, size: 44447)
15:05
[769dae90] part of check-in [566a2731] Tweak the /mimetype_list web page to display the repository-specific mimetypes in a table, and flag built-in entries that are overwritten by repository-specific entries. (check-in: [566a2731] user: florian branch: mimetypes-list, size: 44423)
2020-01-23
19:40
[181b56bd] part of check-in [e34ea5b6] Custom mimetype case-folding is now performed only on the file extensions and only on demand, rather than lower-casing the whole input in advance. (check-in: [e34ea5b6] user: stephan branch: mimetypes-setting, size: 43696)
18:12
[f81f776d] part of check-in [b55dfc97] Custom mimetype list now ignores one leading '.' when comparing the file extension, per forum feedback. (check-in: [b55dfc97] user: stephan branch: mimetypes-setting, size: 43182)
18:00
[9482f924] part of check-in [23a92a27] /mimetype_list page now outputs custom mimetypes using %h formatting instead of %s, per forum feedback. (check-in: [23a92a27] user: stephan branch: mimetypes-setting, size: 42976)
2020-01-22
02:41
[884928b8] part of check-in [322643ca] Added support for client-configurable mimetypes as a versionable setting. (check-in: [322643ca] user: stephan branch: mimetypes-setting, size: 42976)
2020-01-09
15:29
[176e0236] part of check-in [d08bc9e6] Modify the /doc webpage so that if the first term of the argument is "latest" it chooses the most recent check-in for the document regardless of what branch that check-in occurred on. (check-in: [d08bc9e6] user: drh branch: trunk, size: 40364)
2019-12-18
15:19
[86642bf5] part of check-in [c865e1a0] Comment updates that should have been in the previous check-in, but I didn't press the "Save" button on my editor, and I failed to adequately review the changes before committed - I should follow my own checklists... (check-in: [c865e1a0] user: drh branch: trunk, size: 39807)
15:11
[56fea307] part of check-in [703e62a6] Add support for magic conversion of /doc/$SELF/ URIs by expanding the $SELF to the version of the currently displayed document. (check-in: [703e62a6] user: drh branch: trunk, size: 39546)
2019-12-13
20:56
[db72147e] part of check-in [f28cea2b] If path given to /ext is a directory and it contains an index file (of the same names supported by the /doc path), render that index file. Edit: closing branch b/c Richard implemented the same thing in parallel in [3ed3fa3dda9c6d6f]. (check-in: [f28cea2b] user: stephan branch: ext-render-index, size: 40118)
06:06
[f151f4a8] part of check-in [5590fb9e] Added webp mimetype, a pedantic constness tweak in the mimetype table, and a minor typo fix. (check-in: [5590fb9e] user: stephan branch: trunk, size: 38282)
2019-08-27
07:21
[85fedf50] part of check-in [42190026] Restore legacy title handling behavior for TH1 docs (changed via check-in [8abeb62737c2b527]). (check-in: [42190026] user: mistachkin branch: noJsonCgiFlag, size: 38222)
2019-08-21
19:18
[c330cc99] part of check-in [3e183bfa] Fix the $ROOT mechanism in HTML documents so that it accepts any whitespace character before href= and script=. Add $ROOT in appropriate places in the server documentation. (check-in: [3e183bfa] user: drh branch: trunk, size: 38226)
2019-08-19
18:24
[4d50ffe8] part of check-in [8264fd75] Plan Z (check-in: [8264fd75] user: drh branch: server-docs, size: 38168)
00:51
[bda41e25] part of check-in [3d6a4fd9] Fix embedded HTML detection for the 'doc' web page when the 'data-title' attribute is not specified. (check-in: [3d6a4fd9] user: mistachkin branch: trunk, size: 38175)
2019-08-18
10:26
[0ce54efd] part of check-in [1c50073d] Improvements to the nonce='$NONCE' substitution mechanism. (check-in: [1c50073d] user: drh branch: server-docs, size: 38508)
06:06
[57a1224b] part of check-in [02db05e6] Added the nonce="$NONCE" embedded documentation substitution feature and documented that and the other pre-existing text substitution features. (check-in: [02db05e6] user: wyoung branch: server-docs, size: 38426)
2019-08-01
21:05
[c1099511] part of check-in [54e01c60] When rendering HTML pages using the fossil-doc class and the data-title="..." attribute, reverse the HTML escapes in the argument to data-title since they will be reencoded prior to rendering. (check-in: [54e01c60] user: drh branch: trunk, size: 38178)
2019-07-29
14:19
[b3a73656] part of check-in [8abeb627] Fix the build for -DFOSSIL_ENABLE_TH1_DOCS. The build was broken by check-in [ed2def5ffb96d74c] and on trunk by [ec56c69fe98d26d9]. (check-in: [8abeb627] user: drh branch: trunk, size: 37802)
2019-07-25
17:07
[fe3c4b6f] part of check-in [ed2def5f] Add the ability to extend a Fossil server using CGI. This is a refactor of the prior sub-cgi branch. (check-in: [ed2def5f] user: drh branch: extension-cgi, size: 37794)
2018-12-30
20:30
[38b2458d] part of check-in [dcf93d03] Begin adding the ability to use specially-named wiki pages to supplemental information about branches, tags, and/or checkins. (check-in: [dcf93d03] user: drh branch: describe-objects-using-wiki, size: 37329)
2018-08-29
11:04
[b40e2b92] part of check-in [03979823] Try to start a new write transaction before updating the VCACHE table. This will hopefully prevent occasional "database is locked" errors when browsing the documentation. (check-in: [03979823] user: drh branch: trunk, size: 37336)
2018-07-15
19:56
[8bdecf00] part of check-in [3f5ab717] Clarify the difference between fossil_fatal() and fossil_panic(). The fossil_panic() interface puts a message on the error log when generating webpages. Otherwise the two routines are identical. Convert some fossil_fatal() calls into fossil_panic() where appropriate. The goal here is to limit messages on the error log to things that require attention from the system administrator, or represent bugs. (check-in: [3f5ab717] user: drh branch: trunk, size: 37265)
2018-06-24
18:47
[72033252] part of check-in [29cb8260] Fix the /doc webpage so that it does not call fossil_fatal() when it cannot find the requested document. It simply does a 404 routine. By not calling fossil_fatal(), it avoids unnecessary entries in the error log. (check-in: [29cb8260] user: drh branch: trunk, size: 37265)
2018-02-25
19:47
[dbf23864] part of check-in [f89eb80e] Add support for Last-Modified: and If-Modified-Since:. Currently only works for /uv but can be easily expanded to other resources. Also change Set-Cookie to use max-age= rather than expires=. (check-in: [f89eb80e] user: drh branch: trunk, size: 37275)
2018-02-24
20:14
[86d6090f] part of check-in [ae660cd6] Redesign the ETags mechanism to be simpler and safer. (check-in: [ae660cd6] user: drh branch: etags-cache-control, size: 37106)
18:39
[59fca90b] part of check-in [02740c2c] Further changes trying to get ETags to work well. But as I type this, I feel like this design is not working out well and I am about ready to start over from scratch. This check-in is just to preserve work in case I want to come back to it later. (check-in: [02740c2c] user: drh branch: etags, size: 37069)
03:38
[8d95ab30] part of check-in [5b84cab0] ETags now working for the /uv page. (check-in: [5b84cab0] user: drh branch: etags-cache-control, size: 37076)
2017-12-06
10:01
[799bde12] part of check-in [6b645d63] Perform table sorting using a separate javascript file rather than using in-line javascript. (check-in: [6b645d63] user: drh branch: trunk, size: 36928)
2017-11-30
17:58
[1cce24df] part of check-in [e7767de2] Refactor the symlink processing logic so that most of the file access routines take a new parameter indicating the conditions under which symlinks should and should not be followed. This should fix a few bugs related to symlink processing. Lots of testing required before merging to trunk. (check-in: [e7767de2] user: drh branch: symlink-refactor, size: 36917)
2017-11-03
06:46
[52158f17] part of check-in [5aa37859] Fix harmless compiler warning. (check-in: [5aa37859] user: mistachkin branch: trunk, size: 36897)
2017-09-21
00:56
[b1ca58f6] part of check-in [b20f6cba] Correct /doc webpage in the case of a read-only database containing a vcache table lacking the desired vid (check-in: [b20f6cba] user: andygoth branch: trunk, size: 36897)
2017-08-05
03:23
[cb5731ba] part of check-in [95edba65] Correct the /doc page to support read-only repositories (check-in: [95edba65] user: andygoth branch: trunk, size: 36856)
2017-07-07
19:18
[1c006182] part of check-in [956d4901] Avoid appending to g.zPath inside doc_page() loop. Instead, wait until the loop is done to modify g.zPath. When doing a directory lookup, the check-in and directory name were being repeatedly appended to g.zPath each step through the list of possible filename suffixes. This corrupted <base href> should index.html not exist, which in turn broke relative URLs. (check-in: [956d4901] user: andygoth branch: trunk, size: 36793)
2017-07-03
09:31
[dd1e537f] part of check-in [86d4754a] Update changes.wiki. Some eol-spacing (check-in: [86d4754a] user: jan.nijtmans branch: trunk, size: 36689)
2017-06-19
01:55
[5e1c9f2d] part of check-in [a49ef378] Make sure the /uv webpage returns a sensible error if the unversioned table does not exist. (check-in: [a49ef378] user: drh branch: trunk, size: 36690)
2017-05-27
03:21
[e21c0275] part of check-in [05df5d2e] Fix support for 'raw' mode for embedded TH1 docs broken by check-in [35698c9c43478f8f]. (check-in: [05df5d2e] user: mistachkin branch: trunk, size: 36629)
2017-04-19
07:08
[91068a1f] part of check-in [613fe1b1] Add image/bmp and image/vnd.microsoft.icon (ico) to the mime-type table (check-in: [613fe1b1] user: jan.nijtmans branch: trunk, size: 36580)
2017-03-04
14:29
[a18db75a] part of check-in [7d12ba54] Add the /juvlist webpage that returns a list of all unversioned files as JSON. (check-in: [7d12ba54] user: drh branch: trunk, size: 36400)
2017-03-01
15:35
[ae84da67] part of check-in [b9a1a3b9] Change references to "SHA1 hash" in comments and UI labels to be "artifact hash" or similar. (check-in: [b9a1a3b9] user: drh branch: fossil-2.0, size: 36400)
2017-02-23
07:52
[7d289a1b] part of check-in [35698c9c] Add support for document titles to the TH1 docs feature. (check-in: [35698c9c] user: mistachkin branch: trunk, size: 36398)
2016-11-04
22:37
[bae142c1] part of check-in [e5b62edb] Consistently use the count(X) macro in place of sizeof(X)/sizeof(*X) throughout the Fossil core, excluding things that don't use makeheaders. Also use count(X) instead of ArraySize(X) which has the same definition. (check-in: [e5b62edb] user: andygoth branch: trunk, size: 36166)
2016-08-29
14:15
[f46ada46] part of check-in [0cd96edc] Fix the /uv page so that works on Solaris. (check-in: [0cd96edc] user: drh branch: trunk, size: 36206)
2016-08-23
13:31
[484b7d18] part of check-in [4a837858] When there is no argument to the /uv page, make "index.wiki" the default. Do not allow "index.html" since that probably will not have the correct <base> header. (check-in: [4a837858] user: drh branch: trunk, size: 36201)
2016-08-21
17:50
[8439403b] part of check-in [25379569] Fix the /uv page so that it correctly handles a missing "name". First it looks for "index.html", "index.wiki", "index.md" and "index.th1", then if none of those documents are found, it does the equivalent of /uvlist. (check-in: [25379569] user: drh branch: trunk, size: 36191)
2016-08-16
16:25
[cc885b20] part of check-in [f6d4a2bf] Merge recent trunk enhancements. (check-in: [f6d4a2bf] user: drh branch: unversioned-files, size: 36098)
2016-08-12
04:46
[d9adb2c7] part of check-in [fbd31d4c] Add experimental 'raw' mode for embedded TH1 docs. (check-in: [fbd31d4c] user: mistachkin branch: th1RawDocs, size: 35649)
2016-08-10
09:06
[630aa8c2] part of check-in [c3b5f1d2] Remove unnecessary spacing (check-in: [c3b5f1d2] user: jan.nijtmans branch: trunk, size: 35574)
2016-08-09
12:37
[f3de1b4a] part of check-in [73932a32] Change the schema for the unversioned table. Add some initial code to do unversioned sync, but the code is incomplete and untested. (check-in: [73932a32] user: drh branch: unversioned-files, size: 36024)
2016-08-05
12:30
[dfdaaff4] part of check-in [440defe2] Add the /uv webpage. (check-in: [440defe2] user: drh branch: unversioned-files, size: 36273)
2016-06-09
15:26
[c8f8250a] part of check-in [c7e9625d] Add mimetypes for bz2 and bzip. (check-in: [c7e9625d] user: drh branch: trunk, size: 35575)
2016-04-01
20:21
[aad06cde] part of check-in [2a4e31bd] Work in progress on spell-check and proof-reading sweep over the help text. (check-in: [2a4e31bd] user: rberteig branch: ross-spellcheck, size: 35455)
2015-12-31
00:25
[ee445fb5] part of check-in [33dd7704] Add primary MIME types for C# (.cs) and VB.NET (.vb) source code. (check-in: [33dd7704] user: mistachkin branch: dotnet-mime, size: 35412)
2015-12-19
14:38
[dd45c324] part of check-in [e57ab295] Add support for expanding $ROOT in href= and action= of HTML output into the top-level directory of the repository. (check-in: [e57ab295] user: drh branch: trunk, size: 35292)
2015-11-06
08:09
[b2954ce4] part of check-in [b51ba293] Use the same definition of BINARY in multiple places of fossil. Reported by sky5walk. (check-in: [b51ba293] user: jan.nijtmans branch: trunk, size: 33957)
2015-10-22
15:56
[10cb5eb2] part of check-in [b38adc34] Change the mimetype for “man” and “n” to text/plain. (check-in: [b38adc34] user: drh branch: mimetype-changes, size: 34190)
2015-09-16
09:18
[cf011a28] part of check-in [a6fd491d] Add some "const" keywords in appropriate places. No change in functionality. Eliminates some compiler warnings. (check-in: [a6fd491d] user: jan.nijtmans branch: trunk, size: 34130)
2015-08-21
04:33
[687517fa] part of check-in [676d97d7] Update and improve comments. (check-in: [676d97d7] user: mistachkin branch: ckol-th1-dir-cmd, size: 34131)
2015-08-14
19:29
[a7ddf980] part of check-in [5d56fb7e] implemented th1 comman 'dir' similar to cli 'ls' (check-in: [5d56fb7e] user: ckolumbus branch: ckol-th1-dir-cmd, size: 33973)
2015-07-15
10:38
[18720846] part of check-in [b9b9d7e7] Do not attempt to attach the local database while processing "ckout" in the /doc page if that database is not already open. (check-in: [b9b9d7e7] user: drh branch: trunk, size: 33915)
10:33
[cf27e5b0] part of check-in [d1a82387] Fix a typo in a comment. No changes to code. (check-in: [d1a82387] user: drh branch: trunk, size: 33920)
10:31
[82011406] part of check-in [c99b4e34] Fix the /doc page so that it correctly handles an empty document name in the same way that it handles a NULL document name. (check-in: [c99b4e34] user: drh branch: trunk, size: 33915)
2015-04-27
13:19
[1dfc49e4] part of check-in [7ab03289] Provide help text for all commands and webpages. (check-in: [7ab03289] user: drh branch: trunk, size: 33874)
2015-03-23
00:44
[885d6a8c] part of check-in [71536a28] Add tests for the TH1 docs feature. (check-in: [71536a28] user: mistachkin branch: trunk, size: 33585)
2015-02-28
10:11
[3f153d8c] part of check-in [7c30266a] replaced 'checkin' with 'check-in' in code-comment, inline command help-text, SQL-statement comment, fatal error messages and some non-functional webpage-content (check-in: [7c30266a] user: michai branch: ml-jb-doc-typos, size: 33595)
2015-02-14
12:24
[76ac0d44] part of check-in [2f50d427] When the user is "nobody", make the g.anon permission vector for "anonymous" available in addition to g.perm. Hyperlinks to pages that would be available to anonymous are shown rather than suppressed. When permission is denied and control jumps to login_needed() a new flag shows whether or not logging in as "anonymous" would help. Work in progress. (check-in: [2f50d427] user: drh branch: login-enhancements, size: 33591)
2015-02-11
20:24
[6f2c1041] part of check-in [e4c420b4] Add text/csv to the mimetype table. Add additional code to verify that the mimetype table is well-ordered. (check-in: [e4c420b4] user: drh branch: trunk, size: 33580)
2015-02-09
10:15
[39e826b8] part of check-in [d0b1b111] Add mime types for common opendocuments.    This lets the browser pick the right program to open them straight.    Update:Jan picked this change from viric_flavour, instead of merging this branch. So I close this, as we can consider this integrated. (check-in: [d0b1b111] user: viriketo branch: viric_mimeopendocument, size: 33293)
2015-02-05
15:48
[ca6279e7] part of check-in [49a990b6] Improvements to search dialog boxes. On the /search menu, allow restricting the search to a specific category of document. Add a search submenu item on the timeline page. (check-in: [49a990b6] user: drh branch: form-submenu, size: 33080)
09:01
[44aeaf38] part of check-in [5260fbf6] Unfinished comment in search.c, and some more end-of-line spacing removals. No change in functionality. (check-in: [5260fbf6] user: jan.nijtmans branch: trunk, size: 33088)
2015-02-03
13:17
[08352616] part of check-in [bb4a1301] Unify the search screen generator code. Provide class marks to support CSS customization. (check-in: [bb4a1301] user: drh branch: trunk, size: 33098)
2015-02-02
04:13
[f5b4dd20] part of check-in [15f0dbd9] Add a separate /docsrch webpage to handle just document search. (check-in: [15f0dbd9] user: drh branch: trunk, size: 33801)
2015-02-01
18:37
[f122ebf6] part of check-in [51751b00] Add the /mimetype_list page for use by documentation. (check-in: [51751b00] user: drh branch: trunk, size: 32856)
18:22
[c2952118] part of check-in [ace8016f] For embedded documentation, if the content file has mimetype text/html but it begins with a <div> element that has class=fossil-doc, then add the usual header and footer to the content before displaying it. Also, if the <div> element has a data-title=TITLE attribute, then use TITLE as the title of the document. (check-in: [ace8016f] user: drh branch: trunk, size: 32611)
2015-01-31
22:13
[10d91036] part of check-in [48e1e183] Initial work on the search_stext() function used to extract searchable text from formatted files. (check-in: [48e1e183] user: drh branch: trunk, size: 30040)
2015-01-29
09:14
[ce0d37ce] part of check-in [9586ac14] Changelog additions, and a single "const" addition (check-in: [9586ac14] user: jan.nijtmans branch: trunk, size: 29651)
01:48
[d1ed1c01] part of check-in [8b4b4247] Fix the /doc page so that it returns status 200 (not 404) after appending "index.html" to the end of a page name. (check-in: [8b4b4247] user: drh branch: trunk, size: 29645)
01:25
[e6562981] part of check-in [ef108998] Fix harmless compiler warnings. (check-in: [ef108998] user: drh branch: trunk, size: 29489)
01:23
[dd451afe] part of check-in [bdfbbddc] If a /doc filename ends with "/", then try appending "index.html", "index.wiki", and "index.md" in that order. If none are found, then a 404 error will be generated. Try to find a file named 404.md in the root directory for the text of the 404, or generate a default 404 if no 404.md file is found. (check-in: [bdfbbddc] user: drh branch: trunk, size: 29489)
00:44
[ab66733d] part of check-in [2c1677aa] Fix another instance of index.wiki to index.html. (check-in: [2c1677aa] user: drh branch: trunk, size: 29057)
00:38
[46cdbe93] part of check-in [2ddb0e5a] For embedded documentation that ends in / go back to appending index.html instead of index.wiki. (check-in: [2ddb0e5a] user: drh branch: trunk, size: 29057)
2015-01-23
13:50
[86e1af46] part of check-in [f5165dd0] Make sure the zOrigName variable in the /doc page implementation is always initialized, even for early errors. (check-in: [f5165dd0] user: drh branch: trunk, size: 29057)
07:03
[513d29ae] part of check-in [aed9971d] Fix compiler warning for 'zOrigName' variable. If unable to locate a document, fallback on 'zName' if 'zOrigName' is zero. (check-in: [aed9971d] user: mistachkin branch: docVarWarn, size: 29065)
04:26
[7252277a] part of check-in [cfcd9b87] Clean up the /doc webpage. Use newer interfaces that were created since that page was original written. Set the HTTP status to 404 on not found. Try to find a "404.md" page to display and use it if found instead of the default 404 page. (check-in: [cfcd9b87] user: drh branch: trunk, size: 29045)
2015-01-21
18:55
[2bdc0de1] part of check-in [4bc5b6cf] Enhance the ad-unit processing to allow for tall right-side column ads as an alternative to banner ads. (check-in: [4bc5b6cf] user: drh branch: ad-unit-enhancement, size: 29089)
2014-10-21
03:23
[64209642] part of check-in [6d4e5d80] Fix build break when the TH1 docs feature is enabled. (check-in: [6d4e5d80] user: mistachkin branch: trunk, size: 29047)
2014-10-20
15:01
[9bf24d3a] part of check-in [0a7e326f] Add a custom static analysis program that verifies the arguments to printf-style varargs routines used in Fossil. Adjust the source code to be more robust for printf format errors and to fix a few minor problems found by the static checker. (check-in: [0a7e326f] user: drh branch: compile-time-print-checking, size: 29071)
2014-10-16
11:45
[e7e4034f] part of check-in [20d02ab7] Reduce the number of end-of-line spaces. No functional change. (check-in: [20d02ab7] user: jan.nijtmans branch: trunk, size: 29091)
2014-09-09
21:22
[30adc8a4] part of check-in [516cc0c9] Add compile-time option to control whether the TH1 embedded documentation support is enabled. Also, omit TH1 hooks setting when it is not enabled. (check-in: [516cc0c9] user: mistachkin branch: dynamicTh1Docs, size: 29159)
2014-09-08
18:23
[2ba1a437] part of check-in [67d5812c] Improve page title handling. (check-in: [67d5812c] user: mistachkin branch: dynamicTh1Docs, size: 29122)
18:13
[67db21d0] part of check-in [4f0b0a6a] Add 'th1-docs' setting to control whether or not TH1 scripts are allowed in embedded documentation files. (check-in: [4f0b0a6a] user: mistachkin branch: dynamicTh1Docs, size: 29070)
08:08
[73a69a70] part of check-in [5ce57f21] Highly experimental changes to enable TH1 usage in embedded docs. Do not merge. (check-in: [5ce57f21] user: mistachkin branch: dynamicTh1Docs, size: 29025)
2014-01-14
13:39
[30f854b9] part of check-in [1c5b51e6] Handle utf16 text pages in the /doc webpage. (check-in: [1c5b51e6] user: drh branch: trunk, size: 28812)
2013-10-04
09:30
[f4c235f7] part of check-in [1eb438d6] Better error-message in case of "manifest file is malformed" (check-in: [1eb438d6] user: jan.nijtmans branch: pending-review, size: 28775)
2013-06-18
19:05
[768527b6] part of check-in [1294f9b2] Add the ".mp4" suffix to the mimetype table. (check-in: [1294f9b2] user: drh branch: trunk, size: 28772)
2013-05-28
00:45
[a57a6e8e] part of check-in [a5a55246] Add the ability to edit Wiki pages as either Fossil Wiki, or Markdown, or Plain Text. (check-in: [a5a55246] user: drh branch: trunk, size: 28710)
2013-05-01
16:02
[44c05bff] part of check-in [96b09d89] Fix an off-by-one error in the binary search for file suffixes when trying to guess the mimetype of a file. Ticket [da461aefee1351] (check-in: [96b09d89] user: drh branch: trunk, size: 28717)
2013-03-29
15:43
[41fa3299] part of check-in [02f312e6] Enable markdown by default. Render as markdown any document that ends with either "md" or "markdown". (check-in: [02f312e6] user: drh branch: markdown, size: 28713)
2013-03-04
10:25
[23380615] part of check-in [1b61defd] Proposed fix for ticket: test-move-repository requires access to original repository (check-in: [1b61defd] user: jan.nijtmans branch: fix-test-move-repository, size: 28730)
2013-02-11
19:30
[87b7cb00] part of check-in [bdeb633a] Merging from trunk. I still have merge conflicts since my previous merge. (check-in: [bdeb633a] user: viriketo branch: annotate_links, size: 28948)
2013-01-27
21:06
[fbee05bb] part of check-in [c5ed2227] issue [cd201d69bb]: For completeness, let's add .dot and .dotx too. (check-in: [c5ed2227] user: jan.nijtmans branch: trunk, size: 28729)
20:51
[eb02bcfe] part of check-in [2a74733c] Fix issue [cd201d69bb] (check-in: [2a74733c] user: jan.nijtmans branch: trunk, size: 28568)
2013-01-03
10:31
[1eb117f9] part of check-in [b5b8448e] Updating from trunk. I've left some merge conflicts to solve (annotate, diff) (check-in: [b5b8448e] user: viriketo branch: annotate_links, size: 28485)
2012-12-12
22:52
[73c8be44] part of check-in [d48399bd] Do not enforce the requirement that filenames in manifests be strict UTF8 because some bug or another in a legacy version of Fossil allowed in some Latin-1 Suppliment characters encoded as a single byte (ex: 0xf3) instead of the correct two-byte encoding (ex: 0xc3 0xb3) and so if we start enforcing strict UTF8, some check-ins from those legacy versions of Fossil will be inaccessible. (check-in: [d48399bd] user: drh branch: trunk, size: 28266)
2012-12-07
20:58
[406bef34] part of check-in [de1ef7e9] Merge updates from trunk. (check-in: [de1ef7e9] user: mistachkin branch: markdown, size: 28260)
2012-12-01
20:17
[261efbe9] part of check-in [4e23c42f] Add mimetype mappings for .docx, .pptx, and .xlsx. (check-in: [4e23c42f] user: drh branch: trunk, size: 27665)
2012-11-02
08:31
[734e4bf7] part of check-in [d804902f] speedup mimetype_from_content() by using a 256 byte array. Mark VT and Ctrl-Z as text bytes, not binary. Decrease maximum UTF-16 line length to 2731 Check for FFFF in addition to 0, in UTF-16/binary detection. (check-in: [d804902f] user: jan.nijtmans branch: trunk, size: 27479)
2012-10-31
20:56
[4ad05b6e] part of check-in [b5123d51] adapt comments accordingly (check-in: [b5123d51] user: jan.nijtmans branch: improve_looks_like_binary, size: 27412)
20:49
[a2ca95e2] part of check-in [de5a2ef6] Don't make it too complicated, too much risk to break other things. (check-in: [de5a2ef6] user: jan.nijtmans branch: improve_looks_like_binary, size: 27480)
2012-10-30
20:10
[e3815bca] part of check-in [0ba08f9d] Faster determination of binary files, by not only checking for NUL re-use looks_like_blob (check-in: [0ba08f9d] user: jan.nijtmans branch: improve_looks_like_binary, size: 27242)
2012-10-19
18:33
[7ae998e9] part of check-in [563b3ccb] All submenu buttons on embedded documentation pages using markup of the form: <a class="button" href="...">LABEL</a>. (check-in: [563b3ccb] user: drh branch: embedded-doc-buttons, size: 27488)
17:34
[a2553796] part of check-in [463df97c] Simple changes that allows embedded documentation *.wiki files to contain unrestricted HTML. This is on a branch because I don't believe we want to go this way, but I might change my mind later. (check-in: [463df97c] user: drh branch: full-html-for-embedded-docs, size: 27492)
2012-10-09
14:19
[5b99a9f9] part of check-in [770cf7fc] Adding mime types for some openoffice documents (check-in: [770cf7fc] user: viriketo branch: annotate_links, size: 27685)
2012-10-07
10:29
[d81c49f9] part of check-in [1c5085d9] Add 'markdown' setting to enable runtime control over whether or not it is used. (check-in: [1c5085d9] user: mistachkin branch: markdown, size: 28061)
2012-10-03
19:54
[247bcb9a] part of check-in [d38c6eef] Integration work for the markdown engine provided by Natacha Porté. (check-in: [d38c6eef] user: mistachkin branch: markdown, size: 28019)
2012-08-29
13:57
[44aa60b6] part of check-in [9f6abc59] Allow UTF-8 characters in sources. translate.exe will translate it to ASCII (check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 27465)
2012-08-13
12:30
[c0a2fbd8] part of check-in [fd10cdba] Fixes to the <base> addition to the HTML header so that it works correctly with the "doc" webpage. Href is now $baseurl/$current_page. (check-in: [fd10cdba] user: drh branch: wysiwyg, size: 27466)
2012-06-27
12:30
[edefa4ac] part of check-in [68239127] Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. (check-in: [68239127] user: drh branch: sqlite4, size: 27420)
2012-06-11
17:23
[1b54c83f] part of check-in [c109e66d] Merge in Trunk... (check-in: [c109e66d] user: mgagnon branch: mgagnon_fix, size: 27462)
2012-03-31
15:18
[ac5a32d3] part of check-in [62398459] Add the ability to set a background image as part of the server configuration. Process the CSS using TH1 so that $baseurl can be inserted into the CSS. (check-in: [62398459] user: drh branch: trunk, size: 27420)
2012-03-29
14:54
[a5581e27] part of check-in [a496d8e8] Add vim modline everywhere (check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 26611)
2011-10-29
17:22
[2ff7f765] part of check-in [49a015ef] For the /doc web method, append "index.html" if the path ends with "/". (check-in: [49a015ef] user: drh branch: trunk, size: 26569)
2011-09-14
17:45
[0fdde373] part of check-in [34b4dec0] Refactored g.okXXX perms flags to g.perm.XXX. (check-in: [34b4dec0] user: stephan branch: stephan-hack, size: 26356)
2011-09-12
13:06
[ec2b77b2] part of check-in [b582ff98] Fix typo in comment (check-in: [b582ff98] user: joerg branch: trunk, size: 26353)
2011-06-01
22:32
[0f170fcd] part of check-in [2a013f02] In contexts where only a check-out makes since, only resolve tags or branch names into check-outs, not events or other artifacts. Ticket [5f611295e3c2a8]. (check-in: [2a013f02] user: drh branch: trunk, size: 26351)
2011-05-27
12:16
[473dd619] part of check-in [ea2698e9] Add the test-mimetype command and use it to verify the correct order of entries in the mimetype table. Fix the errors found. (check-in: [ea2698e9] user: drh branch: trunk, size: 26339)
2010-12-30
02:15
[e2473582] part of check-in [ff53d5ab] make correction on image/png magic for mimetype detection (check-in: [ff53d5ab] user: bch branch: trunk, size: 25624)
2010-12-23
02:22
[5de3dbac] part of check-in [31c52c7b] Add new function fossil_strcmp() that works like strcmp() except that it handles NULL arguments correctly. Use fossil_strcmp() in place of strcmp() in many places in the code. (check-in: [31c52c7b] user: drh branch: trunk, size: 25624)
2010-12-19
02:09
[58c6da0b] part of check-in [bbbb35a3] Clear compiler warnings on OpenBSD. No functional code changes. (check-in: [bbbb35a3] user: drh branch: trunk, size: 25582)
2010-12-15
02:19
[7a6f0fae] part of check-in [1b0e6c0f] Make three new TH1 variables available the footer on /doc pages: $doc_name, $doc_version, and $doc_date. (check-in: [1b0e6c0f] user: drh branch: trunk, size: 25519)
2010-11-07
18:48
[5e3da9ba] part of check-in [d156b686] Fix alphabetical missort. (check-in: [d156b686] user: venkat branch: venks-emacs, size: 25194)
18:42
[22726e50] part of check-in [151a2104] Send the right mime-type for svg files [2e088c5815] (check-in: [151a2104] user: venkat branch: venks-emacs, size: 25194)
2010-10-15
20:37
[ea189612] part of check-in [da9fcdc9] Refactor the control-artifact parser. (check-in: [da9fcdc9] user: drh branch: experimental, size: 25132)
2010-10-14
19:14
[c74aa893] part of check-in [2fac8091] Remove all use of ctypes.h in order to avoid compiler warnings and other problems associated with changing locales. (check-in: [2fac8091] user: drh branch: trunk, size: 25163)
2010-05-21
16:21
[d8595f24] part of check-in [3343450e] Fix issues with attachments on tickets. In the artifact viewer, do a better job of detecting JPEG images from the content prefix. (check-in: [3343450e] user: drh branch: trunk, size: 25156)
2010-05-16
19:08
[d62ac09e] part of check-in [c06edd23] Change from GPL to the Simplified BSD License. (check-in: [c06edd23] user: drh branch: clear-title, size: 25104)
2010-01-23
21:48
[adcb0b20] part of check-in [08c0a9ff] Cause browsers to cache the logo and style sheet. (check-in: [08c0a9ff] user: drh branch: trunk, size: 25380)
2010-01-13
10:10
[d770b2c0] part of check-in [acba194c] Fixed bug where /doc could only be read if the user had checkout security - drh adds: This is not a bug. Checkout permission prevents /doc from being used to "checkout" any version of any file. (check-in: [acba194c] user: jeremy_c branch: dead-end, size: 25365)
2009-09-22
11:15
[cb0906ed] part of check-in [f969b6cd] Add the optional mimetype= query parameter to the /doc URI. (check-in: [f969b6cd] user: drh branch: trunk, size: 25363)
2009-09-21
19:10
[4e90952b] part of check-in [43481115] Add a "logo" image to the local server state. Return this image on all requests to the "/logo" URL. All the administrator to setup that image. Include the image in the default header. (check-in: [43481115] user: drh branch: trunk, size: 25287)
2009-08-15
12:18
[a9193f6c] part of check-in [292e5856] If the special "ckout" of the "/doc" webpage is used and the server is not within a local check-out, then automatically convert "ckout" to "tip". (check-in: [292e5856] user: drh branch: trunk, size: 20115)
2009-06-07
17:27
[682899f6] part of check-in [f88e2e7a] If embedded wiki documentation begins with <title>...</title> then use the text within the markup as the title of the document. (check-in: [f88e2e7a] user: drh branch: trunk, size: 20022)
2009-01-30
02:26
[b634a708] part of check-in [23e96cf7] Fix errors in the mimetype-generator table for documentation files. (check-in: [23e96cf7] user: drh branch: trunk, size: 19855)
2008-11-17
19:11
[a2350339] part of check-in [7303bfeb] Modify the artifact viewer to base the mimetype off of artifact content, not the artifact name. (check-in: [7303bfeb] user: drh branch: trunk, size: 20041)
2008-09-23
20:53
[2b833a11] part of check-in [fa1c7d59] Fix a bug in the mime-type decoder for the /doc method. (check-in: [fa1c7d59] user: drh branch: trunk, size: 18603)
2008-08-30
13:20
[6b0c93f6] part of check-in [8e667845] Add a much larger and more complete file-suffix to mimetype translation table to the "doc" method. (check-in: [8e667845] user: drh branch: trunk, size: 18603)
2008-05-15
20:18
[c2074c13] part of check-in [5cf1206d] Separate the new /doc method out into its own source file. (check-in: [5cf1206d] user: drh branch: trunk, size: 6682) Added