Changeset 45453

Timestamp:
May 17, 2008, 3:54:44 PM (14 years ago)
Author:
Darren Garvey
Message:

Merged revisions 40139-43768,43770-43772,43774-43787,43789-43812,43814-45452 via svnmerge from
https://svn.boost.org/svn/boost/sandbox/SOC/2007/cgi/trunk

........

r43780 | drrngrvy | 2008-03-21 20:59:00 +0000 (Fri, 21 Mar 2008) | 1 line


Adding shareable_tcp_socket.hpp to trunk

........

r43783 | drrngrvy | 2008-03-21 21:13:06 +0000 (Fri, 21 Mar 2008) | 1 line


Copying basic_client.hpp to trunk.

........

r43787 | drrngrvy | 2008-03-21 22:07:59 +0000 (Fri, 21 Mar 2008) | 1 line


Modified tags.hpp, adding shareable_tcp_socket

........

r43791 | drrngrvy | 2008-03-21 22:22:42 +0000 (Fri, 21 Mar 2008) | 1 line


Oops. Fix a possible buffer overflow.

........

r43819 | drrngrvy | 2008-03-24 14:00:15 +0000 (Mon, 24 Mar 2008) | 1 line


Removing SCGI examples (which haven't been tested)

........

r43869 | drrngrvy | 2008-03-26 16:12:38 +0000 (Wed, 26 Mar 2008) | 1 line


Minor fix to project-root.jam

........

r43912 | drrngrvy | 2008-03-28 16:35:17 +0000 (Fri, 28 Mar 2008) | 1 line


Adding basic FastCGI server example.

........

r43917 | drrngrvy | 2008-03-28 22:01:04 +0000 (Fri, 28 Mar 2008) | 1 line


Adding slightly more async FastCGI server example.

........

r43918 | drrngrvy | 2008-03-28 22:10:40 +0000 (Fri, 28 Mar 2008) | 1 line


Tiny addition moving towards an async_load function.

........

r43933 | drrngrvy | 2008-03-29 18:31:19 +0000 (Sat, 29 Mar 2008) | 1 line


Better docs.

........

r43934 | drrngrvy | 2008-03-29 18:35:24 +0000 (Sat, 29 Mar 2008) | 1 line


Added documentation to the examples.

........

r43935 | drrngrvy | 2008-03-29 18:36:55 +0000 (Sat, 29 Mar 2008) | 1 line


Modify project-root.jam to allow user to set htdocs directory (for amortization example files).

........

r43973 | drrngrvy | 2008-03-31 21:02:15 +0100 (Mon, 31 Mar 2008) | 1 line


Fixing cookie game example.

........

r43974 | drrngrvy | 2008-03-31 21:06:39 +0100 (Mon, 31 Mar 2008) | 1 line


Modifying jamfiles to make compiling examples easier.

........

r43975 | drrngrvy | 2008-03-31 21:08:24 +0100 (Mon, 31 Mar 2008) | 1 line


Modified CGI stuff to not use std::cout/cin/cerr, removing the dependence on <iostream> and reducing binary size a fair bit (seemingly making things faster too).

........

r43977 | drrngrvy | 2008-04-01 04:23:32 +0100 (Tue, 01 Apr 2008) | 1 line


basic_request<>::boundary_marker() is gone now.

........

r43978 | drrngrvy | 2008-04-01 04:24:30 +0100 (Tue, 01 Apr 2008) | 1 line


Cosmetic updates.

........

r43979 | drrngrvy | 2008-04-01 04:29:41 +0100 (Tue, 01 Apr 2008) | 7 lines


  • Moved multipart/form-data parsing into separate form_parser class. It's only a crude start, but it works as well as before (maybe very slightly better).


  • Emptied request_ostream.hpp (should be gone soon).


  • Fixed connections/stdio.hpp - the last updates didn't actually use it properly so the problems with it didn't show up... Should work fine now, slightly better than when using std::cin functions.

........

r44571 | drrngrvy | 2008-04-19 14:05:37 +0100 (Sat, 19 Apr 2008) | 1 line


Factoring form_parser body into an ipp file.

........

r44573 | drrngrvy | 2008-04-19 14:23:03 +0100 (Sat, 19 Apr 2008) | 9 lines


  • Added case-insensitive name type (typedef for std::basic_string<> using a custom traits class).
  • Modified cgi::map to use cgi::name as key.
  • Also modified files to include common/map.hpp instead of map.hpp.
  • Changed code because a std::string isn't automatically convertible to cgi::name
  • Fixed it so multiple cookies are parsed correctly.
  • Plus, other smallish fixes (cleanup / updating Boost.Thread compatibility).

........

r44574 | drrngrvy | 2008-04-19 14:25:08 +0100 (Sat, 19 Apr 2008) | 1 line


Small fixes to examples.

........

r44576 | drrngrvy | 2008-04-19 14:32:06 +0100 (Sat, 19 Apr 2008) | 1 line


Add a test which uses wget to check the output of the *cgi_hello_world examples through a server. It's not used by default, but has the BBv2 id of wget_test.

........

r44577 | drrngrvy | 2008-04-19 14:34:48 +0100 (Sat, 19 Apr 2008) | 1 line


Added basic tests for cgi::name and cgi::map and another for a cgi::request.

........

r44578 | drrngrvy | 2008-04-19 14:40:56 +0100 (Sat, 19 Apr 2008) | 1 line


Added simple test for acgi::request.

........

r44879 | drrngrvy | 2008-04-29 13:22:22 +0100 (Tue, 29 Apr 2008) | 1 line


Fix ichar_traits<>::compare(). Minor optimisations to ichar_traits<>::find() and save_environment().

........

r44880 | drrngrvy | 2008-04-29 13:23:50 +0100 (Tue, 29 Apr 2008) | 1 line


Extracting out cgi/acgi test commonality. Checking name(bar) < name(foo) in name_test too.

........

r44898 | drrngrvy | 2008-04-29 22:08:35 +0100 (Tue, 29 Apr 2008) | 5 lines


  • Added basic_request<>::id() member function.
  • Changed basic_request<>::operator[] so that it decides at compile-time rather than runtime what data map is being accessed.
  • Added additional typedefs env_map, get_map, post_map, cookie_map, form_map corresponding to the dataset they obviously refer to - for now they are just typedefs to cgi::common::map, but eventually they may change - only to make code safer (eg. protect the user against XSS vulnerabilities).

........

r44899 | drrngrvy | 2008-04-29 23:24:00 +0100 (Tue, 29 Apr 2008) | 1 line


Moved a couple of common bits from cgi_service_impl_base and fcgi_request_service into common::request_base<>.

........

r44908 | drrngrvy | 2008-04-30 03:31:09 +0100 (Wed, 30 Apr 2008) | 1 line


Refactoring/housekeeping. Lots of common stuff has moved into common::request_base<> (this *isn't* the same as ::cgi::request_base - an old class that will be removed/replaced).

........

r44909 | drrngrvy | 2008-04-30 03:31:32 +0100 (Wed, 30 Apr 2008) | 1 line


Fix examples because of an interface change.

........

(No files)

Note: See TracChangeset for help on using the changeset viewer.