summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* We need rm -f to remove read-only files from .svn directory copies in testfiles.Chris Wilson2012-11-15
|
* Don't use getpeername(), sys/socket.h or sys/un.h on platforms that don'tChris Wilson2012-11-14
| | | | | include them, to fix compile on Windows.
* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB when searching for SSLChris Wilson2012-11-14
| | | | | libraries, to avoid adding duplicate libraries to LIBS.
* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB to search for EVP_CipherInit_ex,Chris Wilson2012-11-14
| | | | | | | | | | | | as it should already be in LIBS by this point and we don't really want to add a duplicate if we don't need it. http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Libraries.html also recommends the use of AC_SEARCH_LIBS instead. Check whether we have getpeername() and sys/un.h to fix compile errors on Windows with /dev/log fd leak test.
* Request linker to statically link libz.a, since the default now appears toChris Wilson2012-11-14
| | | | | | | | | be dynamic linking, and that stops the tests from working since they can't find zlib-1.dll in the PATH. Remove redundant LIBS that should already be detected and used by the m4 configury.
* Don't flag an error if the only sockets "leaked" are syslog sockets.Chris Wilson2012-11-08
|
* Link to HousekeepStoreAccount.o in the right directory since the big refactor.Chris Wilson2012-11-08
|
* Check for /dev/log and don't report if fds to it are leaked.Chris Wilson2012-11-08
|
* Ensure that newly created accounts are enabled by default.Chris Wilson2012-11-08
|
* Fix compile failure due to removal of fields from BackupClientContext.Chris Wilson2012-11-08
|
* Fix additional space before [FILENAME NOT ENCRYPTED] causing test failures.Chris Wilson2012-11-08
|
* Fix missing #include for MemBlockStream.hChris Wilson2012-11-08
|
* Test that BackupStoreInfo::CreateForRegeneration saves AccountEnabledChris Wilson2012-11-08
| | | | | flag and ExtraData.
* Make CreateForRegeneration save the AccountEnabled flag and any extra dataChris Wilson2012-11-08
| | | | | copied from the original info file.
* Allow constructing an empty MemBlockStream, as it's useful for tests.Chris Wilson2012-11-08
|
* Remove commented-out method copied from BackupStoreInfo and not used.Chris Wilson2012-11-07
|
* Replace magic number 1000 with MILLI_SEC_IN_SEC when initialising timers.Chris Wilson2012-11-07
| | | | | Add the start of ExperimentalSnapshotMode support.
* Fix incorrect logging of timer assignment, and format expiry time as a human ↵Chris Wilson2012-11-07
| | | | time.
* Refactor and improve timer trace logging, fix subsecond formatting error.Chris Wilson2012-11-07
|
* BOX_FORMAT_MICROSECONDS doesn't make sense unless the digits to the rightChris Wilson2012-11-07
| | | | | of the decimal point are padded properly.
* Log the number of nanoseconds left to sleep, otherwise the log messagesChris Wilson2012-11-07
| | | | | don't make sense.
* Timer arguments are in milliseconds, not seconds.Chris Wilson2012-11-06
|
* Convert FORMAT_MICROSECONDS into a global utility macro.Chris Wilson2012-11-06
|
* Test that the BackupStoreInfo AccountEnabled flag works properly, and isChris Wilson2012-10-22
| | | | | | | | | loaded and saved properly, and the "bbstoreaccounts enabled" command works. Test that the conversion of historic BackupStoreInfo v1 format files works properly.
* Refuse login to disabled accounts.Chris Wilson2012-10-22
|
* Refactor bbstoreaccounts code to reduce duplication.Chris Wilson2012-10-22
| | | | | | Add a bbstoreaccounts command to change the value of the AccountEnabled flag, and print its value in "bbstoreaccounts info" output.
* Keep and resave any extra data present at the end of a BackupStoreInfoChris Wilson2012-10-22
| | | | | | | | | version 2 (Archive) file, for forwards compatibility with future extensions to the file format. Add a flag for whether an account in enabled or not in the new v2 file format, and if it's not present, default to true.
* Add helper methods to get read-only access to the buffer, and its size,Chris Wilson2012-10-22
| | | | | wrapped by a MemBlockStream.
* Add a comment in header to indicate that StreamableMemBlock does not Chris Wilson2012-10-22
| | | | | | read/write raw memory blocks, but blocks with a header indicating their size, which is not always what we want.
* Add helper method to read a value that might not be present in an ArchiveChris Wilson2012-10-22
| | | | | (end of Archive) to avoid duplicating this code many times.
* Wrap line for readability.Chris Wilson2012-10-22
|
* Log the number of the disc set that didn't exist, and the number actually ↵Chris Wilson2012-10-22
| | | | configured.
* Update MSVC 2010 project to match recent changes to file locations.Chris Wilson2012-07-20
|
* Fix compile error on MSVC due to attempt to convert a std::list::iteratorChris Wilson2012-07-20
| | | | | to a std::vector::iterator.
* Throw an exception if we fail to open inode database, even in release builds.Chris Wilson2012-06-29
|
* Allow UnixUser to be created with a std::string for C++ style.Chris Wilson2012-06-29
|
* Add housekeep command to bbstoreaccounts to run housekeeping right now.Chris Wilson2012-06-29
|
* Fix double fault causing housekeeping to terminate, thanks to Dave Bamford.Chris Wilson2012-06-11
|
* Fix typo.Chris Wilson2012-06-07
|
* bbackupquery readline improvements, thanks to Paolo Tosco:Chris Wilson2012-05-26
| | | | | | | | | | | Automatically quote filenames including spaces on the readline input. Ignore empty commands, don't generate a parse error message. Close cleanly and quietly when EOF is input (Ctrl+D). Simplify interactive mode code in bbackupquery.
* Fix BuildPlatform.pm for Mac OS X 10.7+ and Xcode >= 4.James O'Gorman2012-05-24
| | | | | Xcode 4 no longer includes bsdmake so only try to use this if xcodebuild -version is less than 4.
* Revert r3106 as it causes compile failures not seen locally.Chris Wilson2012-05-04
|
* Tag housekeeping logging with the account number and name.Chris Wilson2012-05-03
|
* Use the correct default config file for bbstored, thanks Pete!Chris Wilson2012-05-03
|
* Move private variables out of hidden namespace to help debugging.Chris Wilson2012-04-28
|
* Fix bug that caused sending a ZeroStream to end early, breaking protocol.Chris Wilson2012-04-28
|
* Make BackupStoreDaemon::RunHousekeepingIfNeeded public to allow tests to ↵Chris Wilson2012-04-28
| | | | call it.
* Change BackupQueries List() to use C++ streams for output.Chris Wilson2012-04-28
|
* Allow BackupDaemon user to reset state for testing.Chris Wilson2012-04-28
|
* Allow hiding specific exceptions to keep test output cleaner.Chris Wilson2012-04-28
|