File History
Not logged in

History of src/cgi.c

2009-09-22
07:49:39 [0a66f5aa4a] part of check-in [7a2c37063a] merge trunk into creole branch (By: bob on 2009-09-22 07:49:39) [diff] [annotate]
2009-09-09
16:14:08 [0a66f5aa4a] part of check-in [fac950a173] Update to the latest version of SQLite. Make use of the new sqlite3_strnicmp() interface. (By: drh on 2009-09-09 16:14:08) [diff] [annotate]
2009-08-29
17:01:33 [00c26fc349] part of check-in [df97fae2bd] Patches to get Fossil working on OS/2. Ticket [89bec0d9aa9f30] (By: drh on 2009-08-29 17:01:33) [diff] [annotate]
2009-08-13
14:27:24 [8b6978d8ea] part of check-in [00ac7945a9] 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. (By: drh on 2009-08-13 14:27:24) [diff] [annotate]
2009-06-20
13:06:47 [1b01c427a4] part of check-in [266b6127f6] Fix a bug that prevented the IP address of website users from being recorded in the administator logs. (By: drh on 2009-06-20 13:06:47) [diff] [annotate]
2009-03-31
17:33:05 [8c16621a50] part of check-in [c3a30a6b80] Add cache-control: no-cache to the server reply header. Ticket [b465b3bc2ceef4446b2ae770242ed0968e4dbc68] (By: drh on 2009-03-31 17:33:05) [diff] [annotate]
2009-03-29
22:24:57 [0db8ef4202] part of check-in [5ffc720194] Use "no-store" in place of "private" as the cache-control mode. Ticket [b465b3bc2ceef4446b2ae770242ed0968e4dbc68]. (By: drh on 2009-03-29 22:24:57) [diff] [annotate]
2009-02-01
12:23:53 [4896124194] part of check-in [daacc139a5] Always report the content-type charset as utf-8. Ticket [cc6557cfc5763fa80bb04eecea7f713b0751efc4] (By: drh on 2009-02-01 12:23:53) [diff] [annotate]
2009-01-24
10:44:43 [ebad09218e] part of check-in [cd965de682] Fix some compiler warnings. (By: drh on 2009-01-24 10:44:43) [diff] [annotate]
2008-11-20
00:35:23 [9bee6fb4ef] part of check-in [22cb1e1be2] Here is a better fix for ticket [c62fac40af] suggested by Kees Nuyt. (By: drh on 2008-11-20 00:35:23) [diff] [annotate]
2008-11-19
23:33:47 [ab524199ae] part of check-in [53db94cd41] Make sure the socket of the "ui" and "server" commands is bound to the specified port when the -P or --port option is used. Ticket [7ef970e4a2] (By: drh on 2008-11-19 23:33:47) [diff] [annotate]
16:55:14 [e524bac009] part of check-in [d14adf1032] Merge src & doc leaves back. (By: kejoki on 2008-11-19 16:55:14) [diff] [annotate]
2008-11-18
02:21:00 [e524bac009] part of check-in [f6a071cef1] Omit the Content-Length header line from the CGI response under windows because subsequent \n to \r\n translations by Apache will change the content length. But keep the Content-Length header line for the built-in servers and under unix. Ticket [c62fac40af0]. (By: drh on 2008-11-18 02:21:00) [diff] [annotate]
2008-11-10
01:13:35 [40d3404d8c] part of check-in [d8ceb4ad47] 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. (By: drh on 2008-11-10 01:13:35) [diff] [annotate]
2008-10-06
11:33:23 [ec3c5c4267] part of check-in [3d62a9fb39] Fix a few C99-isms in the code so that the code will build on older C compilers. (By: drh on 2008-10-06 11:33:23) [diff] [annotate]
2008-09-11
17:12:11 [48957219a2] part of check-in [aeeba751c4] Fix a memory double-free'd problem. In function <tt>cgi_set_cookie</tt> the <tt>zDate</tt> was allocated via usage of <tt>cgi_rfc822_datestamp</tt>. But as it was appended to the blob <tt>extraHeader</tt> via the format specifier <tt>%z</tt> the memory was free'd by <tt>blob_appendf</tt>. As <tt>cgi_rfc822_datestamp</tt> might return both a dynamic allocated empty string as well as a dynamic allocated string containing the time stamp, <tt>blob_appendf</tt> should not try to free the <tt>zDate</tt>. So now the format specifier is changed to <tt>%s</tt> to let us decide, if we want to free the memory or not. (By: cle on 2008-09-11 17:12:11) [diff] [annotate]
2008-09-06
13:29:29 [cf67a58e94] part of check-in [8745d0d579] Merge tagview branch into mainline (By: eric on 2008-09-06 13:29:29) [diff] [annotate]
2008-08-17
20:53:20 [cf67a58e94] part of check-in [070e63db33] Merge old tagview branch into this branch (By: eric on 2008-08-17 20:53:20) [diff] [annotate]
2008-06-08
15:45:36 [5d10f16d56] part of check-in [dcc48662f8] Better error messages when trying to run "fossil ui" with an invalid or unaccessible repository. (By: drh on 2008-06-08 15:45:36) [diff] [annotate]
2008-05-29
14:38:13 [51ee933035] part of check-in [5b61ad3a4c] Add a missing semicolon to the previous checkin. (By: drh on 2008-05-29 14:38:13) [diff] [annotate]
14:37:17 [9a68d3734f] part of check-in [e5b7292620] When redirecting to /xfer, make sure the PATH_INFO actually exists. Update the cgi_replace_parameter() routine to make sure the parameter being replaced already exists. (By: drh on 2008-05-29 14:37:17) [diff] [annotate]
14:00:27 [7e3878f313] part of check-in [16ec6e558b] Always redirect incoming HTTP requests to the /xfer method when the content-type is application/x-fossil. (By: drh on 2008-05-29 14:00:27) [diff] [annotate]
2008-05-17
18:19:11 [98e61aaa4c] part of check-in [dfb68976be] 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. (By: drh on 2008-05-17 18:19:11) [diff] [annotate]
17:43:22 [db2f7cb7a9] part of check-in [e2e016c31f] Get the "server" command running under windows. (By: drh on 2008-05-17 17:43:22) [diff] [annotate]
2008-05-14
12:21:23 [52f3e41396] part of check-in [0a14f18111] Return a proper error message if the first line of an HTTP requested handed to the "http" command is blank. (By: drh on 2008-05-14 12:21:23) [diff] [annotate]
2008-02-16
18:49:39 [0e9e18ccfe] part of check-in [88948d582a] Fixed memleaks of date-related header strings. (By: stephan on 2008-02-16 18:49:39) [diff] [annotate]
2008-02-03
16:35:12 [651d100b98] part of check-in [649dd8a6af] got rid of '... might be used initialized' warnings (By: stephan on 2008-02-03 16:35:12) [diff] [annotate]
02:41:50 [a795dc49f1] part of check-in [b312f5ff5b] Merge in some changes to the CGI reply generator that we made back in early December but got lost on an abandoned branch. Distributed version control is nice, but it also leaves open the real danger of losing changes this way. We need to work on interface features to minimize the risk of losing changes like this, and to identify lost changes quickly. (By: drh on 2008-02-03 02:41:50) [diff] [annotate]
2007-12-05
08:07:46 [1c05503871] part of check-in [d0305b305a] Merged mainline into my branch to get the newest application. (By: aku on 2007-12-05 08:07:46) [diff] [annotate]
2007-12-04
13:05:35 [a795dc49f1] part of check-in [6af8fdc230] Generate CGI replies as separate header and body so that the header can be extended during the construction of the body. (By: drh on 2007-12-04 13:05:35) [diff] [annotate]
2007-11-24
19:33:46 [1c05503871] part of check-in [fb358ca492] Progress toward getting ticketing working. We can enter a new ticket and display it. Cannot yet edit a ticket. (By: drh on 2007-11-24 19:33:46) [diff] [annotate]
2007-11-22
22:55:05 [144475b0ed] part of check-in [2859293737] Add the %w and %W formatting options for internal printf usage. Use these formatting characters to render wiki. Fix additional problems of unterminated wiki on webpage rendering by using %w. (There are probably more problems yet to be discovered and fixed.) (By: drh on 2007-11-22 22:55:05) [diff] [annotate]
2007-11-21
12:21:03 [470b9d6c4c] part of check-in [68a202e101] Attach login cookies to the root path of the server, so that multiple servers can coexist on the same site. (By: drh on 2007-11-21 12:21:03) [diff] [annotate]
03:01:40 [fb85a3385b] part of check-in [555911dff5] Render the header of every page using subscript. Add a setup page that for editing that subscript. (By: drh on 2007-11-21 03:01:40) [diff] [annotate]
2007-10-23
18:04:19 [36809061c4] part of check-in [f66089ec43] Untested, experimental patch for correct redirect to the /index page when only the CGI script name is specified. (By: drh on 2007-10-23 18:04:19) [diff] [annotate]
2007-10-12
22:56:18 [fa39badf00] part of check-in [677aa71bca] The g.zExtra parameter is now always available as P("name"). This means the /wiki/xyz and /wiki?name=xyz are equivalent URLs. (By: drh on 2007-10-12 22:56:18) [diff] [annotate]
2007-10-04
17:37:00 [3772dc1166] part of check-in [e7cf189265] Changes to cgi.c in check-in [e63a9fd9d0] broke the windows build because of undefined socklen_t. Added the appropriate include file (By: mjanssen on 2007-10-04 17:37:00) [diff] [annotate]
2007-09-25
21:28:30 [5b9875dd08] part of check-in [92291035fe] Merged the compiler warning fixes into mainstream (By: jnc on 2007-09-25 21:28:30) [diff] [annotate]
21:21:35 [5b9875dd08] part of check-in [e63a9fd9d0] Fixed many uninitialized variable warnings and some potential bug found via -Wall -Werror on gcc. (By: jnc on 2007-09-25 21:21:35) [diff] [annotate]
2007-09-22
19:43:55 [57f4d7daa3] part of check-in [3c5482959c] Merge in the w32 changes. (By: drh on 2007-09-22 19:43:55) [diff] [annotate]
18:34:49 [57f4d7daa3] part of check-in [8372cc0b81] Socket operations now functional in Win32 port. Added quotes around the filename portion of the command to edit thus working of windows in paths where the temp directory contains spaces. Added -all flag to clean command. If not specified each file is prompted for before removing. (By: jnc on 2007-09-22 18:34:49) [diff] [annotate]
2007-09-21
21:53:28 [1e442c1fca] part of check-in [83c876b447] Win32 port: compiles, all tests pass but many functions fail due to path separators. Incomplete. Path fixes to come next (By: anonymous on 2007-09-21 21:53:28) [diff] [annotate]
2007-08-04
00:08:17 [f25a72aeb6] part of check-in [f5e8b1d736] Merge in and correct the changes to the new repository initialization. Also fix other misc bugs seen while testing. (By: drh on 2007-08-04 00:08:17) [diff] [annotate]
2007-08-03
23:04:05 [f25a72aeb6] part of check-in [a48936e834] Changes to the way new repositories are created. Also make the CGI output blob available to all modules through a function call. (By: drh on 2007-08-03 23:04:05) [diff] [annotate]
2007-08-01
13:32:11 [90e1185c4a] part of check-in [6dab6149b1] From the vinfo webpage, provide a hyperlink to download a ZIP archive the version. (By: drh on 2007-08-01 13:32:11) [diff] [annotate]
12:20:24 [0b7697e1bf] part of check-in [04f7535ee3] The merge at [dd9633a03d] did not work because of the bug just fixed. This change moves the changes that should have been in that merge into the main line of the tree. (By: drh on 2007-08-01 12:20:24) [diff] [annotate]
09:04:46 [0b7697e1bf] part of check-in [36edf3fd5c] Populate the ipaddr column of the rcvfrom table when a file is received from a remote source (push/pull/sync). (By: dan on 2007-08-01 09:04:46) [diff] [annotate]
2007-07-21
14:10:57 [1776db11b6] part of check-in [dbda8d6ce9] Initial check-in of m1 sources. (By: drh on 2007-07-21 14:10:57) [annotate]