summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
...
* Add code for BackupStoreRefCountDatabase.Chris Wilson2009-06-27
| | | | | | | Create a refcount database when creating a new account. Add an easier way to get the account root directory.
* Second part of FileExists change.Chris Wilson2009-06-27
|
* Make FileExists take a std::string instead of a const char * for C++ Chris Wilson2009-06-27
| | | | | style.
* Add a new exception type for refcount database errors.Chris Wilson2009-06-27
|
* Make BackupStoreAccountDatabase::AddEntry and Chris Wilson2009-06-27
| | | | | BackupStoreAccountDatabase::GetEntry return a copy of the new entry.
* Improve RaidFileWrite error logging.Chris Wilson2009-06-27
|
* Log the file name that could not be opened, even for access denied errors.Chris Wilson2009-05-22
|
* Improve debugging when opening temp file fails, by calling theChris Wilson2009-05-22
| | | | | filename constructor of FileStream.
* Fix test failure due to operator precedence problem with recentlyChris Wilson2009-04-27
| | | | | checked in system exit code comparison.
* Move definition of INVALID_HANDLE_VALUE and tOSFileHandle toChris Wilson2009-04-26
| | | | | BoxPlatform.h, to make them available in other files.
* Provide a function to close a file handle on Windows, analogous toChris Wilson2009-04-26
| | | | | openfile().
* Show expected and actual return codes from shell commands in tests.Chris Wilson2009-04-26
|
* Fixes for gcc 4.4.Martin Ebourne2009-04-23
|
* Fixes for gcc 4.4.Martin Ebourne2009-04-23
|
* Move S3Simulator into its own class, like S3Client, for reuse elsewhere.Chris Wilson2009-04-13
|
* Log unexpected test results using logging framework rather than printf.Chris Wilson2009-04-13
|
* Include missing Utils.h header, needed for FileExists().Chris Wilson2009-04-09
|
* Change default location for config files from /etc/box to Chris Wilson2009-04-09
| | | | | /etc/boxbackup, thanks to Reinhard Tartler and the Debian Project.
* Show reasons for waiting during bbackupd and backupstorepatch tests,Chris Wilson2009-04-09
| | | | | | | | | | | to help with interpreting test output. When running at Trace level, where extra output from bbackupd etc. is common, log a single line at the start of waiting, instead of progress dots, to help with interpreting output. Show number of seconds waited for on Windows as well as Unixes.
* gcc 4.3 and 4.4 compile fixes, thanks to Reinhard Tartler and the DebianChris Wilson2009-04-03
| | | | | | | | project. See also: http://patch-tracking.debian.net/package/boxbackup/0.11~rc2+r2072-1 http://lists.warhead.org.uk/pipermail/boxbackup/2009-April/005159.html
* Fix missing LOG_* defines on Windows.Chris Wilson2009-04-02
|
* Add date to file logger, as requested by Kenny Millington.Chris Wilson2009-03-29
|
* Change type of BackupStoreFilename not to derive from std::string, soChris Wilson2009-03-29
| | | | | | | | it can't accidentally be used as one. Fix use of encrypted filename in deleted file message, thanks to Kenny Millington for reporting.
* Hopefully fix compile error reported by Mirko on cross-compiler.Chris Wilson2009-03-29
|
* Add ability to specify a named log facility for syslog loggins, Chris Wilson2009-03-24
| | | | | requested by Kenny Millington.
* Switch to C++ include file names.Chris Wilson2009-03-24
|
* Include emu.h on all platforms to support EMU_*_STAT.Chris Wilson2009-03-21
|
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.
* Fix type of string position variable to avoid failure (and warning) onChris Wilson2009-03-16
| | | | | platforms where size_t is signed, e.g. FreeBSD.
* Fix crash when freebsd (maybe *bsd) returns ECONNRESET on close(), whichChris Wilson2009-03-15
| | | | | | | | presumably means that the socket is already closed, causing bbackupd test to fail. Thanks to Victor Meirans for reporting the problem. See http://wiki.powerdns.com/cgi-bin/trac.fcgi/changeset/1280 and http://wiki.powerdns.com/cgi-bin/trac.fcgi/ticket/192 for example.
* Move S3Client class into its own files for public access.Chris Wilson2009-01-09
|
* Reset to remove old content in HTTPResponse in assignment operator.Chris Wilson2009-01-09
|
* Allow copying an HTTPResponse so that it can be returned by S3Client Chris Wilson2009-01-07
| | | | | methods.
* Add Amazon S3 signature checking to simulator.Chris Wilson2009-01-06
|
* Create HTTP responses with the stream that they will be sent to, for 100 Chris Wilson2009-01-05
| | | | | Continue support.
* Remove definitions of unwanted copy constructor and assignment operator, Chris Wilson2009-01-05
| | | | | to avoid accidentally calling them.
* Don't read the whole uploaded body in HTTPRequest::Receive, as the Chris Wilson2009-01-05
| | | | | | | | | | | | | | | | | client may be expecting a 100 Continue header (or other response) before sending it, and only the HTTPServer should send that for us. Keep track of the stream that we're reading from, in case there's a body to read later. Simplify parsing of HTTP method, and add support for PUT requests. Add support for parsing Expect headers and storing and retrieving any unrecognised headers. Add support for sending a streaming upload from an IOStream with an HTTP request as the body (e.g. for PUT requests).
* New exception code for sending an HTTP response when it was not created Chris Wilson2009-01-05
| | | | | with a stream to send to.
* Add support for sending an HTTP/1.0 100 Continue response during Chris Wilson2009-01-05
| | | | | | processing of a request by HTTPServer, by keeping a pointer to the socket object.
* 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.
* 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
|