Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Print the message that we failed to send to the syslog, to make some ↵ | Chris Wilson | 2015-12-14 |
| | | | | debugging possible | ||
* | Really fix file locking on Windows | Chris Wilson | 2015-12-14 |
| | |||
* | Merge branch 'appveyor' of github.com:boxbackup/boxbackup into appveyor | Chris Wilson | 2015-12-14 |
|\ | |||
| * | Fix Windows file locking to work with MSVC | Chris Wilson | 2015-12-14 |
| | | |||
| * | Add CTest configurations to CMake. Make some tests work on Windows/MSVC. | Chris Wilson | 2015-12-13 |
| | | |||
| * | Move reusable code out of bin directories. | Chris Wilson | 2015-12-13 |
| | | | | | | | | | | Allows tests to depend on lib/bbackupd instead of bin/bbackupd, which was always a hack, and really doesn't work with CMake. | ||
| * | Add some little string functions to Utils.cpp. | Chris Wilson | 2015-12-13 |
| | | | | | | | | | | | | | | These functions check whether the beginning and end of a std::string match a supplied prefix or suffix, and remove that prefix or suffix, returning the remaining part. They are almost but not entirely trivial, and giving them names makes the code that uses them much more readable. | ||
| * | Remove the duplicate copy constructor that MSVC warns about. | Chris Wilson | 2015-12-13 |
| | | |||
| * | Define TEST_EXECUTABLE to allow it to have different names on MSVC/CMake. | Chris Wilson | 2015-12-13 |
| | | |||
* | | Add some little string functions to Utils.cpp. | Chris Wilson | 2015-12-12 |
| | | | | | | | | | | | | | | These functions check whether the beginning and end of a std::string match a supplied prefix or suffix, and remove that prefix or suffix, returning the remaining part. They are almost but not entirely trivial, and giving them names makes the code that uses them much more readable. | ||
* | | Merge branch 'appveyor' of github.com:boxbackup/boxbackup into appveyor | Chris Wilson | 2015-12-12 |
|\ \ | | | | | | | | | | Some local commits were not pushed before, sorry. | ||
| * | | Define TEST_EXECUTABLE to allow it to have different names on MSVC/CMake. | Chris Wilson | 2015-12-12 |
| | | | |||
| * | | Add a getpid() emulation for test/bbackupd on MSVC | Chris Wilson | 2015-12-12 |
| |/ | |||
* | | Merge branch 'appveyor' of github.com:boxbackup/boxbackup into appveyor | Chris Wilson | 2015-12-10 |
|\| | |||
| * | Fix another use of a non-standard BSD variable. | Chris Wilson | 2015-12-09 |
| | | |||
| * | Merge Arnaud Grandville's Windows fixes. | Chris Wilson | 2015-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 windows | AG | 2015-10-26 |
| | | | |||
| | * | min & max are not from std namespace | AG | 2015-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_packing | Chris Wilson | 2015-09-21 |
| | |\ | |||
| | | * | Merge branch 'master' into fix_exception_message_corruption | Chris Wilson | 2015-09-21 |
| | | |\ | |||
| | | * | | Really fix makeexception.pl.in this time | Chris Wilson | 2015-09-02 |
| | | | | | |||
| | | * | | Fix exception message corruption. | Chris Wilson | 2015-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_packing | Chris Wilson | 2015-09-21 |
| | |\ \ \ | | | | |/ | | | |/| | |||
| | | * | | Remove all timing dependency from test_ssl_keepalives(). | Chris Wilson | 2015-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 Wilson | 2015-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 fixes | Chris Wilson | 2015-09-19 |
| | | | | |||
| | * | | Add support for uint16 types to Archive | Chris Wilson | 2015-09-19 |
| | |/ | |||
| * | | Remove #defines of POSIX functions deprecated by Microsoft. | Chris Wilson | 2015-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 Wilson | 2015-12-09 |
| | | | |||
| * | | Remove non-standard BSD u_int* types. | Chris Wilson | 2015-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 Wilson | 2015-12-02 |
|/ | |||
* | Add logging to S3Client about connection reuse | Chris Wilson | 2015-08-29 |
| | |||
* | Set network timeout in S3Client. | Chris Wilson | 2015-08-29 |
| | | | | To give the S3Simulator a chance to respond. | ||
* | Improve exception messages in HTTPRequest as well | Chris Wilson | 2015-08-29 |
| | |||
* | Fix warnings when compiling with MinGW64 headers. | Chris Wilson | 2015-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 properly | Chris Wilson | 2015-08-29 |
| | |||
* | Increase S3Simulator HTTP timeout to aid debugging | Chris Wilson | 2015-08-29 |
| | |||
* | Improve exception messages when reading an HTTPResponse | Chris Wilson | 2015-08-29 |
| | |||
* | Fix check for existing BackupStoreInfo file on S3 stores | Chris Wilson | 2015-08-29 |
| | |||
* | Whitespace, import order and comment fixes | Chris Wilson | 2015-08-29 |
| | |||
* | Allow verifying a BackupStoreFile without closing underlying stream | Chris Wilson | 2015-08-29 |
| | |||
* | Add missing header include. | Chris Wilson | 2015-08-23 |
| | | | | | Fixes compilation on Windows. | ||
* | Reset NamedLock file descriptor immediately after closing. | Chris Wilson | 2015-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 Wilson | 2015-08-15 |
| | |||
* | Add configurable timeouts and HEAD request support to S3 client. | Chris Wilson | 2015-08-15 |
| | | | | Allow getting the Content-Length of an HTTPResponse object. | ||
* | Improve exception handling on backup store side. | Chris Wilson | 2015-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() allocations | Chris Wilson | 2015-08-08 |
| | |||
* | Add a BackupStoreFile encoding streaming verifier | Chris Wilson | 2015-08-07 |
| | |||
* | Allow moving a CollectInBufferStream's contents to another one | Chris Wilson | 2015-08-07 |
| | |||
* | Allow releasing a MemoryBlockGuard | Chris Wilson | 2015-08-07 |
| |