All files named ”src/main.c”
Not logged in

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

Ancestors of file src/main.c from check-in 39a899e4cf

2020-04-09
16:14
Initial code for implementing the idle-timeout feature for "fossil ui". Seems to work in preliminary tests on unix. Windows implementation is incomplete and untested. file: [76d16516c3] check-in: [39a899e4cf] user: drh branch: idle-timeout, size: 104824
2020-03-26
03:01
Fix typos. file: [640f411456] check-in: [58f00d333a] user: ashepilko branch: trunk, size: 104140
2020-03-13
20:38
Remove the 'd' capability, which has never been used. file: [0414544418] check-in: [1274054036] user: drh branch: trunk, size: 104140
2020-03-12
10:50
Omit the 'd' capability (the ability to delete wiki and tickets). This capability does not do anything. Apparently, it is a hold-over from the old CVSTrac code. file: [432d30fcd1] check-in: [3941824d85] user: drh branch: trunk, size: 104209
2020-01-29
12:34
Several minor internal cleanups in the /json bits, most notably how g.json.isJsonMode gets initialized (based strictly on the path/command, not guessing based on POST input). file: [f63e351604] check-in: [39bef92745] user: stephan branch: trunk, size: 104197
2019-12-23
02:08
Merged in memleak-fixes brach. This fixes several genuine leaks, including 2 in manifest parsing, and cleans up the large work caches during atexit() in order to (A) separate that valgrind noise from the real leaks and (B) leave a better impression on those running valgrind. file: [f7633ba206] check-in: [4cf8dbe398] user: stephan branch: trunk, size: 103792
2019-12-11
12:43
Rename the CGI control file variable "debug:" to "cgi-debug:" and enhance it so that it shows the complete CGI environment at the start of each request. Also add documentation. file: [add6f20199] check-in: [4a7760e368] user: drh branch: trunk, size: 103715
11:59
Fix an incorrect comment in the CGI handler. When parsing the CGI control file, check for "debug:" last, as it is the most infrequent option. file: [d7236548ec] check-in: [20dc009909] user: drh branch: trunk, size: 103470
2019-11-28
10:31
Changes to support CGI on IIS web servers. file: [472f2a7328] check-in: [c06e0b2d0a] user: drh branch: trunk, size: 103469
2019-10-28
19:16
Merged in double-dash-flag2 branch, which adds conventional -- handling to the vast majority of commands (the exception being those few which don't call verify_all_arguments()). file: [33931c8bef] check-in: [5cca46469f] user: stephan branch: trunk, size: 103266
2019-09-25
13:45
Fix the test-http command so that it omits line-ending conversions. This allows the ssh: clone/sync method to work with a windows server. file: [a35b33b329] check-in: [28b15b4816] user: drh branch: trunk, size: 101403
2019-09-24
10:09
Fix harmless memory leaks. file: [750cecd257] check-in: [79988f962e] user: drh branch: trunk, size: 101338
2019-09-23
19:38
Merge the libfuzzer integration. file: [0c54b74c39] check-in: [3a7129211c] user: drh branch: trunk, size: 101340
2019-09-04
00:58
Merged caps-doc branch down to trunk, improving documentation of user capabilities in Fossil. file: [4165634b6c] check-in: [779ddefa19] user: wyoung branch: trunk, size: 101107
2019-09-03
20:22
Make calls to db_begin_write() instead of db_begin_transaction() where appropriate. file: [8d7d39604e] check-in: [3ad81c3c49] user: drh branch: trunk, size: 101109
2019-08-21
16:57
Extra defenses against running fossil_atexit() more than once. file: [52d2860fa0] check-in: [bc7683e15a] user: drh branch: trunk, size: 101115
16:55
Fix the "shell" command so that it avoids invoking the atexit() handler more than once. file: [111f5e9385] check-in: [07a5a2118e] user: drh branch: trunk, size: 101023
2019-08-19
13:04
Increase the default HTTP request timeout to 10 minutes. Provide the FOSSIL_DEFAULT_TIMEOUT compile-time option for setting an alternative default. file: [210237c34a] check-in: [7979989dff] user: drh branch: trunk, size: 100662
2019-08-13
20:44
Remove the sigalrm_handler() function on windows builds as it is never called there. file: [c3702eb0a1] check-in: [1d7afcdff6] user: drh branch: trunk, size: 100282
19:31
Set a default timeout on CGI requests of 300 seconds. file: [b977f2c1c4] check-in: [859d6b1694] user: drh branch: trunk, size: 100260
2019-08-04
20:26
Fix a harmless compiler warning. file: [0cbe4118ce] check-in: [95a6a658d4] user: drh branch: trunk, size: 99434
20:23
Improvements to the Security-Audit page - mostly in providing additional information about the files in the CGI extension folder. file: [e5266b41aa] check-in: [a3bc6552ee] user: drh branch: trunk, size: 99434
2019-08-03
19:49
Fix the repolist function for CGI server invocations, apparently broken by check-in [ec56c69fe98d26d9] file: [fbbc310d51] check-in: [534b060007] user: drh branch: trunk, size: 99332
2019-07-29
18:17
When doing a repository list, use the first repository that has a non-zero value for the "repolist-skin" setting as the skin for the list. If the "repolist-skin" setting is 2 and if the repository list is coming from a directory scan, the omit that repository from the list. All repositories are always shown, regardless of the "repolist-skin" setting for a "fossil all ui" or "fossil all server" generated repository list. file: [52b62c7d69] check-in: [8f5399bc7b] user: drh branch: trunk, size: 99311
2019-07-25
21:11
Add the /ext page that will run CGI or deliver static content from a document hierarchy specified by the --extroot command-line option on "fossil server" or the extroot: option in the CGI file. file: [183cf5e5ad] check-in: [ec56c69fe9] user: drh branch: trunk, size: 99318
2019-07-18
22:45
Improved documentation of the --https option on "fossil server". file: [68dc25c99d] check-in: [3c602dd7f3] user: drh branch: trunk, size: 98471
2019-07-13
14:30
Change the default hash policy to "sha3". Bump the version number to 2.10 to start the next development cycle. file: [622a7b1ae6] check-in: [b4520f5efc] user: drh branch: trunk, size: 98379
2019-07-12
13:58
Improved error messages when a commit fails due to a lock conflict: Show the age of the lock in addition to the user. Suggest using the new --override-lock option instead of --allow-fork. Expire locks after any successful check-in from the same check-out. file: [0c74f5e55a] check-in: [3a5caa86db] user: drh branch: trunk, size: 98379
2019-06-30
03:38
In the "fossil diff" command, the use of --tclsh implies --tk. file: [d425d9267a] check-in: [2655a2d405] user: drh branch: trunk, size: 98379
2019-06-29
03:17
Steps to prevent accidental forks during a commit when two users try to commit to the same parent at the same time. The first user to do the autosync pull takes a lock which causes the second user to get a "would fork" error, unless the --allow-fork or --force options are used. file: [5b41fa0d67] check-in: [03cc332938] user: drh branch: trunk, size: 97966
2019-03-22
18:39
Add a new explanatory comment to clarify the operation of the "fossil server" implementation. No code changes. file: [8d9040c6f2] check-in: [c546212f10] user: drh branch: trunk, size: 97891
2019-01-27
19:16
Add the global --comment-format command-line option and the "comment-format" setting for controlling the display of the command-line timeline. file: [78dbe31f80] check-in: [2476b8121e] user: drh branch: trunk, size: 97402
2019-01-21
20:04
Improved robustness on the --args option. file: [b9587ea3ee] check-in: [14c14021a0] user: drh branch: trunk, size: 97213
18:34
Do not attempt to detect redirect loops. The client side will do that for us. file: [8da79ab7af] check-in: [810842f18f] user: drh branch: trunk, size: 96869
18:28
Enhance the "redirect-to-https" setting so that if it is 2 or more it forces all pages to travel of a secure connection. file: [f559c3959a] check-in: [4aba9ea6fe] user: drh branch: trunk, size: 97534
2018-11-28
18:42
Found several more pages protected with "!g.perm.Setup && !g.perm.Admin" guards: changed them all to "!g.perm.Admin" only for the same reason as [558952c8]. file: [e3e2cbe948] check-in: [42c3364f03] user: wyoung branch: trunk, size: 95590
2018-11-10
14:17
Do not run backoffice if the "--in" option is used on the "fossil http" command. file: [ce862c37a4] check-in: [afb1e5f6cf] user: drh branch: trunk, size: 95607
2018-11-02
13:08
Split out the repo_list_page() routine, used to generate the repository list for "fossil all ui" and similar, into a separate source file "repolist.c" to make it easier to enhance and maintain. file: [d7858c081b] check-in: [45a7134956] user: drh branch: trunk, size: 95581
2018-10-06
14:14
The "fossil help -o" command shows command-line options that are common to all commands. file: [c60dd20532] check-in: [50eb6bd569] user: drh branch: trunk, size: 100457
2018-08-23
15:07
Add the meta-viewport header to the repository list page. file: [8d190d2e95] check-in: [bb7c2d91df] user: drh branch: trunk, size: 100510
2018-08-17
12:32
Improvements to privilege processing and the "Security Audit" page /secaudit0. file: [cc92305b01] check-in: [397d23c161] user: drh branch: trunk, size: 100267
2018-08-08
00:03
Fix some compiler warnings. file: [302650afec] check-in: [250fc00dd3] user: mistachkin branch: trunk, size: 100062
2018-08-07
23:03
Make it possible to debug child processes on Windows. file: [0bcaf81719] check-in: [e285341f0c] user: mistachkin branch: trunk, size: 100013
15:12
A new implementation for "Forum" in which each forum post is an artifact. This merge includes lots of enhancements to email notification, backoffice, configuration, and other subsystems, all in support of the new forum artifacts. The forum feature is not complete nor bug-free but at this point it seems good enough to continue development on trunk. file: [e4d498e8c5] check-in: [99fcc43f5d] user: drh branch: trunk, size: 99527
2018-07-31
00:09
Fix harmless compiler warnings. file: [cbd221a404] check-in: [ea2e515153] user: mistachkin branch: trunk, size: 99198
2018-07-30
13:25
Backoffice processing improvements: Set a timer on the backoffice to prevent it from running too long. Report errors on failed attempts to open /dev/null. Use "NUL" instead of "/dev/null" on Windows. file: [5c4ad2d026] check-in: [07356e44c1] user: drh branch: trunk, size: 99124
2018-07-25
13:20
Add the 'D' Debug user capability. This is designed to show additional information and controls on webpages for debugging purposes. Also take steps to avoid trying to generate a webpage error message after the webpage has already gone out. file: [e0cb269da4] check-in: [fd3198322a] user: drh branch: trunk, size: 99149
2018-07-22
18:58
New options to the "fossil http" command: --in FILE, --out FILE, --ipaddr ADDRESS, and --nodelay. Use the --in, --out, and --inaddr options for subprocesses that handle HTTP requests via file I/O. This replaced the older and undocumented form of the "fossil http" command that accepted extra arguments. Use the --nodelay option to prevent lengthy backoffice processing. The use of --nodelay during "fossil ui" on Windows prevents annoying pauses on that platform. file: [72d81810eb] check-in: [52943029e2] user: drh branch: trunk, size: 99087
2018-07-19
16:27
Improved SQL logging after SIGPIPE. Exponential backoff in the warnings issued when the backoffice process misses its deadline. file: [c1ae487481] check-in: [f525b6d5e9] user: drh branch: trunk, size: 98662
13:29
Improved error logging following a segfault. file: [ff592f43b3] check-in: [a8d220b9ff] user: drh branch: trunk, size: 98648
2018-07-18
19:22
Use the new SQLITE_FCNTL_DATA_VERSION interface in SQLite to limit running the backoffice processing to case when the repository file changes. file: [ef65cb9c1e] check-in: [752ea432d1] user: drh branch: trunk, size: 98016
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: [0bdcd1931f] check-in: [3f5ab71744] user: drh branch: trunk, size: 97938
2018-07-14
15:12
Update the built-in SQLite to the lastest 3.25.0 alpha version due to improved error message processing in that version. 3.25.0 also includes support for window functions, but we do not (yet) use that feature in Fossil. file: [9ba9a5a6ef] check-in: [d66f322457] user: drh branch: trunk, size: 97938
14:13
Add the --nocompress option to the "ui", "server", and "http" commands. This option prevents HTTP reply compression, which is useful during debugging. The option is on by default for "test-http". Also, make sure the mimetype for error messages is set to text/html. file: [cfd747117c] check-in: [cfc7aca2c1] user: drh branch: trunk, size: 97922
00:54
Do not allow people to subscribe to notifications for which they do not have read permission. file: [48140d1be5] check-in: [6e6e3c8b25] user: drh branch: trunk, size: 97595
2018-07-13
21:36
Improved process debugging for "fossil ui" and "fossil server". Sanely close the open database connection upon receiving SIGPIPE. file: [a3cb81f00d] check-in: [83b171bcd1] user: drh branch: trunk, size: 97612
16:06
When rendering SQLite log messages to the error log, include the SQL for all busy SQL statements in the log message. file: [038912e162] check-in: [c6ecf21f37] user: drh branch: trunk, size: 97089
2018-07-12
14:55
Add "Download", "Test", and "Truncate" submenu buttons on the /errorlog page. Show a confirmation page prior to truncating the error log. Improvements to the /test-warning page, including a link back to /errorlog through the submenu. file: [49b74ae5a8] check-in: [c931dd7b58] user: drh branch: trunk, size: 96473
2018-06-29
12:56
Attempt to make an error log entry following a segfault. file: [0441f69405] check-in: [c670925e00] user: drh branch: trunk, size: 96225
2018-06-26
01:24
Initial implementation of the /announce webpage. file: [28dfae9e3b] check-in: [65f5754611] user: drh branch: trunk, size: 96017
2018-06-24
23:17
Any call to fossil_fatal() while generating a webpage changes the output to a 400 Bad Request with an appropriately formatted web page. file: [a20b6f676e] check-in: [a0863d2b46] user: drh branch: trunk, size: 95964
17:51
Improvements to the /test-warning webpage. file: [551450aa73] check-in: [8d9ad7501e] user: drh branch: trunk, size: 95957
17:44
Extra defenses against running the digest alert generator in a context where the transaction will rollback, thus failing to record the new digest time. Change the "fossil server" and "fossil ui" commands to always log errors to the console if no other error logging is defined. file: [40bd6e5c8a] check-in: [f87fb02780] user: drh branch: trunk, size: 95850
2018-06-21
16:40
Strengthen the codecheck1.c utility program to help find cases where query parameters are used in unsafe ways. No unsafe usage of query parameters was detected in the current code. file: [8f821b1763] check-in: [bb9233a61a] user: drh branch: trunk, size: 94845
2018-06-20
19:04
Add a new capability that allows signup for email notification. Change the name of the older "EMail" privilege to "View-PII" to avoid confusion. file: [48ec43c79b] check-in: [25eafed114] user: drh branch: trunk, size: 94845
18:47
Merge the speculative Forum changes. This is because I need the enhancements to the user capabilities in order to add a new capability for Email Notifiation. The Forum logic itself is not ready, and is subject to change and removal. But it is well isolated and shouldn't hurt anything if it hangs out on trunk for a while. file: [72e277bd93] check-in: [9a2e5f4717] user: drh branch: trunk, size: 94779
2018-05-18
18:24
If launched with no command-line arguments, check for a repo appended to the end of the executable and open "ui" on that repo. file: [20e0ebbd82] check-in: [37b2eb9991] user: drh branch: trunk, size: 94185
2018-03-23
15:37
Disable the SQLite automatic index warning on non-debug builds. file: [9b1df234f5] check-in: [1336c4af8a] user: drh branch: trunk, size: 93605
2018-03-20
17:10
Support for using 'sys/mman.h' when compiling for POSIX. file: [03538ead6b] check-in: [d5ca5384a0] user: mistachkin branch: trunk, size: 93454
2018-03-07
19:46
Rid the code of the legacy UUID_SIZE macro. Replace it everywhere with either HNAME_MAX or HNAME_LEN_SHA1 or HNAME_LEN_K256, as appropriate. file: [7db30acc77] check-in: [323299cb56] user: drh branch: trunk, size: 93218
2018-02-23
18:45
Fix the mtime computation for "fossil all ui" on windows. file: [d58cab363b] check-in: [219f3e6b7e] user: drh branch: trunk, size: 93596
2018-02-16
16:16
An HTTPS upgrade redirect loop now is broken and gives a warning. The "-nossl" is no longer the default on "fossil server". Warning messages are provided when trying to log in via an insecure connection. file: [b245576541] check-in: [61733824bb] user: drh branch: trunk, size: 93443
2018-02-13
22:26
On the Fossil repository screen list that comes up with commands like "fossil all ui", show the last modification time of each repo, and allow sorting by mtime. file: [ecab891667] check-in: [f2231ba668] user: drh branch: trunk, size: 93533
2018-01-21
23:48
Update the built-in SQLite to the third 3.22.0 beta for testing. Also fix a typo in a comment in the "fossil ui" command. file: [267f42740e] check-in: [861f4b0bde] user: drh branch: trunk, size: 92354
2018-01-17
19:22
Show the HAVE_PLEDGE configuration parameter in the output of "version -v". file: [2e46408c2e] check-in: [4471e93c75] user: drh branch: trunk, size: 92351
2018-01-05
15:25
Always try to extract the IP address and PORT number from the --port option to "fossil server" if the option contains a ':' character. file: [ef9e919525] check-in: [4d3cb0da65] user: drh branch: trunk, size: 92277
13:37
Improved parsing of the --port option on the "fossil server" command. file: [56cc28471e] check-in: [f8f2c8d259] user: drh branch: trunk, size: 92294
2018-01-03
23:55
In the "fossil ui" and "fossil server" commands on Windows, use IPv6 for loopback. file: [d4ea304d26] check-in: [696e14811d] user: drh branch: trunk, size: 91800
2018-01-01
18:52
Disable the the --max-latency option on "fossil server" on windows, as it has always been a no-op there. file: [ae7f7d81a9] check-in: [6b5cfc861a] user: drh branch: trunk, size: 91804
2017-12-23
02:43
The "fossil server" command keeps track of the total number of requests and displays that value on the /test_env page. file: [4a0da1d10d] check-in: [41c7caad8a] user: drh branch: trunk, size: 91804
00:50
Fix the "fossil server" command to allow up to FOSSIL_MAX_CONNECTIONS (default 1000) pending HTTP requests. This is an increase from 2. Add the --max-latency command-line option for "fossil server". Do a better job of harvesting dead child processes. Report the number of sibling HTTP request handler processes on the /test_env page. file: [25ab1389ef] check-in: [05ec15cad5] user: drh branch: trunk, size: 91741
2017-12-13
20:36
Improved error reporting when trying to write to a repository that is in a read-only directory. file: [c15d509c6e] check-in: [500b0a2ae8] user: drh branch: trunk, size: 91198
2017-12-03
11:18
Rework the Setup/Skin page so that all edits are done on a draft, then tested, then the draft is published to become the default skin. file: [65bdfa618d] check-in: [106fe618f4] user: drh branch: trunk, size: 91058
11:16
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. file: [d25f773a67] check-in: [1772357fc2] user: drh branch: trunk, size: 90181
2017-11-26
23:29
Remove a leftover "basic" query parameter on an internal /timeline line. Change the default number of entries shown for "c=" timelines to 50, as this works better with the new centering logic. file: [24bd6b806a] check-in: [6e9748b6a8] user: drh branch: trunk, size: 90109
2017-11-24
23:53
Make the "basic" query parameter the default for built-in skins when clicking on the Timeline menu. Add "basic" to /finfo. Other improvements to timeline. file: [1adfec51b8] check-in: [78f18dbd1c] user: drh branch: trunk, size: 90115
2017-10-17
23:03
In the "fossil all ui" command, shows the "(hidden)" mark after repos that contain "/." in their pathnames. file: [15e6e4f051] check-in: [b82bdff789] user: drh branch: trunk, size: 90101
2017-10-05
11:37
Delta checksum verification is disabled by default, for better performance. It can be reenabled using -DFOSSIL_ENABLE_DELTA_CKSUM_TEST. file: [2efcd89d41] check-in: [d3a46b2a45] user: drh branch: trunk, size: 89970
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: [8debe9f445] check-in: [36f0e47b32] user: mistachkin branch: trunk, size: 89966
2017-09-20
03:27
Add preliminary support for URL aliasing. Create aliases by visiting the "URL Aliases" subscreen under the Setup menu. file: [c4d2c9f138] check-in: [8131f1c5d9] user: drh branch: trunk, size: 89968
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: [8e2c9e0d9e] check-in: [b7272185ca] user: drh branch: trunk, size: 89927
2017-06-24
13:59
Increase the stack size limit to 8MB. Disable stack and heap size limits prior to invoking subprocesses. file: [9a52a07b52] check-in: [3f193ba610] user: drh branch: trunk, size: 90065
2017-06-20
13:35
On unix, use setrlimit() to limit total heap space usage to 1GB on 32-bit systems and 10GB on 64-bit systems, and total stack space to 2MB, as a proactive defense again the "stack clash" vulnerability found on many unix-like OSes. I do not yet know if these limits are reasonable. file: [f07fee1fea] check-in: [6e6e4b1d26] user: drh branch: trunk, size: 90405
2017-06-07
15:55
Fix the "fossil sha3sum" command so that it accepts "-" to mean stdin. Clarify the algorithm used. file: [4ec829dacd] check-in: [86fa03adb1] user: drh branch: trunk, size: 90038
2017-04-26
15:27
No need for the /version page to distinguish between verbose=2 and verbose=1, just presence (or not) of "verbose" is enough. file: [09f5e4f378] check-in: [0ec7120570] user: jan.nijtmans branch: trunk, size: 90019
2017-03-06
12:52
Use "auto" hash-policy for new Docker repositories file: [5105d4bc1b] check-in: [3c9dc14831] user: jan.nijtmans branch: trunk, size: 90021
2017-03-05
19:51
Add support for variable "hash policies". Increase the version number to 2.1. file: [b84feeff94] check-in: [e92133a548] user: drh branch: trunk, size: 89886
2017-03-01
21:42
Use the hardened SHA1 implemenation by Marc Stevens and Dan Shumow. file: [45ec4e8285] check-in: [7c29bffcad] user: drh branch: trunk, size: 89816
16:00
Add the ability to read and understand SHA3 name hashes. file: [f202c021d4] check-in: [fd9b7bd982] user: drh branch: trunk, size: 89712
2017-02-06
22:31
Add '--no-dir-symlinks' command line option, which prevents traversing into symlinked directories. Make the '--verily' option to 'clean' imply '--no-dir-symlinks'. file: [76a84632e7] check-in: [8e659df696] user: mistachkin branch: trunk, size: 89394
2017-01-27
12:21
Make "fossil version -v" work again with SQLite 3.15.x, since no-where is documented that "fossil now requires SQLite 3.16" file: [07743cdd48] check-in: [042d6a7b98] user: jan.nijtmans branch: trunk, size: 89256
2017-01-17
02:22
Improved libfuse version information. file: [2b8f5042ba] check-in: [28c7a35f2e] user: drh branch: trunk, size: 89260
2017-01-16
23:34
Provide more information about compile-time options to the "fossil version -v" command. file: [545a36c199] check-in: [3192b13d20] user: drh branch: trunk, size: 89206
20:35
The "fossil version -v" command and the /version?verbose webpage show the same output. Update the change log for the 1.37 release. file: [a1105f6ba2] check-in: [9c97d23d36] user: drh branch: trunk, size: 88728
2017-01-06
15:28
Upgrade dirent.h to version 1.22. Minor spacing changes. file: [ef8114555a] check-in: [b66b99cde9] user: jan.nijtmans branch: trunk, size: 89042
13:09
The "fossil all ui" command still does not work for repos that do not end in ".fossil", but it at least does not hyperlink them any more. file: [aac1bd0eb6] check-in: [805122df65] user: drh branch: trunk, size: 89043
2017-01-04
10:40
Add a web-page, where we can see the details on how SQLite was compiled (pragma compile_options), as sub-page for "stat". file: [bd36cac453] check-in: [eac405d7d6] user: jan.nijtmans branch: trunk, size: 88666
2016-12-08
10:25
Fix warning when compiling with gcc on Windows (Microsoft's fprintf doesn't know %lld) file: [d1f1133c10] check-in: [68288686e0] user: jan.nijtmans branch: trunk, size: 88074
2016-12-02
10:49
Get the "fossil all ui" command working on Cygwin where the global_config table has "repo:" entries containing the windows drive letter file: [bf3f1594db] check-in: [eb9b2317d5] user: jan.nijtmans branch: trunk, size: 87993
2016-12-01
21:56
Get the "fossil all ui" command working on windows systems where the global_config table has "repo:" entries that omit the drive letter. file: [f2b7f9d480] check-in: [25758c7b1c] user: drh branch: trunk, size: 87935
16:41
Add support for the "fossil all ui" and "fossil all server" commands. file: [3c48d9f8f4] check-in: [239b4c1362] user: drh branch: trunk, size: 87860
2016-11-16
14:47
Change the /test-version webpage into /version. Link it to /stat. file: [43a1bc6ae4] check-in: [286effd5e9] user: drh branch: trunk, size: 83876
2016-11-07
01:29
Remove some tabs and end-of-line whitespace file: [7424d528c7] check-in: [bf9669f55e] user: andygoth branch: trunk, size: 83840
2016-11-06
23:45
Integrate andygoth-changes for broader testing and comment. This change should be fully backward-compatible, unless of course a script depends on the help text never changing or new options never being added. All existing options and defaults should work identically to before. I had planned to update the ls command to use the same backend as changes/status, but that work will have to wait until we decide if the ls options should be redesigned. The SCAN_MTIME, SCAN_SIZE, C_MTIME, and C_SIZE flags are currently unused and can be removed, but their presence harms nothing, and they should be useful for a basis for an updated ls command, though they may need modification to address confusion between commit time, on-disk mtime, checked-in size, and on-disk size. file: [091f5de79d] check-in: [7c8cc2adab] user: andygoth branch: trunk, size: 83833
16:10
Move macro definition to config.h which is included everywhere to fix build failure reported on mailing list with "configure --json --with-tcl --with-th1-docs". file: [ac29e13b09] check-in: [36e7558a11] user: andybradford branch: trunk, size: 83798
2016-11-05
05:46
Merge fork file: [09bb17bd75] check-in: [3cb9ba4de6] user: andygoth branch: trunk, size: 83882
2016-11-01
23:34
Enhancements to SEE integration on Windows. file: [45ff56cec7] check-in: [7aeeb30286] user: mistachkin branch: trunk, size: 83908
2016-10-26
21:31
Minor security enhancements to the optional SEE integration. file: [e468df332a] check-in: [a8484dc327] user: mistachkin branch: trunk, size: 81784
2016-09-21
17:06
Drop support for the undocumented (and non-working) subrepository feature unless the -DFOSSIL_ENABLE_SUBREPOSITORY compile-time option is used. file: [4882a728e1] check-in: [d8c917eeba] user: drh branch: trunk, size: 81541
2016-09-13
19:59
Revise the COMMAND: and WEBSITE: parsing to add the ability to specify flag options after the command or website name. file: [b575862587] check-in: [555ddfecfa] user: drh branch: trunk, size: 81251
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: [fc2da020a3] check-in: [e6aab1a437] user: drh branch: trunk, size: 81179
2016-08-22
20:12
Remove the db_name() function. In its place, the SQLITE_DBCONFIG_MAINDBNAME feature of SQLite is used to ensure that the three attached databases are always exactly named "repository", "configdb" and "localdb", regardless of which is opened first or the order in which they are attached. Update to the latest 3.15 alpha of SQLite which is now required for correct operation, since SQLITE_DBCONFIG_MAINDBNAME is required. file: [a6edf3b522] check-in: [06aec61111] user: drh branch: trunk, size: 91697
2016-08-18
02:45
Make the '--th-trace' option work properly on Windows. file: [5239fa68a3] check-in: [11d3d72125] user: mistachkin branch: trunk, size: 91913
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: [6c99bae251] check-in: [801eca62a8] user: drh branch: trunk, size: 91824
15:42
Add support for unversioned files stored in the repository. file: [d7e60dad99] check-in: [27d743e708] user: drh branch: trunk, size: 91728
2016-08-10
09:06
Remove unnecessary spacing file: [8b3c5df6b7] check-in: [c3b5f1d2f2] user: jan.nijtmans branch: trunk, size: 91665
2016-08-09
14:42
Since fossil now uses sqlite3_trace_v2(), it needs at least the 'pi' release of SQLite. file: [abffd477eb] check-in: [0dc21b70c6] user: jan.nijtmans branch: trunk, size: 91666
2016-08-02
17:59
Add documentation of the repolist mode to the CGI command. file: [ec91069979] check-in: [20e9731ccd] user: rberteig branch: trunk, size: 91666
17:17
Improved documentation for the "fossil cgi" command. file: [2389c8d274] check-in: [66d0038051] user: drh branch: trunk, size: 91468
2016-06-11
20:13
For the "setenv:" line of CGI scripts, if the VALUE field is omitted, unset the variable. file: [663246084e] check-in: [72df287cf3] user: drh branch: trunk, size: 89235
2016-05-30
00:42
Improvements to the /timeline documentation. file: [dce9dcdab9] check-in: [e448abd0ea] user: drh branch: trunk, size: 89150
2016-04-29
10:28
Make options --repolist and --baseurl work together, if the original URL doesn't end with '/'. file: [4989ed094f] check-in: [7c4628a568] user: jan.nijtmans branch: trunk, size: 89000
08:28
Make option --baseurl work on Windows file: [82a5c7ef28] check-in: [6f35075ad7] user: jan.nijtmans branch: trunk, size: 88959
2016-04-22
20:00
Updates to support building with the SQLite Encryption Extension on Windows. file: [4b9e7c1c5a] check-in: [9129f6f622] user: mistachkin branch: trunk, size: 88939
2016-04-07
18:41
Make usage of 'Usage:' and 'or:' consistent in all help text. file: [2c2d97aec0] check-in: [8bfd9951ca] user: rberteig branch: trunk, size: 88873
12:21
Make the default start page for the "fossil ui" command on a local check-out be "timeline?c=current". The default page is still whatever default the repository specifies for "fossil server" or if using "fossil ui" on any repository other than the current check-out. file: [484aae660a] check-in: [3602486f25] user: drh branch: trunk, size: 88861
2016-04-02
03:47
Coding style tweaks for the new 'test-all-help' command. file: [b7072d8bb8] check-in: [651f70847b] user: mistachkin branch: trunk, size: 88759
00:56
Add new fossil test-all-help command. Spell checked and proof read all help text. Fixed typos. Reworded for clarity in a few places. Cleaned up a few inconsistencies of formatting. No code changes other than the new command. Passes all tests. file: [a29f2ba530] check-in: [26eef7f84a] user: rberteig branch: trunk, size: 88824
2016-03-17
19:32
Simpler alternative to [7063f8d4cc]. Skips initial directory portion of PATH_INFO when building the g.zBaseURL and g.zTop used with a directory of repositories. file: [a633a8fee5] check-in: [abb19e8864] user: mistachkin branch: trunk, size: 87442
2016-02-23
10:47
Since fossil now uses the function sqlite_strlike(), don't allow it to build/run with SQLite versions < 3.10.0 any more. file: [e75796be53] check-in: [8ed01e8021] user: jan.nijtmans branch: trunk, size: 87009
2016-02-01
20:38
Add --https and --nossl options to the 'server' command. file: [744f0089f5] check-in: [b8c7af5bd9] user: mistachkin branch: trunk, size: 87008
20:36
The 'g.zHttpsURL' variable should be populated even when the --baseurl option is used. file: [dd7b44b67a] check-in: [4110f52297] user: mistachkin branch: trunk, size: 86676
2016-01-29
21:06
Require the 'read' permission to view the 'test-version' web page. file: [09f7d49031] check-in: [83b2acb704] user: mistachkin branch: trunk, size: 86457
21:03
Add test-version web page. Refactor command line 'version' command code into a function to help facilitate that. file: [6286e53086] check-in: [f7cd247b95] user: mistachkin branch: trunk, size: 86354
2015-12-29
21:52
Fix comment typos in main.c - including some comments that are used as on-line help text. file: [5cbae19db2] check-in: [d76a980fd1] user: drh branch: trunk, size: 85336
2015-12-27
18:49
For the "fossil server" command, set the HTTP_SERVER_HAD_REPOSITORY and HTTP_SERVER_HAD_CHECKOUT flags just as they would have been with the "fossil ui" command. file: [71af1f375e] check-in: [e4e0988477] user: drh branch: trunk, size: 85298
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: [48a8db90d5] check-in: [ea63a2d1f4] user: drh branch: trunk, size: 85306
2015-12-15
16:12
Add the "bisect" query parameter the /timeline. Add the "fossil bisect ui" command that runs "fossil ui -page 'timeline?bisect'". file: [6407bdfe5c] check-in: [cbde2cf7e4] user: drh branch: trunk, size: 85163
14:46
Add the --page option to the "fossil ui" command. file: [5dc4f7ffaf] check-in: [f55f64e2d8] user: drh branch: trunk, size: 85157
2015-12-03
22:53
On Windows, deal with the reserved 12 characters (8.3) always needed for long directory names. file: [f80950db45] check-in: [9571b68a7a] user: drh branch: trunk, size: 84717
2015-11-24
23:41
Fix compiler warnings seen with MSVC. Add comments. file: [cf8dd44790] check-in: [52e3d9d845] user: mistachkin branch: trunk, size: 84729
2015-10-27
01:21
Add the 'exec-rel-paths' setting and its machinery to permit relative paths to be used when calling external diffing tools. file: [1133b42e58] check-in: [825d78b6f7] user: mistachkin branch: trunk, size: 84633
2015-09-16
09:18
Add some "const" keywords in appropriate places. No change in functionality. Eliminates some compiler warnings. file: [1bcedcbc99] check-in: [a6fd491d3a] user: jan.nijtmans branch: trunk, size: 84546
2015-08-12
04:51
Fix a harmless compiler warning. file: [9728b1f90a] check-in: [c64989d5a0] user: drh branch: trunk, size: 84547
2015-08-11
04:03
Integrate new command amend into trunk. file: [663276d58c] check-in: [c73c95cc65] user: andybradford branch: trunk, size: 84542
2015-06-27
21:47
Once again attempt to fix "fossil server --repolist" so that it ignores ".fossil" database files. file: [90e020d219] check-in: [63fc62d9ec] user: drh branch: trunk, size: 83648
2015-06-26
17:48
In the "fossil server --repolist" command, to not accept ".fossil" as a valid fossil repository. Require at least one character before the ".". file: [aa8758d23c] check-in: [ceeb1c331b] user: drh branch: trunk, size: 83608
2015-06-22
04:37
Integrate andygoth-help-option. file: [cdd3cbfd0c] check-in: [100ac83b64] user: andygoth branch: trunk, size: 83603
2015-06-19
22:19
Permit full dynamic linking when compiling with MSVC. Also, enable the building of the in-tree zlib to be skipped.' file: [91cc53a76a] check-in: [7932cb3f05] user: mistachkin branch: trunk, size: 83148
2015-06-11
21:25
Further improvements to the Tcl integration subsystem. file: [840f05c17c] check-in: [18fc492a95] user: mistachkin branch: trunk, size: 83028
2015-06-10
22:31
Sync up TclContext hLibrary member name with 'main.c'. file: [e040f786ab] check-in: [d7bcdcbf2e] user: mistachkin branch: trunk, size: 82962
2015-05-15
05:19
Cherrypick [849cf1d1]: Minor comment correction, no functional change. file: [2315abe50e] check-in: [2c77d1d643] user: andygoth branch: trunk, size: 82962
01:41
Integrate andygoth-versioned-open. This makes [fossil open] respect ".fossil-settings/allow-symlinks". file: [b4c6c9dbe8] check-in: [010451e7a5] user: andygoth branch: trunk, size: 82958
2015-05-14
18:31
Fix the error output for command-line option errors on the "fossil http" command. file: [54d315206d] check-in: [648dc3e704] user: drh branch: trunk, size: 82885
15:31
On the generated "repository list" page when running "fossil ui DIR", include a title and make all hyperlinks appear in a new window or tab. file: [858cae9eae] check-in: [e561cfd47e] user: drh branch: trunk, size: 82885
2015-05-12
13:19
Permit --notfound and --repolist to be used together on "fossil server". Merge changes to always show a piechart for "By User" reports. Fix an uninitialized variable in "fossil rebuild". file: [a98f3a09f0] check-in: [434f7e17d9] user: drh branch: trunk, size: 82751
2015-05-04
20:10
Since fossil now uses sqlite_malloc64, which is introduced in SQLite 3.8.7, don't accept linkage using earlier SQLite versions any more. file: [061f8b32f2] check-in: [a481a8176b] user: jan.nijtmans branch: trunk, size: 82751
2015-04-27
23:54
Only check for forks if content was received. file: [13babac804] check-in: [440ed5da09] user: andybradford branch: trunk, size: 82751
13:19
Provide help text for all commands and webpages. file: [140b94fbc6] check-in: [7ab03289ee] user: drh branch: trunk, size: 82734
2015-04-10
00:23
Add the ability (configurable) for "fossil rm" and "fossil mv" to actually remove and rename files on disk. file: [41d452b2fa] check-in: [3c941ddc36] user: drh branch: trunk, size: 82645
2015-04-03
02:05
Take extra precaution to not disturb single file server invocations even though they should already be open and not hit this code. file: [0b78fff6ce] check-in: [d2f1df363e] user: andybradford branch: trunk, size: 82562
2015-04-01
17:23
Honor the --baseurl command-line option in scgi mode. file: [7f909e79d8] check-in: [3eb0594c9e] user: drh branch: trunk, size: 82514
2015-03-22
01:38
Correct typo. Credit Arseniy Terekhin on the fossil-dev list for the report. file: [c269b9b128] check-in: [b0592fe329] user: andygoth branch: trunk, size: 82230
2015-03-20
14:50
Explicitely specify "admin" as username, otherwise Docker cannot find out which user should be created file: [99192d11e6] check-in: [5811ecd7cc] user: jan.nijtmans branch: trunk, size: 82234
11:12
In "fossil server --create", don't create "admin" user with "admin" password, but print the random-generated password file: [486edea59b] check-in: [2ec9af63bd] user: jan.nijtmans branch: trunk, size: 82225
2015-03-18
14:17
Add the --create option to "fossil server", which causes a new repository to be created for the server if one does not already exist. The intended use case is Docker. file: [54e12237fc] check-in: [a6e2ceb454] user: drh branch: trunk, size: 81943
2015-03-05
19:51
Swap single-/double-dash convention in [fossil help help] listing to match the other commands. Use single-dash for single-letter option names and double-dash for long option names. (Truth is that either is accepted; this is merely a display issue.) file: [f8a3152207] check-in: [03e1850bf1] user: andygoth branch: trunk, size: 81286
2015-03-02
22:46
Make sure the HTTP_SERVER_REPOLIST flag is set (if necessary) prior to calling the Win32 HTTP server. This allows the changes from check-in [a0b33ab4d4] to work as intended. file: [23f8f13d03] check-in: [9186bf2a46] user: mistachkin branch: trunk, size: 81285
03:01
Several cosmetic changes to the previous check-in. Add the missing word 'system' on the front page. file: [cb7ab7fca7] check-in: [4729593011] user: mistachkin branch: trunk, size: 81270
2015-03-01
21:03
Let "fossil version -v" show whether the (Windows) commandline supports unicode or not. Add "Fossil" in front of the FileDescription, as requested on ML. file: [5f772c31a4] check-in: [4f4ef542a4] user: jan.nijtmans branch: trunk, size: 81234
20:56
More changes to make 'check-in' terminology consistent in source comments, SQL comments, JSON error messages, and web page link text. file: [27b886d44e] check-in: [30c107e2c8] user: mistachkin branch: trunk, size: 81138
2015-02-20
16:03
Fix a compiler warning on windows. file: [a4a666201e] check-in: [c0c3e17498] user: drh branch: trunk, size: 81136
15:57
Get the repolist mechanism working on windows. Make sure repolist is disabled (except for the "ui" command) without the --repolist option. file: [8ac6edcb2c] check-in: [d976b474e9] user: drh branch: trunk, size: 81089
15:40
For commands "ui", "server", and "http", and for CGI, when a directory is supplied instead of a specific repository, add the ability to show a list of available repositories under that directory. Enabled by default with the "ui" command. Use --repolist with "server" and "http" and the "repolist" attribute in the CGI script to enable. file: [364f7d5e02] check-in: [87508e0bf9] user: drh branch: trunk, size: 81101
2015-02-18
19:10
Make the front page less prolix. Fix typos in the "fossil ui" help screen. file: [db15c9e35a] check-in: [be7fdc7ab0] user: drh branch: trunk, size: 79298
2015-02-16
02:09
Fix harmless compiler warnings. file: [99b3c7f6a5] check-in: [c9db8c7958] user: mistachkin branch: trunk, size: 79306
2015-02-15
19:36
Add the --nojail option to the "server", "ui", and "http" commands. file: [03a74d0952] check-in: [c5c9f1642b] user: drh branch: trunk, size: 79250
2015-02-14
15:06
Improvements to login/logout processing: (1) When the user is "nobody", show hyperlinks to pages that require "anonymous" but have those links redirect to the /login page. (2) Clean up the /login page - less verbage. (3) Redirects from /login to /tarball or /zip provide a button to press, rather than immediately starting the download. file: [3d17275ac1] check-in: [653dd402ea] user: drh branch: trunk, size: 78706
2015-02-11
15:12
Accidentally omitted the --skin option processing from the previous check-in. file: [de0f5eb3c4] check-in: [5ce5ff5765] user: drh branch: trunk, size: 78474
15:05
Add the ability to specify one of the built-in skins as an override of the current configuration, using the --skin option to "server", "ui", and "http" commands, or the "skin:" line in the CGI script. file: [8848fb1831] check-in: [ed36e2eb51] user: drh branch: trunk, size: 78341
11:09
Use the "%S" formatting option for human-readable SHA1 hashes and "%!S" for SHA1 hashes in URLs. The length of these hashes are compile-time configurable using FOSSIL_SHA1_PREFIX_LEN and FOSSIL_SHA1_URLPREFIX_LEN, respectively. Defaults: 10 and 16. file: [f0ff450956] check-in: [1fee0377e4] user: drh branch: trunk, size: 77889
2015-02-08
21:15
Improvements to detection and reporting of file-descriptor 2 not open. file: [970625ed18] check-in: [fdfc039bb3] user: drh branch: trunk, size: 77913
2015-02-07
21:14
Further improvements to the defenses against being invoked without file descriptor 2 being open. file: [db9fc418c3] check-in: [6dbaa67420] user: drh branch: trunk, size: 77855
20:40
Put the output into CGI or inetd mode prior to failing with a "file-descriptor 2 not open" error. file: [9837aa79df] check-in: [35ab16bc9e] user: drh branch: trunk, size: 77421
19:52
Off-by-one error in the previous commit. file: [fc64ea2676] check-in: [478ef4ca5a] user: drh branch: trunk, size: 77337
19:48
Improvements to detections and attempted mitigation of the file-descriptor 2 not open problem sometimes seen with stunnel4. file: [2cb57c6a2c] check-in: [bd60090134] user: drh branch: trunk, size: 77336
16:59
If file descriptor 2 is not open, try twice to open it. If it still is not open, just continue on, because presumably it won't open on any subquent open() system call. file: [aa1c10a643] check-in: [a3ade26568] user: drh branch: trunk, size: 77258
2015-01-26
09:04
Update custom MinGW makefile, add one "const" and remove some unnecessary eol-spaces file: [8796540f82] check-in: [9e318f6b48] user: jan.nijtmans branch: trunk, size: 77233
2015-01-25
21:21
Improved tracing capability for debugging purposes. file: [1660e8aee8] check-in: [af3d3b6936] user: drh branch: trunk, size: 77234
2015-01-24
21:46
Add the --ipv4 option to force the use of IPv4 on "fossil clone" and "fossil sync" and so forth. file: [2aa380b1b8] check-in: [317bd3cb3d] user: drh branch: trunk, size: 77163
2015-01-22
13:44
Add comments the CGI-script parser. Move the most commonly seen lines to the top of the if-then-else chain. file: [b2152b0fb9] check-in: [236087b98e] user: drh branch: trunk, size: 77099
02:59
Add support for setting environment variables from within CGI script files. file: [6b2d22219b] check-in: [0af7024db1] user: mistachkin branch: trunk, size: 75242
2015-01-21
00:17
Manually merge the blob leak fixes corrected on the 'cgiSetEnv' branch. file: [2f1532147a] check-in: [1829fa8845] user: mistachkin branch: trunk, size: 75002
2014-11-28
15:36
Rig the aux-schema checking so that it accepts a range of schema values. Add the BASEID field to the PLINK table, but continue to allow older versions of the PLINK table so that "rebuild" is not require. The schema will automatically update on the next "rebuild". file: [08d5baeb5c] check-in: [5dd8b2dabe] user: drh branch: trunk, size: 74950
14:07
Enhance the "fossil sql" command so that one or more SQL statements and/or dot-commands can be entered on the command-line. Also automatically ATTACH the local database and the config database, if they are available. file: [2195e569cf] check-in: [f922f4e3cc] user: drh branch: trunk, size: 74887
2014-11-19
13:18
Add a configuration option that automatically redirects to SSL for HTTP connections to the login page. file: [4b7c629828] check-in: [a4e7b8629d] user: drh branch: trunk, size: 74828
2014-10-30
22:08
Fix an instance of using a NULL database connection pointer when starting the Fossil server in multi-repository mode. file: [f15ce4845d] check-in: [de17e35bf1] user: drh branch: trunk, size: 74682
2014-10-28
18:50
Update the CGI redirect: property to work with both artifact and ticket IDs. file: [0c8673ba9f] check-in: [41a1b9bcfe] user: drh branch: trunk, size: 74671
2014-10-21
02:52
Add the codecheck1 program to the build tools. This program validates the format strings on printf-style internal interfaces, verifying that the correct number of arguments follow and that SQL is protected from injection attacks. file: [5e888fc2d2] check-in: [49b0ff1592] user: drh branch: trunk, size: 74585
2014-10-20
10:07
In the built-in customized printf(), change the wiki conversion format character from "%w" to "%W". Then add "%w" to for SQL identifiers within double-quotes, the same as used for SQLite. UPDATE: See follow-up change at [3b92154af8d] on 2015-02-26. file: [9b699e77e9] check-in: [43b30dcfc3] user: drh branch: trunk, size: 74545
2014-10-06
03:19
For the "fossil http" command with the --https option, try to get the remove IP address from the REMOTE_HOST environment variable, it it exists. This will mean that the correct remote IP address is obtained when stunnel provides SSL decoding for Fossil. file: [394258fc81] check-in: [afc2f5e661] user: drh branch: trunk, size: 74552
2014-09-24
09:01
Move the check for "server-code"/"project-code" into the function db_setup_server_and_project_codes() file: [a3843140db] check-in: [35bf217336] user: jan.nijtmans branch: trunk, size: 74493
2014-09-23
15:33
Modularize server/project code handling. Small style fix to the Dockerfile. file: [24525e9b24] check-in: [1cf4728585] user: mistachkin branch: trunk, size: 74559
12:15
Add support for Docker http://www.docker.com/ file: [cec187ec9a] check-in: [7aced53023] user: jan.nijtmans branch: trunk, size: 74734
2014-09-16
02:44
Fix 'fossil sync' with local file URIs (and SCGI URIs on Windows) while retaining the 'fossil ui' enhancements that permit using an open checkout (e.g. to resolve the symbolic names prev, next, and current). file: [d623319bb3] check-in: [1f8a4ecdb7] user: mistachkin branch: trunk, size: 74442
2014-09-15
18:19
Restore special handling of the database name from [17885b90c8] in filenames_are_case_sensitive() as it may be needed in some cases. Consolidate all use of the capture_case_sensitive_option() function. file: [f4e7aee523] check-in: [0c51600056] user: mistachkin branch: trunk, size: 74200
2014-09-13
16:04
Make "fossil ui" on Windows aware of current checkout. Allows using special names prev/next/current in ui file: [8263ce14df] check-in: [f62bedf1ef] user: drh branch: trunk, size: 74165
2014-09-10
18:37
Add support for using TH1 for embedded documentation files. Disabled by default at compile-time and at runtime. file: [74e9a4f314] check-in: [c91bafccb5] user: mistachkin branch: trunk, size: 74072
2014-09-05
06:12
Style cleanup for return code to name mappings. file: [a7d1e3d3fd] check-in: [2212ac40a8] user: mistachkin branch: trunk, size: 73997
2014-09-03
08:09
If fossil is configured with --disable-internal-sqlite and the system SQLite is SQLite 3.8.7 (not compiled with SQLITE_THREADSAFE=0), allow fossil to use the faster sorting using multiple threads. file: [6b02cb7aca] check-in: [d4044fe220] user: jan.nijtmans branch: trunk, size: 73564
2014-09-01
18:51
Add the --with-miniz configuration option (with the complete miniz source code.) Add the globalState TH1 command and fixes to the TH1 expr command. file: [6847aac2a2] check-in: [66ae70a54b] user: drh branch: trunk, size: 73565
2014-08-27
15:15
strglob -> sqlite3_strglob in a few places file: [ea6418662c] check-in: [d4acf5c450] user: jan.nijtmans branch: trunk, size: 73348
2014-08-12
19:35
Issue a not-found error in CGI if using the "directory:" configuration and there is not PATH_INFO. Ticket [c481aa2fdbc67b7] file: [4170e6e591] check-in: [ac8e9e555d] user: drh branch: trunk, size: 73346
2014-08-07
10:02
"char const" -> "const char" and various other coding style improvements. No functional change. file: [ba77b0d1d0] check-in: [4e18dba698] user: jan.nijtmans branch: trunk, size: 73339
2014-08-04
03:40
Make sure the 'server' command checks for and processes the --files-urlenc option. file: [b5c9faddb3] check-in: [608f0b2371] user: mistachkin branch: trunk, size: 73354
2014-07-30
16:43
For most commands, print an error if unknown command-line options are included on the command-line. file: [0d88657044] check-in: [74ac0c925a] user: drh branch: trunk, size: 73198
2014-07-22
20:33
Add an alternative comment printing algorithm, disabled by default, which permits the pre-existing comment formatting to be preserved. file: [2ea28ace03] check-in: [b6c9d35b1c] user: mistachkin branch: trunk, size: 72935
2014-07-16
22:17
Clean up the command-search logic. file: [cd59b648a6] check-in: [bcb7c7a9b1] user: drh branch: trunk, size: 72313
04:02
Do not allow webpage names to be used as command-line commands. This prevents deferencing of the null "g.db" pointer for command-line commands. file: [f6b151457e] check-in: [c2a9c1f7f8] user: drh branch: trunk, size: 72292
2014-06-23
04:26
Reorder include statements in 'main.c' to resolve an obscure compilation issue reported via the mailing list. file: [21ca4d0849] check-in: [76303fb0c0] user: mistachkin branch: trunk, size: 72211
2014-06-15
23:54
Treat the --repository (-R) option specially, caching its value in the global state. This is only strictly necessary when TH1 hooks are enabled at compile-time. file: [c231f4dcca] check-in: [912fce2be8] user: mistachkin branch: trunk, size: 72211
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: [bb390fac2c] check-in: [142200b90a] user: mistachkin branch: trunk, size: 71644
2014-06-14
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: [5d08a9d4d5] check-in: [1c528d3bb9] user: mistachkin branch: trunk, size: 71580
2014-06-06
07:10
Make "fossil version -v" report the right openssl version, even when it was linked dynamically with openssl and the openssl version was later upgraded. Remove some dead code and comments which are not true any more. file: [8ba72d91dd] check-in: [48f1239eb2] user: jan.nijtmans branch: trunk, size: 68242
2014-04-30
16:35
Merged in fix from Andy B. which resolves mis-resolution of db file name when fossil is run as root (chroot-related). Haiku OS runs everything as root. file: [858a18d9cf] check-in: [5e47d555e4] user: stephan branch: trunk, size: 69455
2014-04-19
22:47
Fix a potential segfault when the SSH_CONNECTION environment variable is defined. file: [2b4c706ab0] check-in: [a138dc97fc] user: drh branch: trunk, size: 69375
2014-03-31
16:48
Get rid of the GLOBAL_URL() kludge. Change the global "g" variable to contain an instance of the UrlData object instead of individual fields of the UrlData object. file: [470748639a] check-in: [5fdad9bd8c] user: drh branch: trunk, size: 69352
2014-03-21
09:06
On Cygwin, extend the "win32" max path length to 4096 in stead of reducing the "win32-longpath" max path length to 4096. (why didn't I think of that earlier....). One less "#if defined(__CYGWIN__)" in the code, because it eliminates the need for the "win32-longpath" VFS on Cygwin altogether. file: [7b9128c0ff] check-in: [4f4b15aba8] user: jan.nijtmans branch: trunk, size: 69385
2014-03-14
16:20
When compiled on Cygwin using --disable-internal-sqlite, this special Cygwin handling is no longer necessary (SQLite 3.8.4.1 Cygwin build already handles that). file: [609168845a] check-in: [625297ab91] user: jan.nijtmans branch: trunk, size: 69510
09:42
Minor help text improvement suggested on ML. file: [450316a9d3] check-in: [a2400a0192] user: stephan branch: trunk, size: 69484
2014-03-13
12:23
Add support for HTTP Basic Authentication to clone and sync. file: [380d041f04] check-in: [5d536c51b6] user: drh branch: trunk, size: 69477
2014-03-08
16:14
Clean up and standardize the handling of user "nobody" and the g.zLogin global variable. file: [9157d94200] check-in: [840b762206] user: drh branch: trunk, size: 69383
2014-02-15
03:03
Further improve reporting of the compiler version information. file: [4c789c29b5] check-in: [b065aff4b9] user: mistachkin branch: trunk, size: 69345
2014-02-06
13:42
Add support for tunneling https through a http proxy (Ticket [e854101c4f]) file: [f3e06bf8c9] check-in: [3a33435666] user: jan.nijtmans branch: trunk, size: 69324
2014-01-21
11:05
Remove two SQLite version checks which no longer serve any purpose file: [d3e98c549f] check-in: [2864db3080] user: jan.nijtmans branch: trunk, size: 69154
00:38
Update the built-in SQLite to the latest 3.8.3 beta that includes support for the LEVEL pseudo-column on recursive queries. Make use of a recursive query capability and the LEVEL column to replace the compute_ancestors() function with a single query. file: [d129a0f2d3] check-in: [f2ebd7e52d] user: drh branch: trunk, size: 69194
2014-01-14
09:48
Enable use of the TH1_DELETE_INTERP environment variable to delete the TH1 interp on exit. file: [9632753716] check-in: [e0f22dda7b] user: mistachkin branch: trunk, size: 69194
2014-01-09
21:17
Show unsupported "test" commands on the /help webpage. file: [4d39579b42] check-in: [3b10682a8c] user: drh branch: trunk, size: 69138
19:37
Enforce minimum version requirement for SQLite of 3.8.2. file: [20d88f4cd6] check-in: [aee292257a] user: mistachkin branch: trunk, size: 68424
2014-01-03
23:18
Fix memory leaks in the TH1 divide-by-zero handling. Add more tests. file: [2f31295f92] check-in: [60acb3183d] user: mistachkin branch: trunk, size: 68262
2013-12-20
12:35
Add a new TH1 "http" command, a new "th1-uri-regexp" setting and two new hook scripts "xfer-commit-script" and "xfer-ticket-script". They can be used together to implement more advanced commit and ticket change notifications. file: [79fe9237f8] check-in: [1311841a3c] user: jan.nijtmans branch: trunk, size: 68005
2013-12-12
08:43
Put back 'win32-longpath' VFS as default for Cygwin: Cygwin doesn't suffer from path limitations (at least, not until 4096 chars), so usage of the 'win32' VFS is not reasonable as default. file: [9ae5013ed9] check-in: [a76039815d] user: jan.nijtmans branch: trunk, size: 67542
2013-12-11
23:20
Remove usage of the 'win32-longpath' VFS as it is unlikely to work correctly with the various MSVCRT functions currently required by Fossil. file: [2333426b3e] check-in: [19de4b5bcd] user: mistachkin branch: trunk, size: 67403
2013-12-10
13:23
Add new command line option "-vfs" which overrides the FOSSIL_VFS environment variable, and which works for all future DB connections. Fix .vfsname output when win32-longpath is chosen explicitly (already in SQLite trunk). file: [844ec750ff] check-in: [eb3899ceb2] user: jan.nijtmans branch: trunk, size: 67491
2013-11-29
11:26
When configuring fossil using "--disable-internal-sqlite" (having SQLite 3.8.1 installed), "./fossil version -v" gives: "SQLite 3.8.2 2013-11-27 14:50:51 c75f561f33", which was not the SQLite version compiled with, neither the SQLite version actually running (3.8.1). file: [18058a5865] check-in: [d780693181] user: jan.nijtmans branch: trunk, size: 67016
2013-11-15
12:58
Update custom makefile as well. If fossil is linked with external SQLite library, make sure it is used single-threaded. file: [4c5160c371] check-in: [1928cf526e] user: jan.nijtmans branch: trunk, size: 67008
2013-11-11
22:41
Keep track of when the repository was last rebuilt and display it on the stats page. file: [28681521d1] check-in: [c0242ad4d8] user: mistachkin branch: trunk, size: 66962
2013-10-09
00:09
Merge the enhanced SSH transport changes into trunk. The ssh command now runs a single instance of "fossil" directly on the remote side, obviating the need for a remote shell. file: [5bfa6b95f3] check-in: [dbb5e2d32a] user: drh branch: trunk, size: 66784
2013-09-30
13:29
Fix to the chroot() fix: Get Fossil working again for xinetd access. file: [82b687038d] check-in: [1050f2e75f] user: drh branch: trunk, size: 65893
2013-09-29
12:42
When chroot()'ing for root user, close the repo _before_ the chroot, not after. Problem reported via ML. file: [2f38442b4c] check-in: [e65162b4ad] user: stephan branch: trunk, size: 65924
2013-09-27
08:52
Disable use of the unloadTcl function on 64-bit Windows, since the underlying MinGW issue does not manifest there. file: [ecfe9f5add] check-in: [ba779faf48] user: mistachkin branch: trunk, size: 65926
2013-09-26
06:58
Workaround for MinGW bug #2062 file: [b6d62892df] check-in: [f2ce2f80f4] user: jan.nijtmans branch: trunk, size: 65856
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: [6a58a36197] check-in: [6b58c67ed8] user: mistachkin branch: trunk, size: 65779
2013-09-23
10:17
Prevent a crash in fossil during exit, when a mingw-compiled (with dw2) Tcl version is still loaded. This is clearly a dw2 bug (see: http://comments.gmane.org/gmane.comp.gnu.mingw.user/41724), but the suggested workaround works and is managable. file: [fa856c8d25] check-in: [da96f916cb] user: jan.nijtmans branch: trunk, size: 65463
2013-09-16
23:38
Support the ability to determine at runtime if the private stubs mechanism was used for Tcl. file: [c1bb93aa8b] check-in: [e10d117125] user: mistachkin branch: trunk, size: 65085
07:26
merge fork file: [99c11c4846] check-in: [fea040240f] user: jan.nijtmans branch: trunk, size: 64992
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: [655937c3ec] check-in: [0e6862046d] user: mistachkin branch: trunk, size: 64923
16:59
Let "fossil version -v" report the zlib version currently running, not the zlib version it was compiled with file: [7026a248dc] check-in: [e568d9f03f] user: jan.nijtmans branch: trunk, size: 64925
2013-09-12
09:06
Let "fossil version -v" report the real Tcl version running, not the version of the Tcl (stub) library it was compiled with. file: [b4f7a73ac3] check-in: [86a8e1d923] user: jan.nijtmans branch: trunk, size: 64924
2013-09-05
12:42
On Cygwin, don't set browser to "echo" if it cannot be found, but revert to ShellExecuteW which can do a much better job. file: [cd314a553e] check-in: [0efd9e6a94] user: jan.nijtmans branch: trunk, size: 64609
2013-09-02
09:33
On Cygwin, if no browser is set and no Cygwin version of any browser can be found, fall back to win32/win64 version of chrome, firefox or IE (in that order) file: [d29fbe9c86] check-in: [021866fd91] user: jan.nijtmans branch: trunk, size: 65253
2013-08-31
18:27
Disable the test for file descriptor 3 being invalid since that messes up the "fossil diff" command. file: [76e4849c25] check-in: [fd7cfac508] user: drh branch: trunk, size: 64819
17:19
On unix, make sure file descriptor 2 is open and file descriptor 3 is not open at the beginning of main(). The first check helps ensure that a assert() will not accidently overwrite a file. The second check verifies that the is_valid_fd() function used by the first check really works. file: [4295a0484c] check-in: [4ef3708d8d] user: drh branch: trunk, size: 64813
2013-08-30
14:33
Do not print warnings about SQLITE_SCHEMA errors. file: [0ec2d075e3] check-in: [d239479528] user: drh branch: trunk, size: 64723
12:18
Add the --errorlog command-line option and the errorlog: parameter to CGI scripts. Log all panics, fatal errors, and warnings to the error log, if defined. Panic if file descriptor 2 is not open on unix. Clean up some routines that deal with close(). file: [ccab6eede3] check-in: [4727ef4a8e] user: drh branch: trunk, size: 64686
03:06
Change most uses of fossil_panic() to fossil_fatal(). Modify fossil_panic() to avoid allocating heap memory and to close the database connection before doing anything else. file: [b4ac7e532a] check-in: [320f14363e] user: drh branch: trunk, size: 64368
2013-08-29
11:16
On Cygwin, if all else fails, use Internet Explorer as browser for "fossil ui". file: [419a35e8c4] check-in: [9de7f44005] user: jan.nijtmans branch: trunk, size: 64368
2013-08-25
02:11
Spiders and robots are presented with a captcha if they request the annotation page. file: [56667508a4] check-in: [f8a2aa0ce7] user: drh branch: trunk, size: 64158
2013-08-17
12:35
Added AUX_SCHEMA version to (version -verbose), mainly to give the libfossil configure script a way to fetch this value without poking around the db. file: [c521f41faa] check-in: [08429eb7b2] user: stephan branch: trunk, size: 64155
2013-08-13
18:15
Add support for SCGI via the --scgi command-line option to the "server" and "ui" and "http" commands. file: [80a39654ae] check-in: [a2e7472d0f] user: drh branch: trunk, size: 64102
2013-08-12
12:37
New g.isHuman global variable is set if we believe an HTTP request is coming a real human being, rather than a spider or bot. file: [4b22ed64fe] check-in: [e065d5b7f1] user: drh branch: trunk, size: 63721
2013-08-03
23:33
Previous two check-ins do not work correctly for CGI. Trying once again. file: [952d72d35e] check-in: [d8f716e1d1] user: drh branch: trunk, size: 63642
23:19
Enhance the test_env webpage so that it shows the original HTTP header text in showall=1 mode. file: [9c23e46bf2] check-in: [03f07b5a66] user: drh branch: trunk, size: 63613
2013-06-24
10:35
Fix the --localhost option on the "server" command. Ticket [e704dbd9676] file: [f131dbeaa6] check-in: [760eeb93e0] user: drh branch: trunk, size: 63540
2013-06-18
23:17
Even more refinements to the "fossil version --verbose" output. file: [cfcdab0579] check-in: [340711f48c] user: drh branch: trunk, size: 63542
23:12
Improved formatting and additional information output for "fossil version --verbose". file: [6b42b1e36c] check-in: [1b0e8cf9c0] user: drh branch: trunk, size: 63613
2013-06-10
21:07
Disable the database file alias warnings on Mac due to Time-Machine issues. file: [569695be96] check-in: [14b1e90f21] user: drh branch: trunk, size: 63704
07:07
A typo in help screen (reported by Sergei Gavrikov) file: [35ef3e47d6] check-in: [b894afad3d] user: jan.nijtmans branch: trunk, size: 63451
2013-05-25
17:48
Fixed corner case in --args handling for 1-byte entry with no newline. file: [3ad4673446] check-in: [ee990ebb99] user: stephan branch: trunk, size: 63451
14:34
minor typo fix in help text. file: [f892afb42f] check-in: [24e259da5a] user: stephan branch: trunk, size: 63309
14:30
Added notes about --args FILENAME to default help message, per ML request. file: [8a96964db5] check-in: [0e5bbade2c] user: stephan branch: trunk, size: 63308
2013-05-13
09:12
Some optimizations. No change in functionality. - In clean_cmd, use new function vfile_scan2. - When checking for multiple bytes/characters always do that in order of likelihood: '\n' is more likely than '\0', which is more likely than '\r'. - Off-by-one error in looks_like_utf16(). - Allow starts_with_utf16_bom() to be used in detecting UTF-16 without BOM as well: Always determine pbReverse, even if no BOM is present. - Remove unused variable. file: [74a29b78d5] check-in: [fa50694405] user: jan.nijtmans branch: trunk, size: 62838
2013-05-08
19:45
Added fossil_timer_xxx() family of functions and g.mainTimerId. file: [8dd4c41ba7] check-in: [e28433a692] user: stephan branch: trunk, size: 62857
04:12
Add setting TH1 command, with tests. Improve handling of the TH1 trace log. file: [89434b3b1d] check-in: [0264475c4a] user: mistachkin branch: trunk, size: 62661
2013-05-02
19:44
Fix --chdir on Windows/Cygwin when using non-ascii characters or characters invalid for win32 filenames. On Cygwin, allow enter_chroot_jail() using win32 paths as well. file: [a13323b775] check-in: [12bc63aae5] user: jan.nijtmans branch: trunk, size: 62811
2013-05-01
09:42
Add -v|--verbose as alternative to "-l|--detail" everywhere. And "v=" and "verbose=" as alternative to the "detail=" URL parameter. file: [67d5d08f4d] check-in: [5214a2a8b8] user: jan.nijtmans branch: trunk, size: 62847
2013-04-23
08:40
Add --limit as alias to --count in "fossil timeline" for consistancy with other commands. Add many short options, like "-a" for "--all" and "-c" for "--closed" (The JSON part already had those) file: [f9f92f5af6] check-in: [8b17c2360a] user: jan.nijtmans branch: trunk, size: 62844
2013-04-08
16:37
Add --localhost option to "fossil server" file: [0f1532e72d] check-in: [e501d7d0a6] user: joel branch: trunk, size: 62836
2013-04-01
13:59
The markdown formatter is now always turned on and cannot be omitted. Add the ability to store mimetype information in control artifacts. Add the --mimetype option to the "commit" command. As the new N-cards used to store mimetype will not be recognized by older fossils, it is recommended that no use be made of mimetype until all users have upgraded. file: [c98bf2b7bf] check-in: [4dcea80236] user: drh branch: trunk, size: 62677
2013-03-18
07:05
Improve consistency of the version information. file: [5c6077255c] check-in: [e452aa97f1] user: mistachkin branch: trunk, size: 62767
06:09
Fixes to the verbose mode of the version command. Also, make sure to consistently order optional feature lists. file: [59910538b4] check-in: [b85a18ba20] user: mistachkin branch: trunk, size: 62459
2013-03-15
14:53
Fixed a C99ism (decl after code). file: [1902bcd3b4] check-in: [123e4bc589] user: stephan branch: trunk, size: 62266
14:49
Added basic implementation of RFE ticket [3a2a26513220342]: -verbose option for the "version" command. file: [1f82cf1848] check-in: [1be15a57f1] user: stephan branch: trunk, size: 62266
2013-03-14
14:09
style file: [c28402bb27] check-in: [3ba9a4d5ca] user: jan.nijtmans branch: trunk, size: 61611
2013-03-05
12:25
style: use g.zConfigDbName in stead of g.configDbName, as all other strings. file: [90c5da7a7d] check-in: [a5dc5332d4] user: jan.nijtmans branch: trunk, size: 61614
12:17
Add check for win32/cygwin whether the config-db is writable in stead of checking that the $HOME directory is writable. Eliminate g.zHome and g.configOpen, in stead use a single g.configDbName. Then people no longer have to guess whether the config db name is ".fossil" or "_fossil". g.zHome was only used for locating the config db, nothing else. file: [3514abd775] check-in: [473e08a6d1] user: jan.nijtmans branch: trunk, size: 61614
2013-03-03
00:30
Fix the usage comment for incorrect parameters on "fossil config sync". Separately, remove an extra newline from the usage output. file: [8c801099f6] check-in: [69fe4237ce] user: drh branch: trunk, size: 61662
2013-02-22
17:34
merged in [help-www] branch: adds help support for /www/pages. file: [f0c3ddb03d] check-in: [b38bb4f9bd] user: stephan branch: trunk, size: 61664
2013-02-21
15:51
merge fork file: [af9dc5445e] check-in: [32bb8c2819] user: jan.nijtmans branch: trunk, size: 60197
14:24
Code refactoring: Move utility routines (ex: fossil_malloc()) out of main.c and into a new file util.c. Try to gather I/O routines into the printf.c source file. file: [f2df76e679] check-in: [bb0cedb15a] user: drh branch: trunk, size: 60195
03:51
Improved handling for remote repository passwords: When prompting for the password, also ask the user whether or not to remember the password, as browsers typically do for their password cache. file: [be285f7137] check-in: [6d6740dcca] user: drh branch: trunk, size: 64727
2013-02-20
20:57
All the --port option on the "ui" and "server" commands to begin with an IP address, then bind to just that one IP address. file: [bc91379546] check-in: [5dfbf7e5b6] user: drh branch: trunk, size: 64709
15:08
In main.c: Shorten all source code lines to no more than 80 characters. Add google-chrome to the list of browser to try to launch with the "ui" command. file: [eb789db4c9] check-in: [12ff5ff85e] user: drh branch: trunk, size: 64261
2013-02-13
17:43
removed an invalid FIXME. Comment changes only. file: [e51153fbab] check-in: [38bf1d0f56] user: stephan branch: trunk, size: 64203
2013-02-07
00:24
Add the shell= query parameter to the ssh: scheme for cloning and syncing. file: [ca5552de0f] check-in: [2163cd9666] user: drh branch: trunk, size: 64375
2013-01-27
11:24
Typo fixes from Edward Berner. file: [3103b2d7af] check-in: [0421c136f2] user: stephan branch: trunk, size: 64318
2013-01-07
18:58
Improved error message handling. Fix the "fossil server" command so that it works when run as root on a repository in the root directory. file: [950bef2685] check-in: [baa1ebb7d9] user: drh branch: trunk, size: 64319
2012-12-15
14:19
Wrap an over-long source code line. No logic changes. file: [6f70d42a64] check-in: [84dc7b0f3f] user: drh branch: trunk, size: 64693
2012-12-05
15:45
Security: Do not serve static files using the "http", "server", or "ui" commands unless the --files option appears and specifies a comma-separated list of GLOB expressions that match all files to be served. file: [7aa49de5fd] check-in: [2c8557cc7a] user: drh branch: trunk, size: 64676
2012-12-01
04:49
Update the documentation on the "fossil http" and "fossil server" commands to talk about restrictions on filenames and to describe how static content files can be returned. file: [c795036968] check-in: [99ab9fb47c] user: drh branch: trunk, size: 62795
04:37
Additional restrictions on the names of files served by "fossil server DIRECTORY": (1) only alphanumerics, "_", "-", "/", and "." characters are allowed in the pathname. (2) A "-" may not occur after a "/". (3) Every "." must be surrounded on both sides alphanumerics. This check-in also updates the changelog for the 1.25 release. file: [f25c47f1a3] check-in: [c71e096800] user: drh branch: trunk, size: 61776
04:10
Additional webserver security: Do not allow the "fossil server" command to return any static content with an unrecognized suffix. file: [f489af46d5] check-in: [4a5e972e2c] user: drh branch: trunk, size: 61415
03:25
Improvements to command-line argument glob expansion on windows. Globbing now works correctly when compiled with mingw-w64 and with msvc. It is mostly correct when compiled with mingw, but fails for some files with non-ascii names. file: [b2e5be5155] check-in: [8205c01cd4] user: drh branch: trunk, size: 61262
02:57
Do not allow the "fossil server" command to serve any static content file that contains ".fossil" anywhere in its name. This prevents repository files and/or their journals from being downloaded as static content. file: [92de0656d7] check-in: [e726c8082e] user: drh branch: trunk, size: 64265
2012-11-29
18:46
Modify the test-echo command to also show the name of the executable. file: [a6c2200ac4] check-in: [5ed566f805] user: drh branch: trunk, size: 64232
18:39
Fix the "all" command on mac, broken by the penultimate check-in. file: [2cc607cdb5] check-in: [2f187c2f22] user: drh branch: trunk, size: 64177
18:21
Fix the build for mingw: do not translate command-line options from unicode to utf8 because mingw has already done that for us. file: [8d40787b75] check-in: [f1a82cf34f] user: drh branch: trunk, size: 64150
13:15
Translate decomposed-UTF8 filenames on MacOS into precomposed-UTF8. Fix for ticket [e399bc1edfe45b] file: [d1ea73a695] check-in: [ca728447a6] user: drh branch: trunk, size: 64051
2012-11-28
19:28
Take care that xfer error messages and user prompts always begin at the start of a new line. file: [4c1953a125] check-in: [f1ef22136f] user: drh branch: trunk, size: 63551
2012-11-27
16:26
Enhancements to ticket processing. There are now two tables: TICKET and TICKETCHNG. There is one row in TICKETCHNG for each ticket artifact. Fields from ticket artifacts go into either or both of TICKET and TICKETCHNG, whichever contain matching column names. Default ticket edit and viewing scripts are updated to use TICKETCHNG. The TH1 scripting language is enhanced to support this, including the new "query" command for doing SQL queries against the repository database. All changes should be backwards compatible. file: [bacdb135dc] check-in: [4f8c8975bc] user: drh branch: trunk, size: 63431
2012-11-26
22:51
Merge byte-order-mark handling enhancements to trunk. file: [a3ec0a62d3] check-in: [9b800ee41c] user: mistachkin branch: trunk, size: 63334
2012-11-23
01:50
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: [376bff2900] check-in: [fe453a4893] user: drh branch: trunk, size: 63329
2012-11-22
23:35
Be consistent about display of check-in comments as either text/plain or text/x-fossil-wiki. When the user configures text/plain, use that format everywhere. file: [671a31d8b2] check-in: [2c6fa9c3b0] user: drh branch: trunk, size: 63254
2012-11-20
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: [33d79f5b0a] check-in: [b058c8a944] user: mistachkin branch: trunk, size: 63179
2012-11-14
17:39
Allow the "fossil ui" command to specify a directory as long as the "--notfound" option is also used. Give a better error message if these conditions are not met. file: [fddc77945e] check-in: [4e368da19c] user: drh branch: trunk, size: 63104
17:23
Update the "fossil server DIRECTORY" operation so that it will serve static content contained in DIRECTORY in addition to Fossil repositories. file: [7bf80de435] check-in: [87d6aa3196] user: drh branch: trunk, size: 62965
2012-11-12
14:49
Added the --sshtrace command-line option that provides diagnostic output on the connection setup for all SSH sync traffic. Make the SSH connection setup pause waiting for responses, if the desired response is not obtained right away. file: [a0448fa489] check-in: [00cf858afe] user: drh branch: trunk, size: 62588
2012-11-08
15:40
another minor xhtml error. file: [f3c7c40a84] check-in: [44d5ad59b4] user: jan.nijtmans branch: trunk, size: 62376
2012-11-04
17:41
Merge the "spelling" branch into trunk, fixing a huge number of typos, mostly in comments, but occasionally in error messages or help screens. file: [bbf2feec5b] check-in: [db0c512767] user: drh branch: trunk, size: 62476
2012-11-02
21:45
Only use the Tcl-derived argv/argc parser when compiling on windows using a compiler other than mingw. The crt0 for mingw works, and it also does wildcard expansion. Need to update the parse_windows_command_line() function to do wildcard expansion in order to fix builds using non-mingw windows compilers. Ticket [8ca2aae39172f9] file: [de99056945] check-in: [fca9c52637] user: drh branch: trunk, size: 62475
2012-10-31
19:48
Add the wiki-moderator and ticket-moderator permissions. Not yet used. file: [95f01e3179] check-in: [fc0bffd995] user: drh branch: trunk, size: 62363
2012-10-29
14:45
Allow unicode files for Wiki-rendering on Windows.

Trying to commit a file with an UTF-16 BOM will now give a warning, just as a file containing crlf

The --args command line option now accept UTF-16 files as well

file: [0eb9635fb8] check-in: [70b4f105eb] user: jan.nijtmans branch: trunk, size: 62203
2012-10-10
16:06
The "fossil undo" and "fossil redo" commands remember file mtimes and restore them appropriately. When upgrading through this version, you may need to run "fossil undo --reset" to clear your old undo stack. file: [9c11060660] check-in: [0c37874941] user: drh branch: trunk, size: 62499
2012-10-07
13:55
Enhance Tcl integration with support for notifications before and after Tcl scripts are evaluated. file: [f13e899e99] check-in: [49c63f8c78] user: mistachkin branch: trunk, size: 62467
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: [5d050d5fbe] check-in: [fa4e828653] user: mistachkin branch: trunk, size: 62201
2012-10-02
23:01
Enable building with the TCL stubs library and then loading the main TCL library at run-time, and only if needed. file: [e6ecc35196] check-in: [25f7fa1157] user: drh branch: trunk, size: 61512
2012-09-26
11:59
Add the --baseurl open to the "fossil server" and "fossil http" commands, for use with reverse proxies such as nginx. file: [297817f7e7] check-in: [ecb85f61a9] user: drh branch: trunk, size: 61357
2012-09-24
10:12
fix -pedantic gcc warning: overflow in implicit constant conversion file: [46fdc2ff1a] check-in: [03424a031b] user: jan.nijtmans branch: trunk, size: 59989
09:03
modified fix for [c8c0b78c84], which no longer causes "Usage" printouts to use the full fossil path, even though the command line didn't use the full path file: [d523200d1a] check-in: [dacc694615] user: jan.nijtmans branch: trunk, size: 59980
2012-09-23
04:41
Merge the remaining Win32 TCHAR cleanup to trunk. file: [2ed5078533] check-in: [33fb889137] user: mistachkin branch: trunk, size: 59999
2012-09-21
11:24
eliminate the need for <tchar.h> file: [a1f96b6eea] check-in: [1bfa3a0bbf] user: jan.nijtmans branch: trunk, size: 59998
2012-09-20
20:33
eliminate all #ifdef UNICODE, assuming everthing is compiled with -DUNICODE -D_UNICODE file: [3e69c3a670] check-in: [ad91647ea7] user: jan.nijtmans branch: trunk, size: 60078
2012-09-11
18:49
enable unicode commandline for MinGW/MinGW-w64 as well

remove unused MINGW_BROKEN_MAINARGS

file: [90c404e7e7] check-in: [274d8a1dcd] user: jan.nijtmans branch: trunk, size: 60176
12:16
Merge the unicode-cmdline branch into trunk. file: [6079479b3e] check-in: [f668ff44c0] user: drh branch: trunk, size: 60265
2012-09-05
20:45
Enhancements to localtime processing and to the label resolution on the a=, b=, and c= query parameters to the timeline page. file: [f9e487efbb] check-in: [41c3c1900b] user: drh branch: trunk, size: 56867
2012-09-04
08:14
memory allocated with mprintf should be freed with fossil_free(), not free()

use _wsystem() in stead of system() on Windows.

Use g.argv[0] in stead of fossil_nameofexec() when the full path is not necessary, e.g for "Usage" prints.

file: [ec1f2f7bd9] check-in: [06ba3ace24] user: jan.nijtmans branch: trunk, size: 56757
2012-08-31
20:46
Revert change [208d67675c]. The policy is to keep the Fossil source code ASCII even if Fossil itself is able to handle non-ASCII source files. Furthermore, the [208d67675c] change broken things. Also backout change [34fcb9634e] since it complicates the C code with unnecessary backslash characters in order to changes single-quotes to double-quotes in the generated HTML and Javascript, which is pointless. file: [e2a1a658c7] check-in: [c19f34cb69] user: drh branch: trunk, size: 56659
19:47
Improved handling of command-line arguments under windows. Possible fix for ticket [c8c0b78c84]. file: [da4ca1f8f5] check-in: [0c7ae64ab5] user: drh branch: trunk, size: 56658
2012-08-30
14:30
typos file: [4dcbb0521a] check-in: [7c0f4ecadf] user: jan.nijtmans branch: trunk, size: 56130
2012-08-29
19:41
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [521820b31c] check-in: [208d67675c] user: jan.nijtmans branch: trunk, size: 56133
2012-08-22
11:51
Merge the TCL argument handling patches into trunk. file: [5d74e1e336] check-in: [b6a7e52c93] user: drh branch: trunk, size: 56134
2012-08-21
14:25
Tcl only uses argv0 so it is enough to transfer only that one argument. file: [eb504afe23] check-in: [7f96a71599] user: drh branch: trunk, size: 56110
2012-07-05
19:24
Minor interal json refactoring made possible by recent cson changes. file: [3b8b7f720b] check-in: [e40e79b7ab] user: stephan branch: trunk, size: 56139
2012-07-03
21:28
Minor improvement to the "are we in JSON mode so we can disable the name parameter hack?" pre-check. file: [7d104237d9] check-in: [5ea759f9fe] user: stephan branch: trunk, size: 56199
2012-06-29
21:30
Added check of rc for setgid/setuid() calls. file: [35aeee8f04] check-in: [4d107b597a] user: stephan branch: trunk, size: 56174
2012-05-07
20:59
Avoid database locking errors caused by db_optional_sql() writes. file: [4fb17aa380] check-in: [b22cc4eb73] user: drh branch: trunk, size: 56013
2012-04-29
16:54
Remove appropriate "ckout:" records from the config table when closing a checkout. Do not attempt to modify the repository with "ckout:" records if the repository is read-only. file: [049447e6be] check-in: [02051489a0] user: drh branch: trunk, size: 56014
2012-04-28
22:42
Add the "fossil all changes" command to show all check-outs with uncommitted changes. Also add the "fossil all list --ckout" option to show all current checkouts rather than all repositories. file: [fd06fc7dbc] check-in: [42f4d14771] user: drh branch: trunk, size: 55936
08:05
Move the enhanced spider-defense mechanism into the trunk. file: [1d19aafd39] check-in: [433cde1ce8] user: drh branch: trunk, size: 55746
2012-04-27
15:56
Always update the baseurl: entry in the config table if using a repository from a URL that has not previously been recorded. file: [fc1e484f0c] check-in: [c7d6e334f8] user: drh branch: trunk, size: 55680
15:43
Record the names of checkouts and access URLs in the config table and display that information using the "info" command. file: [32c3094be6] check-in: [e604d483ee] user: drh branch: trunk, size: 55463
2012-04-21
18:06
Enhance to #ifdef lines to enable Fossil to build and run on haiku. file: [70a808db2a] check-in: [b2cc871031] user: drh branch: trunk, size: 55342
2012-04-06
13:05
Cleanup: Move all occurrences of setmode() into fossil_binary_mode. file: [0ad2999e81] check-in: [fa4371f3b5] user: drh branch: trunk, size: 55296
2012-03-20
14:03
Merge the winFiles branch into trunk. file: [70e4b10c02] check-in: [135ed93375] user: drh branch: trunk, size: 55496
2012-03-18
03:37
A follow-up patch to the previous "name" change, to work around the problem of HTTP GET requests not yet knowing that they are in JSON mode (POST requests know this). file: [31e08cb107] check-in: [3bf1ad0162] user: stephan branch: trunk, size: 55487
02:15
Removed the special-cased addition of g.zExtra==parameter named "name" when running in JSON mode because it causes no end of grief in several JSON handlers and none of the handlers rely on that handling. file: [9ae270247c] check-in: [ccd6c879b4] user: stephan branch: trunk, size: 55105
2012-03-11
18:26
Further refinements to the help message that appears when Fossil is invoked with no arguments. file: [b4253150b0] check-in: [93f48ce0cb] user: drh branch: trunk, size: 54657
10:56
minor help text fix. file: [16d8af2520] check-in: [65a8db6ae3] user: stephan branch: trunk, size: 54732
2012-03-05
19:24
Make sure set_base_url() is called prior to redirecting when a page is not found. file: [fe26ac6b90] check-in: [78a48858ef] user: drh branch: trunk, size: 54732
2012-02-16
01:03
Always convert the result of getenv() into UTF8. file: [57230b021e] check-in: [57152086b8] user: drh branch: trunk, size: 54708
2012-02-10
23:03
Merge in documentation updates. file: [509ef6e6c8] check-in: [75ea5ac672] user: drh branch: trunk, size: 54694
2012-02-06
18:18
Fix the SSH transport method so that it allows everything, without regard to user permissions. file: [e1b39f11a7] check-in: [a928c89cb1] user: drh branch: trunk, size: 54156
2011-11-05
03:45
Fix some more compiler warnings seen with MSVC. file: [ceff08e6f5] check-in: [24e298edd0] user: mistachkin branch: trunk, size: 54084
2011-11-04
20:57
Merge the json branch into trunk. Json is disabled by default for now. Use the --enable-json option to configure, or set FOSSIL_ENABLE_JSON in the makefile to turn json processing on. file: [0e39c7ba01] check-in: [796dcfe072] user: drh branch: trunk, size: 54080
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: [b70475b901] check-in: [d8ed5a0d05] user: drh branch: trunk, size: 48863
17:59
Remove the "commands" command and replace it with --all, --aux, and --test options to the "help" command. file: [363136d75e] check-in: [d6a93abf2c] user: drh branch: trunk, size: 48321
2011-11-03
17:31
Break up the command-line commands into commonly-use and auxiliary commands and only show the commonly-used ones with "fossil help". Add a new command "fossil commands" to show auxiliary and test commands. file: [49543fdf9f] check-in: [841772c858] user: drh branch: trunk, size: 48610
2011-10-15
12:16
Mark functions that never return (ex: fossil_panic()) as such so that static analyzers can do a better job of pruning paths. file: [9376d0f13e] check-in: [86d2b4efc8] user: drh branch: trunk, size: 47853
2011-10-05
08:00
Added (--args -) to read from stdin. Theoretically now also strips windows newlines, but i do not have a broken editor to test that with ;). file: [08d5ebebb2] check-in: [080d27a6b2] user: stephan branch: trunk, size: 47817
2011-10-04
23:07
Merge the --args FILENAME patch into trunk. file: [1e215d44c6] check-in: [c0274f9962] user: drh branch: trunk, size: 47350
2011-10-02
13:30
minor hack to name_search() to make it stop searching after it determines there is an ambiguity. file: [1f05721e51] check-in: [ae64088627] user: stephan branch: trunk, size: 45477
2011-09-27
16:34
Add the --stats option to the rebuild command. file: [4624a1efda] check-in: [f25e5e53c4] user: drh branch: trunk, size: 45468
2011-09-26
14:43
Add the test-list-webpage command. file: [162798a04e] check-in: [6a97d77501] user: drh branch: trunk, size: 45409
2011-09-14
18:08
Merge the refactored permission flags into trunk. file: [ecba5b6bcf] check-in: [b344d3c0cd] user: drh branch: trunk, size: 45142
2011-09-01
21:56
Merge the symlinks branch into trunk. file: [db924043b4] check-in: [e4f1c1fe95] user: drh branch: trunk, size: 45051
2011-08-14
23:14
Merge the ben-testing branch into trunk. file: [f285e31aba] check-in: [9a0c995826] user: drh branch: trunk, size: 44978
2011-07-18
20:04
Merge the windows-service command into trunk. file: [c6ebf35db7] check-in: [06e9ca23e7] user: drh branch: trunk, size: 44823
2011-07-09
16:12
Added ability to access repositories via CGI that are located in a path containing whitespaces. file: [3df1e45af9] check-in: [fc15fe0418] user: rimkojr branch: trunk, size: 44742
2011-06-18
16:50
Add a version number that is increased by one on each release. Make the initial version number 1.18 since there have been 17 prior releases. file: [bc78af85f5] check-in: [e0303181a5] user: drh branch: trunk, size: 44718
2011-06-14
22:16
A very simple commit fix. file: [1eca048ed8] check-in: [3a610a3980] user: drh branch: trunk, size: 44698
2011-05-27
12:03
Do not use strcmp() for comparison since the sort order can vary by locale. Use fossil_strcmp() instead. Ticket [3f0216560679fd41]. file: [05527f6219] check-in: [32ad9a1584] user: drh branch: trunk, size: 44696
2011-05-26
11:57
Add the --systemtrace option for debugging calls to fossil_system. file: [de92a08ab8] check-in: [5a4dc2239b] user: drh branch: trunk, size: 44973
2011-05-20
11:32
Merge the windows-i18n branch into the trunk. file: [f6ebb6641b] check-in: [d8ec765fac] user: drh branch: trunk, size: 44708
2011-05-12
12:02
Change fossil_malloc() so that it does not report "out of memory" when allocating zero bytes. file: [8e19d2ee39] check-in: [6b382b0818] user: drh branch: trunk, size: 44450
2011-05-09
12:57
Accept either "on" or "ON" as the value of the HTTPS environment variable. Ticket [e95f7c93370be8c86] file: [baf52fde69] check-in: [2d92db7ebf] user: drh branch: trunk, size: 44439
12:44
Fix an issue with inherited capabilities in the subrepo mechanism. file: [4e49421b8e] check-in: [3bd2de4c92] user: drh branch: trunk, size: 44431
2011-04-18
19:32
Fix another issue with directory search for CGI. file: [8722a350fc] check-in: [0fc9b5e1f2] user: drh branch: trunk, size: 44384
19:17
Fix to the multi-repository name parser for CGI. file: [77aada7001] check-in: [71a1c7b22b] user: drh branch: trunk, size: 44370
2011-04-07
22:41
Add the test-echo command - useful for investigation the wildcard expansion behavior of shells. file: [7391106b7c] check-in: [cbf8782d56] user: drh branch: trunk, size: 44358
2011-03-28
22:47
Merge the sub-repo capability into trunk. file: [f94d5d0822] check-in: [ab4882588e] user: drh branch: trunk, size: 44063
2011-03-23
19:08
Enhancements to the redirector so that it accepts the redirect value as the $PATH_INFO and so that it can redirect to a relative URL. file: [848078966e] check-in: [122a31ddfc] user: drh branch: trunk, size: 42555
15:13
Do a better response in the redirector if no matching artifact is found. file: [b303f94f9b] check-in: [dbc2098a6a] user: drh branch: trunk, size: 42377
13:30
Add the "redirect:" option to CGI, to scan multiple repositories and redirect to the one that contains the requested artifact ID. file: [dec902c44d] check-in: [ef6e364866] user: drh branch: trunk, size: 42324
2011-03-22
17:00
Add the https-login setting which forces a switch to HTTPS for any non-anonymous login. file: [2c40890bcd] check-in: [be0e804130] user: drh branch: trunk, size: 40295
2011-03-18
02:51
When a server is pointing to a directory, allow *.fossil files to be served out of any subdirectory of that directory. For security, pathnames may not contain any characters except alphanumerics, "/", "-", and "_". file: [e99311cd99] check-in: [d04fa1e143] user: drh branch: trunk, size: 40012
2011-03-08
17:00
Provide better error messages to the client when the server database schema is out-of-date. file: [3238a32d7d] check-in: [0ca3644367] user: drh branch: trunk, size: 39567
2011-02-28
23:50
Use "sqlite3_int64" instead of "long long int" for compatibility with compilers that do not support long long. file: [bf5e510271] check-in: [e0073f431c] user: drh branch: trunk, size: 39324
2011-02-27
21:08
Merge the --private sync enhancement into the trunk. file: [2e6fa46dfa] check-in: [8b8cc4f1b7] user: drh branch: trunk, size: 39324
2011-02-24
23:26
Add the --sqlstats command-line option for use in optimization work. Use a persistent prepared statement for a single query to reduce the number of calls to sqlite3_prepare() for the "update" command. file: [b97679ae83] check-in: [b81112371c] user: drh branch: trunk, size: 39252
2011-02-22
20:30
Do not do automatic login for "fossil server" and "fossil http" and "fossil cgi" unless the --localauth option is used. Continue to do automatic login for 127.0.0.1 connections for "fossil ui", though. Ticket [573727d6d93badc] file: [8df893fdb7] check-in: [f7a3c6deef] user: drh branch: trunk, size: 39083
2011-02-21
13:17
Do not assume that the PATH_INFO environment variable is set by CGI. Give it a default value to avoid segfaults (on Solaris). file: [4b8d03c99a] check-in: [88383d8d4a] user: drh branch: trunk, size: 38223
2011-01-18
18:58
Add --host and --https options to the http command. Ticket [0ffa37e70e885cfc]. file: [53c7b3ab58] check-in: [ff0e506e42] user: drh branch: trunk, size: 38219
2011-01-17
23:47
Extra resilience on the automatic chroot mechanism. file: [1915a53b42] check-in: [13d3cad50c] user: drh branch: trunk, size: 37842
2011-01-12
02:24
Improvements to "help": List commands if the command for which help is requested is unknown. If the command prefix is ambiguous, show all alternatives. file: [438c3009c4] check-in: [1b159db282] user: drh branch: trunk, size: 37682
02:08
Allow --help anywhere on the command-line as an alternative way to get "help" for a command. file: [15804b5394] check-in: [a00888f666] user: drh branch: trunk, size: 37520
2011-01-07
17:08
Do not complain about unfinalized SQL statements when exiting on a fatal error. Fix comments and indentation on the vfile_verify_not_phantom() function. file: [392b8bd2dd] check-in: [c2f5dbe655] user: drh branch: trunk, size: 37107
2011-01-01
00:15
Add the /test-all-help webpage used for testing. file: [145ba6b70a] check-in: [26e269fef3] user: drh branch: trunk, size: 37102
2010-12-25
23:58
All the help URL to have its command specified as a path extension in addition to the "cmd" query parameter. file: [36ae19b8bd] check-in: [ae76c7879b] user: drh branch: trunk, size: 36733
23:55
Improvements to the "help" webpage. file: [36bc04856b] check-in: [01b3c9c1a8] user: drh branch: trunk, size: 36706
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: [bd0acd027e] check-in: [31c52c7b3e] user: drh branch: trunk, size: 36369
2010-12-19
21:08
When an ambiguous command prefix is entered, report all possible matches as part of the error message. file: [22a7ce72d8] check-in: [5ae54b39fd] user: drh branch: trunk, size: 36070
2010-12-17
12:03
Remember which database was opened first (as the "main" database) in the g.zMainDbType global variable. file: [d06813adff] check-in: [99f52f3806] user: drh branch: trunk, size: 35747
2010-12-16
14:46
Use relative URLs for hyperlinks whereever possible, so that Fossil can work better behind a reverse proxy. file: [eac111c10b] check-in: [daeb10f65f] user: drh branch: trunk, size: 35748
2010-11-24
12:03
Factor the sql-command shell out into a separate source file. Add the new content(X) SQL function for accessing uncompressed and undeltaed artifact content. file: [a106db02f3] check-in: [b4687be448] user: drh branch: trunk, size: 35752
2010-11-19
19:48
Work toward getting and "update" or "commit" to continue even after an auto-sync failure. file: [071d17d0b4] check-in: [9286aaf778] user: drh branch: trunk, size: 36622
2010-11-17
13:15
Set binary translation mode on windows for import and export. Ticket [feeb8a91eb838f743ae9] file: [a182882c18] check-in: [b408ece7f6] user: drh branch: trunk, size: 36616
2010-11-12
21:51
Add the fossil_nameofexe() function to use in place of g.argv[0]. file: [c7212227de] check-in: [a04a650870] user: drh branch: trunk, size: 36379
2010-11-09
08:59
fix [e49f245975f89a8a9c006ec224eed48c8ad77593] by adding -nocgi option file: [28760cd089] check-in: [1b883d49cf] user: ron branch: trunk, size: 36149
2010-11-06
21:04
Rename the "portable_system()" function to "fossil_system()" and move it from diffcmd.c into main.c. file: [5d57644202] check-in: [d9880a8003] user: drh branch: trunk, size: 36284
2010-11-04
19:58
Do not assume that the method is CGI just because the GATEWAY_INTERFACE environment variable is set. Only do CGI if GATEWAY_INTERFACE is set and there either is no argument specified, or the specified argument is not a valid command. Ticket [e49f245975f89a8a9] file: [3aed1de483] check-in: [dcf839e4a6] user: drh branch: trunk, size: 35810
2010-10-31
21:51
Add a warning to the "fossil sqlite3" command to remind users that careless use of the command can easily corrupt the repository. Ticket [b18338c226f6fb4899]. file: [149ce91a67] check-in: [4e1241f323] user: drh branch: trunk, size: 35645
2010-10-29
19:06
Add the "sqlite3" command providing an sqlite3 command-line shell. Ticket [b18338c226f6fb4899b] file: [2d4ffa8f91] check-in: [8c723318d2] user: drh branch: trunk, size: 35422
2010-10-15
17:13
Replace all malloc() calls with fossil_malloc(). The fossil_malloc() routine panics rather than return a NULL pointer. file: [fc28f9bd81] check-in: [8f41b2fa75] user: drh branch: trunk, size: 34775
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: [0a2213fb3d] check-in: [2fac809165] user: drh branch: trunk, size: 34450
2010-10-07
18:40
Merge in changes from wolfgangFormat2CSS_2, with a few minor corrections. file: [d701be5728] check-in: [b525add4e0] user: drh branch: trunk, size: 34443
2010-09-29
15:49
Print a warning and require confirmation prior to continuing with a commit after detection of time skew. file: [ee8335813a] check-in: [c6a65cbd81] user: drh branch: trunk, size: 33136
13:30
Merge all changes from the wolfgangFormat2CSS_2 branch into the trunk. file: [f07060048d] check-in: [5a48a9b27b] user: drh branch: trunk, size: 33056
2010-08-31
01:53
Merge the changes from the windowscompilers branch into the trunk. file: [cc78f4e4a1] check-in: [3564af0f7a] user: drh branch: trunk, size: 33072
2010-08-26
13:18
Merge the experimental ssh:// changes into the trunk. file: [310b3c53b9] check-in: [0a51263a23] user: drh branch: trunk, size: 33073
2010-08-25
20:00
Merge the ssh:// sync enhancement into the trunk. file: [4eb9098058] check-in: [0e42cc1b77] user: drh branch: trunk, size: 33854
2010-07-14
13:27
Integrated last commit in benoit branch into trunk. file: [29a6aa6b97] check-in: [711675774b] user: benoit branch: trunk, size: 32500
2010-07-08
17:53
Take care to close the connection to the database file before existing. This gives the database a chance to clean up (and, for example, delete WAL and shared-memory files). file: [d484f464b4] check-in: [932825bc6a] user: drh branch: trunk, size: 32328
2010-07-06
21:22
Add software version information and database stats to the /stat page. file: [d77a46a95b] check-in: [5acf617104] user: drh branch: trunk, size: 32123
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [c90cbe0a37] check-in: [c06edd231f] user: drh branch: clear-title, size: 32051
11:18
Pull the latest trunk changes into clear-title. file: [e01c72d09e] check-in: [96722b6d01] user: drh branch: clear-title, size: 32327
2010-04-02
20:09
Merge all recent trunk changes into the clear-title branch (since we hold clear title on all recent changes.) file: [3f93a246a7] check-in: [64541535d9] user: drh branch: clear-title, size: 32307
2010-03-18
14:40
Merge in all of the latest clear-title changes from the trunk. file: [0384dca978] check-in: [7c2577bd63] user: drh branch: clear-title, size: 30544
2010-02-25
14:06
Pull over the latest clear-title changes from trunk. file: [b20658a1d4] check-in: [16e703be11] user: drh branch: clear-title, size: 30493
2010-02-08
18:16
Merge recent changes into the dual-license branch. file: [425b1f76e7] check-in: [14c19fbc1c] user: drh branch: clear-title, size: 30698
2010-01-21
22:06
Updated to include all the latest changes (for which we hold clear title) from the trunk. file: [7b9ddb2c9c] check-in: [390b414605] user: drh branch: clear-title, size: 25901
2010-01-18
22:23
Add the --stopper option to the "ui" and "server" commands on windows. The argument is the name of a file, which if it exists, causes the server to abort upon receiving the next inbound TCP connection. Use this to shut down fossil servers running as a windows service. file: [cc1948bcaa] check-in: [23c0d16718] user: drh branch: trunk, size: 25846
2010-01-14
15:34
If a "merge" or "update" or "revert" fails, then automatically rollback any partial changes to the filesystem. Ticket [a9722a15d2]. file: [746a0d5b9f] check-in: [7c3cb28d0f] user: drh branch: trunk, size: 25683
2010-01-12
13:55
Merge the experimental password changes into the trunk. file: [16c9110773] check-in: [596f3c10fe] user: drh branch: trunk, size: 24496
2009-12-29
22:10
clean up a few compiler warnings file: [f14e3f8203] check-in: [97789f0a92] user: rwilson branch: trunk, size: 24481
2009-12-14
23:18
Added a global command line argument named -quiet. This will suppress some output (currently during sync) for those interfacing fossil with various development tools. It does not make eliminate all output, only the output that is meant for fancy display to the user on a console. You can now use this new flag anywhere by referencing if (!g.fQuiet) {...} file: [09a4698442] check-in: [dccd27c6da] user: jeremy_c branch: trunk, size: 24455
2009-11-11
16:21
Deal with windows filename aliasing in the "all" command. Ticket [974618fe5a8]. Also display the home directory for windows users with the "info" command since the home directory is non-obvious in windows. file: [0e2e1d04fd] check-in: [d5695157d0] user: drh branch: trunk, size: 24346
2009-09-12
21:53
Update the proxy handler so that it supports basic authorization. file: [e990b4f28d] check-in: [9e274a2e7b] user: drh branch: trunk, size: 24286
2009-08-31
00:48
When the "http" command is run as root, automatically set up a chroot jail and drop root privileges prior to reading any input. file: [97f8036e59] check-in: [7ba10f1a6a] user: drh branch: trunk, size: 24229
2009-08-29
17:01
Patches to get Fossil working on OS/2. Ticket [89bec0d9aa9f30] file: [65c875517e] check-in: [df97fae2bd] user: drh branch: trunk, size: 23703
2009-08-26
18:25
Add the --private option to the "fossil commit" command. This option creates a private branch which is never pushed. file: [38aa437f8c] check-in: [02a584f7f5] user: drh branch: trunk, size: 23572
2009-08-13
14:27
Disconnect the global configuration database in ~/.fossil from the respository database in most cases. This allows multiple "sync" or "commit" operations to be running on different repositories at the same time. file: [0dbd180aa0] check-in: [00ac7945a9] user: drh branch: trunk, size: 23503
2009-07-29
13:09
On unix with the "fossil ui" command, try to open the webbrowser with "xdg-open" and "gnome-open" prior to resorting to "firefox". Ticket [8bc2549cedcd599556bbaf131f03b96588701f20] file: [9b1a2a10f7] check-in: [3a7e3e427d] user: drh branch: trunk, size: 23347
2009-03-22
13:44
Fix a C89 violation in main.c. file: [828c799fea] check-in: [d63f87c003] user: drh branch: trunk, size: 22434
2009-02-09
18:09
fix option/argument parsing for the case where an option is missing a required argument. file: [c2e4729e31] check-in: [f80303ac73] user: bharder branch: trunk, size: 22427
2009-01-13
18:43
Add code to understand the "https://" prefix on server URLs. Any attempt to use https gives an error at this point, however. This is a work in progress. file: [ea151948ee] check-in: [797d680ef5] user: drh branch: trunk, size: 22371
2008-12-07
18:48
The server now issues error messages in the synchronization protocol when a database error occurs during sync. Ticket [39f3294e213111a51e93d02fef6faa0062979619] file: [ae77223909] check-in: [2be82dcc2a] user: drh branch: trunk, size: 22184
2008-12-03
14:10
Fix a bug in windows that causes the menu on the wiki display pages to be omitted. Ticket [d6d9ee682eac7708b0a7aa31febc8ad47e4923b1]. file: [3a813bc47a] check-in: [426a3ba49e] user: drh branch: trunk, size: 22114
2008-11-20
00:35
Here is a better fix for ticket [c62fac40af] suggested by Kees Nuyt. file: [815f70292e] check-in: [22cb1e1be2] user: drh branch: trunk, size: 22047
2008-11-15
14:18
Miscellaneous cosmetic changes file: [ce8e26c45d] check-in: [9de6abab2a] user: eric branch: trunk, size: 21826
2008-11-10
01:13
The "ui" and "server" commands no longer quit if they cannot open TCP port 8080. They keep trying with consecutive ports until they find one that works - up to 100 ports. file: [936fc223a3] check-in: [d8ceb4ad47] user: drh branch: trunk, size: 21827
2008-11-09
16:23
Add the http-port setting used to specify the default TCP/IP port for the built-in webserver. Ticket [7168128e09]. file: [7ce5037b83] check-in: [02f09cdd6c] user: drh branch: trunk, size: 21782
2008-11-01
20:56
Make UTC time display the default. You can still set up a server to show localtime but that requires changing a setting under setup/timeline. file: [a407a1b98e] check-in: [0b36f02f15] user: drh branch: trunk, size: 21757
2008-10-31
13:36
Change a couple of instances of "file" to the more correct "artifact". Make it clear that the build time is expressed in UTC. file: [89f5fcc95e] check-in: [d5cd3251fa] user: drh branch: trunk, size: 21676
2008-10-27
15:34
Fix the web-browser user setting so that it actually works. file: [1d28ae7236] check-in: [3f5ef308fe] user: drh branch: trunk, size: 21672
2008-10-25
20:43
Get "configuration push" working. Fix bugs in concealed-field processing of tickets. file: [1a6ab5a7eb] check-in: [31e94c0a04] user: drh branch: trunk, size: 21658
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: [99156e48f6] check-in: [f55c6a1b62] user: drh branch: trunk, size: 21658
2008-10-18
20:29
Add the "version" command to print out the source-code version number for the fossil executable. file: [c1173878a4] check-in: [a1f727be9d] user: drh branch: trunk, size: 21429
12:55
Add defenses against cross-site request forgery attacks. file: [bc031c08b3] check-in: [0be54823ba] user: drh branch: trunk, size: 21258
2008-08-12
03:27
New Zip permission. This permission allow someone to download a zipped artifact via the wiki's /zip URL. It can given the user nobody to allow automatic package builder to download the sources they know from fossil-scm.org or other servers without any intervening login necessary.

As the /zip page do not expose anything, a spider should have a hard time to crawl thru the project using this URL. So IMO it does not open a break-in hole for spiders. file: [e3e3bcd32f] check-in: [fa6e993017] user: cle branch: trunk, size: 21064

2008-07-19
15:12
Fix enforcement of access restrictions on reports. Do not allow reports to show the content of fields whose names begin with "private_" unless the "e" permission is enabled. file: [7cc029d992] check-in: [21326fb6f7] user: drh branch: trunk, size: 20991
2008-06-08
15:45
Better error messages when trying to run "fossil ui" with an invalid or unaccessible repository. file: [be97bf56d4] check-in: [dcc48662f8] user: drh branch: trunk, size: 20980
2008-05-28
18:48
Continuing work on the ticketing system. file: [96c79d2faa] check-in: [49380d500a] user: drh branch: trunk, size: 20860
2008-05-25
11:50
Allow command-line options of the form "--name=value". file: [8f6eeea4b5] check-in: [be758137b0] user: drh branch: trunk, size: 20792
2008-05-22
12:49
Make sure fossil_panic() text is given a proper header in CGI mode. file: [5193badb96] check-in: [dbfe682b92] user: drh branch: trunk, size: 20491
12:38
Fix a segfault on the "fossil cgi" command. file: [5d729a0cb8] check-in: [b4f9d90ca3] user: drh branch: trunk, size: 20466
2008-05-18
15:51
Improvements to cloning performance. file: [c15347d3f4] check-in: [243e02bfbd] user: drh branch: trunk, size: 20424
2008-05-17
18:19
Add the "ui" command to automatically launch a web browser after starting the HTTP server. The web browser choice can be configured using the "setting" command. file: [7b16a4ea5c] check-in: [dfb68976be] user: drh branch: trunk, size: 20351
17:43
Get the "server" command running under windows. file: [bf0146efdb] check-in: [e2e016c31f] user: drh branch: trunk, size: 19708
14:49
The bug report generator compiles but still does not work right. file: [d06833697f] check-in: [55342eb9fb] user: drh branch: trunk, size: 18950
2008-05-16
18:11
Progress toward getting ticket handling to work. file: [d5882d7323] check-in: [68c24b1857] user: drh branch: trunk, size: 18344
13:31
Add the "Index Page" setup option to allow each site to configure a page to appear when no URL is specified or when the "Home" menu option is selected. file: [1f3362585e] check-in: [c7c81df138] user: drh branch: trunk, size: 18216
2008-05-13
13:20
Make attempts to add _FOSSIL_, manifest, and manifest.uuid warnings, not fatal errors. This allows users to say things like "fossil add *" when initially populating a new project repository. file: [b6f2004a21] check-in: [844718abbf] user: drh branch: trunk, size: 18301
00:19
Use the SCRIPT_NAME environment variable rather than REQUEST_URI to find the base name of the CGI script. file: [d82321902f] check-in: [c23469468b] user: drh branch: trunk, size: 18020
2008-05-10
18:01
Help message cleanup. Automatically delete cloned database files if the clone fails. file: [42f0720d46] check-in: [6b85fd173e] user: drh branch: trunk, size: 18461
17:09
Add the --nosync option to temporarily disable autosync. Useful when off network. file: [ee65ecd97a] check-in: [9ba6e4287b] user: drh branch: trunk, size: 18455
2008-05-05
19:08
Fix the HOST: header to use the original URL, not the proxy URL. file: [54f94155e2] check-in: [1dbf332352] user: drh branch: trunk, size: 18385
2008-02-24
18:50
Merged to [ed26056bb5]. file: [e12b36e51e] check-in: [588bb7cd73] user: aku branch: trunk, size: 18317
2008-02-01
05:29
Made remove_from_argv public for use by the upcoming test-import-manifest command. Fixed description of verify_all_options. Initialized variable to silence gcc warning. file: [fcf22176a5] check-in: [da4f0c2638] user: aku branch: trunk, size: 18265
2007-12-05
08:07
Merged mainline into my branch to get the newest application. file: [cfe3d68152] check-in: [d0305b305a] user: aku branch: trunk, size: 18263
2007-09-17
00:58
Pulled in the navbar and timeline changes. file: [17322e8c2b] check-in: [bbcb6326c9] user: aku branch: trunk, size: 17905
2007-08-25
19:39
Add the "baseline" command that shows the UUID of the fossil baseline from which the fossil executable was built. file: [500655758a] check-in: [def4449a87] user: drh branch: trunk, size: 18027
18:58
Attempting the same merge that aku tried and got empty files with. file: [9916f220db] check-in: [424d47e453] user: drh branch: trunk, size: 17837
2007-08-23
19:52
Add separate "clone" permissions. Previously, one needed "History" premission in order to clone. But sometimes we want to grant clone without granting history. file: [057090c5e8] check-in: [22c1ac41d4] user: drh branch: trunk, size: 17863
2007-08-18
11:42
Added options to the "timeline" CLI command. Additional help comments. file: [b9c1d09428] check-in: [6607844a01] user: drh branch: trunk, size: 17754
02:45
Add the "help" command and the "clean" command. More work is needed on the text for various help messages. file: [69bfd961c8] check-in: [c9fdb846fb] user: drh branch: trunk, size: 17449
2007-08-04
00:08
Merge in and correct the changes to the new repository initialization. Also fix other misc bugs seen while testing. file: [18f71690c1] check-in: [f5e8b1d736] user: drh branch: trunk, size: 16623
2007-08-03
23:30
Show an error if unrecognized command-line options appear on the commit command. Also add the (undocumented) "omit-ci-sig" configuration option on the database. Setting omit-ci-sig omits the PGP signature on check-in. file: [67d59cdc12] check-in: [6aff11f03f] user: drh branch: trunk, size: 16518
15:31
Extend the commit command so that specific files can be committed. There are still some problems with doing this after a merge. file: [efc0bca8ad] check-in: [22552fb803] user: dan branch: trunk, size: 16177
2007-07-31
23:33
Add the new "history" permission. Merge in changes that require permissions to view the timeline. file: [e3d8b5d0b9] check-in: [fd36718ad9] user: drh branch: trunk, size: 16156
22:59
Separate "nobody" and "anonymous" logins. file: [21f5fffa72] check-in: [9c952d247e] user: drh branch: trunk, size: 16094
2007-07-30
14:28
Use POST instead of GET for the /xfer method. Other bug fixes in the URL parser. file: [fa34f0baa1] check-in: [e621b6dbe3] user: drh branch: trunk, size: 16155
13:34
When errors occur during CGI, make sure the error is returned in a correct CGI reply. file: [66d6462906] check-in: [396cc2a4eb] user: drh branch: trunk, size: 16054
2007-07-23
19:52
Improvements to the WWW interface. file: [e0071db8be] check-in: [66f4caa379] user: drh branch: trunk, size: 16030
2007-07-21
14:10
Added: Initial check-in of m1 sources. file: [3326d06274] check-in: [dbda8d6ce9] user: drh branch: trunk, size: 15857