aboutsummaryrefslogtreecommitdiff
path: root/src/Parameters.c
Commit message (Collapse)AuthorAge
* Clean up warning messagesschnetter2005-03-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@218 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Add missing #include <stdio.h> statement.schnetter2004-12-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@216 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Concerning bug 1699:swhite2004-06-01
| | | | | | | | | Except for a few places where fprintf(stderr... is explicitly #ifdef'ed out as debug code, replaced calls with CCTK_WARN with appropriate warning levels. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@210 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Untabified. Please try to adhere to the Cactus coding guidelines whengoodale2004-05-17
| | | | | | | modifying or adding files. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@206 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Changed HTTPD function names in exported header files to be in betterswhite2004-05-05
| | | | | | | | | | | | | | conformance with Cactus standards: From To ---- -- HTTP_Send_OK_Header HTTP_SendOKHeader HTTP_Send_OK_Refresh_Header HTTP_SendOKRefreshHeader HTTP_Major_Version HTTP_MajorVersion HTTP_Minor_Version HTTP_MinorVersion HTTP_Arg_Name HTTP_ArgName git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@200 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
* 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
* Callback functions, which serve registered pages, take a 'const cGH *'tradke2002-01-04
| | | | | | | argument now. Also fixed a small memory leak in redirection code. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@145 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* gcc compiler warnings fixed.tradke2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@134 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@126 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* T3E compiler refuses to implicitly cast 'const <something> *' pointerstradke2001-04-22
| | | | | | | | to 'void *'. Putting both types into a union also fixes this nasty compiler warning about cast discarding 'const' from pointer target value. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@122 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed most of the compiler warnings.tradke2001-04-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@120 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixing a few warnings (lots left) and the FILE_VERSIONsallen2001-02-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@117 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed logicallen2000-12-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@105 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Display just the parameter filename instead of the whole pathallen2000-10-04
| | | | | | | Fixed a couple of small string bugs git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@92 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
* Fixing tableallen2000-09-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@85 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Dont display passwordallen2000-09-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@84 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Enhancements to the parameter pagesallen2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@80 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