aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.defn
Commit message (Collapse)AuthorAge
* use C++ map instead of Cactus hash to store page contentsrhaas2012-07-08
| | | | | | | this is because the hash size can get out of hand (GBs) git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@251 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Regarding Cactus bug report 1632 "HTTPD contains buffer overflows"swhite2004-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Got rid of most strcat/sprintf into automatic array, replaced with a String module that allocates dynamic memory on the heap. 2) Went a long way toward initializing all variables. 3) Tested: Ran two copies with same parfile except different port, one with my changes, one with original. Went through different kinds of pages by hand, checked by eye. 4) Tried to make HTML XHTML 1.0-compliant. Checked with Amaya. One problem: How to deal with raw less-than characters, etc. Made a function to convert them to HTML Character Entities, but isn't clear this will work properly in the forms. So I left these symbols in the forms. 5) Also checked with more primitive browsers, lynx and dillo. 6) Marked a few instances of questionable code with 'SW' To do ----- Document a few new functions, esp. in Content.c git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@187 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Remove -D_LIBC as this tells header files they are internal to LIBC whichallen2002-05-20
| | | | | | | | | | is generally a bad thing and stops compilation with the latest headers from glibc. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@167 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Moving John's redirection stuff into a file of its own as it is a logicallygoodale2001-05-18
| | | | | | | | | | | | | | independent system. All files except Startup.c and make.code.defn should be pretty much back at their beta10 state if you're trying to track this change back in time. Redirect stuff is now in Redirect.c and http_Redirect.h. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@129 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added -D_LIBC to the CFLAGS to avoid warnings when compiling base64.c.tradke2001-04-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@119 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* New headers for all pages.allen2000-09-28
| | | | | | | | Added new Thorns pages, for now these just have the parameters, but there will be an easy way for thorns to add their own stuff git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@89 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Made a separate file for Parameters.allen2000-09-21
| | | | | | | | | | | | | Added an "On-Line" section at the bottom of the Menu (below any added in stuff from pages) which goes to the Cactus Homepage, the User Guide, and the Help Desk Added a little gif, not sure if I've improved the footer or not with that. G. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@79 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Moved headers to a separate file, they are now callable by a function.allen2000-09-19
| | | | | | | | | Added page about groups and variables Added parameter file name, current time and date git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@52 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Adding a primitive expression parser. It will parse simplegoodale2000-09-19
| | | | | | | | | | | | | | | | expressions such as a + b/(c+(d+f)) correctly, but mucks up things like a+ b/c/d as it doesn't look too hard for places to put brackets in. A fully parenthesised expression should be fine. It also doesn't have good error checking. All thing improve with time... (well most, anyway 8-) Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@51 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Cookies.goodale2000-09-18
| | | | | | | | | | These can be used to track the state of a users session, e.g. refresh data, watched vars, preferences, ... Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@46 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Made parallel aware.goodale2000-09-15
| | | | | | | | | | | Added stuff for parameter steering. See doc/Steering.txt. Added stuff for HTTP Basic authentication. See doc/Auth.txt. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@9 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Initial version of C http thorn. There are still a fair number of things ongoodale2000-09-14
my to-do list, but it is fairly usable now as far as functionality is concerned. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@2 1faa4e14-9dd3-4be0-9f0e-ffe519881164