2002-04-26 Thien-Thi Nguyen * configure.in: Update copyright. Bump version to 1.1.1 for release. 2002-04-26 Thien-Thi Nguyen * cgi.scm: Update copyright. Also use modules (ice-9 regex) and (ice-9 optargs). (file-uploads, cookies): New vars. (cgi:init): Handle "application/x-www-form-urlencoded". Handle "multipart/form-data". Handle cookies init. (cgi:uploads, cgi:upload, cgi:cookies, cgi:cookie, cgi:make-cookie): New procs, exported. (parse-form-multipart): New proc. (init-environment): Also set var `cgi-http-cookie'. (get-cookies): New proc. Thanks to Aaron VanDevender. * http.scm: Update copyright. (http:request): Use `format' instead of `string-append'. * main.scm: Comment munging; nfc. * url.scm: Update copyright. (url:unparse): Use `format' instead of `string-append'. 2002-04-11 Thien-Thi Nguyen * examples/wwwcat, examples/cookie.cgi, examples/README: New files (wwwcat moved from ..). 2001-11-21 Thien-Thi Nguyen * wwwcat: Fix typo. Thanks to Ralf Mattes. 2001-11-18 Thien-Thi Nguyen * configure.in: Bump to version 1.0.1 for release. * README, NEWS: Update. * doc/guile-www.texi (direntry): Fix syntax error. Thanks to Eric Gillespie, Jr. 2001-11-17 Thien-Thi Nguyen * configure.in: Bump version to 1.0 for release. * wwwcat, cgi.scm, http.scm, main.scm, url.scm: Update copyright. * configure.in: Add copyright. (AC_OUTPUT): Add doc/Makefile. * AUTHORS, NEWS: Initial revision. * Makefile.am: Add copyright. (AUTOMAKE_OPTIONS): Set to "gnu". (SUBDIRS, EXTRA_DIST): New vars. (dist-hook): New target. * README: Rewrite. * autogen.sh: Pass "--verbose" to automake. * doc/guile-www.texi, doc/Makefile.am: New file. 2001-11-16 Thien-Thi Nguyen * cgi.scm, http.scm, main.scm, url.scm: Add commentary; nfc. * COPYING: New file. * .cvsignore (Makefile.in, aclocal.m4, configure): Add. * configure: bye bye 2001-11-15 Thien-Thi Nguyen * contrib/ssl-support.diff: New file. Thanks to Eric Hanchrow. 2001-02-04 Marius Vollmer * http.scm: Use (ice-9 rdelim) if `read-line' not defined. Thanks to Thien-Thi Nguyen. 2000-06-04 Mikael Djurfeldt * main.scm (www:get): Pass url as single arg. (Thanks to Dale P. Smith.) 1998-07-27 Jim Blandy * Test of EGCS repository access. 1997-12-24 Tim Pierce * cgi.scm (init-environment): Make server-software and server-protocol optional. 1997-12-22 Tim Pierce * cgi.scm (read-raw-form-data): Add `cgi-' to content-length. (parse-form): Change `url-decode' to `url:decode'. Mon Oct 20 18:06:10 1997 Jim Blandy * configure.in: Update version to 1.0b. configure: Regenerated. * Makefile.in, aclocal.m4, configure: Regenerated w/automake 1.2c. * url.scm (url:scheme, url:host, url:port, url:path): Move accessors up. (url:address): New accessor for "mailto:" URLs. (url:unknown): New accessor for unrecognized URL types. (url:user): New accessor for "ftp" URLs. (url:make, url:make-http, url:make-ftp, url:make-mailto): New constructors for URL objects. (url-regexp): Replaced by... (http-regexp, ftp-regexp, mailto-regexp): Separate regular expressions for different URL schemes. (url:parse): Use the above to handle ftp and mailto URLs, and also do something graceful with unrecognized garbage. (url:unparse): New function, for turning a parsed url into a string. * http.scm (add-open-connection!, get-open-connection): Incomplete code replaced with dummy definitions, so we can give it to Mikael immediately. (http:request): Close the socket after we're done reading the body. * http.scm (http:request): Reformatted for readability. * http.scm (http:request): Don't expect a body in reply to a "HEAD" request, even though we do get a "content-length" header. Tue Jun 17 17:27:04 1997 Tim Pierce * http.scm: (http:request): Force "/" onto the beginning of the "path" variable unconditionally. We must do this because of a stupid incompatibility between the URL RFC and HTTP RFC. * http.scm: (parse-status-line): New function. (http:request): Use parse-status-line instead of separate-fields-discarding-char (which does not work when a status line contains more than two spaces). (separate-fields-discarding-char): Removed. Tue Jun 17 01:45:59 1997 Tim Pierce * http.scm (http:request): Change calling conventions to accept a method and a URL rather than a port and request string. Do some sanity checking on arguments. (http:get): Pass a single URL argument to http:request. (http:open): Permit port argument to be #f in addition to '(). (display-with-crlf): Make port argument optional. (add-open-connection!): Braino fix (set! for setq). * Makefile: New file. (Oops.) Mon Jun 16 17:49:20 1997 Tim Pierce Release preparations. * Makefile.am, configure.in, install-sh, mkinstalldirs, missing: New files. * Makefile.in, configure, aclocal.m4: Generated, not re. * README: New file. Sun Jun 15 00:50:22 1997 Tim Pierce * http.scm: add some support for persistent connections. (http:connect): check get-open-connection before creating a new socket, and call add-open-connection! after creating one. (add-open-connection!): New function. (get-open-connection): New function. Mon Jun 9 23:42:32 1997 Tim Pierce New WWW module. * cgi.scm: New file. * http.scm: New file. * main.scm: New file. * url.scm: New file. * wwwcat: New file.