summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Allow adding headers to an HTTPRequest.Chris Wilson2009-01-04
| | | | | | | | Allow getting response headers out of HTTPResponse. Rename HTTPRequest Read and Write methods to Send and Receive, to avoid confusion with IOStream.
* Move IOStream::Write(char *) out of line for debugging.Chris Wilson2009-01-04
|
* Move stream comparison code out of BackupQueries::Compare to Chris Wilson2009-01-04
| | | | | FileStream class.
* Add HTTP status code 400, method not allowed.Chris Wilson2009-01-04
| | | | | | Fix calculation of remaining content size when some bytes were buffered by the IOStreamGetLine.
* Compare API for notification on starting to compare a file or directory.Chris Wilson2009-01-03
|
* Change socket type from int to Socket::Type enum.Chris Wilson2009-01-03
|
* Add ability to send an HTTPRequest to a socket and to parse an Chris Wilson2009-01-03
| | | | | HTTPResponse from a socket, to create a simple HTTP client.
* Move TEST_EQUAL macro into lib/common/Test.h, rename to TEST_EQUAL_LINE, Chris Wilson2009-01-03
| | | | | provide TEST_EQUAL that only takes two arguments for simplicity.
* Add a method to write a C style string directly to an IOStream.Chris Wilson2009-01-03
|
* Reset read and write closed state of a socket after Open() and Attach().Chris Wilson2009-01-03
|
* Change use of int to identify a socket type to the proper enum.Chris Wilson2009-01-03
|
* Compile and config verify fixes for HTTP server code.Chris Wilson2009-01-03
|
* Dependencies for HTTP server.Chris Wilson2009-01-03
|
* Copy tests for HTTP server.Chris Wilson2009-01-03
|
* Copy HTTP server into Box, for use with S3 testing.Chris Wilson2009-01-03
|
* Compare interface tweaks to reduce the number of methods.Chris Wilson2008-12-31
|
* Separate out compare parameters and notification from Chris Wilson2008-12-30
| | | | | BackupQueries::CompareParams to allow Boxi to reuse this code.
* Add a function to return a native error message as a string.Chris Wilson2008-12-30
|
* Change ConvertTo/FromUtf8 to take a std::string instead of a const char Chris Wilson2008-12-30
| | | | | *, for convenience and C++ style.
* Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as Chris Wilson2008-12-30
| | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
* Separate out daemon control interfaces into BackupDaemonInterface, for Chris Wilson2008-12-30
| | | | | | use by Boxi without dragging the implementation details into lots of headers.
* Make BackupDaemon::TouchFileInWorkingDir accessible for Boxi.Chris Wilson2008-12-27
|
* Reformat comment.Chris Wilson2008-12-27
|
* Allow reinitialising the RaidFileController by removing any existing Chris Wilson2008-12-26
| | | | | disc sets before adding new ones.
* Make clean in docs directory should delete built docs.Chris Wilson2008-12-26
|
* Fix process kill function, fixes [2402] [2404].Chris Wilson2008-12-16
| | | | | | Delete stale PID files after killing processes on Windows, as that fine OS doesn't give them a chance to clean up for themselves.
* Check for DocBook stylesheet on CentOS/RHELJames O'Gorman2008-12-10
|
* Include <string> header in all exception classes, as it's required byChris Wilson2008-12-08
| | | | | exceptions that can have a message assigned in their constructors.
* Only use replacement BSD getopt on Windows.Chris Wilson2008-12-08
|
* * Look for DocBook stylesheet under /opt/local (Darwin/Macports)James O'Gorman2008-12-06
| | | | | | * Make each man page depend on bb-man.xsl so that it is regenerated if necessary
* More backslashes, I said, MORE BACKSLASHES!Chris Wilson2008-12-06
|
* Fix missing curly brace.Chris Wilson2008-12-05
|
* Simplify code for killing old fart processes on Windows/CygwinChris Wilson2008-12-05
| | | | | | and make it actually work at the end of the test. man kill for why we use /bin/kill instead of just kill on cygwin.
* Catch exceptions from BackupClientFileAttributes::ReadAttributesChris Wilson2008-12-05
| | | | | | | | | | | | | | | | | during backup, and report which file caused them. If we cannot read the attributes of a directory to find its inode number, assume that it hasn't been renamed. Reformat "Storing uploaded file ID" log line to shorten source code lines. Change "Storing uploaded file ID" and "Found conflicting parent ID" messages not to print the path, which duplicates data earlier in the same message. Fix typo in comment.
* Add BOX_LOG_NATIVE_ERROR and BOX_LOG_NATIVE_WARNING macros, which callChris Wilson2008-12-05
| | | | | | | | | BOX_LOG_SYS_* or BOX_LOG_WIN_* depending on platform, as this is a common reason for #ifdefs elsewhere in the code. Add BOX_LOG_SOCKET_ERROR macro to log socket errors with the type, name and port of the socket that suffered the error.
* Allow exceptions to contain a message string.Chris Wilson2008-12-05
|
* Reformat ASSERT macro for readability.Chris Wilson2008-12-05
| | | | | | | | Reformat THROW_EXCEPTION macro to avoid overlong lines. Add THROW_EXCEPTION_MESSAGE macro to allow throwing an exception with a message, such as the file name that caused the exception.
* Grammar fix in SSL error message when SSL library initialisation fails.Chris Wilson2008-12-05
|
* Reduce severity of some log messages about notifying systemChris Wilson2008-12-01
| | | | | administrator. It's not an error to have no NotifyScript.
* Fix the use of an unreasonably short type as the temporary storageChris Wilson2008-12-01
| | | | | | | | for inode numbers on Windows, resulting in all inode numbers being coerced into 2^16 space and many duplicates on systems with large numbers of files being backed up, possibly resulting in store corruption due to unwanted file rename operations.
* Fix missing parentheses on stored file ID messages.Chris Wilson2008-12-01
|
* Add support for using the logging framework to log (most) bbackupqueryChris Wilson2008-11-30
| | | | | output to a file, with its own verbosity level.
* Fix support for O_APPEND on files opened with openfile() on Windows.Chris Wilson2008-11-30
|
* Compile fix and log the error number recorded by winerrno, notChris Wilson2008-11-30
| | | | | the "last" error, whatever that was.
* Log the Windows error code if openfile() fails on Windows, asChris Wilson2008-11-30
| | | | | | the default strerror() seems borked and reports EBUSY (file in use) as"Resource device".
* openfile() stores its Windows error code (from GetLastError() orChris Wilson2008-11-30
| | | | | synthetic) in winerrno, to enable better error handling outside.
* Cygwin/MinGW getopt no longer seems to have optreset, so now would beChris Wilson2008-11-30
| | | | | the time to start using that implementation we stole from BSD.
* Fix docs Makefile on non-BSD systems.James O'Gorman2008-11-24
|
* Fix permissions on restored files after test, so that test buildChris Wilson2008-11-24
| | | | | system stops complaining that it can't delete them.
* Hook the man pages into the build/install system. Man pages are now included ↵James O'Gorman2008-11-23
| | | | in the client and server parcels and installed to $prefix/man.