summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Fix double path separator in new store info filename which causes unlink()Chris Wilson2011-04-08
| | | | | to fail on Windows.
* Add VSS: prefix to VSS log messages.Chris Wilson2011-04-06
| | | | | | | Start a snapshot set and add backup locations as volumes. Modularise IVssAsync waiting code.
* Make ConvertFromWideString available to other modules.Chris Wilson2011-03-28
|
* Fix double path separator in account info filename, prevents its deletionChris Wilson2011-03-27
| | | | | | | on MSVC 2010/emu.cpp:unlink(). A cursory check shows that the separator is always included by MakeAccountRootDir() and this is always used to make the info filename, so this should not break anything.
* Improve RaidFile error logging.Chris Wilson2011-03-27
|
* Add some macros for Windows specific error logging.Chris Wilson2011-03-27
|
* Fix another off-by-one error.Chris Wilson2011-03-27
|
* Add inline definition of ftruncate to fix MSVC compile.Chris Wilson2011-03-27
|
* Detect whether we have sys/file.h and don't include it if not, fixes MSVC ↵Chris Wilson2011-03-27
| | | | compile issue.
* Work around lack of unistd.h on MSVC.Chris Wilson2011-03-27
|
* Pass a C++ string instead of a char pointer for efficiency.Chris Wilson2011-03-27
|
* Fix off-by-one causing incomplete normalisation of relative paths.Chris Wilson2011-03-27
|
* Fix off-by-one errors caught by MSVC.Chris Wilson2011-03-27
|
* Fix off-by-one error in path translation.Chris Wilson2011-03-26
|
* Avoid conflicting declarations of O_BINARY on MSVC compiles.Chris Wilson2011-03-26
|
* Define WINVER and _WIN32_WINNT to Windows 2000 to avoid importing WSAPollChris Wilson2011-03-26
| | | | | | from winsock2.h, which conflicts with our definition of struct pollfd, on Windows Vista and above.
* Hopefully fix divide by zero error on rate limiting stream.Chris Wilson2011-02-26
|
* Debugging for Sune Molgaard's issue with non-existent files beingChris Wilson2011-02-23
| | | | | detected as unattached and crashing later in CheckUnattachedObjects().
* Move TemporaryDirectory.h into Utils.h and Utils.cpp to avoid duplicateChris Wilson2011-01-21
| | | | | definitions of inline functions.
* Improve error messages on failure to open a RaidFile for reading.Chris Wilson2011-01-12
|
* Improve messages on failure to load store info.Chris Wilson2011-01-12
|
* Add an implementation of a stream wrapper that limits reading rate, toChris Wilson2011-01-12
| | | | | control bandwidth usage.
* Add some more logging and exception macros. Refactor to reduce nestingChris Wilson2011-01-12
| | | | | depth and increase modularity.
* Move accurate sleep code from Test.cpp to BoxTime, allow requesting timesChris Wilson2011-01-12
| | | | | | | in microseconds with ShortSleep(), make safe_sleep() use it. Rename MILLI_SEC_IN_NANO_SEC to MILLI_SEC_IN_SEC which is what it actually is.
* Add a configuration option for upload rate limiting, MaxUploadRate.Chris Wilson2011-01-12
|
* Fix syslog of longer messages on Windows. (merges [2741] from 0.11)Chris Wilson2011-01-08
|
* Log the adjusted time, not the unadjusted one, as it's the adjusted timeChris Wilson2011-01-08
| | | | | that may cause an error if it's invalid. (merges [2743] from 0.11)
* Add a macro for logging timespec structures. (merges [2744])Chris Wilson2011-01-08
|
* Log the path, name and size of files being restored at TRACE level forChris Wilson2011-01-08
| | | | | | | | | | users wanting more detailed restore output. Disable printing dots when logging at TRACE level is enabled. Warn rather than failing to restore when the file attributes could not be restored. (merges [2745], [2827]).
* Avoid fatal error caused by recursive logging if we fail to open theChris Wilson2010-11-17
| | | | | file we're supposed to log to.
* Improve accuracy and utility of FileStream::StreamClosed().Chris Wilson2010-11-17
|
* Finish enabling the file logging option for daemons.Chris Wilson2010-11-17
|
* Add log file logging to all daemons.Chris Wilson2010-11-17
|
* Log the total number of bytes uploaded to the server for each file.Chris Wilson2010-11-17
|
* This should fix Trac #14.Charles Lecklider2010-10-22
|
* Fix compile on Debian Squeeze with libbsd-dev and libedit-dev installed,Chris Wilson2010-09-13
| | | | | | thanks to Dave Bamford for reporting and debugging. (merges [2734] from 0.11)
* Fix calculation error in buffered writer.Chris Wilson2010-09-13
|
* Implement write buffering on directories.Chris Wilson2010-09-13
|
* Fix demangled logging of backtraces on OSX by using dladdr to get functionChris Wilson2010-08-31
| | | | | names rather than trying to parse the results of backtrace_strings().
* Log the invalid log level.Chris Wilson2010-08-31
|
* Fix compile error on OpenSolaris 10/Sun Studio 12. (merges [2720])Chris Wilson2010-08-28
|
* It's not an error to be interrupted by a signal while waiting for an Chris Wilson2010-08-27
| | | | | | incoming connection. This is the normal way to shut down or reload bbackupd.
* Reformat TEST_CHECK_THROWS macro for readability.Chris Wilson2010-08-27
|
* Reformat comments for readability.Chris Wilson2010-08-27
|
* Count the root directory when creating a new account.Chris Wilson2010-08-27
|
* Change the store info file format to include an account name and the Chris Wilson2010-08-27
| | | | | | | | number of blocks in current (not old or deleted) files, an often-requested feature since this number is difficult to calculate otherwise, because files may be both old and deleted, thus counted twice.
* Count the number of files and directories in the account during account Chris Wilson2010-08-27
| | | | | | | | | check. Move directory entry checking code into its own method for readability. Reformat long lines for readability.
* Add inline helpers to check whether a directory entry is a file, Chris Wilson2010-08-27
| | | | | directory, old or deleted.
* Add support for account numbers greater than 0x7fffffff without wrapping.Chris Wilson2010-06-06
|
* Compile fix for [2694].Chris Wilson2010-06-06
|