Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History of file src/doc.c at check-in 49a990b6fdba3faa
|
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 <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. 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: <a class="button" href="...">LABEL</a>. 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 <base> 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-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 | |
|
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 <title>...</title> 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 | Added: Separate the new /doc method out into its own source file. file: [c2074c13ca] check-in: [5cf1206dfa] user: drh branch: trunk, size: 6682 | |