| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
|
|
|
|
| |
Determine whether we are building for Windows or not, and export
that information
Search for VERSION.txt in a few more places, for example when
running Perl scripts like getversion.pl
(refs #3)
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
Updated documentation for building Win32 native builds on Linux
|
|
|
|
|
|
| |
- Revert to trunk
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Show the required versions of Berkeley DB when configure fails to
find them
Check for sys/uio.h
Check for O_BINARY
Clean up code for AX_CHECK_MOUNT_POINT
Display whether regular expressions are enabled at the end
|
|
|
|
|
| |
Revert to trunk (refs #3)
|
|
|
|
|
|
| |
- Reinstate SendMessageToHousekeepingProcess() on Win32, but make it do
nothing (refs #3)
|
|
|
|
|
|
|
| |
- Delete the temporary file on Win32 just like on other platforms (note
that this reduces the guarantees that the file will be deleted,
especially if an exception is thrown, refs #819)
|
|
|
|
|
|
| |
- Use the same code for file names and file closing on other platforms
that's needed on Win32
|
|
|
|
|
|
| |
- Reinstate missing mReceivedCommandConn
- Clean up exception handling
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
| |
- Sync subdirectories even when store is full, allows user to exclude
files to free up space to complete their backups
|
|
|
|
|
|
|
| |
- Disable checks for inter-process messages on Win32 (there is only one
process)
- Close directory immediately after we finish reading it
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
| |
* bin/bbstored/BBStoreDHousekeeping.cpp
- Split housekeeping process into separate initialisation, process loop
and run methods (we don't want the process loop on Win32)
|
|
|
|
|
| |
- Only include syslog.h if we have one
|
|
|
|
|
| |
- Removed SendMessageToHousekeepingProcess() on Win32, no longer needed
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
- Cast off_t to long long, in case they differ in size (e.g. Win32)
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
- Only include <syslog.h> if we have it
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
|
|
| |
- Removed locking on Win32, there is no housekeeping process to lock
against
- Open files with O_BINARY on Win32
- Fixed a cosmetic spelling mistake in a comment
- Unlink file later on Windows, since we can't do it while it's open
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
- Prototype update to match changes to Win32BackupService.cpp
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
| |
- Can't unlink open files on Win32. This is not the correct fix, but it
does work around the problem.
- Only include syslog.h if we have it
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
| |
- Restructured the backup decision logic to make it easier to
understand and debug
|
| |
|
|
|
|
|
|
|
| |
* win32.bat
* bin/bbackupd/BackupClientDirectoryRecord.cpp
- Merged back changes from trunk
|
|
|
|
|
| |
- Remove duplicated exception handlers
|
|
|
|
|
|
| |
- Improved exception messages for reading and writing the
StoreObjectInfoFile, and made them consistent.
|
|
|
|
|
|
|
| |
- Removed redundant exception handler (BoxException extends std::exception)
- Changed error to warning if an exception is caught while trying to clean
up from another exception on the command socket
|
|
|
|
|
|
|
| |
- Cleaned up SyncAllowScript cleanup code
- Fixed catching std::exception while handling command socket to do the
same as catching (...)
|
|
|
|
|
| |
- Renamed cmd_info_t to QueryCommandSpecification as requested by Ben
|
|
|
|
|
| |
- Removed options without code to handle them
|
|
|
|
|
|
|
|
|
|
| |
- Restored initialisation of this->mReceivedCommandConn to false in handler
thread.
- Changed handling of all catch(...) blocks, which don't have an obvious
outer exception handler, to catch std::exception first and report it
with e.what(), as suggested by Martin.
- Fixed some catch blocks to match coding standards.
|
|
|
|
|
| |
- Use a nicer data structure for commands and their options.
|
|
|
|
|
| |
- Don't call geteuid() on Windows, since it lies to us anyway
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
|
|
| |
* lib/win32/WinNamedPipeStream.cpp
* lib/server/WinNamedPipeStream.h
* lib/server/WinNamedPipeStream.cpp
- Moved WinNamedPipeStream class from lib/win32 to lib/server, to resolve
circular dependency between lib/common and lib/win32.
|
|
|
|
|
|
|
|
| |
- Made the code more readable by defining a reference rSocket to
mpCommandSocketInfo->mListeningSocket which is used several times.
- Terminate the listening thread if it fails to bind a command socket.
- Log any unrecognised commands received over the command socket.
|
|
|
|
|
| |
- Cosmetic spelling and formatting fixes
|
|
|
|
|
|
| |
- Use the result of SerializeStoreObjectInfo, if we failed to serialise
(when no file existed) then no need to delete the file on the next run.
|
|
|
|
|
|
|
| |
* bbackupd/BackupDaemon.cpp
- Made SerializeStoreObjectInfo() return a boolean, true if it
successfully saved the store object info file, false otherwise.
|
|
|
|
|
| |
- Revert to trunk
|