aboutsummaryrefslogtreecommitdiff
path: root/src/SString.h
Commit message (Collapse)AuthorAge
* Untabified.goodale2004-05-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@207 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Addresses Cactus bug 923swhite2004-04-19
| | | | | | | | | | | | | | | | | | | | | Made the download list to be organized by variable, then by data output type, then by slice. To facilitate list manipulation, added temporarily a list module 'PtrList', which perhaps may prove of more general use in the future. Pursuant to Cactus bug 907 Added parameter HTTPExtra::viewport_refresh_seconds to send Refresh header to web browser. Made ViewPort window to respond to viewport_refresh_seconds parameter General HTML improvements...checked with Amaya and lynx. Re-organized CSS info in HTTPD web pages. Got rid of httpuMimeType code which didn't do anything. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@195 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Addresses Cactus bug 907swhite2004-04-16
| | | | | | | | | | | | Added ability to send HTTP Refresh header: HTTP_Send_OK_Refresh_Header Added parameter HTTP::refresh_seconds Made main content window to respond to refresh parameter setting Also Minor improvements to String module Fixed variable decarations after executable code in a block. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@193 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Made HTTPD to correctly describe interface by INCLUDE HEADER mechanism.swhite2004-04-13
| | | | | | | | | | | | | | | | | | Changed internal names of http_Auth.h http_Cookies.h http_Steer.h http_Content.h so that HTTPD thorn developers will be required to use this interface, rather than incorrectly explicitly including the source header files. * Protected SString against C++ name mangling * Gave exported functions the HTTP_ prefix * Wrote doc/Content.h * Fixed bug that disabled some steering functionality git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@192 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* TRUE and FALSE are defined by some C librariesswhite2004-04-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@191 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed the thorn HTTPDExtra broken by commit of HTTPD changes.swhite2004-04-07
| | | | | | | | | | | | | | | | | | | Made HTTPDExtra to include headers from HTTPD using the proper Cactus include header mechanism (although it seems to still include files directly from other thorns). Did the same process as before with HTTPD, replacing strcpy and sprintf writes of data of unkown length into automatic buffers with calls to a String module. Altered the namespace mechanism for the String module, using header files rather than defining a preprocessor variable. Caveat: Although I turned it on and looked at the pages it produces, I have not tested this as extensively as HTTPD thorn. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@189 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