Fossil

History of src/doc.c of 613fe1b1fb4afc03
Login

History of src/doc.c of 613fe1b1fb4afc03

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

History of file src/doc.c at check-in 613fe1b1fb4afc03

2026-03-20
12:07
Add otf (OpenType font) mime type. ... (file: [8490787eb5] check-in: [422785d5df] user: stephan branch: trunk, size: 49263)
2025-10-10
17:20
Make use of the improved /help/CMD syntax everywhere, in place of the legacy /help?cmd=CMD syntax. ... (file: [85a8ea5014] check-in: [c64f28d26c] user: drh branch: trunk, size: 49203)
2025-04-19
19:08
Mark some TH1 inputs that can be controlled by the user as tainted. ... (file: [a939e55f45] check-in: [2742682720] user: drh branch: th1-taint, size: 49212)
2025-03-21
18:31
Enhance the html_to_plaintext() routine with a flags argument so that it can take over the job previously done by search_snippet_to_plaintext(). ... (file: [2af38a7104] check-in: [fd59eb178b] user: drh branch: trunk, size: 49206)
2025-03-07
20:14
Correctly render the title of embedded Markdown documents that contain characters that are special to HTML: > " ' & < ... (file: [f3dfc34c90] check-in: [0b24a45f49] user: drh branch: trunk, size: 49203)
15:56
Enhance codecheck1.c to detect cases where style_header() is called with arguments that are not easily proven to be HTML-free. Fix multiple calls to style_header() to prove they are always HTML-free. ... (file: [5f2e52ab72] check-in: [2da41072ff] user: drh branch: enhanced-defenses, size: 49162)
2024-12-18
11:39
Fix harmless memory leaks. ... (file: [d576f614d0] check-in: [37ae94b365] user: drh branch: trunk, size: 49162)
2024-09-28
17:59
Add xsl/xslt mimetype entries for consistency with althttpd. ... (file: [684b3d4fe9] check-in: [c0f0e1dc7b] user: stephan branch: trunk, size: 48973)
2024-07-03
15:01
Add the application/sql mime type to doc.c. ... (file: [55dd74f447] check-in: [7c76c6aa73] user: stephan branch: trunk, size: 48853)
2024-05-26
20:18
Add image/jp2 to the mime types, per forum request. ... (file: [5ac0e076d6] check-in: [2669f492cd] user: stephan branch: trunk, size: 48793)
2024-03-16
22:56
Allow rendering of Pikchrs to SVG via /doc/…/foo.pikchr?popup URLs. This allows a file stored in the repo to be referenced as an SVG from other pages. ... (file: [121d89bbd1] check-in: [758170bc79] user: wyoung branch: render-pikchr-via-doc-popup, size: 48733)
2024-02-02
22:18
Remove trailing whitespace from non-external C files. ... (file: [0b96093f42] check-in: [7db0a2d910] user: danield branch: fix-overlength-lines, size: 48703)
2023-07-16
20:47
Add calls to cgi_check_for_malice() on many more web pages. Log all 418 responses to the error log. ... (file: [15552ea105] check-in: [40266bf9b2] user: drh branch: verify-options-cgi, size: 48708)
2023-02-17
14:37
A large collection of compiler warning fixes re. signed/unsigned comparison from Daniel D. ... (file: [e35673780f] check-in: [c71f711ec9] user: stephan branch: compiler-warnings, size: 48656)
2022-12-29
19:39
Fix the new read-only-repo security mechanism so that it enables write access when necessary. ... (file: [acc53cf353] check-in: [f8363db81b] user: drh branch: trunk, size: 48651)
2022-12-20
09:46
Change spelling for check-in and similar ... (file: [5d770fc275] check-in: [d9c4321e7a] user: danield branch: check-in-spelling, size: 48552)
2022-11-19
04:38
Comment typo fix. No code changes. ... (file: [61e5fdc4fa] check-in: [95e5814c9b] user: stephan branch: trunk, size: 48551)
2022-11-13
16:26
Apply fixes to all web views to pass WCAG 2.1 tests performed by "axe DevTools" browser extension. Most fixes related to screen reader compatibility, like making sure that form elements have labels. Some color changes to improve contrast on Default skin. Made more HTML5 compliant. Minor improvement to select combo boxes for UX. Improved Search form UX. Two minor bug fixes for malformed HTML. Fixed help pages to resolve issues with non-compliant HTML being generated. Mostly documented at https://fossil-scm.org/forum/forumpost/aafb17a981df4166 ... (file: [4c16c71c55] check-in: [1f231db380] user: ericwikman branch: wcag-2.1, size: 48539)
2022-06-08
10:08
Added mjs (ES6 modules) mimetype. Changed JS mimetype from application/javascript to text/javascript to conform with the HTML spec. application/javascript is commonly used in the wild. ... (file: [2f4ca7eadf] check-in: [a54a2c6ac3] user: stephan branch: pikchrshow-wasm, size: 48551)
2022-05-18
02:39
Added wasm => application/wasm mimetype mapping for use with /ext. This is only a partial solution: we'll need to extend the mimetype structure like how was done [https://sqlite.org/althttpd/info/32df1a61707616bc | in althttpd a few hours ago] so that we can elide the charset=... part of the Content-Type header, as the wasm loader does not like that. ... (file: [98a2554054] check-in: [5c47abd6b6] user: stephan branch: trunk, size: 48219)
2021-08-15
23:13
Merge from trunk ... (file: [381a85116c] check-in: [5b67899db0] user: george branch: th1-doc-vars, size: 49214)
2021-08-12
15:41
Added 'Results' to the title for /docsrch and /search pages when s=... param is passed in, analog to checkin [b0862611cc], per request in [forum:61bd27b76f4b8ae2 | forum post 61bd27b76f4b8ae2]. ... (file: [02103a2d5d] check-in: [809c010db2] user: stephan branch: trunk, size: 48159)
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 [forum:/forumthread/436c618d309917|thread on the topic] and another thread on [forum:/forumthread/48e2ae955f09|a little bit related] issue. ... (file: [d87a251ec5] check-in: [80e062e1a7] user: george branch: th1-doc-vars, size: 49150)
2021-03-11
13:22
Numerous help text consistency tweaks based on forum discussion [forum:8c644048f0]. ... (file: [17e711cb39] check-in: [4cb50c4ef3] user: stephan branch: trunk, size: 48095)
2021-01-28
19:38
Make the /doc, /uv, and /wiki webpages respond to the "popup" query parameter by omitting the header and footer boilerplate and sending just the page content. ... (file: [f04fab6574] check-in: [36a17f36b5] user: drh branch: trunk, size: 48096)
12:09
Add the --ckout-alias option to "fossil ui", "fossil server", and "fossil http". The "--ckout-alias NAME" means that URLs of the form "/doc/NAME/..." are interpreted as if they were "/doc/ckout/...". This helps in testing embedded documentation changes prior to check-in. ... (file: [0ba869405e] check-in: [dc1121f6a7] user: drh branch: trunk, size: 47894)
2021-01-03
15:30
Fix the /file page so that it is able to play sound files that are checked into the repository. Example: [/file/src/sounds/plunk.wav] ... (file: [b6f05cba72] check-in: [6643d4a0c1] user: drh branch: trunk, size: 47432)
2020-12-22
12:13
Removed the parameter from style_finish_page() since the resulting content div class is now redundant with respect to the body class. This potentially breaks CSS made against old class names that a prior commit on this branch changed, but such skins would be made against an unreleased version of Fossil, it's unlikely many are using that first version of the feature anyway, and most of the class names did *not* change unless you were targeting a "div" instead of "body" or just a generic class name. None of the shipping skins are affected. ... (file: [5265f17a77] check-in: [0e83ca88ce] user: wyoung branch: body-feature-class, size: 46994)
11:58
Calling the new style_set_current_feature() function to override the new TH1 variable $current_feature for Fossil UI pages where the page name isn't what we want used as the "body" CSS class. For the most part, this matches the value currently being passed to style_finish_page(), but a few have changed with the benefit of hindsight. Not all calls to style_finish_page() have a corresponding call to the new function since the default value for $current_page now suffices. ... (file: [77a86b58bd] check-in: [8ac0830bfc] user: wyoung branch: body-feature-class, size: 47049)
2020-12-04
18:35
The variadic function builtin_fossil_js_bundle_or() was using 0 as a sentinel to detect end-of-list, but that isn't equivalent to NULL in a list of pointed-to objects in all C compilers, on all systems. Using a GCC/Clang function attribute to force a warning when 0 is passed instead of NULL, then fixed all resulting warnings. This fixes the SEGV reported in [forum:/forumpost/5feca9c36a|forum post 5feca9c36a] on Mac OS X 10.11 with Clang from Xcode 7. Later versions of Clang on macOS don't have this problem, but it's still UB, so fixing it may solve some pain for us later on. ... (file: [a3ad4c5cb9] check-in: [815b4fc493] user: wyoung branch: trunk, size: 47013)
2020-11-07
13:25
Rename the "style_body_and_footer()" interface to "style_finish_page()" and add a more detailed header comment to the implementation. ... (file: [c80596d83a] check-in: [942b2076c6] user: drh branch: default-css-cleanups, size: 47010)
2020-11-05
23:15
Added a parameter to style_footer() and renamed it to match its actual function (style_body_and_footer()) so we can add a CSS class to each page that indicates which major Fossil feature served the page, so we can have module-specific CSS. ... (file: [ff0f508fa1] check-in: [ef5424b683] user: wyoung branch: default-css-cleanups, size: 47046)
2020-10-11
01:19
Understand files ending in ".pikchr" to be Pikchr source text and render them appropriately. ... (file: [f7ce665dd2] check-in: [e32214a409] user: drh branch: trunk, size: 46910)
2020-09-18
07:37
The routines which emit fossil.XYZ.js modules now understand their dependencies, emit any deps in dependency order (recursively), and do not emit a given module more than once (simplifies usage and is an and overall improvement in cacheability). Added the pikchr click support to more pages. ... (file: [1ff4a2b3f6] check-in: [9b2b6f5b1c] user: stephan branch: trunk, size: 46650)
05:07
Minor C-side fossil JS API simplification to ease upcoming changes. ... (file: [982575a764] check-in: [58d86b16bf] user: stephan branch: trunk, size: 46604)
03:28
Clarify the origin of JS in the generated HTML. ... (file: [3e0b84e52a] check-in: [6854244949] user: drh branch: trunk, size: 46686)
2020-09-15
16:40
fossil.pikchr.addSrcView() now tags each processed SVG element to avoid potentially processing the same one multiple times. Added fossil.pikchr support to /doc, /wiki, and /wikiedit/fileedit previews. This is harmless if there are no pikchrs or JS is disabled. ... (file: [b5f484dbf4] check-in: [83f03e91c4] user: stephan branch: trunk, size: 46683)
2020-07-31
21:51
Permit the 'favicon.ico' image to be customized. ... (file: [cfb3ae9077] check-in: [37262b8387] user: mistachkin branch: trunk, size: 46013)
16:06
Move the /builtin webpage from style.c over to builtin.c. Add the new "m=" query parameter enabling it to return multiple JS files in a single request. ... (file: [e67282dfbd] check-in: [956d2f8db9] user: drh branch: trunk, size: 45825)
2020-07-16
13:48
Simplify new setting names and some internal names. ... (file: [ac19dc0b2e] check-in: [e6a3112f76] user: mistachkin branch: customFavicon, size: 46013)
2020-07-15
20:57
Permit the 'favicon.ico' image to be customized. ... (file: [0f56cc9b65] check-in: [3352c1c290] user: mistachkin branch: customFavicon, size: 46038)
2020-06-27
17:15
Permit the 'favicon.ico' page to be customized via TH1. ... (file: [28a9d03ffa] check-in: [ff73526517] user: mistachkin branch: th1Favicon, size: 46533)
2020-06-02
18:55
Documentation improvements on the HTML safer. Only apply safe-html to Forum posts for the moment. ... (file: [4b951855a6] check-in: [03ce4e70b6] user: drh branch: trunk, size: 45825)
2020-05-17
20:38
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. ... (file: [426c91fc87] check-in: [b5ab1ebe5e] user: drh branch: trunk, size: 45823)
2020-05-16
01:08
Integrate ARIA suggestions from Peter Laursen. ... (file: [86ace4f0a2] check-in: [7dd07b2e01] user: drh branch: trunk, size: 45592)
2020-04-05
23:45
Match the COMMAND and WEBPAGE names with _cmd and _page functions; [https://fossil-scm.org/forum/forumpost/045bffda68|forumpost/045bffda68] ... (file: [db19761c10] check-in: [06afb7022f] user: ashepilko branch: api-cleanup, size: 45586)
2020-03-12
17:02
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. ... (file: [7fd95561a0] check-in: [1b63f6894f] user: wyoung branch: trunk, size: 45589)
2020-03-07
12:06
Change the default favicon.ico to an actual GIF image of the Fossil lizard. ... (file: [4014bf2dad] check-in: [5ca0a05a80] user: drh branch: trunk, size: 49276)
2020-03-03
14:35
Fix the mimetype for /favicon.ico. ... (file: [36ebe6631d] check-in: [00e2f0511e] user: drh branch: trunk, size: 50442)
2020-03-02
12:57
Add the /favicon.ico web page. ... (file: [7cdf73858e] check-in: [81b3ce3a13] user: drh branch: trunk, size: 50449)
2020-02-26
14:28
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. ... (file: [e76b1f9061] check-in: [14c81d9d2b] user: drh branch: trunk, size: 44913)
2020-02-12
16:35
Change the special $SELF substitution used by Markdown and HTML embedded documentation into $CURRENT. See the [https://www.fossil-scm.org/forum/forumpost/69cf42b0c9|forum discussion] for details. ... (file: [502a0f9036] check-in: [45427ae1c9] user: drh branch: trunk, size: 44882)
2020-01-24
18:28
/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. ... (file: [c266467290] check-in: [14d1b7a977] user: stephan branch: mimetypes-setting, size: 44873)
16:58
/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. ... (file: [1e9eacb1cb] check-in: [baf119337b] user: stephan branch: mimetypes-setting, size: 44640)
16:45
Merged in mimetype-list branch. ... (file: [0bc90cdfe5] check-in: [9ceec69e9b] user: stephan branch: mimetypes-setting, size: 44439)
15:14
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. ... (file: [c1844d10f3] check-in: [26f2bb6fd6] user: florian branch: mimetypes-list, size: 44447)
15:05
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. ... (file: [769dae90fc] check-in: [566a27315e] user: florian branch: mimetypes-list, size: 44423)
2020-01-23
19:40
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. ... (file: [181b56bdc6] check-in: [e34ea5b6b8] user: stephan branch: mimetypes-setting, size: 43696)
18:12
Custom mimetype list now ignores one leading '.' when comparing the file extension, per forum feedback. ... (file: [f81f776d35] check-in: [b55dfc97a1] user: stephan branch: mimetypes-setting, size: 43182)
18:00
/mimetype_list page now outputs custom mimetypes using %h formatting instead of %s, per forum feedback. ... (file: [9482f9243a] check-in: [23a92a27cf] user: stephan branch: mimetypes-setting, size: 42976)
2020-01-22
02:41
Added support for client-configurable mimetypes as a versionable setting. ... (file: [884928b8a8] check-in: [322643cac8] user: stephan branch: mimetypes-setting, size: 42976)
2020-01-09
15:29
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. ... (file: [176e023667] check-in: [d08bc9e61f] user: drh branch: trunk, size: 40364)
2019-12-18
15:19
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... ... (file: [86642bf57d] check-in: [c865e1a0fc] user: drh branch: trunk, size: 39807)
15:11
Add support for magic conversion of /doc/$SELF/ URIs by expanding the $SELF to the version of the currently displayed document. ... (file: [56fea3075f] check-in: [703e62a68e] user: drh branch: trunk, size: 39546)
2019-12-13
20:56
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]. ... (file: [db72147ed4] check-in: [f28cea2b43] user: stephan branch: ext-render-index, size: 40118)
06:06
Added webp mimetype, a pedantic constness tweak in the mimetype table, and a minor typo fix. ... (file: [f151f4a822] check-in: [5590fb9e0f] user: stephan branch: trunk, size: 38282)
2019-08-27
07:21
Restore legacy title handling behavior for TH1 docs (changed via check-in [8abeb62737c2b527]). ... (file: [85fedf504b] check-in: [4219002631] user: mistachkin branch: noJsonCgiFlag, size: 38222)
2019-08-21
19:18
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. ... (file: [c330cc99fa] check-in: [3e183bfad8] user: drh branch: trunk, size: 38226)
2019-08-19
18:24
[https://www.fossil-scm.org/forum/forumpost/89dba2d978|Plan Z] ... (file: [4d50ffe828] check-in: [8264fd75bc] user: drh branch: server-docs, size: 38168)
00:51
Fix embedded HTML detection for the 'doc' web page when the 'data-title' attribute is not specified. ... (file: [bda41e25ef] check-in: [3d6a4fd95c] user: mistachkin branch: trunk, size: 38175)
2019-08-18
10:26
Improvements to the nonce='$NONCE' substitution mechanism. ... (file: [0ce54efd09] check-in: [1c50073d31] user: drh branch: server-docs, size: 38508)
06:06
Added the nonce="$NONCE" embedded documentation substitution feature and documented that and the other pre-existing text substitution features. ... (file: [57a1224be9] check-in: [02db05e600] user: wyoung branch: server-docs, size: 38426)
2019-08-01
21:05
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. ... (file: [c1099511e6] check-in: [54e01c60e2] user: drh branch: trunk, size: 38178)
2019-07-29
14:19
Fix the build for -DFOSSIL_ENABLE_TH1_DOCS. The build was broken by check-in [ed2def5ffb96d74c] and on trunk by [ec56c69fe98d26d9]. ... (file: [b3a7365613] check-in: [8abeb62737] user: drh branch: trunk, size: 37802)
2019-07-25
17:07
Add the ability to extend a Fossil server using CGI. This is a refactor of the prior sub-cgi branch. ... (file: [fe3c4b6fcb] check-in: [ed2def5ffb] user: drh branch: extension-cgi, size: 37794)
2018-12-30
20:30
Begin adding the ability to use specially-named wiki pages to supplemental information about branches, tags, and/or checkins. ... (file: [38b2458da7] check-in: [dcf93d0341] user: drh branch: describe-objects-using-wiki, size: 37329)
2018-08-29
11:04
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. ... (file: [b40e2b92da] check-in: [03979823d1] user: drh branch: trunk, size: 37336)
2018-07-15
19:56
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. ... (file: [8bdecf001f] check-in: [3f5ab71744] user: drh branch: trunk, size: 37265)
2018-06-24
18:47
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. ... (file: [72033252c0] check-in: [29cb8260c0] user: drh branch: trunk, size: 37265)
2018-02-25
19:47
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=. ... (file: [dbf23864f8] check-in: [f89eb80eec] user: drh branch: trunk, size: 37275)
2018-02-24
20:14
Redesign the ETags mechanism to be simpler and safer. ... (file: [86d6090f8b] check-in: [ae660cd62f] user: drh branch: etags-cache-control, size: 37106)
18:39
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. ... (file: [59fca90bf0] check-in: [02740c2c47] user: drh branch: etags, size: 37069)
03:38
ETags now working for the /uv page. ... (file: [8d95ab3009] check-in: [5b84cab0d6] user: drh branch: etags-cache-control, size: 37076)
2017-12-06
10:01
Perform table sorting using a separate javascript file rather than using in-line javascript. ... (file: [799bde12f6] check-in: [6b645d631d] user: drh branch: trunk, size: 36928)
2017-11-30
17:58
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. ... (file: [1cce24df9d] check-in: [e7767de263] user: drh branch: symlink-refactor, size: 36917)
2017-11-03
06:46
Fix harmless compiler warning. ... (file: [52158f17e2] check-in: [5aa37859d0] user: mistachkin branch: trunk, size: 36897)
2017-09-21
00:56
Correct /doc webpage in the case of a read-only database containing a vcache table lacking the desired vid ... (file: [b1ca58f64f] check-in: [b20f6cbaf4] user: andygoth branch: trunk, size: 36897)
2017-08-05
03:23
Correct the /doc page to support read-only repositories ... (file: [cb5731ba54] check-in: [95edba6534] user: andygoth branch: trunk, size: 36856)
2017-07-07
19:18
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. ... (file: [1c006182a3] check-in: [956d4901a9] user: andygoth branch: trunk, size: 36793)
2017-07-03
09:31
Update changes.wiki. Some eol-spacing ... (file: [dd1e537ff3] check-in: [86d4754a7a] user: jan.nijtmans branch: trunk, size: 36689)
2017-06-19
01:55
Make sure the /uv webpage returns a sensible error if the unversioned table does not exist. ... (file: [5e1c9f2d11] check-in: [a49ef37865] user: drh branch: trunk, size: 36690)
2017-05-27
03:21
Fix support for 'raw' mode for embedded TH1 docs broken by check-in [35698c9c43478f8f]. ... (file: [e21c027580] check-in: [05df5d2ee6] user: mistachkin branch: trunk, size: 36629)
2017-04-19
07:08
Add image/bmp and image/vnd.microsoft.icon (ico) to the mime-type table ... (file: [91068a1fbb] check-in: [613fe1b1fb] user: jan.nijtmans branch: trunk, size: 36580)
2017-03-04
14:29
Add the /juvlist webpage that returns a list of all unversioned files as JSON. ... (file: [a18db75a08] check-in: [7d12ba544f] user: drh branch: trunk, size: 36400)
2017-03-01
15:35
Change references to "SHA1 hash" in comments and UI labels to be "artifact hash" or similar. ... (file: [ae84da677c] check-in: [b9a1a3b9d8] user: drh branch: fossil-2.0, size: 36400)
2017-02-23
07:52
Add support for document titles to the TH1 docs feature. ... (file: [7d289a1b95] check-in: [35698c9c43] user: mistachkin branch: trunk, size: 36398)
2016-11-04
22:37
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. ... (file: [bae142c1df] check-in: [e5b62edb28] user: andygoth branch: trunk, size: 36166)
2016-08-29
14:15
Fix the /uv page so that works on Solaris. ... (file: [f46ada466f] check-in: [0cd96edc20] user: drh branch: trunk, size: 36206)
2016-08-23
13:31
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 &lt;base&gt; header. ... (file: [484b7d1873] check-in: [4a8378581c] user: drh branch: trunk, size: 36201)
2016-08-21
17:50
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. ... (file: [8439403b1d] check-in: [253795692b] user: drh branch: trunk, size: 36191)
2016-08-16
16:25
Merge recent trunk enhancements. ... (file: [cc885b20a1] check-in: [f6d4a2bfe3] user: drh branch: unversioned-files, size: 36098)
2016-08-12
04:46
Add experimental 'raw' mode for embedded TH1 docs. ... (file: [d9adb2c719] check-in: [fbd31d4c2d] user: mistachkin branch: th1RawDocs, size: 35649)
2016-08-10
09:06
Remove unnecessary spacing ... (file: [630aa8c212] check-in: [c3b5f1d2f2] user: jan.nijtmans branch: trunk, size: 35574)
2016-08-09
12:37
Change the schema for the unversioned table. Add some initial code to do unversioned sync, but the code is incomplete and untested. ... (file: [f3de1b4ae7] check-in: [73932a32c5] user: drh branch: unversioned-files, size: 36024)
2016-08-05
12:30
Add the /uv webpage. ... (file: [dfdaaff44e] check-in: [440defe233] user: drh branch: unversioned-files, size: 36273)
2016-06-09
15:26
Add mimetypes for bz2 and bzip. ... (file: [c8f8250a5d] check-in: [c7e9625d42] user: drh branch: trunk, size: 35575)
2016-04-01
20:21
Work in progress on spell-check and proof-reading sweep over the help text. ... (file: [aad06cde81] check-in: [2a4e31bd8d] user: rberteig branch: ross-spellcheck, size: 35455)
2015-12-31
00:25
Add primary MIME types for C# (.cs) and VB.NET (.vb) source code. ... (file: [ee445fb565] check-in: [33dd770461] user: mistachkin branch: dotnet-mime, size: 35412)
2015-12-19
14:38
Add support for expanding $ROOT in href= and action= of HTML output into the top-level directory of the repository. ... (file: [dd45c32477] check-in: [e57ab29584] user: drh branch: trunk, size: 35292)
2015-11-06
08:09
Use the same definition of BINARY in multiple places of fossil. Reported by sky5walk. ... (file: [b2954ce41c] check-in: [b51ba29365] user: jan.nijtmans branch: trunk, size: 33957)
2015-10-22
15:56
Change the mimetype for “man” and “n” to text/plain. ... (file: [10cb5eb292] check-in: [b38adc347a] user: drh branch: mimetype-changes, size: 34190)
2015-09-16
09:18
Add some "const" keywords in appropriate places. No change in functionality. Eliminates some compiler warnings. ... (file: [cf011a280f] check-in: [a6fd491d3a] user: jan.nijtmans branch: trunk, size: 34130)
2015-08-21
04:33
Update and improve comments. ... (file: [687517faac] check-in: [676d97d70c] user: mistachkin branch: ckol-th1-dir-cmd, size: 34131)
2015-08-14
19:29
implemented th1 comman 'dir' similar to cli 'ls' ... (file: [a7ddf98082] check-in: [5d56fb7e2c] user: ckolumbus branch: ckol-th1-dir-cmd, size: 33973)
2015-07-15
10:38
Do not attempt to attach the local database while processing "ckout" in the /doc page if that database is not already open. ... (file: [18720846ab] check-in: [b9b9d7e739] user: drh branch: trunk, size: 33915)
10:33
Fix a typo in a comment. No changes to code. ... (file: [cf27e5b0da] check-in: [d1a8238783] user: drh branch: trunk, size: 33920)
10:31
Fix the /doc page so that it correctly handles an empty document name in the same way that it handles a NULL document name. ... (file: [82011406ec] check-in: [c99b4e34dd] user: drh branch: trunk, size: 33915)
2015-04-27
13:19
Provide help text for all commands and webpages. ... (file: [1dfc49e465] check-in: [7ab03289ee] user: drh branch: trunk, size: 33874)
2015-03-23
00:44
Add tests for the TH1 docs feature. ... (file: [885d6a8cce] check-in: [71536a2851] user: mistachkin branch: trunk, size: 33585)
2015-02-28
10:11
replaced 'checkin' with 'check-in' in code-comment, inline command help-text, SQL-statement comment, fatal error messages and some non-functional webpage-content ... (file: [3f153d8c9f] check-in: [7c30266a45] user: michai branch: ml-jb-doc-typos, size: 33595)
2015-02-14
12:24
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. ... (file: [76ac0d4420] check-in: [2f50d427a9] user: drh branch: login-enhancements, size: 33591)
2015-02-11
20:24
Add text/csv to the mimetype table. Add additional code to verify that the mimetype table is well-ordered. ... (file: [6f2c1041a4] check-in: [e4c420b437] user: drh branch: trunk, size: 33580)
2015-02-09
10:15
Add mime types for common opendocuments. This lets the browser pick the right program to open them straight. <strong>Update:</strong>Jan picked this change from viric_flavour, instead of merging this branch. So I close this, as we can consider this integrated. ... (file: [39e826b81c] check-in: [d0b1b1114e] user: viriketo branch: viric_mimeopendocument, size: 33293)
2015-02-05
15:48
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. ... (file: [ca6279e7af] check-in: [49a990b6fd] user: drh branch: form-submenu, size: 33080)
09:01
Unfinished comment in search.c, and some more end-of-line spacing removals. No change in functionality. ... (file: [44aeaf384a] check-in: [5260fbf632] user: jan.nijtmans branch: trunk, size: 33088)
2015-02-03
13:17
Unify the search screen generator code. Provide class marks to support CSS customization. ... (file: [083526162d] check-in: [bb4a130121] user: drh branch: trunk, size: 33098)
2015-02-02
04:13
Add a separate /docsrch webpage to handle just document search. ... (file: [f5b4dd2002] check-in: [15f0dbd953] user: drh branch: trunk, size: 33801)
2015-02-01
18:37
Add the /mimetype_list page for use by documentation. ... (file: [f122ebf690] check-in: [51751b00a9] user: drh branch: trunk, size: 32856)
18:22
For embedded documentation, if the content file has mimetype text/html but it begins with a &lt;div&gt; element that has class=fossil-doc, then add the usual header and footer to the content before displaying it. Also, if the &lt;div&gt; element has a data-title=TITLE attribute, then use TITLE as the title of the document. ... (file: [c295211857] check-in: [ace8016f29] user: drh branch: trunk, size: 32611)
2015-01-31
22:13
Initial work on the search_stext() function used to extract searchable text from formatted files. ... (file: [10d910365d] check-in: [48e1e18304] user: drh branch: trunk, size: 30040)
2015-01-29
09:14
Changelog additions, and a single "const" addition ... (file: [ce0d37cece] check-in: [9586ac14b8] user: jan.nijtmans branch: trunk, size: 29651)
01:48
Fix the /doc page so that it returns status 200 (not 404) after appending "index.html" to the end of a page name. ... (file: [d1ed1c0181] check-in: [8b4b4247dc] user: drh branch: trunk, size: 29645)
01:25
Fix harmless compiler warnings. ... (file: [e656298185] check-in: [ef108998c4] user: drh branch: trunk, size: 29489)
01:23
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. ... (file: [dd451afed0] check-in: [bdfbbddc8f] user: drh branch: trunk, size: 29489)
00:44
Fix another instance of index.wiki to index.html. ... (file: [ab66733d90] check-in: [2c1677aa17] user: drh branch: trunk, size: 29057)
00:38
For embedded documentation that ends in / go back to appending index.html instead of index.wiki. ... (file: [46cdbe931e] check-in: [2ddb0e5a23] user: drh branch: trunk, size: 29057)
2015-01-23
13:50
Make sure the zOrigName variable in the /doc page implementation is always initialized, even for early errors. ... (file: [86e1af46c4] check-in: [f5165dd05b] user: drh branch: trunk, size: 29057)
07:03
Fix compiler warning for 'zOrigName' variable. If unable to locate a document, fallback on 'zName' if 'zOrigName' is zero. ... (file: [513d29aeb5] check-in: [aed9971ddb] user: mistachkin branch: docVarWarn, size: 29065)
04:26
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. ... (file: [7252277a58] check-in: [cfcd9b87dc] user: drh branch: trunk, size: 29045)
2015-01-21
18:55
Enhance the ad-unit processing to allow for tall right-side column ads as an alternative to banner ads. ... (file: [2bdc0de1c6] check-in: [4bc5b6cf9b] user: drh branch: ad-unit-enhancement, size: 29089)
2014-10-21
03:23
Fix build break when the TH1 docs feature is enabled. ... (file: [64209642ec] check-in: [6d4e5d801e] user: mistachkin branch: trunk, size: 29047)
2014-10-20
15:01
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. ... (file: [9bf24d3ac8] check-in: [0a7e326fa4] user: drh branch: compile-time-print-checking, size: 29071)
2014-10-16
11:45
Reduce the number of end-of-line spaces. No functional change. ... (file: [e7e4034f04] check-in: [20d02ab750] user: jan.nijtmans branch: trunk, size: 29091)
2014-09-09
21:22
Add compile-time option to control whether the TH1 embedded documentation support is enabled. Also, omit TH1 hooks setting when it is not enabled. ... (file: [30adc8a4b7] check-in: [516cc0c91f] user: mistachkin branch: dynamicTh1Docs, size: 29159)
2014-09-08
18:23
Improve page title handling. ... (file: [2ba1a43767] check-in: [67d5812c7f] user: mistachkin branch: dynamicTh1Docs, size: 29122)
18:13
Add 'th1-docs' setting to control whether or not TH1 scripts are allowed in embedded documentation files. ... (file: [67db21d08a] check-in: [4f0b0a6af2] user: mistachkin branch: dynamicTh1Docs, size: 29070)
08:08
Highly experimental changes to enable TH1 usage in embedded docs. Do not merge. ... (file: [73a69a70bb] check-in: [5ce57f21bd] user: mistachkin branch: dynamicTh1Docs, size: 29025)
2014-01-14
13:39
Handle utf16 text pages in the /doc webpage. ... (file: [30f854b9d9] check-in: [1c5b51e6bf] user: drh branch: trunk, size: 28812)
2013-10-04
09:30
Better error-message in case of "manifest file is malformed" ... (file: [f4c235f77c] check-in: [1eb438d61a] user: jan.nijtmans branch: pending-review, size: 28775)
2013-06-18
19:05
Add the ".mp4" suffix to the mimetype table. ... (file: [768527b613] check-in: [1294f9b22d] user: drh branch: trunk, size: 28772)
2013-05-28
00:45
Add the ability to edit Wiki pages as either Fossil Wiki, or Markdown, or Plain Text. ... (file: [a57a6e8ed0] check-in: [a5a5524659] user: drh branch: trunk, size: 28710)
2013-05-01
16:02
Fix an off-by-one error in the binary search for file suffixes when trying to guess the mimetype of a file. Ticket [da461aefee1351] ... (file: [44c05bffa2] check-in: [96b09d89a1] user: drh branch: trunk, size: 28717)
2013-03-29
15:43
Enable markdown by default. Render as markdown any document that ends with either "md" or "markdown". ... (file: [41fa329919] check-in: [02f312e698] user: drh branch: markdown, size: 28713)
2013-03-04
10:25
Proposed fix for ticket: test-move-repository requires access to original repository ... (file: [2338061524] check-in: [1b61defd58] user: jan.nijtmans branch: fix-test-move-repository, size: 28730)
2013-02-11
19:30
Merging from trunk. I still have merge conflicts since my previous merge. ... (file: [87b7cb00cf] check-in: [bdeb633a6c] user: viriketo branch: annotate_links, size: 28948)
2013-01-27
21:06
issue [cd201d69bb]: For completeness, let's add .dot and .dotx too. ... (file: [fbee05bb2a] check-in: [c5ed222748] user: jan.nijtmans branch: trunk, size: 28729)
20:51
Fix issue [cd201d69bb] ... (file: [eb02bcfef6] check-in: [2a74733cbc] user: jan.nijtmans branch: trunk, size: 28568)
2013-01-03
10:31
Updating from trunk. I've left some merge conflicts to solve (annotate, diff) ... (file: [1eb117f941] check-in: [b5b8448ece] user: viriketo branch: annotate_links, size: 28485)
2012-12-12
22:52
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. ... (file: [73c8be4435] check-in: [d48399bd39] user: drh branch: trunk, size: 28266)
2012-12-07
20:58
Merge updates from trunk. ... (file: [406bef34a5] check-in: [de1ef7e99f] user: mistachkin branch: markdown, size: 28260)
2012-12-01
20:17
Add mimetype mappings for .docx, .pptx, and .xlsx. ... (file: [261efbe9f4] check-in: [4e23c42f7e] user: drh branch: trunk, size: 27665)
2012-11-02
08:31
speedup mimetype_from_content() by using a 256 byte array. <br>Mark VT and Ctrl-Z as text bytes, not binary. <br>Decrease maximum UTF-16 line length to 2731 <br>Check for FFFF in addition to 0, in UTF-16/binary detection. ... (file: [734e4bf7a6] check-in: [d804902f23] user: jan.nijtmans branch: trunk, size: 27479)
2012-10-31
20:56
adapt comments accordingly ... (file: [4ad05b6e6c] check-in: [b5123d5154] user: jan.nijtmans branch: improve_looks_like_binary, size: 27412)
20:49
Don't make it too complicated, too much risk to break other things. ... (file: [a2ca95e226] check-in: [de5a2ef661] user: jan.nijtmans branch: improve_looks_like_binary, size: 27480)
2012-10-30
20:10
Faster determination of binary files, by not only checking for NUL <p>re-use looks_like_blob ... (file: [e3815bcae9] check-in: [0ba08f9d26] user: jan.nijtmans branch: improve_looks_like_binary, size: 27242)
2012-10-19
18:33
All submenu buttons on embedded documentation pages using markup of the form: &lt;a class="button" href="..."&gt;LABEL&lt;/a&gt;. ... (file: [7ae998e9b4] check-in: [563b3ccb7b] user: drh branch: embedded-doc-buttons, size: 27488)
17:34
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. ... (file: [a2553796a5] check-in: [463df97c06] user: drh branch: full-html-for-embedded-docs, size: 27492)
2012-10-09
14:19
Adding mime types for some openoffice documents ... (file: [5b99a9f94c] check-in: [770cf7fc35] user: viriketo branch: annotate_links, size: 27685)
2012-10-07
10:29
Add 'markdown' setting to enable runtime control over whether or not it is used. ... (file: [d81c49f93e] check-in: [1c5085d963] user: mistachkin branch: markdown, size: 28061)
2012-10-03
19:54
Integration work for the markdown engine provided by Natacha Porté. ... (file: [247bcb9a3e] check-in: [d38c6eef06] user: mistachkin branch: markdown, size: 28019)
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII ... (file: [44aa60b601] check-in: [9f6abc5968] user: jan.nijtmans branch: msvc-broken, size: 27465)
2012-08-13
12:30
Fixes to the &lt;base&gt; addition to the HTML header so that it works correctly with the "doc" webpage. Href is now $baseurl/$current_page. ... (file: [c0a2fbd8a1] check-in: [fd10cdbaf8] user: drh branch: wysiwyg, size: 27466)
2012-06-27
12:30
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. ... (file: [edefa4accc] check-in: [6823912746] user: drh branch: sqlite4, size: 27420)
2012-06-11
17:23
Merge in Trunk... ... (file: [1b54c83f36] check-in: [c109e66db5] user: mgagnon branch: mgagnon_fix, size: 27462)
2012-03-31
15:18
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. ... (file: [ac5a32d381] check-in: [62398459fb] user: drh branch: trunk, size: 27420)
2012-03-29
14:54
Add vim modline everywhere ... (file: [a5581e278f] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 26611)
2011-10-29
17:22
For the /doc web method, append "index.html" if the path ends with "/". ... (file: [2ff7f76502] check-in: [49a015ef79] user: drh branch: trunk, size: 26569)
2011-09-14
17:45
Refactored g.okXXX perms flags to g.perm.XXX. ... (file: [0fdde3734a] check-in: [34b4dec0bc] user: stephan branch: stephan-hack, size: 26356)
2011-09-12
13:06
Fix typo in comment ... (file: [ec2b77b282] check-in: [b582ff9879] user: joerg branch: trunk, size: 26353)
2011-06-01
22:32
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]. ... (file: [0f170fcdb0] check-in: [2a013f0228] user: drh branch: trunk, size: 26351)
2011-05-27
12:16
Add the test-mimetype command and use it to verify the correct order of entries in the mimetype table. Fix the errors found. ... (file: [473dd619bb] check-in: [ea2698e9c7] user: drh branch: trunk, size: 26339)
2010-12-30
02:15
make correction on image/png magic for mimetype detection ... (file: [e247358245] check-in: [ff53d5ab3e] user: bch branch: trunk, size: 25624)
2010-12-23
02:22
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. ... (file: [5de3dbac07] check-in: [31c52c7b3e] user: drh branch: trunk, size: 25624)
2010-12-19
02:09
Clear compiler warnings on OpenBSD. No functional code changes. ... (file: [58c6da0b74] check-in: [bbbb35a3c6] user: drh branch: trunk, size: 25582)
2010-12-15
02:19
Make three new TH1 variables available the footer on /doc pages: $doc_name, $doc_version, and $doc_date. ... (file: [7a6f0faefb] check-in: [1b0e6c0fbb] user: drh branch: trunk, size: 25519)
2010-11-07
18:48
Fix alphabetical missort. ... (file: [5e3da9bafa] check-in: [d156b68672] user: venkat branch: venks-emacs, size: 25194)
18:42
Send the right mime-type for svg files [2e088c5815] ... (file: [22726e502b] check-in: [151a2104ae] user: venkat branch: venks-emacs, size: 25194)
2010-10-15
20:37
Refactor the control-artifact parser. ... (file: [ea1896125e] check-in: [da9fcdc95a] user: drh branch: experimental, size: 25132)
2010-10-14
19:14
Remove all use of ctypes.h in order to avoid compiler warnings and other problems associated with changing locales. ... (file: [c74aa893fc] check-in: [2fac809165] user: drh branch: trunk, size: 25163)
2010-05-21
16:21
Fix issues with attachments on tickets. In the artifact viewer, do a better job of detecting JPEG images from the content prefix. ... (file: [d8595f240e] check-in: [3343450e64] user: drh branch: trunk, size: 25156)
2010-05-16
19:08
Change from GPL to the Simplified BSD License. ... (file: [d62ac09e4f] check-in: [c06edd231f] user: drh branch: clear-title, size: 25104)
2010-01-23
21:48
Cause browsers to cache the logo and style sheet. ... (file: [adcb0b2090] check-in: [08c0a9ff0c] user: drh branch: trunk, size: 25380)
2010-01-13
10:10
Fixed bug where /doc could only be read if the user had checkout security - <i>drh adds</i>: This is not a bug. Checkout permission prevents /doc from being used to "checkout" any version of any file. ... (file: [d770b2c09e] check-in: [acba194c0d] user: jeremy_c branch: dead-end, size: 25365)
2009-09-22
11:15
Add the optional mimetype= query parameter to the /doc URI. ... (file: [cb0906ed17] check-in: [f969b6cdde] user: drh branch: trunk, size: 25363)
2009-09-21
19:10
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. ... (file: [4e90952b00] check-in: [43481115ed] user: drh branch: trunk, size: 25287)
2009-08-15
12:18
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". ... (file: [a9193f6c29] check-in: [292e585661] user: drh branch: trunk, size: 20115)
2009-06-07
17:27
If embedded wiki documentation begins with &lt;title&gt;...&lt;/title&gt; then use the text within the markup as the title of the document. ... (file: [682899f6dc] check-in: [f88e2e7a13] user: drh branch: trunk, size: 20022)
2009-01-30
02:26
Fix errors in the mimetype-generator table for documentation files. ... (file: [b634a7084a] check-in: [23e96cf795] user: drh branch: trunk, size: 19855)
2008-11-17
19:11
Modify the artifact viewer to base the mimetype off of artifact content, not the artifact name. ... (file: [a23503395b] check-in: [7303bfeb12] user: drh branch: trunk, size: 20041)
2008-09-23
20:53
Fix a bug in the mime-type decoder for the /doc method. ... (file: [2b833a11d7] check-in: [fa1c7d598f] user: drh branch: trunk, size: 18603)
2008-08-30
13:20
Add a much larger and more complete file-suffix to mimetype translation table to the "doc" method. ... (file: [6b0c93f6b9] check-in: [8e66784522] user: drh branch: trunk, size: 18603)
2008-05-15
20:18
Separate the new /doc method out into its own source file. ... (file: [c2074c13ca] check-in: [5cf1206dfa] user: drh branch: trunk, size: 6682)