summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
...
* | Merge branch 'appveyor' of github.com:boxbackup/boxbackup into appveyorChris Wilson2015-12-12
|\ \ | | | | | | | | | Some local commits were not pushed before, sorry.
| * | Define TEST_EXECUTABLE to allow it to have different names on MSVC/CMake.Chris Wilson2015-12-12
| | |
| * | Add a getpid() emulation for test/bbackupd on MSVCChris Wilson2015-12-12
| |/
* | Merge branch 'appveyor' of github.com:boxbackup/boxbackup into appveyorChris Wilson2015-12-10
|\|
| * Fix another use of a non-standard BSD variable.Chris Wilson2015-12-09
| |
| * Merge Arnaud Grandville's Windows fixes.Chris Wilson2015-12-09
| |\ | | | | | | | | | Merge branch 'master' of https://github.com/agrandville/boxbackup into appveyor
| | * add specific define to allow the use of std::min and sd::max from windowsAG2015-10-26
| | |
| | * min & max are not from std namespaceAG2015-10-26
| | | | | | | | | | | | | | | | | | u_int8_t is unsigned char strings.h file is missing errors generated by deprecated functions are now hidden (C4996 warning)
| | * Merge branch 'master' into fix_arm_struct_packingChris Wilson2015-09-21
| | |\
| | | * Merge branch 'master' into fix_exception_message_corruptionChris Wilson2015-09-21
| | | |\
| | | * | Really fix makeexception.pl.in this timeChris Wilson2015-09-02
| | | | |
| | | * | Fix exception message corruption.Chris Wilson2015-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | Using the c_str() of a std::string after the string has been freed is unsafe and can lead to corrupted error messages in tests, or worse.
| | * | | Merge branch 'master' into fix_arm_struct_packingChris Wilson2015-09-21
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Remove all timing dependency from test_ssl_keepalives().Chris Wilson2015-09-20
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test has always been fragile, and usually fails on Travis for reasons unknown, so replace the log parsing and intercepts with simple mocking code. This doesn't cover 100% of what the old test did, including diff timer aborts and the number of blocks used by the uploaded files, but it should be completely robust.
| | * | Add a test for reading and writing BackupStoreDirectory binary data.Chris Wilson2015-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See discussion of incompatible struct packing on ARM processors: http://lists.boxbackup.org/pipermail/boxbackup/2010-November/005818.html http://lists.boxbackup.org/pipermail/boxbackup/2011-February/005978.html Thanks to Leif Linderstam for identifying the problem and proposing a solution. This is just a test for the problem, not a fix in itself.
| | * | Comments and whitespace fixesChris Wilson2015-09-19
| | | |
| | * | Add support for uint16 types to ArchiveChris Wilson2015-09-19
| | |/
| * | Remove #defines of POSIX functions deprecated by Microsoft.Chris Wilson2015-12-09
| | | | | | | | | | | | | | | | | | These defines are too wide-reaching in their effects on unrelated code. Add a replacement for strncasecmp.
| * | Remove unused headers not present on Windows. Add missing header.Chris Wilson2015-12-09
| | |
| * | Remove non-standard BSD u_int* types.Chris Wilson2015-12-08
| |/ | | | | | | | | | | | | MSVC doesn't like them, and they're not necessary now that we have stdint.h. Remove some compatibility typedefs from BoxPlatform.h and emu.h which are not needed any longer either.
* / Remove the duplicate copy constructor that MSVC warns about.Chris Wilson2015-12-02
|/
* Add logging to S3Client about connection reuseChris Wilson2015-08-29
|
* Set network timeout in S3Client.Chris Wilson2015-08-29
| | | | To give the S3Simulator a chance to respond.
* Improve exception messages in HTTPRequest as wellChris Wilson2015-08-29
|
* Fix warnings when compiling with MinGW64 headers.Chris Wilson2015-08-29
| | | | | | These headers define things that aren't defined by MinGW32 or MSVC, so make the definitions in emu.h conditional (feature detection).
* Disable HTTP keepalive for now because we don't support it properlyChris Wilson2015-08-29
|
* Increase S3Simulator HTTP timeout to aid debuggingChris Wilson2015-08-29
|
* Improve exception messages when reading an HTTPResponseChris Wilson2015-08-29
|
* Fix check for existing BackupStoreInfo file on S3 storesChris Wilson2015-08-29
|
* Whitespace, import order and comment fixesChris Wilson2015-08-29
|
* Allow verifying a BackupStoreFile without closing underlying streamChris Wilson2015-08-29
|
* Add missing header include.Chris Wilson2015-08-23
| | | | | Fixes compilation on Windows.
* Reset NamedLock file descriptor immediately after closing.Chris Wilson2015-08-15
| | | | | | Otherwise, if we fail to unlink the lockfile, we will try to close it again, which will fail because it's already closed, and we'll never get around to unlinking it.
* Whitespace, layout and comment cleanups.Chris Wilson2015-08-15
|
* Add configurable timeouts and HEAD request support to S3 client.Chris Wilson2015-08-15
| | | | Allow getting the Content-Length of an HTTPResponse object.
* Improve exception handling on backup store side.Chris Wilson2015-08-15
| | | | | | | | | | | | | | | | Add a new exception code to represent an object being completely missing (not found on the store at all), separate from not being found in a particular directory. Improve mapping of server-side exceptions to protocol error messages returned to the client. Add handling for missing exceptions, such as BackupStoreException::PatchChainInfoBadInDirectory, and the new BackupStoreException::ObjectDoesNotExist. Fix mapping for BackupStoreException::CouldNotFindEntryInDirectory to make it distinguistable from BackupStoreException::ObjectDoesNotExist.
* Fix memory leak tracking of calloc() allocationsChris Wilson2015-08-08
|
* Add a BackupStoreFile encoding streaming verifierChris Wilson2015-08-07
|
* Allow moving a CollectInBufferStream's contents to another oneChris Wilson2015-08-07
|
* Allow releasing a MemoryBlockGuardChris Wilson2015-08-07
|
* Whitespace cleanupChris Wilson2015-08-07
|
* Handle generic exceptions by returning an Error message with correct Type.Chris Wilson2015-08-06
|
* Improve error message when TEST_PROTOCOL_ERROR_OR() fails.Chris Wilson2015-08-06
| | | | | | The protocol command didn't succeed, it just returned a result with an unexpected type, so make the failure message reflect that and give details of the response actually received, to help with debugging.
* Fix return types for integer function to be integersChris Wilson2015-08-06
|
* Shorten minimum sleep while waiting for test daemons to dieChris Wilson2015-08-06
|
* Fix StartClient() to store new pid correctlyChris Wilson2015-08-06
|
* Compile fixChris Wilson2015-07-31
|
* Add S3Store account creation.Chris Wilson2015-07-31
|
* Fix ServerStream logging too many messages when waiting for a child to die.Chris Wilson2015-07-31
| | | | Detect that there are no remaining children to wait for, and return quietly.
* Fix S3Simulator daemon name, and hence memleaks filename.Chris Wilson2015-07-31
|