Fossil

Timeline
Login

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

99 check-ins using file src/cgi.c version 40e2d5cf0d

2012-12-13
12:31
When determining the interactive user, check the FOSSIL_USER environment variable. Also, add a property to the Windows resource file indicating if markdown support was compiled into the binary. check-in: 743b64ecf2 user: mistachkin tags: trunk
2012-12-12
22:52
Do not enforce the requirement that filenames in manifests be strict UTF8 because some bug or another in a legacy version of Fossil allowed in some Latin-1 Suppliment characters encoded as a single byte (ex: 0xf3) instead of the correct two-byte encoding (ex: 0xc3 0xb3) and so if we start enforcing strict UTF8, some check-ins from those legacy versions of Fossil will be inaccessible. check-in: d48399bd39 user: drh tags: trunk
22:03
typo integrate latest version of dirent.h check-in: 8e50ff0c30 user: jan.nijtmans tags: trunk
15:35
completed cp1252 table and conversion check-in: bab2f28b60 user: jan.nijtmans tags: improve_commit_warning
13:53
Add optional iso8859-1 to utf-8 conversion. Still to do: special cp1252 characters. check-in: 4f060f6afb user: jan.nijtmans tags: improve_commit_warning
13:08
merge trunk check-in: b70a320288 user: jan.nijtmans tags: improve_commit_warning
2012-12-11
20:58
Improve consistency when referring to the 'build.wiki' page in several places. check-in: d5261ae5f0 user: mistachkin tags: trunk
16:53
Update the "compiling and installing" instructions to describe how to build for MacOS 10.2. check-in: 44610be49d user: drh tags: trunk
16:29
Missed one spot where WITHOUT_ICONV is required on the previous check-in. check-in: fbe87e0cfb user: drh tags: trunk
16:23
Add a compile-time option (WITHOUT_ICONV) that omits the use of iconv.h so that Fossil can be compiled on a 10-year-old PPC Macbook. check-in: 722791a6a8 user: drh tags: trunk
13:13
Clarify the "omitted checkin" message on "fossil bisect vlist". check-in: b41ebf256f user: drh tags: trunk
01:05
Import the SQLite fix for integer to floating-point overflow from upstream. Fossil does not really need this. The import is for testing SQLite. check-in: d79ddface9 user: drh tags: trunk
2012-12-10
19:50
some more unused variable gcc warnings check-in: 1caa510170 user: jan.nijtmans tags: trunk
19:35
A little bit smarter determination of the need for -DBROKEN_MINGW_CMDLINE check-in: 0e5c128047 user: jan.nijtmans tags: trunk
2012-12-09
19:22
Restrict the TH1 "query" command to be read-only and to only be able to see a specific subset of tables in the repository database file. check-in: 2056f624c0 user: drh tags: trunk
2012-12-08
23:14
Pull from upstream the SQLite version after the collating-sequence refactor. Fossil does not need this - the purpose is for testing the new SQLite in a real-world application. check-in: 8e31adafad user: drh tags: trunk
06:58
Merge updates from trunk. check-in: ea529b633d user: mistachkin tags: th1Hooks
06:46
Merge updates from trunk. check-in: fc7e8d01d4 user: mistachkin tags: tclRdOnly
02:26
Silence unused variable compiler warning. Modify MinGW makefiles to fix an overly long line. check-in: f51c8a4447 user: mistachkin tags: trunk
01:01
In the markdown engine, use fossil_strnicmp() to allow easy compilation with MSVC. check-in: 3ad20f4b25 user: mistachkin tags: trunk
00:41
Merge markdown support for embedded documentation into the trunk. check-in: 61079c3bef user: mistachkin tags: trunk
2012-12-07
20:58
Merge updates from trunk. Closed-Leaf check-in: de1ef7e99f user: mistachkin tags: markdown
14:57
Fix for click-to-diff in IE8, tested this time using IE9 in compatibility mode. check-in: 0bb8184e3c user: drh tags: trunk
14:33
Attempt to get click-to-diff working on IE8. check-in: ce99889c68 user: drh tags: trunk
12:57
Include "sys/times.h" in file.c if not compiling on windows. This quiets a compiler warning. check-in: bf160cf014 user: drh tags: trunk
12:50
Get self-registration working again after adding javascript-activated forms. check-in: 54085d52c4 user: drh tags: trunk
2012-12-06
02:51
Disable the "Diffs" link from the check-in information page. Better to use the click-to-diff feature of the graph. The code was disabled using #if 0 so it is easy to reactivate it if desired. check-in: 89ab1185bf user: drh tags: trunk
02:44
Increase the maximum graph with to 40 rails. Fix the graph display for individual files, which was broken by the prior change. check-in: 8d4ee62b18 user: drh tags: trunk
01:47
Make the spacing between vertical rail centerlines in the graph adjustable based on the number of rails. Use less horizontal space. check-in: d57481a707 user: drh tags: trunk
2012-12-05
15:47
Pull the SQLite 3.7.15 beta from upstream for testing. check-in: 0eb3d8e828 user: drh tags: trunk
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. check-in: 2c8557cc7a user: drh tags: trunk
2012-12-04
03:09
Make definition and usage of BROKEN_MINGW_CMDLINE consistent with the other compile-time options. check-in: 3c188df5ac user: mistachkin tags: trunk
02:04
Restore default PREFIX in custom makefile. check-in: e354c795b3 user: mistachkin tags: trunk
01:10
The "ln" query parameter causes lines numbers to be shown on the "annotate" webpage. check-in: 08f4eda728 user: drh tags: trunk
00:17
Change the encoding on the ZIP archive generator so that it preserves UTF8 filenames. check-in: 3ff5ca0573 user: drh tags: trunk
2012-12-03
22:03
Set bit 11 in the "general purpose bit flag" to 1. This indicates (according to the pkware documentation) that all filenames are in utf-8, in stead of IBM-437. This should fix ticket [838bde7990d8e190957cbfe7f15c77322dc54e57] Closed-Leaf check-in: ceb11b0787 user: jan.nijtmans tags: utf8-in-zip
20:48
missing parameter type check-in: ee1ff73a9e user: jan.nijtmans tags: trunk
2012-12-01
20:17
Add mimetype mappings for .docx, .pptx, and .xlsx. check-in: 4e23c42f7e user: drh tags: trunk
09:53
update wrong comment check-in: 39807cdf0c user: jan.nijtmans tags: trunk
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. check-in: 99ab9fb47c user: drh tags: trunk
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. check-in: c71e096800 user: drh tags: trunk
04:10
Additional webserver security: Do not allow the "fossil server" command to return any static content with an unrecognized suffix. check-in: 4a5e972e2c user: drh tags: trunk
03:55
Update the default new-ticket and edit-ticket scripts so that the Submit button is still shown after a prior submit attempt where the captcha failed. check-in: 28faff0d6a user: drh tags: trunk
03:50
Revise the default ticket viewer so that it omits blank comments from the User Comments section. check-in: ee40fcb448 user: drh tags: trunk
03:38
Allow upper or lower case letters for the captcha code. Also, recognize "O" as a "0". Ticket [b142647bfa04a] check-in: 7f56910f0e user: drh tags: trunk
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. check-in: 8205c01cd4 user: drh tags: trunk
03:18
Make sure the SQLite memory allocator is initialized before trying to use it to convert MBCS into UTF8. Closed-Leaf check-in: cc09cda247 user: drh tags: cmdline-expansion
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. check-in: e726c8082e user: drh tags: trunk
2012-11-30
21:03
Bump the version number to 1.25 and add a change log in preparation for the next release. check-in: ed1e34c760 user: drh tags: trunk
16:59
forgot makemake.tcl and Makefile.mingw.mistachkin changes check-in: 08802c4af4 user: jan.nijtmans tags: cmdline-expansion
16:43
merge trunk. Add fallback mechanism for MinGW check-in: 2459ee7b71 user: jan.nijtmans tags: cmdline-expansion
16:09
CSS changes: set the cursor to "pointer" on ticket reports. check-in: d091c609d2 user: drh tags: trunk
16:09
merge trunk check-in: 380ad5312a user: jan.nijtmans tags: ticket-d17d6e5b17
15:52
Allow characters *[]? to appear in filenames. Tickets [46bf4baedce] and [d17d6e5b174bd6] and [10aee063c413c107] check-in: 647bb7b79f user: drh tags: trunk
15:22
Click on the timeline graph once to select a node. Click on a different node to see a diff between the two nodes. Click on the selected node to unselect it. check-in: 5bff5e5cc5 user: drh tags: trunk
15:16
Add javascript to ticket reports tables so that clicking on column headers causes the table to be sorted by that header. Clicking again reverses the sort order. check-in: 20f17aeb05 user: drh tags: trunk
15:07
Add javascript to ticket reports tables so that clicking on column headers causes the table to be sorted by that header. Clicking again reverses the sort order. Closed-Leaf check-in: c43da4fcd1 user: drh tags: click-to-sort-reports
14:24
merge trunk g.nameOfExe should have filename_to_utf translation as well on UNIX/OSX check-in: bac4b248f5 user: jan.nijtmans tags: cmdline-expansion
14:09
fix testcase check-in: e08073d333 user: jan.nijtmans tags: trunk
13:27
(experimental) command-line expansion for MinGW-w64. Should work on MSVC as well. Doesn't work with MinGW. check-in: b1036fe5bf user: jan.nijtmans tags: cmdline-expansion
13:05
Changes to allow *[]? in check-in comments were added by check-in [647bb7b79f3c2a], which is sufficient to address ticket [46bf4baedcea6c]. The additional logic in this branch that tries to do special encodings for double-quote characters on windows is complication we can do without. Was: fix merge problem, which cause an OSX broken build check-in: 7885b60187 user: jan.nijtmans tags: ticket-d17d6e5b17
12:36
merge trunk. appears to work well again. check-in: 0c65916136 user: jan.nijtmans tags: ticket-d17d6e5b17
03:33
Fix the click coordinates so that they work even when the page has been scrolled. Closed-Leaf check-in: 7b3def02ed user: drh tags: click-graph-to-diff
03:14
Fix compiler warning. check-in: 95cce92af0 user: drh tags: click-graph-to-diff
03:10
Click on the timeline graph once to select a node. Click on a different node to see a diff between the two. Click on the selected node to undo the selection. Works with check-in timelines and file timelines. check-in: a7dde41fec user: drh tags: click-graph-to-diff
00:40
Move the new utf8.c file into alphabetical order in the makemake.tcl tool. check-in: 3e0f48c76d user: mistachkin tags: trunk
00:38
Update custom MinGW makefile with recent changes. check-in: 2d754ca84b user: mistachkin tags: trunk
2012-11-29
21:21
merge trunk. Seems to work now. Still to be tested more. check-in: 49bdd78b75 user: jan.nijtmans tags: ticket-d17d6e5b17
20:23
All the --verbose option on "all sync", "all push", and "all pull". check-in: 4ee99cc8a6 user: drh tags: trunk
18:46
Modify the test-echo command to also show the name of the executable. check-in: 5ed566f805 user: drh tags: trunk
18:39
Fix the "all" command on mac, broken by the penultimate check-in. check-in: 2f187c2f22 user: drh tags: trunk
18:31
Fix harmless compiler warnings on windows. check-in: 9eb2df37ef user: drh tags: trunk
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. check-in: f1a82cf34f user: drh tags: trunk
16:54
Fix a missing </ul> on object descriptions. check-in: 7e609e0e50 user: drh tags: trunk
15:13
merge trunk. Broken on win32! check-in: 258cedd625 user: jan.nijtmans tags: ticket-d17d6e5b17
13:15
Translate decomposed-UTF8 filenames on MacOS into precomposed-UTF8. Fix for ticket [e399bc1edfe45b] check-in: ca728447a6 user: drh tags: trunk
13:12
Translate decomposed-UTF8 filenames on MacOS into precomposed-UTF8. Fix for ticket [e399bc1edfe45b] Closed-Leaf check-in: 1002e7238c user: drh tags: ticket-e399bc
09:59
One more thing I spotted (but cannot test!): UTF8-mac encoded values could enter fossil through environment variables as well... check-in: 42951c59ae user: jan.nijtmans tags: ticket-e399bc
09:53
Tested now on win32 and cygwin (with some fixes, please evaluate!). I cannot test it on OSX, but I think this should function as intended. check-in: a0148eac53 user: jan.nijtmans tags: ticket-e399bc
08:57
unbreak win32 check-in: 0ff5b5ed0f user: jan.nijtmans tags: ticket-e399bc
07:57
This change is intended to detect, during commit, whether some file contents cannot be interpreted as either UTF-8 or ASCII. This typically happens when the file is in the iso8859-1 (UNIX) or cp1252 (win32) encoding. Nothing very bad happens, only fossil cannot display the characters. For example, see: [http://core.tcl.tk/tcl/info/7559185e9a] It would be nice if fossil detects this situation, so the user has the choice to change the encoding to utf-8, or answer 'y' if this is intended. Probably missing is a 'latin-glob', 'non-utf8-glob' (any ideas for a better name?) setting. An improvement would be to allow the 'c' response, which aborts the commit but first converts it to utf-8 (assuming iso8859-1 on UNIX and cp1252 on win32) Another thing this change does is warn if the file contains long lines which cannot be handled by fossil. The user is given the chance to break the long lines into shorter ones. This cannot be done automatically. Maybe add a "longlines-glob" setting as well. Feedback welcome! check-in: 609ea54f7b user: mistachkin tags: improve_commit_warning
07:56
Fix a couple line length issues and modify an error message. check-in: 3527aa4474 user: mistachkin tags: trunk
03:14
Untested changes designed to fix broken filename encodings on MacOS. Move all character-set converting routines into a new file called utf8.c. Add the fossil_filename_to_utf8() routine, which converts Unicode to utf8 on windows and decomposed utf8 into precomposed utf8 on Mac. Ticket [e399bc1edfe45b] check-in: c24e568fb0 user: drh tags: ticket-e399bc
01:45
Give the user the option to convert file into UTF8 if they are in some other encoding when committed. The commit aborts regardless, to give the operator an opportunity to retest the changes before committing again. check-in: 22b570f4f3 user: drh tags: trunk
2012-11-28
23:05
Serious bug fix: Avoid deleting the respository if the repository is in the checkout and you do a "fossil close". check-in: fcdeaa2909 user: drh tags: trunk
20:37
Add the "fossil cat" command, which is an alias for "fossil finfo -p" check-in: 607ff0855c user: drh tags: trunk
19:28
Take care that xfer error messages and user prompts always begin at the start of a new line. check-in: f1ef22136f user: drh tags: trunk
11:13
Add a conditional #include in an attempt to get the build working on Cygwin. check-in: b963446708 user: drh tags: trunk
08:45
merge trunk check-in: 58a98df4a5 user: jan.nijtmans tags: ticket-d17d6e5b17
08:44
merge trunk Closed-Leaf check-in: 9d67e2e2d3 user: jan.nijtmans tags: convert_before_commit_v2
08:43
merge trunk check-in: 569d0e2cec user: jan.nijtmans tags: improve_commit_warning
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. check-in: 4f8c8975bc user: drh tags: trunk
15:32
Fix some HTML markup irregularities. Improvements to the default ticket viewer. Closed-Leaf check-in: 7575b52e15 user: drh tags: ticket-enhancements
2012-11-26
21:30
Fix a string-quoting error in the previous commit. check-in: 3c8195c876 user: drh tags: ticket-enhancements
19:32
Change the default ticketing scripts to take advantage of TICKETCHNG. check-in: fb3b0f66a3 user: drh tags: ticket-enhancements
19:16
More trouble-shooting and debugging aids for ticket processing: With debug_tktnew and debug_tktedit or with tktview?showfields, a listing of the aField[] data structure in ticket handling code is shown at the top of the screen. check-in: 7de5f6c056 user: drh tags: ticket-enhancements
16:28
Improvements to TH1 variable setup when processing tickets that use TICKETCHNG. check-in: cc8a325622 user: drh tags: ticket-enhancements
2012-11-25
11:16
Use binary mode for CGI trace files. Make CGI trace cross-platform. check-in: 6a8084abcb user: drh tags: ticket-enhancements
02:57
Use binary mode for CGI related trace files. Closed-Leaf check-in: 95f02a572e user: mistachkin tags: cgiTraceBinary