aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
* #ifdefing out a debugging statement.goodale2000-09-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@60 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Make sure the user is authorised to control the simulation, not just togoodale2000-09-20
| | | | | | | | | get to the control page 8-) Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@59 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Check that there is something in the parsed expression before trying togoodale2000-09-20
| | | | | | | | | evaluate it. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@58 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added parameters and control logic for run until iteration or simulation timegoodale2000-09-20
| | | | | | | | | | | or expression. Added parameter and logic for single stepping. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@57 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Adding missing ; .goodale2000-09-20
| | | | | | | | | Slight reordering. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@56 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Protected #include of unistd.h.goodale2000-09-20
| | | | | | | | | Sending a local variable for type into GetParameterValue/. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@55 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added precedence for operations - can now cope with nasty expressions.goodale2000-09-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@54 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Oops. Forgot to commit these mods last night. Basically allowing a datagoodale2000-09-20
| | | | | | | | | pointer to be sent to the evaluator. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@53 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
* Various bugfixes.goodale2000-09-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@50 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Bug fixes to CookCancel.goodale2000-09-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@49 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Null terminate user string even if no user authentication.goodale2000-09-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@48 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Changed the auth calls to the new semantics.goodale2000-09-18
| | | | | | | | | Now a cookie gets created to track the authenticated username. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@47 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
* Added an extra two arguments to the authentication so it returnsgoodale2000-09-18
| | | | | | | | | the username of the person who authenticated (optionally). Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@45 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Getting rid of stupid const qualifier.goodale2000-09-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@44 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Changing exit to CCTK_Abort.goodale2000-09-18
| | | | | | | | | Getting rid of a stupid const qualifier. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@43 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Changes necessary for NT.goodale2000-09-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@42 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Using recv and send to read from and write to sockets.goodale2000-09-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@41 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* All reading from socket is now done with HTTP_Read. HTTP_Read and HTTP_Writegoodale2000-09-18
| | | | | | | | | now both live in Sockets.c. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@40 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added a function for sending data from an open file descriptor downgoodale2000-09-17
| | | | | | | | | the socket. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@39 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Don't put infinite timeout on startup unless paused.goodale2000-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@38 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added socket reuse if the appropriate things are defined.goodale2000-09-17
| | | | | | | | | Use CCTK_Abort rather than exit. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@37 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added available options links to main page.goodale2000-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@36 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added authentification for setting parameters and a control page.goodale2000-09-17
| | | | | | | | | | | | | | | | | | | | | Unless one has previously authenticated by going to /control.html all paramters are read only. The default username and password are both "anon". I also added a hack so these don't get displayed on the web page - this should go away when we have parameter tags. Added http_Content.h which currently contains a function for registering a link to be displayed elsewhere. It takes the URL, the link name, a longer description line, and a flag. Currently the flag should be set to HTTP_QUICKLINK to get things displayed on the quicklinks on some pages. Still need to add a function which will allow other thorns access to this data. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@35 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Bug fix - forgot to change function when changed data structure it works on.goodale2000-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@34 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Removed 'standalone' parameter as it was redundant - can now start thegoodale2000-09-17
| | | | | | | | | simulation paused. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@33 1faa4e14-9dd3-4be0-9f0e-ffe519881164