summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Add a method to BackupStoreFilenameClear to get the clear filename only ifChris Wilson2011-04-26
| | | | | | | | it's available or crypto has been configured to decrypt it. This allows client and server to share the same definition of protocol objects that use Filenames, instead of using BackupStoreFilename on the server and BackupStoreFilenameClear on the client.
* Major refactoring to make lib/backupclient depend on lib/backupstore ratherChris Wilson2011-04-26
| | | | | | | than the other way around. This is needed to allow clients to have all the code that they'd need to implement local backups (using the Local protocol) in subsequent commits.
* Log the name of the extended attribute that could not be read.Chris Wilson2011-04-23
|
* Allow stream formatting in "line" parameter of TEST_LINE macro.Chris Wilson2011-04-23
|
* Move S3Simulator into its own class, like S3Client, for reuse elsewhere.Chris Wilson2011-04-22
|
* Add an exception code and a protocol error code for modifying aChris Wilson2011-04-22
| | | | | multiply referenced object.
* Refactor GetLines to share common code, fix whitespace removal at end of line.Chris Wilson2011-04-22
|
* Link lib/server with qdbm and include the QDBM version in the daemon banner.Chris Wilson2011-04-22
|
* Use the reference count database name constant rather than hard-coding it.Chris Wilson2011-04-20
|
* Include <process.h> to get a definition for getpid() from the Windows CRT,Chris Wilson2011-04-20
| | | | | to replace the emulated one in emu.cpp.
* Remove getpid() emulation now that it's included in the SDK, which causesChris Wilson2011-04-20
| | | | | a conflict.
* Support paths starting with \\?\, to fix support for backing up VSSChris Wilson2011-04-14
| | | | | snapshots.
* 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
|