Fossil

History of src/th_main.c of 901f18393d1d9e75
Login

History of src/th_main.c of 901f18393d1d9e75

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

History of file src/th_main.c at check-in 901f18393d1d9e75

2024-10-12
12:03
Emit only \n, not \r\n, even in places where protocols technically require a full \r\n. Provide a compile-time option -DSEND_CR=1 that includes the CRs when necessary. ... (file: [f7c3d41c7b] check-in: [0dcce257b0] user: drh branch: omit-cr, size: 87974)
2024-02-02
16:26
Fix lines over 80 characters long, excluding external source files and @-lines. ... (file: [baac5d2f93] check-in: [942f691b39] user: danield branch: fix-overlength-lines, size: 87968)
2023-09-18
13:18
Try to simplify and rationalize the defenses against cross-site request forgery attacks. A hodgepodge of techniques have been used in the past. This changes attempts to make everything work more alike and to centralize CSRF defenses for easier auditing. ... (file: [3997512c80] check-in: [88a402fe2a] user: drh branch: csrf-defense-enhancement, size: 87917)
2023-05-21
03:37
Merge updates from trunk. ... (file: [b909b43ce4] check-in: [e3df21cdf1] user: mistachkin branch: th1Hash, size: 89557)
2023-05-10
18:40
Removed all of the XML-style " />" tag closing markers on empty tags such as "hr", "br", and "input" to placate modern HTML5 validators. That's the doctype we declare, not XHTML, so we should conform. (Besides which, the XHTML dream is dead.) ... (file: [79e79f5610] check-in: [f5482a0a79] user: wyoung branch: trunk, size: 87874)
2023-02-17
14:37
A large collection of compiler warning fixes re. signed/unsigned comparison from Daniel D. ... (file: [703e6f2004] check-in: [c71f711ec9] user: stephan branch: compiler-warnings, size: 87922)
2023-01-09
13:06
Further consistency improvements in docs for various commands. ... (file: [6689c49ee6] check-in: [2512d2d472] user: km branch: trunk, size: 87917)
2022-12-20
09:46
Change spelling for check-in and similar ... (file: [f510eb11bf] check-in: [d9c4321e7a] user: danield branch: check-in-spelling, size: 87929)
2022-11-24
22:13
Add TH1 command "<code>submenu</code>". For the time being it has just one subcommand "<code>link</code>" that adds a hyperlink to the submenu of a page. ... (file: [f0243d1a5d] check-in: [71b221657b] user: george branch: trunk, size: 87925)
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: [5d91ae98ab] check-in: [1f231db380] user: ericwikman branch: wcag-2.1, size: 87106)
2022-10-17
01:02
Merge updates from trunk. ... (file: [1283e980e8] check-in: [6f3640a71d] user: mistachkin branch: th1Hash, size: 88810)
2022-01-06
22:34
Fix the capexpr TH1 command so that it actually works for a list of terms. ... (file: [6a5966d005] check-in: [8188ef9bc7] user: drh branch: trunk, size: 87127)
2021-08-07
17:28
Improved error message upon timeout. Combine redundant implementations of the function that finds user and kernel CPU usage. ... (file: [db12463fe5] check-in: [6c3d370496] user: drh branch: trunk, size: 87118)
2021-07-05
16:52
Resolved a g.th1Flags bitmask collision between TH_STATE_xxx and TH_INIT_NO_ENCODE. ... (file: [e73a4bf737] check-in: [0dc3a65515] user: stephan branch: th1-recursive-render, size: 88134)
2021-07-02
04:16
When calling Th_Render() recursively, pass on g.th1Flags so that recursive calls do not inadvertently toggle flags like TH_INIT_NO_ENCODE. ... (file: [610136898e] check-in: [0a57df7e07] user: stephan branch: th1-recursive-render, size: 88134)
2021-07-01
04:03
Proposed fix for out-of-order output when calling th1 render function from a th-doc page body. DO NOT MERGE: this is being checked in so that it can be deployed on a test server. ... (file: [4f2e4ae1e6] check-in: [a381a8102b] user: stephan branch: th1-recursive-render, size: 87955)
2021-06-15
14:24
The SCRIPT argument to the test-th-eval command may now be a file name or a script string. (Edit: closing branch - we have yet to find a compelling use for this feature.) ... (file: [4611a51207] check-in: [2ee8730870] user: stephan branch: chat-user-last-seen, size: 87285)
2021-03-18
22:57
Add compile-time option to enable TH1 memory leak tracking. Also, fix a TH1 memory leak and improve a couple #ifdef's. ... (file: [a304904b25] check-in: [e5293dc281] user: mistachkin branch: th1-malloc-debugging, size: 86994)
2021-01-27
13:32
More TH1 performance optimizations: Go directly to malloc() rather than through the Th_Malloc() intermediary. ... (file: [0789cfde7c] check-in: [9b4f2d8e98] user: drh branch: trunk, size: 85923)
2021-01-26
19:37
Rework the /sitemap customization settings. There is now just a single setting "sitemap-extra" that is a TCL list of triples, where each triple defines a new entry in the /sitemap. Legacy entries are ignored. Administrators that have a custom /sitemap configuration will need to update the "Custom Sitemap Entries" setting on the /Admin/Configuration page after updating to this version of Fossil or later. ... (file: [02d4beacb3] check-in: [aa5beb8c29] user: drh branch: trunk, size: 86636)
15:42
Experimental TH1 command "capexpr" that evaluates an expression on capabilities. ... (file: [36a346e09c] check-in: [6828565ebe] user: drh branch: capexpr, size: 86643)
2021-01-25
18:52
Enhance the hamburger menu JS so that it does not require TH1 support and can be independently loaded. Rename the hamburger menu JS to src/hbmenu.js. Add the new "builtin_request_js" TH1 command to request JS loading, and use that command in the default and plain_gray skins to access the common hbmenu.js code. ... (file: [6eda3629ef] check-in: [d39732b714] user: drh branch: standard-hbmenu, size: 84899)
16:52
Get the hamburger menu working for the "plain_gray" skin. ... (file: [a6ac9bccbc] check-in: [fa8be1ace6] user: drh branch: trunk, size: 84161)
2021-01-18
04:32
Added --no-print-result flag to test-th-source to suppress output of final result, as the default behavior sometimes causes duplicate output of the last expression. ... (file: [35c1d08875] check-in: [817c643435] user: stephan branch: trunk, size: 83948)
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: [a669f9157d] check-in: [0e83ca88ce] user: wyoung branch: body-feature-class, size: 83709)
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: [4fa837f2a4] check-in: [942b2076c6] user: drh branch: default-css-cleanups, size: 83767)
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: [b91f35f295] check-in: [ef5424b683] user: wyoung branch: default-css-cleanups, size: 83771)
2020-09-14
00:55
Typo fix and changelog pikchr update. ... (file: [7e1d4e07fd] check-in: [d9b4235812] user: stephan branch: trunk, size: 83704)
00:06
Changed th1 enable_htmlify call semantics. Fixed a bug introduced in [6f7f73b6] which entirely broke th1 rendering in skins. ... (file: [cc278fa225] check-in: [7996a7940a] user: stephan branch: pikchr-th, size: 83704)
2020-09-13
23:38
Added th1 (enable_htmlify bool) command so that pikchr th1 code in th1Docs has a way of toggling that g.th1Flag off and on. ... (file: [09f124d3f6] check-in: [6f7f73b6af] user: stephan branch: pikchr-th, size: 83464)
21:37
Added captureTh1 TH1 command which runs TH1 and captures any output as a string, which becomes the function's result. ... (file: [720fc1a8bf] check-in: [c3991493b9] user: stephan branch: pikchr-th, size: 82565)
21:23
Centralized handling of the TH_INIT_NO_ENCODE (formerly NO_ESC) flag in sendText(). ... (file: [3f0e39fdd9] check-in: [b95861fb8a] user: stephan branch: pikchr-th, size: 81775)
19:40
Undid part of [dd4b87c0] which was just plain broken. Yes, we do need TH_INIT_NO_ESC, or something similar, to avoid puts HTML-escaping our pikchr quotes. ... (file: [457a472649] check-in: [a5eaa0661e] user: stephan branch: pikchr-th, size: 81542)
18:42
It seems we might not need the new TH1_INIT_NO_ESC flag so long as we're just really careful with how we use puts. ... (file: [3b6d602c96] check-in: [dd4b87c0bc] user: stephan branch: pikchr-th, size: 81581)
18:26
Found a workaround for the th1 puts escaping, but am still wondering whether it's a viable long-term solution. ... (file: [ef06a8138e] check-in: [18abb60d42] user: stephan branch: pikchr-th, size: 81543)
16:35
Initial work on a pikchr CLI command which integrates TH1 for programmatic pikchr generation. DO NOT MERGE: the required changes to TH1 need more testing to ensure they do not introduce fallout in the skin output. Also, output redirection is still very imcomplete and TH1 error reporting does not yet do the right thing. ... (file: [6744b47c54] check-in: [8a4304eae2] user: stephan branch: pikchr-th, size: 81372)
2020-09-10
00:54
Add the 'defHeader' command to TH1. ... (file: [37f31992db] check-in: [c1cb6886cd] user: mistachkin branch: trunk, size: 79815)
2020-07-08
15:23
Follow-up to previous check-in: avoid breaking external feature detection for 'mv-rm-files'. ... (file: [ef836b0721] check-in: [4a880a166a] user: mistachkin branch: trunk, size: 79446)
13:53
Since FOSSIL_ENABLE_LEGACY_MV_RM is enabled by default (it really only does something when the "mv-rm-files" setting is set anyway), and there is no reason to ever disable it, just clean up the related #ifdef's. ... (file: [30ed6ea7bc] check-in: [918bcfcf77] user: jan.nijtmans branch: trunk, size: 79317)
2020-06-12
20:57
Another attempt to adjust JSON session lifecycle. ... (file: [eaf9d652b0] check-in: [a34c7b37f2] user: mistachkin branch: jsonTestsPass, size: 79493)
2020-06-11
01:52
Updates to the 'th1-docs' tests. Also, enhance output of the --th-trace option. ... (file: [7397089b65] check-in: [fee9ede22a] user: mistachkin branch: trunk, size: 79472)
2020-06-07
23:03
Fixes and enhancements to SEE integration on Windows. ... (file: [3eea1ad455] check-in: [584ac9ffc4] user: mistachkin branch: testPid, size: 78901)
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: [5332ea0943] check-in: [b5ab1ebe5e] user: drh branch: trunk, size: 78778)
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: [c65868bcbd] check-in: [06afb7022f] user: ashepilko branch: api-cleanup, size: 78794)
2019-12-13
19:14
Delay for a failed 'verifyLogin' command invocation. ... (file: [e602bcc885] check-in: [7703173f47] user: mistachkin branch: verifyLogin, size: 78778)
2019-12-08
23:49
Add experimental 'verifyLogin' command to TH1. ... (file: [97da94aefc] check-in: [74b7f07c49] user: mistachkin branch: verifyLogin, size: 78721)
2019-06-07
13:10
Minor name changes to new routines. ... (file: [4c91ac7c1e] check-in: [ef848025da] user: drh branch: copybtn.js-tweaks, size: 78168)
11:47
Output the copy button patterns for HTML pages and TH1 scripts from a centralized function, to make it easier to apply global modifications. ... (file: [8a9f84aad9] check-in: [eb960935fc] user: florian branch: copybtn.js-tweaks, size: 78158)
2019-06-05
07:47
Define the spacing between copy buttons and adjacent elements by CSS rules, so that (0) no additional white space (nbsp) needs to be inserted into the HTML document, (1) the spacing can be modified by CSS rules, and (2) the copy buttons can be hidden by CSS rules. ... (file: [742dd06738] check-in: [63ebcafb19] user: florian branch: copybtn.js-tweaks, size: 79161)
2019-06-02
11:31
Add a TH1 command to output text with a copy button, and modify the default View Ticket Page template to include a copy button for the ticket hash (UUID). ... (file: [98d9adbfd2] check-in: [68405c3f5b] user: florian branch: copybtn.js-demonstration, size: 78475)
2019-02-17
07:47
Make sure the TH1 interp is available before trying to use it. ... (file: [319e70f989] check-in: [600accbec3] user: mistachkin branch: dynamicCsp, size: 76498)
07:16
Add the 'nonce' command to TH1. Improve clarity of the 'default_csp' variable handling and add comments. ... (file: [4f8fb6f993] check-in: [68e6b07eba] user: mistachkin branch: dynamicCsp, size: 76091)
2019-01-11
05:32
Add the 'cgiHeaderLine' command to TH1. ... (file: [bd29cbb6e7] check-in: [58e2f487e5] user: mistachkin branch: th1CgiHeader, size: 75692)
2018-10-12
16:14
Fix a comment on the "html" and "puts" TH1 commands. Before this fix, the meanings of the two commands were reversed. ... (file: [09c689cf80] check-in: [35563f3db3] user: drh branch: trunk, size: 75317)
2018-09-11
17:47
Documentation updates for custom TH1 commands. ... (file: [c65ed63825] check-in: [874a4dac8c] user: mistachkin branch: trunk, size: 75317)
2018-09-10
23:47
Add the styleScript TH1 command to enabling including the script element of the skin in-line in the header or footer. ... (file: [217110c339] check-in: [dc88a533e2] user: drh branch: skin-script, size: 75272)
2018-03-17
20:51
Minor updates to the build system, et al, for 'mman.h' support. ... (file: [b76ad3e58e] check-in: [142218827c] user: mistachkin branch: withMman, size: 74674)
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: [bba65d7b78] check-in: [e7767de263] user: drh branch: symlink-refactor, size: 74537)
2017-10-04
05:35
Improvement to TH_RETURN handling needed for TH1 hooks. Update and correct TH1 hook tests. Add draft documentation for TH1 hooks. ... (file: [c008c65eee] check-in: [36f0e47b32] user: mistachkin branch: trunk, size: 74519)
2017-08-30
12:02
Remove the --no-dir-symlinks option. This is a back-out of check-in [2375d6cbce933267] together with other cleanup changes. ... (file: [5b80e57723] check-in: [b7272185ca] user: drh branch: trunk, size: 74476)
2017-03-20
13:56
Limit the virtual-machine size for SQL statements run for report generators. ... (file: [fcf07b5f99] check-in: [307147510c] user: drh branch: trunk, size: 74524)
2017-03-08
03:22
Enhancements to TH1 related to hashing. Add the 'hash' TH1 command. ... (file: [4006fa44bf] check-in: [357c3c6836] user: mistachkin branch: th1Hash, size: 76259)
2017-02-14
00:59
Add '--reset' option to the file test commands. Other minor improvements. ... (file: [2561df121d] check-in: [996ebab71b] user: mistachkin branch: symlinks, size: 74576)
00:13
Further enhancements. ... (file: [e9be5cbafe] check-in: [a3409470aa] user: mistachkin branch: symlinks, size: 74528)
2016-12-19
07:04
Enhance TH1 'redirect' command to support for HTTP redirects with a status code of 307. ... (file: [335b0744b9] check-in: [bee6dbde54] user: mistachkin branch: trunk, size: 74528)
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: [d2c206646d] check-in: [e5b62edb28] user: andygoth branch: trunk, size: 73961)
2016-10-23
01:45
Add the 'unversioned' command to TH1, with the 'content' and 'list' sub-commands. ... (file: [39474b4bcf] check-in: [a5fd16fe88] user: mistachkin branch: experimental, size: 73982)
2016-10-20
16:48
Remove extra newlines from calls to fossil_fatal() ... (file: [d911ec2943] check-in: [2c42b217e5] user: andygoth branch: trunk, size: 71951)
2016-10-10
07:10
Improve 'unversioned list' TH1 command comment. ... (file: [0774c18153] check-in: [484f26e3a0] user: mistachkin branch: th1Unversioned, size: 73984)
07:07
Slightly simplify code. Add and modify tests. Merge changes from trunk. ... (file: [58ca5466bd] check-in: [a3f04386fe] user: mistachkin branch: th1Unversioned, size: 73930)
06:29
Add the 'unversioned content' and 'unversioned list' commands to TH1. ... (file: [1640219fb3] check-in: [e81fbfd028] user: mistachkin branch: th1Unversioned, size: 73955)
2016-09-23
02:10
Clarify the exact type used for cmdFlags. ... (file: [f8fb088200] check-in: [3ca2bc105a] user: mistachkin branch: trunk, size: 71953)
2016-09-13
17:51
Refactor command and webpage name lookup. Move all associated logic out of main.c and into a new file named "dispatch.c". There is now a single const array of objects named "aCommand" that contains all command and webpage names together with their help text. ... (file: [032c2cb50a] check-in: [e6aab1a437] user: drh branch: trunk, size: 71945)
2016-08-18
02:54
When tracing the 'anoncap' or 'hascap' commands, which share an implementation, show which one is being traced. ... (file: [b60b8ecbe7] check-in: [9066bf1371] user: mistachkin branch: trunk, size: 71889)
02:51
Correct TH1 tracing related to the 'hascap' and 'anycap' TH1 commands. ... (file: [1ed614eb63] check-in: [901f18393d] user: mistachkin branch: trunk, size: 71884)
02:22
Since the intent of the TH1 'hascap' command is that all specified permissions are required (i.e. the first missing permission should stop further checks), correct the loop invariant. ... (file: [0ecea6c5dc] check-in: [1c0b1a58c6] user: mistachkin branch: trunk, size: 71713)
02:11
Further enhancements to TH1 permissions testing. ... (file: [f54a1fd563] check-in: [5915e6f4d4] user: mistachkin branch: trunk, size: 71713)
01:47
Add tests for the 'anycap', 'anoncap', and 'hascap' TH1 commands. Also, add the --set-user-caps and --set-anon-caps options to the 'test-th-eval', 'test-th-render', and 'test-th-source' test commands. ... (file: [35172c99de] check-in: [5ea2a4fb07] user: mistachkin branch: trunk, size: 71269)
2016-08-17
15:56
For the "query -nocomplain" TH1 command, make sure the SQLite log does not add error messages to the output. ... (file: [90af83efb8] check-in: [801eca62a8] user: drh branch: trunk, size: 70219)
2016-08-16
20:48
Add the -nocomplain option to the TH1 "query" command. Add the ability to query the unversioned table, if such a table exists. ... (file: [41f93f45c1] check-in: [c8289bdce4] user: drh branch: trunk, size: 69903)
2016-06-15
08:38
More consistancy in using &lt;br /&gt; and &lt;hr /&gt; HTML tags ... (file: [50799260b9] check-in: [bd559ff0d0] user: jan.nijtmans branch: trunk, size: 69625)
2016-04-22
20:00
Updates to support building with the SQLite Encryption Extension on Windows. ... (file: [8c4b87efa1] check-in: [9129f6f622] user: mistachkin branch: trunk, size: 69619)
2016-03-02
02:10
Permit the TH1 hooks subsystem to check for the configuration without raising a 'fatal' error. ... (file: [464b8b4609] check-in: [b06cd631f1] user: mistachkin branch: trunk, size: 69489)
2016-01-31
21:13
Add the 'insertCsrf' and 'verifyCsrf' commands to TH1. ... (file: [5884aaf5fe] check-in: [0357c16930] user: mistachkin branch: th1AntiCsrf, size: 69486)
2016-01-30
21:40
Add the 'redirect' command to TH1. ... (file: [ff4e374e8e] check-in: [71caba53bd] user: mistachkin branch: trunk, size: 68416)
2016-01-28
05:37
Minor style and comment cleanup. Add verify_all_options() to several TH1 test commands. Add 'test-th-source' test command, with test. ... (file: [165d0fdef1] check-in: [f141fbeac5] user: mistachkin branch: trunk, size: 67964)
2015-12-23
11:10
Improvements to handling of localtime. The 'utc' and 'localtime' query parameters now work on all web pages. Timestamps can be expressed with a timezone modifier and that works correctly. ... (file: [7d85cdca12] check-in: [ea63a2d1f4] user: drh branch: trunk, size: 66674)
2015-11-24
23:38
Prevent the test command 'test-th-hook' from segfaulting when TH1 hooks are disabled. Also, add and enhance comments. ... (file: [d2e76c7247] check-in: [ddd4cb5254] user: mistachkin branch: trunk, size: 66684)
2015-10-22
11:36
Cherry-pick unrelated comment fixes from "pending_review" branch. ... (file: [a6b6dcc8df] check-in: [c1c8d728f9] user: jan.nijtmans branch: trunk, size: 64494)
11:30
Merge trunk. Almost forgot about this one. Please review. ... (file: [04d4f9d17a] check-in: [af7de966ff] user: jan.nijtmans branch: exec-rel-paths, size: 64676)
2015-10-21
20:39
Add the 'encode64' command to TH1. ... (file: [8fb8193cb6] check-in: [3f21421a51] user: mistachkin branch: trunk, size: 64394)
2015-08-18
07:53
Also correct syntax error message. ... (file: [f2b4c5d93f] check-in: [eb3796a81d] user: mistachkin branch: ckol-th1-dir-cmd, size: 63933)
07:49
Add support for optional per-file details in the TH1 dir cmd, using a list-of-lists. ... (file: [fbfbb7fb50] check-in: [83f50997be] user: mistachkin branch: ckol-th1-dir-cmd, size: 63923)
2015-08-15
18:37
Coding style and compiler warning fixes. ... (file: [c4b47fbcf8] check-in: [4b17cb66e8] user: mistachkin branch: ckol-th1-dir-cmd, size: 62980)
2015-08-14
19:29
implemented th1 comman 'dir' similar to cli 'ls' ... (file: [a3e8a25709] check-in: [5d56fb7e2c] user: ckolumbus branch: ckol-th1-dir-cmd, size: 63124)
2015-07-19
18:34
Add the 'markdown' command to TH1. ... (file: [0cd8e86620] check-in: [f6d29e9c3d] user: mistachkin branch: trunk, size: 61107)
2015-06-20
07:50
merge trunk ... (file: [d9c41eca6b] check-in: [19192868c6] user: jan.nijtmans branch: exec-rel-paths, size: 60509)
2015-06-17
05:54
Initial work on dynamically linked MSVC build. ... (file: [231f4e9729] check-in: [50cb0fe3c7] user: mistachkin branch: dynamicMsvc, size: 60227)
2015-06-12
17:49
Update TH1 integration as well. ... (file: [ef78cec441] check-in: [8eb776c7fc] user: mistachkin branch: exec-rel-paths, size: 60343)
2015-05-27
19:29
Add the -one option to the 'glob_match' command. ... (file: [3a939df891] check-in: [f7d4c544ca] user: mistachkin branch: th1GlobMatch, size: 60061)
03:26
Prototype for a TH1 glob_match command. ... (file: [0e6cfc3e0a] check-in: [f3ae479002] user: mistachkin branch: th1GlobMatch, size: 59808)
2015-04-05
20:02
Merge updates from trunk. ... (file: [00058b8cf8] check-in: [55f7ec6c5d] user: mistachkin branch: mvAndRmFiles, size: 58873)
04:28
Initial work on documenting all the Fossil specific TH1 commands. ... (file: [ef09789a52] check-in: [1e5548ae7c] user: mistachkin branch: trunk, size: 58697)
2015-03-23
01:29
Merge updates from trunk. ... (file: [e44e37e29e] check-in: [78829b7089] user: mistachkin branch: mvAndRmFiles, size: 58788)
00:44
Add tests for the TH1 docs feature. ... (file: [7bec065257] check-in: [71536a2851] user: mistachkin branch: trunk, size: 58612)
2015-03-22
20:07
Fix TH1 hook return code handling for errors. Cleanup and fix TH1 hook tests. Corrections to the TH1 hooks tests, taking into account 'http' sub-command argument changes. ... (file: [bdc2af4fc8] check-in: [a313f031a4] user: mistachkin branch: trunk, size: 58360)
2015-03-09
14:45
Merge trunk. Make sure that "fossil forget" and "fossil rename" are unaffected by any setting. (I'm not sure this is the way to go .....) ... (file: [6acd4073c2] check-in: [0701c1a3f5] user: jan.nijtmans branch: mvAndRmFiles, size: 58284)
2015-03-05
17:22
Add 'unicodeCmdLine' option to the TH1 'hasfeature' command. ... (file: [e79b55e41e] check-in: [edb8237f06] user: mistachkin branch: trunk, size: 58108)
2015-03-03
23:25
Only define and use the new 'move-files' and 'remove-files' settings when compiled with the FOSSIL_ENABLE_LEGACY_MV_RM option. ... (file: [9946227749] check-in: [c227e14f80] user: mistachkin branch: mvAndRmFiles, size: 58114)
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: [468c240d4b] check-in: [7c30266a45] user: michai branch: ml-jb-doc-typos, size: 57938)
2015-02-16
03:44
Make the option handling for 'test-th-hook' consistent with the other TH1 test commands. ... (file: [38b740672c] check-in: [0afcc93d3c] user: mistachkin branch: trunk, size: 57937)
03:11
Fix some TH1 test failures due to recent changes. ... (file: [de48fdce59] check-in: [d44207ff43] user: mistachkin branch: trunk, size: 57918)
01:36
Improved TH1 script for header generation in the etienne1 skin. ... (file: [3348954977] check-in: [924315bdfc] user: drh branch: trunk, size: 56075)
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: [d6425dc171] check-in: [2f50d427a9] user: drh branch: login-enhancements, size: 55172)
2015-02-06
09:55
eol-spacing fixes. ... (file: [775452d03e] check-in: [b8e3dc16f4] user: jan.nijtmans branch: trunk, size: 54917)
01:44
Add the "searchable" TH1 command that tests to see if search is enabled on the repository. Intended use: Conditionally display a "Search" button on the menu bar. ... (file: [4a277e877f] check-in: [b8f8f69eee] user: drh branch: form-submenu, size: 54918)
2015-01-28
09:24
Minor compiler warning in shell.c (already fixed in SQLite). "char const" -> "const char" for consistancy. ... (file: [312b6284fb] check-in: [5330d107b2] user: jan.nijtmans branch: trunk, size: 53222)
2014-12-17
16:19
Begin adding infrastructure to support full-text search using FTS4. ... (file: [6116113130] check-in: [9f9dfe3a98] user: drh branch: search-using-fts4, size: 53223)
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: [38a77d0442] check-in: [516cc0c91f] user: mistachkin branch: dynamicTh1Docs, size: 53222)
20:01
When TH1 'transfer hooks' are enabled, provide the list of UUIDs received by the server to the script. ... (file: [c32ba94f04] check-in: [fc32fae7bc] user: mistachkin branch: trunk, size: 53058)
2014-09-08
16:46
Add 'reinitialize' command to TH1. Add 'flags' to the globalState TH1 command. ... (file: [992136d884] check-in: [f3a7da44df] user: mistachkin branch: th1ReInit, size: 52420)
2014-09-07
00:41
When TH1 'transfer hooks' are enabled, provide the list of UUIDs received by the server to the script. ... (file: [f0056678c8] check-in: [acb61e5ee9] user: mistachkin branch: xferUuidList, size: 52011)
2014-09-05
06:12
Style cleanup for return code to name mappings. ... (file: [bb3f70ceba] check-in: [2212ac40a8] user: mistachkin branch: trunk, size: 51373)
2014-07-24
03:14
Cleanup trailing whitespace in 'th_main.c'. ... (file: [a489030215] check-in: [b000db4752] user: mistachkin branch: trunk, size: 48745)
03:12
Add new globalState command to TH1, with tests. ... (file: [64eb601d2a] check-in: [995173d051] user: mistachkin branch: globalStateCmd, size: 51364)
2014-06-16
18:49
Enhance the new TH1 artifact command with more flexible lookup semantics. ... (file: [4bfc251118] check-in: [00e4fedd85] user: mistachkin branch: trunk, size: 48809)
18:34
Fix memory leak in the new TH1 artifact command. ... (file: [5b59ff2fda] check-in: [74099a5c8d] user: mistachkin branch: trunk, size: 48677)
18:02
Add an 'artifact' command to TH1. ... (file: [506dbd4f58] check-in: [109d8f5dd6] user: mistachkin branch: trunk, size: 48649)
2014-06-15
01:54
Further corrections to configuration handling by the TH1 hooks support functions. ... (file: [410a96a18e] check-in: [e52682ece1] user: mistachkin branch: trunk, size: 47922)
01:22
Add the 'th-force-cgi' and 'th-full-http' options to several test commands. ... (file: [54c6a789fd] check-in: [c1915c3347] user: mistachkin branch: trunk, size: 46398)
00:38
Corrections to the new 'styleHeader' and 'styleFooter' TH1 commands. Modify TH1 integration code to keep track of when it opens databases. Modify 'test-th-hook' command to permit TH1 tracing. Corrections to new TH1 command test results. ... (file: [afe8df61b7] check-in: [142200b90a] user: mistachkin branch: trunk, size: 45491)
2014-06-14
22:16
Corrections to the new TH1 'checkout' command and tests. ... (file: [c01168c82a] check-in: [589b902edb] user: mistachkin branch: trunk, size: 44105)
20:10
Make the 'tcl-setup', 'th1-setup', and 'th1-uri-regexp' settings versionable. Add support for TH1-based hooks for all commands and web pages, disabled by default. ... (file: [29442ffae4] check-in: [1c528d3bb9] user: mistachkin branch: trunk, size: 43965)
2014-06-12
18:36
Merge updates from trunk. ... (file: [99f0d9143b] check-in: [b3f9ce63ec] user: mistachkin branch: th1Cmds, size: 36542)
2014-06-11
01:48
When checking the 'th1-hooks' setting value, refer to the repository settings as well. ... (file: [142232715e] check-in: [3fb8e171b3] user: mistachkin branch: th1Hooks, size: 40408)
01:23
Improvements to handling of the configuration database. ... (file: [8b650ca36a] check-in: [79533e2b31] user: mistachkin branch: th1Hooks, size: 40636)
00:51
Centralize the handling of opening the configuration database and repository on behalf of TH1. ... (file: [45c5531e83] check-in: [9773eba5fe] user: mistachkin branch: trunk, size: 32985)
00:40
Merge updates from trunk. ... (file: [bf4594a670] check-in: [715dcd52fe] user: mistachkin branch: th1Hooks, size: 39926)
00:38
Add 'th1-hooks' setting to control whether or not TH1 hooks are enabled. By default, all TH1 hooks are disabled. ... (file: [1d13c011e1] check-in: [54e00d7a0a] user: mistachkin branch: th1Hooks, size: 39913)
2014-06-10
23:53
Prevent the 'setParameter' TH1 command from creating duplicate query parameters. ... (file: [150e898d6f] check-in: [617eeaecf8] user: mistachkin branch: th1Cmds, size: 36459)
23:12
Add the 'getParameter' and 'setParameter' TH1 commands. ... (file: [3bbad975c7] check-in: [40c1195538] user: mistachkin branch: th1Cmds, size: 36425)
19:59
Add the 'checkout', 'render', 'styleHeader', 'styleFooter', and 'trace' TH1 commands. ... (file: [171f9a0876] check-in: [c18ff5d005] user: mistachkin branch: th1Cmds, size: 35426)
18:56
Make TH1 command comments consistent. ... (file: [cdf759d83b] check-in: [a17919af85] user: mistachkin branch: trunk, size: 32902)
04:32
Pass command line arguments to hooks via a TH1 list variable. Enhance test suite infrastructure and add tests. Update hook TH_ERROR return code handling comments to reflect reality. ... (file: [6b9074edd8] check-in: [b34dbc78b5] user: mistachkin branch: th1Hooks, size: 39497)
2014-06-08
21:39
Include TH1 hooks feature in the 'hasfeature' TH1 command. ... (file: [3211782103] check-in: [53f5e1f9ed] user: mistachkin branch: th1Hooks, size: 38815)
20:19
Add the ability to include -OR- omit support for TH1 hooks at compile-time. ... (file: [c2200cba2a] check-in: [b3c40dd49e] user: mistachkin branch: th1Hooks, size: 38648)
00:16
Fix several merge conflict issues from the previous check-in. ... (file: [84d65e3e77] check-in: [1f915a6859] user: mistachkin branch: th1Hooks, size: 38532)
00:03
Merge updates from trunk. ... (file: [285b7facd3] check-in: [f91d313169] user: mistachkin branch: th1Hooks, size: 38415)
2014-02-06
15:02
Add the "httpize" TH1 command, which does the same as Javascript's encodeURIComponent() function. ... (file: [70a94282e2] check-in: [fc6bb93689] user: jan.nijtmans branch: trunk, size: 32889)
2014-01-14
09:48
Enable use of the TH1_DELETE_INTERP environment variable to delete the TH1 interp on exit. ... (file: [e87b1b3b66] check-in: [e0f22dda7b] user: mistachkin branch: trunk, size: 32379)
2014-01-03
23:18
Fix memory leaks in the TH1 divide-by-zero handling. Add more tests. ... (file: [b89bd16f76] check-in: [60acb3183d] user: mistachkin branch: trunk, size: 32364)
2013-12-28
22:41
Eliminate the need to compile SQLite with -Dlocaltime=fossil_locatime. This makes the timeline-utc setting work when fossil is configured with --disable-internal-sqlite. ... (file: [65e509c216] check-in: [d7fd72dc30] user: jan.nijtmans branch: timeline-utc, size: 32234)
2013-12-13
21:46
Unify use of the user-agent string. ... (file: [d364a207c0] check-in: [55c91af5ad] user: mistachkin branch: tkt-change-hook, size: 32228)
15:19
Fix Content-Type/Content-Length for GET/POST requests. ... (file: [dc876ab9c4] check-in: [a60d2976ff] user: jan.nijtmans branch: tkt-change-hook, size: 32283)
14:19
Merge trunk and fix typo (missing backslash) ... (file: [6cf1e275e2] check-in: [847107015b] user: jan.nijtmans branch: tkt-change-hook, size: 32229)
13:16
Forgot to commit one more change. ... (file: [9918511715] check-in: [fa71b6ce6d] user: jan.nijtmans branch: tkt-change-hook, size: 32228)
2013-11-12
12:39
merge trunk ... (file: [29c9b8f236] check-in: [3d63f56039] user: jan.nijtmans branch: tkt-change-hook, size: 32186)
2013-10-28
20:13
Code style cleanup. ... (file: [338f4d7f8d] check-in: [24273fd0c4] user: mistachkin branch: trunk, size: 28569)
2013-10-18
05:10
Fix blob leaks on one return path. ... (file: [a6e2c72665] check-in: [2438518e66] user: mistachkin branch: tkt-change-hook, size: 32181)
05:03
Fix blob leaks in the http TH1 command. Also, reorganize it to prepare for future enhancements. ... (file: [153fb5b3fb] check-in: [0db184fc8e] user: mistachkin branch: tkt-change-hook, size: 32129)
2013-10-15
09:00
Fix accidental change: make sure that the regexp object has been created prior to using it. ... (file: [409f62792e] check-in: [9964af59ce] user: mistachkin branch: tkt-change-hook, size: 31510)
01:21
Centralize and simplify the commit/ticket hook integration. ... (file: [938ad00bf9] check-in: [6cf28968db] user: mistachkin branch: tkt-change-hook, size: 31502)
2013-10-14
10:38
Phase 4 refactoring broke some important requirements: 1) "fossil rebuild" should not run any hook script, nor should it read the hook script code from the database for each manifest it processes. 2) When handling tickets through the UI, the ticket hook should be processed once, just as if it came in through xfer. 3) (less important) Allow "http -asynchronious" to be shortened to "http -async" I apologize for having to revert part of the "Phase 4 refactoring" restoring this. Other than that, it looks good! ... (file: [29ced8bcba] check-in: [b92e111a59] user: jan.nijtmans branch: tkt-change-hook, size: 31515)
08:20
Rename the HTTP header variable used by httpCmd back to hdr for consistency with other code. ... (file: [8a0fd078b9] check-in: [e44932b12c] user: mistachkin branch: tkt-change-hook, size: 31499)
07:08
Phase 3, the TH1 http command now uses non-global URL data. This also required heavy refactoring of some other callers that use the global URL data. ... (file: [d14f86cc1b] check-in: [8ce9c1af8f] user: mistachkin branch: tkt-change-hook, size: 31532)
05:37
Phase 2, style cleanup for httpCmd and fix minor memory leak. ... (file: [bc981fea08] check-in: [047b0174b7] user: mistachkin branch: tkt-change-hook, size: 31481)
05:10
Refactoring, phase 1, move httpCmd. ... (file: [f6d707eb8a] check-in: [d1b4d1b630] user: mistachkin branch: tkt-change-hook, size: 31156)
2013-09-25
23:56
Add formal unloading support to the Tcl integration subsystem. This is necessary to prevent a deadlock while exiting the process when Tcl is loaded. Add runtime detection of the ability to directly invoke an objProc for a Tcl command. Support USE_TCL_STUBS define in the version information. ... (file: [204578f2ec] check-in: [6b58c67ed8] user: mistachkin branch: trunk, size: 28564)
08:29
FOSSIL_ENABLE_TCL_PRIVATE_STUBS only makes sense when USE_TCL_STUBS is defined as well. Use that consistantly in the code. Easier testing whether Tcl integration works fine, just by "fossil version -v". ... (file: [3473cd636c] check-in: [0038f4c999] user: jan.nijtmans branch: pending-review, size: 28393)
2013-09-16
23:38
Support the ability to determine at runtime if the private stubs mechanism was used for Tcl. ... (file: [bb98835fbf] check-in: [e10d117125] user: mistachkin branch: trunk, size: 28413)
06:04
Fix built-in TH1 command registration broken by the previous commit. ... (file: [600f90b16e] check-in: [5d20065c4b] user: mistachkin branch: trunk, size: 28177)
2013-09-15
18:51
Revise TH1 initialization function to accept a single flags argument. Cleanup and revise version information reported for zlib and Tcl. ... (file: [43f3ef3bd1] check-in: [0e6862046d] user: mistachkin branch: trunk, size: 28130)
2013-08-23
16:02
Set id attribute on <select> element generated by TH1 combobox command to NAME so it can be referenced by a <label> element. ... (file: [bb5c38a9d2] check-in: [73fdb8a73d] user: joel branch: trunk, size: 27213)
2013-07-17
09:23
A th1 runtime command which returns the current value of fossil_timer_stop(g.json.timerId). Part of an old ML thread discussion. Probably not needed but maybe interesting. ... (file: [ca39bc170a] check-in: [904a35d93b] user: stephan branch: th1-runtime-cmd, size: 27682)
2013-07-10
14:05
Final bug-fixes (I hope) ... (file: [0f54ed5c5b] check-in: [a27df49629] user: jan.nijtmans branch: tkt-change-hook, size: 29909)
08:07
Some code cleanup. Rename "tkt" variable to "uuid". ... (file: [69b45e43ec] check-in: [8564e1c6bb] user: jan.nijtmans branch: tkt-change-hook, size: 29850)
2013-07-09
12:06
Properly determine usage of '/', and don't put URL params in "Host:" ... (file: [3074578f24] check-in: [7a63685d73] user: jan.nijtmans branch: tkt-change-hook, size: 29664)
11:48
First bug found by testing: URL parameters were not being sent. Maybe url_parse() should be exteded doing that. ... (file: [9193174a41] check-in: [6950cd3666] user: jan.nijtmans branch: tkt-change-hook, size: 29664)
11:06
"http-allow-regexp" setting and "http -async" (continuing experiments) ... (file: [ca6741dbd5] check-in: [75a9c981ab] user: jan.nijtmans branch: tkt-change-hook, size: 29601)
2013-07-08
20:07
limit hook http requests to localhost, unless setting "http-outside" is set. ... (file: [69c12c62da] check-in: [2b233e0af2] user: jan.nijtmans branch: tkt-change-hook, size: 29260)
18:28
some first security restrictions ... (file: [fd95c35686] check-in: [6949032cfe] user: jan.nijtmans branch: tkt-change-hook, size: 29017)
14:58
add http command to TH1 (untested) ... (file: [3575215aad] check-in: [4467415eda] user: jan.nijtmans branch: tkt-change-hook, size: 28942)
2013-05-08
04:12
Add setting TH1 command, with tests. Improve handling of the TH1 trace log. ... (file: [99f18a9aa4] check-in: [0264475c4a] user: mistachkin branch: trunk, size: 27190)
2013-04-28
22:23
Add 'tclReady' TH1 command, with tests. Adjust expected result for test 'th1-tcl-8'. ... (file: [6cfc95f77d] check-in: [a87eaae301] user: mistachkin branch: trunk, size: 25209)
2013-03-29
15:43
Enable markdown by default. Render as markdown any document that ends with either "md" or "markdown". ... (file: [37a0b5fff4] check-in: [02f312e698] user: drh branch: markdown, size: 24605)
2013-03-18
06:09
Fixes to the verbose mode of the version command. Also, make sure to consistently order optional feature lists. ... (file: [2949317787] check-in: [b85a18ba20] user: mistachkin branch: trunk, size: 24648)
2013-03-11
07:51
Prototype for a TH1 regexp command. ... (file: [cd9a292379] check-in: [be4a6630a6] user: mistachkin branch: th1RegExp, size: 24648)
2013-03-10
09:23
Skip running the Tcl integration tests if Fossil was not compiled with Tcl integration support. ... (file: [a1ffad31f0] check-in: [6c47a16e5d] user: mistachkin branch: trunk, size: 23514)
2013-01-07
17:33
Merge updates from trunk. ... (file: [c462c4f5d2] check-in: [a6647539f6] user: mistachkin branch: tclRdOnly, size: 24802)
17:21
Merge updates from trunk. ... (file: [b0dc5b55c2] check-in: [4f365f7b77] user: mistachkin branch: th1Hooks, size: 28692)
2012-12-09
19:22
Restrict the TH1 "query" command to be read-only and to only be able to see a specific subset of tables in the repository database file. ... (file: [b81a5660b8] check-in: [2056f624c0] user: drh branch: trunk, size: 23166)
2012-12-08
06:58
Merge updates from trunk. ... (file: [51578bfb7e] check-in: [ea529b633d] user: mistachkin branch: th1Hooks, size: 28500)
06:46
Merge updates from trunk. ... (file: [e89963da72] check-in: [fc7e8d01d4] user: mistachkin branch: tclRdOnly, size: 24610)
2012-12-07
20:58
Merge updates from trunk. ... (file: [18dd9b4cf3] check-in: [de1ef7e99f] user: mistachkin branch: markdown, size: 22974)
2012-11-24
22:40
Fix a bug in TH1 trace output. ... (file: [d164441ca0] check-in: [48cf099427] user: drh branch: ticket-enhancements, size: 22818)
14:44
Add the "query" command to the TH1 language, used to query the repository database. ... (file: [9ec07fba51] check-in: [f6ac3c6f3d] user: drh branch: ticket-enhancements, size: 22824)
2012-11-23
15:57
All markup of the form <verbatim-ID>...</verbatim> with an options "links" or "links=BOOLEAN" attribute. Improved TH1 tracing and error reporting capabilities. Improved documentation on how reports work. ... (file: [5cb1bfd04c] check-in: [23c75abde4] user: drh branch: ticket-enhancements, size: 20536)
2012-11-22
10:26
Merge changes from the dbOpenConfig branch. ... (file: [cf204025c1] check-in: [4d73175e29] user: mistachkin branch: th1Hooks, size: 25737)
00:12
Fix usage error message for 'ticket change' and 'ticket history' commands. Also, silence harmless compiler warnings. ... (file: [be9a651738] check-in: [fc5a217602] user: mistachkin branch: trunk, size: 20211)
2012-11-21
21:02
Enhancements to TH1 scripting in support of new ticket functionality. ... (file: [59b5a1aa3e] check-in: [74e3f90596] user: drh branch: trunk, size: 20179)
2012-11-20
20:40
Merge updates from trunk. ... (file: [c0319440b6] check-in: [63754ea857] user: mistachkin branch: th1Hooks, size: 24657)
13:42
Only suppress bad hyperlinks for check-in comments and tickets. Continue to show the broken hyperlinks on wiki pages. ... (file: [5a60b1543d] check-in: [26ac392308] user: drh branch: trunk, size: 19131)
08:27
When db_open_config() is called with the useAttach parameter set to non-zero, it may need to close and reopen the database using ATTACH if that was not done previously. ... (file: [e50d53a1f8] check-in: [66196aa8b7] user: mistachkin branch: th1Hooks, size: 24641)
08:21
If applicable, use the OPEN_ANY_SCHEMA flag in Th_FossilInit. ... (file: [541d7b4141] check-in: [3c1ad1def9] user: mistachkin branch: trunk, size: 19115)
06:28
Correct format string typos for TH1 trace statements. ... (file: [2082b82194] check-in: [c3e841c745] user: mistachkin branch: th1Hooks, size: 24623)
06:26
Proof-of-concept for generalized TH1 command/webpage hooks. ... (file: [522402d5bc] check-in: [caad77934b] user: mistachkin branch: th1Hooks, size: 24623)
06:04
Add 'th1-setup' setting for the optional TH1 script to evaluate after creating and initializing the TH1 interpreter. Revise TH1 integration in preparation for generalized hooks. ... (file: [144e8b4995] check-in: [b058c8a944] user: mistachkin branch: trunk, size: 19097)
2012-11-04
12:59
Fix typos. ... (file: [dae5163110] check-in: [45065c5c28] user: dmitry branch: spelling, size: 17039)
2012-11-02
02:26
Additional tweaks to the wiki/ticket editing logic with moderation control. ... (file: [2913c7655e] check-in: [d3d094ff55] user: drh branch: moderation, size: 17040)
2012-10-27
04:10
Add <nowiki>[utime] and [stime]</nowiki> commands to TH1. ... (file: [abbcc50c47] check-in: [3d50bdcb9a] user: drh branch: trunk, size: 16987)
2012-10-07
14:22
Experimental proof-of-concept for the 'tcl-rdonly' setting and related functionality. ... (file: [3dd5a4a5e2] check-in: [851e0755e5] user: mistachkin branch: tclRdOnly, size: 16677)
10:29
Add 'markdown' setting to enable runtime control over whether or not it is used. ... (file: [a96e1d7817] check-in: [1c5085d963] user: mistachkin branch: markdown, size: 15197)
10:12
Add 'tcl-setup' setting for the optional Tcl script to evaluate after creating and initializing the Tcl interpreter. Make sure Tcl gets a copy of all the original expanded arguments. ... (file: [ad962ee24a] check-in: [fa4e828653] user: mistachkin branch: trunk, size: 15041)
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII ... (file: [9e44f658af] check-in: [9f6abc5968] user: jan.nijtmans branch: msvc-broken, size: 14790)
2012-07-22
13:11
Minor usage simplifications in the th1 argv API. ... (file: [1478f496f4] check-in: [24b9fbca0f] user: stephan branch: th1-query-api, size: 56961)
11:55
Reduced the set of th1-exported SQLITE_xxx constants to those which are actually used in script APIs. Minor doc updates. ... (file: [a40ce027fc] check-in: [8e04055133] user: stephan branch: th1-query-api, size: 56837)
2012-07-16
19:21
More minor internal consistency cleanups. ... (file: [868f744286] check-in: [495f26a00e] user: stephan branch: th1-query-api, size: 56774)
18:56
Cleanups requested by DRH, plus some incidental consistency/maintenance-related cleanups found along the way. ... (file: [f77b026787] check-in: [c25a5d199b] user: stephan branch: th1-query-api, size: 56773)
2012-07-15
17:33
Started adding infrastructure to allow us to expand the ob handler support to include more types. Added another th1 test script. ... (file: [c3e527fc4a] check-in: [726f998b5f] user: stephan branch: th1-query-api, size: 53849)
15:28
Added query reset, refactored bind commands to accept their indexes in the same way as the col commands do (and expanded the remaining col commands which did not do so). ... (file: [a1aeb0ab30] check-in: [f2ee33d460] user: stephan branch: th1-query-api, size: 53796)
14:54
Made the query col argument ordering more flexible/forgiving. ... (file: [8ba7e28344] check-in: [a561c43919] user: stephan branch: th1-query-api, size: 52183)
14:31
th1 query API now accepts the statement ID as the first arg after the query command or later on after the subcommand, for all subcommands where this makes sense. ... (file: [65924c996a] check-in: [09d7df1597] user: stephan branch: th1-query-api, size: 50473)
13:14
Minor cleanups. Made Th_Ob_Man opaque. Renamed TH_USE_xxx to TH_ENABLE_xxx. ... (file: [06178abdce] check-in: [3d243a5681] user: stephan branch: th1-query-api, size: 46806)
12:52
Made a few more functions static. th1 ob doc additions. ... (file: [4ade52e2a3] check-in: [8027581c5e] user: stephan branch: th1-query-api, size: 46723)
12:27
Refactored th1/sqlite bits to use Th_Data_Get/Set(), removed sqlite data from Th_Interp class. Other minor cleanups. ... (file: [e38bf12d4b] check-in: [3167ff33f8] user: stephan branch: th1-query-api, size: 46708)
09:20
Added incr as built-in function. ... (file: [1192d3dba4] check-in: [dc3c8ac3de] user: stephan branch: th1-query-api, size: 43897)
00:39
Added flags arg to Th_Render to allow us to eventually customize its output a bit. ... (file: [e9f752aa3b] check-in: [3ab06e8962] user: stephan branch: th1-query-api, size: 43745)
2012-07-14
22:38
Added strftime support to the th1 query API. ... (file: [b84c142f83] check-in: [6e2f9edc29] user: stephan branch: th1-query-api, size: 42188)
21:36
Fixed short-form flag handling for th1 argv command in CLI mode. It now handles GET/POST params. ... (file: [49bb80bbea] check-in: [413a33f20f] user: stephan branch: th1-query-api, size: 40314)
21:13
Refactored th1 argv_xxx to (argv xxx). Added th1_argv.wiki doc. ... (file: [9f417c10f9] check-in: [615ee71798] user: stephan branch: th1-query-api, size: 39703)
20:59
Refactored th1 query API col_xxx and bind_xxx to (col xxx) and (bind xxx). ... (file: [fa2df07dd2] check-in: [8260fdc99a] user: stephan branch: th1-query-api, size: 39498)
20:45
Refactored th1 query API to use (query foo) instead of query_foo. Added th1_query.wiki doc page. ... (file: [07da6e901d] check-in: [bd98f0f430] user: stephan branch: th1-query-api, size: 38997)
18:32
Added PHP-like "ob" (output buffering) API to th1. Refactred Th_Vtab allocator to use a single realloc()-like interface. ... (file: [e087c759fc] check-in: [b793063954] user: stephan branch: th1-query-api, size: 38164)
13:51
moved th1 argv funcs into their own registration unit. Renamed argv_getat to argv_at. ... (file: [3b22435c06] check-in: [3b25f80edd] user: stephan branch: th1-query-api, size: 37834)
13:43
Refactored th1 function registration code to be reusable across modules. ... (file: [40698821cd] check-in: [e923b4a64d] user: stephan branch: th1-query-api, size: 37630)
13:20
minor generic cleanups in th1 before continuing on to real work... ... (file: [e4e11063cf] check-in: [1767603f23] user: stephan branch: th1-query-api, size: 37386)
12:02
Refactored sendText() to use the new output abstraction layer. ... (file: [c7157d905a] check-in: [d3a6234974] user: stephan branch: th1-query-api, size: 35222)
11:54
Refactored th1's output mechanism: moved output API to Th_Vtab to support arbitrary output destinations, the intention being to be able to support an output buffer stack analog to PHP's ob_start(), ob_get_clean() and friends. ... (file: [b7b6d3f138] check-in: [3c0209f5dc] user: stephan branch: th1-query-api, size: 35058)
10:22
Added docs for the th1 query API. Added basic th1 argv-handling API. ... (file: [2468df4209] check-in: [a8eace9a2a] user: stephan branch: th1-query-api, size: 34670)
02:13
Added th1 query_bind functions. ... (file: [5d868dbe2b] check-in: [e30002440a] user: stephan branch: th1-query-api, size: 26950)
00:56
Added query_col_int and query_col_double. Renamed query_column_xxx to query_col_xxx. ... (file: [73642b5b03] check-in: [b01eb58bca] user: stephan branch: th1-query-api, size: 21820)
00:20
added th1 query API. ... (file: [72d1198886] check-in: [c3b10e12a1] user: stephan branch: th1-query-api, size: 20288)
2012-07-13
18:55
minor doc correction. ... (file: [c8565dd645] check-in: [5df13a0b38] user: stephan branch: trunk, size: 14791)
18:40
Added (hasfeature json|ssl|tcl) function to TH1 to determine whether the given compile-time option is enabled. ... (file: [74f11edc8c] check-in: [2be3a876fd] user: stephan branch: trunk, size: 14771)
2012-03-29
14:54
Add vim modline everywhere ... (file: [d89c5384b7] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 13745)
2012-01-23
03:51
Merge latest trunk changes into jimtcl branch. Lightly tested. Should allow xfer scripts to be written in Jim Tcl. ... (file: [b2271e3307] check-in: [de9c2f08d7] user: steveb branch: jimtcl, size: 14242)
2012-01-18
06:06
Start of experimental support for post-push TH1 scripting. ... (file: [6a1e2475d7] check-in: [a11b7f1535] user: mistachkin branch: pushScript, size: 13703)
2011-11-07
00:29
More compilation fixes for Jim when compiling with MSVC. ... (file: [70804bc59e] check-in: [38d1b52283] user: mistachkin branch: jimtcl, size: 14160)
2011-11-05
03:05
Always skip adding script commands that have a NULL name or function pointer. ... (file: [91134a48c7] check-in: [1b1fd23590] user: mistachkin branch: trunk, size: 13696)
00:23
Police various compiler warnings. ... (file: [e018a28e3c] check-in: [536fb1d6e0] user: mistachkin branch: jimtcl, size: 14149)
2011-11-04
23:34
Cleanup style and use Jim_Obj APIs when bridging commands from Tcl to Jim. ... (file: [f2f7c1f5f3] check-in: [d87454917c] user: mistachkin branch: jimtcl, size: 14089)
21:57
Replace the TH1 interpreter with Jim Tcl. ... (file: [ef7b4d0ec5] check-in: [863e789e83] user: steveb branch: jimtcl, size: 14071)
19:46
Merge the tcl-integration branch into trunk. To make use of big-tcl, recompile using the --with-tcl option to ./configure and either set the global "tcl" setting or set the TH1_ENABLE_TCL environment variable. Big-tcl is turned off by default. ... (file: [b31b8cbc20] check-in: [d8ed5a0d05] user: drh branch: trunk, size: 13618)
18:57
Fix html escaping of TH1 variables. Escaping should be determined by $<a> or $a form, but instead it was based on the relationship between the length of the variable name and the length of the value. ... (file: [7785a3def2] check-in: [d81e217651] user: steveb branch: steveb-fixes, size: 12580)
2011-10-26
14:57
Perform lazy setup of the Tcl integration subsystem when it is actually enabled. ... (file: [3e337df697] check-in: [e49581506a] user: mistachkin branch: tcl-integration, size: 13544)
2011-08-28
23:45
Use macros to tidy up TH1 to Tcl argument marshalling. Use the Tcl interp result when Tcl_ExprObj does not return ok. Check for Tcl interp deletion. The TH1 'puts' command should flush when writing to stdout. Add 'repository' TH1 command. Use obj API to get Tcl cmdInfo. Add tests for Tcl integration. ... (file: [21d700da9b] check-in: [53b9445b2c] user: mistachkin branch: tcl-integration, size: 13544)
06:54
Reset result prior to direct Tcl invocation. Cast all ckalloc return values. Make sure the global config database is open for the 'test_th_render' command. Allow the 'tcl' setting to be enabled via the environment. ... (file: [46a4a2903e] check-in: [5cc15d0890] user: mistachkin branch: tcl-integration, size: 12738)
2011-08-27
16:48
Add per-repo setting to enable/disable Tcl support. ... (file: [27f88a518b] check-in: [9613828c7e] user: mistachkin branch: tcl-integration, size: 12654)
14:42
Initial code to support TH1/Tcl integration. ... (file: [bfde29fa0d] check-in: [f723647710] user: mistachkin branch: tcl-integration, size: 12612)
2011-05-31
12:52
Always use the alternate-form flag "#" to control the number of input bytes to printf conversions like %t, %h, and %q. Do not use precision in those cases since precision limits the number of output characters, not the number of input characters. Ticket [8967ea1df4f51af]. ... (file: [ae2f4383f0] check-in: [e5e6ca4659] user: drh branch: trunk, size: 12506)
2010-12-30
14:41
Add a -local option to the "date" TH1 command. This allows a custom ticket-edit script to use localtime instead of UTC for the date stamp for when a comment is added. Also modify the default ticket-edit script to show UTC after the date stamp, to avoid ambiguity. Ticket [5c1490e26b8b2f8]. ... (file: [602acd7e19] check-in: [e07625279c] user: drh branch: trunk, size: 12508)
2010-10-21
23:26
TH1 fossiltag command for accessing tag values. Has two subcommands: get and list, which do what they sound like. ... (file: [f5005dbfb6] check-in: [413ebeb12e] user: bcsmith branch: th1_fossiltag_cmd, size: 17963)
2010-10-15
17:13
Replace all malloc() calls with fossil_malloc(). The fossil_malloc() routine panics rather than return a NULL pointer. ... (file: [ef3bb3e834] check-in: [8f41b2fa75] user: drh branch: trunk, size: 12271)
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: [9875acf833] check-in: [2fac809165] user: drh branch: trunk, size: 12264)
2010-10-10
19:07
New TH1 command: wikicontent Placed in its own branch for posterity. ... (file: [b6cda7d564] check-in: [6916054dc8] user: bcsmith branch: th1_wikicontent_cmd, size: 13329)
2010-09-28
15:45
more formats to css ... (file: [0af13a68e9] check-in: [e05f750a45] user: wolfgang branch: wolfgangFormat2CSS_2, size: 12243)
2010-09-13
22:14
Avoid the use of tabs. Make sure lines do not exceed 80 characters. ... (file: [4956bc01ab] check-in: [4cc0ebef9a] user: drh branch: wolfgangFormat2CSS, size: 12255)
2010-09-12
17:12
some ticket pages html validated ... (file: [77225476df] check-in: [b9f38e16d0] user: wolfgang branch: wolfgangFormat2CSS, size: 12234)
2010-05-16
19:08
Change from GPL to the Simplified BSD License. ... (file: [280cedadca] check-in: [c06edd231f] user: drh branch: clear-title, size: 12221)
2010-04-22
15:48
Infrastructure changes that will allow the client-side sync to be run from a web interface - the status messages now go to CGI output if the sync is run from a web page. This is a partial implementation of the "SyncNow" button. The button itself has not yet been added. ... (file: [f3df866bfe] check-in: [c56af61e5e] user: drh branch: trunk, size: 12497)
2009-12-31
19:10
Alternative implementation of timeline security changes - this implementation always shows the timeline link if it is applicable, even if the history capability is disabled. ... (file: [590e073746] check-in: [9b70675778] user: drh branch: trunk, size: 12496)
2008-10-24
18:23
Begin adding a TH1 script trace mechanism actived by the --th_trace option on the "server" and "ui" commands. The implementation is incomplete, but the plane is landing.... ... (file: [7b39ee91da] check-in: [f55c6a1b62] user: drh branch: trunk, size: 11934)
16:36
Modify the TH1 script interperter to use native characters rather than unsigned characters. Fix a bug in the combobox extension command of TH1. ... (file: [a10cec9ea6] check-in: [0c99a1554a] user: drh branch: trunk, size: 11403)
2008-07-20
15:30
Fix a bug that prevents the /tktnew page from working with no login. ... (file: [c828d14f02] check-in: [449559394a] user: drh branch: trunk, size: 11470)
2008-05-16
18:57
Get rudimentary ticket editing working. ... (file: [59821e5286] check-in: [46e6a03232] user: drh branch: trunk, size: 11448)
18:11
Progress toward getting ticket handling to work. ... (file: [6295c8f141] check-in: [68c24b1857] user: drh branch: trunk, size: 10534)
2008-02-14
02:49
Continuing work on tickets (still not working right.) Improvements to the web pages. ... (file: [7258c955ba] check-in: [3122fc4c7e] user: drh branch: trunk, size: 10400)
2008-02-13
22:31
Cut over all code to use TH1 instead of subscript. Completely remove the subscript interpreter from the source tree. ... (file: [43919ec3bf] check-in: [fde1d82372] user: drh branch: trunk, size: 7848)
19:50
The entire header, including the menu bar, is now generated by TH script. This allows the menu bar to be customized by editing the header script. ... (file: [9966e4d470] check-in: [ffe92f1a2f] user: drh branch: trunk, size: 7630)
18:18
TH1 script now used to render the header and footer of each page. ... (file: [7f63a6f888] check-in: [3ad9a5e210] user: drh branch: trunk, size: 6694)
16:21
Create the interface between TH1 and the rest of fossil. Subscript is still being used, though. This is a preparatory step toward cutting over to TH1. ... (file: [7efffff9c3] check-in: [13e16c824a] user: drh branch: trunk, size: 5828)