summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Fix timer miscalculation on Windows.Chris Wilson2012-11-17
|
* Ensure that newly created accounts are enabled by default.Chris Wilson2012-11-08
|
* Fix missing #include for MemBlockStream.hChris Wilson2012-11-08
|
* 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.
* Convert FORMAT_MICROSECONDS into a global utility macro.Chris Wilson2012-11-06
|
* Refuse login to disabled accounts.Chris Wilson2012-10-22
|
* 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.
* 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
|
* Revert r3106 as it causes compile failures not seen locally.Chris Wilson2012-05-04
|
* 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
|
* Allow hiding specific exceptions to keep test output cleaner.Chris Wilson2012-04-28
|
* Defend against exceptions during logging, e.g. CipherException if filename ↵Chris Wilson2012-04-28
| | | | decrypt fails.
* Cosmetic improvements in comments.Chris Wilson2012-04-28
|
* Allow ciphers to identify themselves for debugging.Chris Wilson2012-04-28
|
* Log errors from OpenSSL and clear the error queue to avoid bad state.Chris Wilson2012-04-28
|
* Move LogError out of server/SSLLib so we can use it in Crypto.Chris Wilson2012-04-28
|
* Hopefully fix TcpNice setsockopt/struct tcp_info compile errors on Windows.Chris Wilson2012-03-16
|
* Initialise the EWMA rate average to 0, and comment on variables in log message.Chris Wilson2012-02-12
|
* Add experimental "TCP Nice" mode, disabled by default.Chris Wilson2012-02-12
|
* Force all options to be present to BackupClientRestore(), to fix Chris Wilson2012-02-02
| | | | | | | misinterpretation of char * arguments as bools. Use macros to simplify test code. Test that locations not present when bbackupd started will be detected and backed up if subsequently created.
* Make box_time_t signed so that we can subtract them without getting silly ↵Chris Wilson2012-02-02
| | | | answers.
* Store more details in protocol exceptions to help with debugging.Chris Wilson2012-02-02
|
* Allow overriding Logging::Guard to dump stack backtraces as well.Chris Wilson2012-01-23
|
* Log exceptions with backtrace even if suppressed when log level is ↵Chris Wilson2012-01-23
| | | | | | | Log::EVERYTHING also for exceptions with messages.
* Catch trying to send a zero-length stream, which will cause an assertion ↵Chris Wilson2012-01-22
| | | | failure on the other side.
* Rename the BackupStoreDirectory::AddEntry's AttributesModTime parameter to ↵Chris Wilson2012-01-22
| | | | AttributesHash to avoid misleading the reader.
* Allow constructing a BackupClientFileAttributes from a struct EMU_STAT.Chris Wilson2012-01-22
|
* Improve logging of socket errors (create, bind, accept, and poll)Chris Wilson2012-01-22
|
* Log messages on failure to read, write, stat, seek and close files, with the ↵Chris Wilson2012-01-22
| | | | filename.
* Remove unnecessary GetNativeErrorMessage(), add BOX_LOG_SOCKET_ERROR macro.Chris Wilson2012-01-22
|
* File modification time helper functions don't need to modify their ↵Chris Wilson2012-01-22
| | | | arguments, so make them const.
* Allow getting the message out of a BoxException.Chris Wilson2012-01-22
|
* Allow log level "everything" to log exceptions even if suppressed.Chris Wilson2012-01-22
|
* Log disabling of exception logging to help understand test output.Chris Wilson2012-01-22
| | | | | Allow std::ostringstream formatting in expected/actual output comparison.