summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Avoid recompiling everything on MSVC when BoxVersion.h changes.Chris Wilson2011-10-25
|
* Adjust for platforms where sizeof(long) < sizeof(void *), apparentlyChris Wilson2011-10-23
| | | | | | including Visual Studio 64-bit where sizeof(long) == 4. I don't fully understand the code, so I hope this adjustment is correct!
* Fix illegal use of Logging::Add and Logging::Remove while iterating over loggersChris Wilson2011-10-11
|
* Log fatal exceptions in main helper using BOX_FATAL instead of printf, toChris Wilson2011-10-09
| | | | | ensure they get logged in all the right places.
* Split Win32 defines out of emu.h to enable Boxi to include them beforeChris Wilson2011-10-09
| | | | | | wx/wx.h (to set UNICODE properly) without also #including winnt.h before UNICODE is set properly.
* Recent Cygwin versions of MinGW now define O_BINARY as well, also inChris Wilson2011-10-08
| | | | | | fcntl.h, so include it if we can find it, and only define O_BINARY if it turns out to be missing.
* Recent Cygwin versions of MinGW now define O_BINARY as well, also inChris Wilson2011-10-08
| | | | | | fcntl.h, so include it if we can find it, and only define O_BINARY if it turns out to be missing.
* Silence warnings from new MinGW headers that expect __MINGW_FEATURES__Chris Wilson2011-10-08
| | | | | | | | to be defined. Check for fcntl.h and include it if we have it, not just on MSVC, now that MinGW also defines O_BINARY in newer versions.
* Flush stream after restore fails, thanks to Sune Molgaard for reporting.Chris Wilson2011-09-29
|
* Use "more standard" Windows API functions FindFirstFileW and FindNextFileWChris Wilson2011-08-28
| | | | | | | | | | for directory enumeration instead of _wfindfirst and _wfindnext. Ignore reparse points when enumerating directories to avoid infinite loops. Convert VSS paths back to real paths when notifying users about backup progress.
* Fix potential conflict between WINVERs in Timers.Chris Wilson2011-08-28
|
* Output the names of protocol files being written.Chris Wilson2011-08-28
|
* Add missing include of backup protocol.Chris Wilson2011-08-28
|
* Finish renaming auto-generated classes to fix compilation errors.Chris Wilson2011-08-28
|
* Log failure to convert log string to console encoding on Windows.Chris Wilson2011-08-27
|
* Combine client and server protocols to make way for an offline/local protocol.Chris Wilson2011-08-27
| | | | | Rename ProtocolObject to Message.
* Hopefully fix off-by-4 read of old-style BackupStoreInfo header, thanks to ↵Chris Wilson2011-06-30
| | | | Sune Mølgaard for reporting.
* Fix type aliasing that's strictly speaking incompatible and may actually be ↵Chris Wilson2011-06-22
| | | | | | | skipped by the compiler (according to http://blog.worldofcoding.com/2010/02/solving-gcc-44-strict-aliasing-problems.html).
* Improve error logging for store info and refcount database errors.Chris Wilson2011-06-16
|
* Fix line endings.Chris Wilson2011-05-24
|
* Move remaining parts of BackupStoreFile into lib/backupstore, and fix moduleChris Wilson2011-05-24
| | | | | | dependencies to fail if anything else required by bbstored is still in lib/backupclient instead of lib/backupstore.
* Blind fix for displaying error message as well as code when emu unicode ↵Chris Wilson2011-05-24
| | | | conversion fails.
* Another virtual destructor, this time for IOStreamGetLine.Chris Wilson2011-05-04
|
* Add virtual destructors to GetLine and FdGetLine to silence warnings.Chris Wilson2011-05-04
|
* 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
|