aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Completing parameter range descriptions and fixing a couple of formatting bugsallen2000-12-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@110 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* More prototypes to reduce number of warnings.goodale2000-12-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@109 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Removing C++ comment.goodale2000-12-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@108 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Adding missing header file.goodale2000-12-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@107 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Missed changing an int to a SOCKET a while back.goodale2000-12-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@106 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
* Including crypt.h to get prototype for crypt function.goodale2000-11-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@104 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Send size of buffer bigendian buffer of eight bytes rather than an int sogoodale2000-11-13
| | | | | | | | | | avoid problems with MPI maybe/maybenot doing typeconversion when running between machines with different MPI_INT types. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@103 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Missing headers.goodale2000-11-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@102 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Encodes images into hexidecimal so they can bejshalf2000-11-02
| | | | | | | embeded into C/C++ code. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@101 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Checking for HAVE_SOCKET_TYPE rather than SOCKET to decide if need to definegoodale2000-10-31
| | | | | | | | | | | | | | | | | own SOCKET macro. This is because the NT compiler at NCSA does typedef uint SOCKET; whereas the compiler on my NT where I tested stuff does #define SOCKET uint; so I was previously just checking #ifdef SOCKET. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@100 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Using a signal handler to ignore SIGPIPE as not all architecturesgoodale2000-10-31
| | | | | | | | | support the MSG_NOSIGNAL flag to send and recv. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@99 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* CCTK_INT -> int for T3Esallen2000-10-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@98 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Making sure http thread has finished before shutting down socket.goodale2000-10-25
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@97 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Putting a mutex on the steering as there is a potential race condition heregoodale2000-10-25
| | | | | | | | | | if the http thread steers a parameter at the same time as the main thread dispatches the queue. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@96 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Experimental support for threading. Now if you configure withgoodale2000-10-25
| | | | | | | | | | | | | | | | | | | | PTHREADS=yes and put httpd::use_pthreads = "yes" in your parameter file, the polling routine will run in its own thread. Be careful if you have any http routines which modify data read by non-http routines, as you run into a potential conflict. It seems to work, 'though I should probably put a mutex on the steering stuff in case the queue gets dispatched at the same time as someone is adding to it... Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@95 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Use gethostbyname if necessary and available to get fully qualified name of thegoodale2000-10-20
| | | | | | | | | host. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@94 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added months, years and millenia to time to completion estimatesallen2000-10-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@93 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
* Added function HTTP_Port(void) to get the port the webserver is running on.goodale2000-10-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@91 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added screen output of how long the simulation has been running (I went up ↵allen2000-10-03
| | | | | | | | | to weeks, hope that is coarse enough) and estimates of the time per iteration and the time left till it completes. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@90 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
* Fixed broken linkallen2000-09-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@88 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Logic for printing port number to stdout wrong way roundallen2000-09-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@87 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Change to default headerallen2000-09-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@86 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
* New window for external linksallen2000-09-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@83 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Par file name and now managed to really get the right URL for the users guide.allen2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@82 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed link to users guide ... I guessed wrongallen2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@81 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
* Sorting out things noticed by switching loads of warnings on.goodale2000-09-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@78 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Report iteration and time as 0 if GH is NULL.goodale2000-09-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@77 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Bug fixes.goodale2000-09-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@76 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added hunting for a port if the specified port is in use - this can begoodale2000-09-21
| | | | | | | | | | | | | switched off by setting the parameter httpd::hunt to false. Added printing of URL to stdout. Fixed up error stuff in Sockets.c so it compiles under NT. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@75 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added an empty statement to a default to keep the NT compiler happy.goodale2000-09-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@74 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Stopping SIGPIPE on reads. Currently don't do any other error stuffgoodale2000-09-21
| | | | | | | | | on reads. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@73 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Reworked the socket layer a bit to detect errors when writing to a socket andgoodale2000-09-21
| | | | | | | | | | | take appropriate action. Now it marks the socket closed on most errors, waits till it can write if the buffer is full, or splits the message up if the message was too big for the socket. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@72 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added new default headerallen2000-09-21
| | | | | | | | HTTP_ContentHeader takes an additional string arguement to contribute something to the header git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@71 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Updated control page to allow single stepping and running until agoodale2000-09-20
| | | | | | | | | | condition is true. Also made some formatting fixes so works properly under lynx, and added some explanatory text. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@70 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Bug fixes for the until expression stuff.goodale2000-09-20
| | | | | | | | | | | | | | | Added numbers, iteration count and simulation time to items allowed in an expression - so can do iteration+40 < time*100 to stop the simulation when this condition becomes true, should you want to 8-) Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@69 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Bug fixes.goodale2000-09-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@68 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Slight html formatting fix.goodale2000-09-20
| | | | | | | To git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@67 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Changing the defaults for the run until parameters to something pleasant togoodale2000-09-20
| | | | | | | | | | look at - made the expression one a silly example to flesh out the explanation on the control page. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@66 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixing a memory lek and a formatting statement.goodale2000-09-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@65 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixing some formatting statements.goodale2000-09-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@64 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Changed name for main pageallen2000-09-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@63 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Reversiing commit about auth of controlling, as realised it wa already done.goodale2000-09-20
| | | | | | | | | | | My memory must be going ! Corrected URI in Location: header from run control setting page. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@62 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixing memory leak.goodale2000-09-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@61 1faa4e14-9dd3-4be0-9f0e-ffe519881164