aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fixed bug in routine which deletes a single character within a string.tradke2005-11-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@224 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Correct some minor errors in comments.schnetter2005-05-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@219 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Clean up warning messagesschnetter2005-03-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@218 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Use CCTK_BYTE instead of CCTK_CHAR.schnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@217 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
* Fix pausing and single stepping, and have termination work fromgoodale2004-11-05
| | | | | | | pause mode. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@215 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Making it compile on machines with no crypt function again.goodale2004-06-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@212 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Include missing header file.schnetter2004-06-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@211 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
* See bug 1715swhite2004-06-01
| | | | | | | | Changed a couple of stray calls to 'exit' to CCTK_WARN( 0, ... ), rewrote code to avoid another. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@209 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Pursuant to bug 1715swhite2004-06-01
| | | | | | | Made to compile more cleanly with Intel 7 git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@208 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Untabified.goodale2004-05-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@207 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
* Made closer to the Cactus coding guidelines.goodale2004-05-11
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@204 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Changed calls for non-portable snprintf to calls to Util_snprintf.goodale2004-05-11
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@203 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Include standard header files to declare string and stdlib prototypesschnetter2004-05-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@201 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
* Fix expansion of __DATE__ and __TIME__ macros in termination message.goodale2004-05-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@199 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Change to using the terminate_next parameter when terminating the simulationgoodale2004-05-03
| | | | | | | | | rather than calling CCTK_Exit. Fixes CactusConnect/1616. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@198 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed duplicate variable declaration.tradke2004-04-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@197 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* don't know how this compiled with missing include...swhite2004-04-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@196 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
* Missed oneswhite2004-04-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@194 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
* stragglerswhite2004-04-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@188 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
* Improve formatting by removing superfluous blanks from web pages.schnetter2004-03-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@182 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Cast const void * to const pointers instead of non-const pointer.schnetter2004-01-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@180 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Eliminate "signed and unsigned type in conditional expression" warning.rideout2003-12-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@179 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Update prototypes.rideout2003-12-01
| | | | | | | Eliminate unused variable. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@178 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added more info to front page and fixed wrong compile date (was using theallen2003-07-05
| | | | | | | | | | | compile date just for that thorn). Fixes Cactus/1227 (except for adding start time but did not feel like adding more string functions for these, although they would be useful to have) git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@176 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Re-organised startup a bit. Now HTTP_Startup is a group.goodale2002-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HTTP_Startup has three things scheduled in it, in order: HTTP_StartServer which starts the web-server GROUP HTTP_SetupPages which can be used by anything which needs to know the location of the webserver before the webserver starts listening HTTP_FirstServ which listens for connections and may sit there if httpd::pause is true. The reason for this cahnge is that I need to advertise the location of the webserver, but then have Cactus sitting in pause mode, and the old logic didn't allow this. Hopefully by not chaning the name of HTTP_Startup no existing code should be affected. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@175 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Removed unused static variable 'http_actualport'.tradke2002-07-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@174 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed a debug message.tradke2002-07-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@173 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
* Moved some functionality over into thorn Socket. Now that HTTPD inherits fromtradke2002-05-14
| | | | | | | this thorn, you need to add it to your thornlist (in addition to HTTPD). git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@164 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Catch 'Connection reset by peer' return code from socket calls.tradke2002-04-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@162 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Check for a shell variable HTTPD_PORT. If this is set take its value as thetradke2002-03-19
| | | | | | | | port number to use for HTTPD and ignore the setting of 'httpd::port'. This closes PR CactusConnect/930. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@159 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Print a warning if 'httpd::use_pthreads' is set to "yes" but Cactus wasn'ttradke2002-03-19
| | | | | | | | configured with PTHREADS. This closes PR CactusConnect/899. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@158 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Print HTTP connect messages only if 'HTTPD::verbose' is set to "yes".tradke2002-03-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@157 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* ifdef DEBUG for printf statementlanfer2002-01-31
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@154 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fix error in code.jshalf2002-01-30
| | | | | | | SP2 doesn't like 'extern'. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@153 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Minor mods to announce selected http port number whenjshalf2002-01-30
| | | | | | | hunting is on. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@152 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Need to include <winsock2.h> now.tradke2002-01-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@150 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Replaced sleep(3) by select(2) to make it compile under windoofs.tradke2002-01-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@149 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Take out debug statement.tradke2002-01-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@148 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed debug statement.tradke2002-01-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@147 1faa4e14-9dd3-4be0-9f0e-ffe519881164