[Box Backup-commit] [boxbackup/boxbackup] 7e2f63: Box Backup 0.09 with a few tweeks

GitHub noreply at github.com
Sun Jul 2 11:02:09 BST 2017


  Branch: refs/heads/snapshots
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 7e2f63495d72cbdc19b56cbddccea776481797d7
      https://github.com/boxbackup/boxbackup/commit/7e2f63495d72cbdc19b56cbddccea776481797d7
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-10-14 (Fri, 14 Oct 2005)

  Changed paths:
    A BUGS.txt
    A LICENSE.txt
    A bin/bbackupctl/bbackupctl.cpp
    A bin/bbackupd/BackupClientContext.cpp
    A bin/bbackupd/BackupClientContext.h
    A bin/bbackupd/BackupClientDeleteList.cpp
    A bin/bbackupd/BackupClientDeleteList.h
    A bin/bbackupd/BackupClientDirectoryRecord.cpp
    A bin/bbackupd/BackupClientDirectoryRecord.h
    A bin/bbackupd/BackupClientInodeToIDMap.cpp
    A bin/bbackupd/BackupClientInodeToIDMap.h
    A bin/bbackupd/BackupDaemon.cpp
    A bin/bbackupd/BackupDaemon.h
    A bin/bbackupd/bbackupd-config
    A bin/bbackupd/bbackupd.cpp
    A bin/bbackupobjdump/bbackupobjdump.cpp
    A bin/bbackupquery/BackupQueries.cpp
    A bin/bbackupquery/BackupQueries.h
    A bin/bbackupquery/Makefile.extra
    A bin/bbackupquery/bbackupquery.cpp
    A bin/bbackupquery/documentation.txt
    A bin/bbackupquery/makedocumentation.pl
    A bin/bbstoreaccounts/bbstoreaccounts.cpp
    A bin/bbstored/BBStoreDHousekeeping.cpp
    A bin/bbstored/BackupCommands.cpp
    A bin/bbstored/BackupConstants.h
    A bin/bbstored/BackupContext.cpp
    A bin/bbstored/BackupContext.h
    A bin/bbstored/BackupStoreDaemon.cpp
    A bin/bbstored/BackupStoreDaemon.h
    A bin/bbstored/HousekeepStoreAccount.cpp
    A bin/bbstored/HousekeepStoreAccount.h
    A bin/bbstored/Makefile.extra
    A bin/bbstored/backupprotocol.txt
    A bin/bbstored/bbstored-certs
    A bin/bbstored/bbstored-config
    A bin/bbstored/bbstored.cpp
    A cleanupforcvs.pl
    A configure
    A distribution/COMMON-MANIFEST.txt
    A distribution/boxbackup/CONTACT.txt
    A distribution/boxbackup/DISTRIBUTION-MANIFEST.txt
    A distribution/boxbackup/DOCUMENTATION.txt
    A distribution/boxbackup/LICENSE.txt
    A distribution/boxbackup/LINUX.txt
    A distribution/boxbackup/NETBSD.txt
    A distribution/boxbackup/THANKS.txt
    A distribution/boxbackup/VERSION.txt
    A distribution/boxbackup/contrib/cygwin/README.txt
    A distribution/boxbackup/contrib/cygwin/install-cygwin-service.pl
    A distribution/boxbackup/contrib/cygwin/remove-cygwin-service.sh
    A distribution/boxbackup/contrib/redhat/README.txt
    A distribution/boxbackup/contrib/redhat/bbackupd
    A distribution/boxbackup/contrib/redhat/bbstored
    A distribution/boxbackup/contrib/rpm/README.txt
    A distribution/boxbackup/contrib/rpm/boxbackup.spec
    A distribution/boxbackup/contrib/suse/README.txt
    A distribution/boxbackup/contrib/suse/bbackupd
    A distribution/boxbackup/contrib/suse/bbstored
    A docs/backup/INDEX.txt
    A docs/backup/backup_encryption.txt
    A docs/backup/bin_bbackupd.txt
    A docs/backup/bin_bbstored.txt
    A docs/backup/encryt_rsync.txt
    A docs/backup/lib_backupclient.txt
    A docs/backup/lib_backupstore.txt
    A docs/backup/windows_porting.txt
    A docs/common/lib_common.txt
    A docs/common/lib_common/BoxTime.txt
    A docs/common/lib_common/CollectInBufferStream.txt
    A docs/common/lib_common/Configuration.txt
    A docs/common/lib_common/Conversion.txt
    A docs/common/lib_common/ExcludeList.txt
    A docs/common/lib_common/FdGetLine.txt
    A docs/common/lib_common/Guards.txt
    A docs/common/lib_common/IOStream.txt
    A docs/common/lib_common/IOStreamGetLine.txt
    A docs/common/lib_common/MainHelper.txt
    A docs/common/lib_common/WaitForEvent.txt
    A docs/common/lib_common/xStream.txt
    A docs/common/lib_compress.txt
    A docs/common/lib_compress/CompressStream.txt
    A docs/common/lib_crypto.txt
    A docs/common/lib_crypto/CipherContext.txt
    A docs/common/lib_crypto/RollingChecksum.txt
    A docs/common/lib_server.txt
    A docs/common/lib_server/Daemon.txt
    A docs/common/lib_server/Protocol.txt
    A docs/common/lib_server/ServerStream.txt
    A docs/common/lib_server/ServerTLS.txt
    A docs/common/lib_server/SocketStream.txt
    A docs/common/lib_server/SocketStreamTLS.txt
    A docs/common/lib_server/TLSContext.txt
    A docs/common/memory_leaks.txt
    A docs/raidfile/lib_raidfile.txt
    A docs/raidfile/lib_raidfile/RaidFileRead.txt
    A docs/raidfile/lib_raidfile/RaidFileWrite.txt
    A infrastructure/BoxPlatform.pm
    A infrastructure/buildenv-testmain-template.cpp
    A infrastructure/makebuildenv.pl
    A infrastructure/makedistribution.pl
    A infrastructure/makeparcels.pl
    A infrastructure/setupexternal.pl
    A infrastructure/tests/common_tests.pl
    A lib/backupclient/BackupClientCryptoKeys.cpp
    A lib/backupclient/BackupClientCryptoKeys.h
    A lib/backupclient/BackupClientFileAttributes.cpp
    A lib/backupclient/BackupClientFileAttributes.h
    A lib/backupclient/BackupClientMakeExcludeList.cpp
    A lib/backupclient/BackupClientMakeExcludeList.h
    A lib/backupclient/BackupClientRestore.cpp
    A lib/backupclient/BackupClientRestore.h
    A lib/backupclient/BackupDaemonConfigVerify.cpp
    A lib/backupclient/BackupDaemonConfigVerify.h
    A lib/backupclient/BackupStoreConstants.h
    A lib/backupclient/BackupStoreDirectory.cpp
    A lib/backupclient/BackupStoreDirectory.h
    A lib/backupclient/BackupStoreException.h
    A lib/backupclient/BackupStoreException.txt
    A lib/backupclient/BackupStoreFile.cpp
    A lib/backupclient/BackupStoreFile.h
    A lib/backupclient/BackupStoreFileCmbDiff.cpp
    A lib/backupclient/BackupStoreFileCmbIdx.cpp
    A lib/backupclient/BackupStoreFileCombine.cpp
    A lib/backupclient/BackupStoreFileCryptVar.cpp
    A lib/backupclient/BackupStoreFileCryptVar.h
    A lib/backupclient/BackupStoreFileDiff.cpp
    A lib/backupclient/BackupStoreFileEncodeStream.cpp
    A lib/backupclient/BackupStoreFileEncodeStream.h
    A lib/backupclient/BackupStoreFileRevDiff.cpp
    A lib/backupclient/BackupStoreFileWire.h
    A lib/backupclient/BackupStoreFilename.cpp
    A lib/backupclient/BackupStoreFilename.h
    A lib/backupclient/BackupStoreFilenameClear.cpp
    A lib/backupclient/BackupStoreFilenameClear.h
    A lib/backupclient/BackupStoreObjectDump.cpp
    A lib/backupclient/BackupStoreObjectMagic.h
    A lib/backupclient/Makefile.extra
    A lib/backupstore/BackupStoreAccountDatabase.cpp
    A lib/backupstore/BackupStoreAccountDatabase.h
    A lib/backupstore/BackupStoreAccounts.cpp
    A lib/backupstore/BackupStoreAccounts.h
    A lib/backupstore/BackupStoreCheck.cpp
    A lib/backupstore/BackupStoreCheck.h
    A lib/backupstore/BackupStoreCheck2.cpp
    A lib/backupstore/BackupStoreCheckData.cpp
    A lib/backupstore/BackupStoreConfigVerify.cpp
    A lib/backupstore/BackupStoreConfigVerify.h
    A lib/backupstore/BackupStoreInfo.cpp
    A lib/backupstore/BackupStoreInfo.h
    A lib/backupstore/StoreStructure.cpp
    A lib/backupstore/StoreStructure.h
    A lib/common/BannerText.h
    A lib/common/BeginStructPackForWire.h
    A lib/common/Box.h
    A lib/common/BoxException.cpp
    A lib/common/BoxException.h
    A lib/common/BoxPlatform.h
    A lib/common/BoxPortsAndFiles.h
    A lib/common/BoxTime.cpp
    A lib/common/BoxTime.h
    A lib/common/BoxTimeToText.cpp
    A lib/common/BoxTimeToText.h
    A lib/common/BoxTimeToUnix.h
    A lib/common/CollectInBufferStream.cpp
    A lib/common/CollectInBufferStream.h
    A lib/common/CommonException.h
    A lib/common/CommonException.txt
    A lib/common/Configuration.cpp
    A lib/common/Configuration.h
    A lib/common/Conversion.h
    A lib/common/ConversionException.txt
    A lib/common/ConversionString.cpp
    A lib/common/DebugAssertFailed.cpp
    A lib/common/DebugMemLeakFinder.cpp
    A lib/common/DebugPrintf.cpp
    A lib/common/EndStructPackForWire.h
    A lib/common/EventWatchFilesystemObject.cpp
    A lib/common/EventWatchFilesystemObject.h
    A lib/common/ExcludeList.cpp
    A lib/common/ExcludeList.h
    A lib/common/FdGetLine.cpp
    A lib/common/FdGetLine.h
    A lib/common/FileModificationTime.h
    A lib/common/FileStream.cpp
    A lib/common/FileStream.h
    A lib/common/Guards.h
    A lib/common/IOStream.cpp
    A lib/common/IOStream.h
    A lib/common/IOStreamGetLine.cpp
    A lib/common/IOStreamGetLine.h
    A lib/common/LinuxWorkaround.cpp
    A lib/common/LinuxWorkaround.h
    A lib/common/MainHelper.h
    A lib/common/Makefile.extra
    A lib/common/MemBlockStream.cpp
    A lib/common/MemBlockStream.h
    A lib/common/MemLeakFindOff.h
    A lib/common/MemLeakFindOn.h
    A lib/common/MemLeakFinder.h
    A lib/common/NamedLock.cpp
    A lib/common/NamedLock.h
    A lib/common/PartialReadStream.cpp
    A lib/common/PartialReadStream.h
    A lib/common/ReadGatherStream.cpp
    A lib/common/ReadGatherStream.h
    A lib/common/StreamableMemBlock.cpp
    A lib/common/StreamableMemBlock.h
    A lib/common/TemporaryDirectory.h
    A lib/common/Test.h
    A lib/common/UnixUser.cpp
    A lib/common/UnixUser.h
    A lib/common/Utils.cpp
    A lib/common/Utils.h
    A lib/common/WaitForEvent.cpp
    A lib/common/WaitForEvent.h
    A lib/common/makeexception.pl
    A lib/compress/Compress.h
    A lib/compress/CompressException.h
    A lib/compress/CompressException.txt
    A lib/compress/CompressStream.cpp
    A lib/compress/CompressStream.h
    A lib/compress/Makefile.extra
    A lib/crypto/CipherAES.cpp
    A lib/crypto/CipherAES.h
    A lib/crypto/CipherBlowfish.cpp
    A lib/crypto/CipherBlowfish.h
    A lib/crypto/CipherContext.cpp
    A lib/crypto/CipherContext.h
    A lib/crypto/CipherDescription.cpp
    A lib/crypto/CipherDescription.h
    A lib/crypto/CipherException.h
    A lib/crypto/CipherException.txt
    A lib/crypto/MD5Digest.cpp
    A lib/crypto/MD5Digest.h
    A lib/crypto/Makefile.extra
    A lib/crypto/Random.cpp
    A lib/crypto/Random.h
    A lib/crypto/RollingChecksum.cpp
    A lib/crypto/RollingChecksum.h
    A lib/raidfile/Makefile.extra
    A lib/raidfile/RaidFileController.cpp
    A lib/raidfile/RaidFileController.h
    A lib/raidfile/RaidFileException.h
    A lib/raidfile/RaidFileException.txt
    A lib/raidfile/RaidFileRead.cpp
    A lib/raidfile/RaidFileRead.h
    A lib/raidfile/RaidFileUtil.cpp
    A lib/raidfile/RaidFileUtil.h
    A lib/raidfile/RaidFileWrite.cpp
    A lib/raidfile/RaidFileWrite.h
    A lib/raidfile/raidfile-config
    A lib/server/ConnectionException.txt
    A lib/server/Daemon.cpp
    A lib/server/Daemon.h
    A lib/server/LocalProcessStream.cpp
    A lib/server/LocalProcessStream.h
    A lib/server/Makefile.extra
    A lib/server/Protocol.cpp
    A lib/server/Protocol.h
    A lib/server/ProtocolObject.cpp
    A lib/server/ProtocolObject.h
    A lib/server/ProtocolUncertainStream.cpp
    A lib/server/ProtocolUncertainStream.h
    A lib/server/ProtocolWire.h
    A lib/server/SSLLib.cpp
    A lib/server/SSLLib.h
    A lib/server/ServerException.h
    A lib/server/ServerException.txt
    A lib/server/ServerStream.h
    A lib/server/ServerTLS.h
    A lib/server/Socket.cpp
    A lib/server/Socket.h
    A lib/server/SocketListen.h
    A lib/server/SocketStream.cpp
    A lib/server/SocketStream.h
    A lib/server/SocketStreamTLS.cpp
    A lib/server/SocketStreamTLS.h
    A lib/server/TLSContext.cpp
    A lib/server/TLSContext.h
    A lib/server/makeprotocol.pl
    A modules.txt
    A parcels.txt
    A runtest.pl
    A test/backupdiff/difftestfiles.cpp
    A test/backupdiff/testbackupdiff.cpp
    A test/backupdiff/testextra
    A test/backupstore/testbackupstore.cpp
    A test/backupstore/testextra
    A test/backupstore/testfiles/accounts.txt
    A test/backupstore/testfiles/bbackupd.keys
    A test/backupstore/testfiles/bbstored.conf
    A test/backupstore/testfiles/bbstored_multi.conf
    A test/backupstore/testfiles/clientCerts.pem
    A test/backupstore/testfiles/clientPrivKey.pem
    A test/backupstore/testfiles/clientReq.pem
    A test/backupstore/testfiles/clientTrustedCAs.pem
    A test/backupstore/testfiles/query.conf
    A test/backupstore/testfiles/raidfile.conf
    A test/backupstore/testfiles/root.pem
    A test/backupstore/testfiles/root.srl
    A test/backupstore/testfiles/rootcert.pem
    A test/backupstore/testfiles/rootkey.pem
    A test/backupstore/testfiles/rootreq.pem
    A test/backupstore/testfiles/serverCerts.pem
    A test/backupstore/testfiles/serverPrivKey.pem
    A test/backupstore/testfiles/serverReq.pem
    A test/backupstore/testfiles/serverTrustedCAs.pem
    A test/backupstorefix/testbackupstorefix.cpp
    A test/backupstorefix/testextra
    A test/backupstorefix/testfiles/testbackupstorefix.pl
    A test/backupstorepatch/testbackupstorepatch.cpp
    A test/backupstorepatch/testextra
    A test/basicserver/Makefile.extra
    A test/basicserver/TestCommands.cpp
    A test/basicserver/TestContext.cpp
    A test/basicserver/TestContext.h
    A test/basicserver/testbasicserver.cpp
    A test/basicserver/testfiles/clientCerts.pem
    A test/basicserver/testfiles/clientPrivKey.pem
    A test/basicserver/testfiles/clientReq.pem
    A test/basicserver/testfiles/clientTrustedCAs.pem
    A test/basicserver/testfiles/key-creation.txt
    A test/basicserver/testfiles/root.pem
    A test/basicserver/testfiles/root.srl
    A test/basicserver/testfiles/rootcert.pem
    A test/basicserver/testfiles/rootkey.pem
    A test/basicserver/testfiles/rootreq.pem
    A test/basicserver/testfiles/serverCerts.pem
    A test/basicserver/testfiles/serverPrivKey.pem
    A test/basicserver/testfiles/serverReq.pem
    A test/basicserver/testfiles/serverTrustedCAs.pem
    A test/basicserver/testfiles/srv1.conf
    A test/basicserver/testfiles/srv1b.conf
    A test/basicserver/testfiles/srv2.conf
    A test/basicserver/testfiles/srv3.conf
    A test/basicserver/testfiles/srv4.conf
    A test/basicserver/testprotocol.txt
    A test/bbackupd/testbbackupd.cpp
    A test/bbackupd/testextra
    A test/bbackupd/testfiles/accounts.txt
    A test/bbackupd/testfiles/bbackupd.conf
    A test/bbackupd/testfiles/bbackupd.keys
    A test/bbackupd/testfiles/bbstored.conf
    A test/bbackupd/testfiles/clientCerts.pem
    A test/bbackupd/testfiles/clientPrivKey.pem
    A test/bbackupd/testfiles/clientTrustedCAs.pem
    A test/bbackupd/testfiles/extcheck1.pl
    A test/bbackupd/testfiles/extcheck2.pl
    A test/bbackupd/testfiles/notifyscript.pl
    A test/bbackupd/testfiles/raidfile.conf
    A test/bbackupd/testfiles/serverCerts.pem
    A test/bbackupd/testfiles/serverPrivKey.pem
    A test/bbackupd/testfiles/serverTrustedCAs.pem
    A test/bbackupd/testfiles/spacetest1.tgz
    A test/bbackupd/testfiles/spacetest2.tgz
    A test/bbackupd/testfiles/test2.tgz
    A test/bbackupd/testfiles/test3.tgz
    A test/bbackupd/testfiles/test_base.tgz
    A test/bbackupd/testfiles/testexclude.tgz
    A test/common/testcommon.cpp
    A test/common/testfiles/config1.txt
    A test/common/testfiles/config10.txt
    A test/common/testfiles/config11.txt
    A test/common/testfiles/config12.txt
    A test/common/testfiles/config13.txt
    A test/common/testfiles/config14.txt
    A test/common/testfiles/config15.txt
    A test/common/testfiles/config16.txt
    A test/common/testfiles/config2.txt
    A test/common/testfiles/config3.txt
    A test/common/testfiles/config4.txt
    A test/common/testfiles/config5.txt
    A test/common/testfiles/config6.txt
    A test/common/testfiles/config7.txt
    A test/common/testfiles/config8.txt
    A test/common/testfiles/config9.txt
    A test/common/testfiles/config9b.txt
    A test/common/testfiles/config9c.txt
    A test/common/testfiles/config9d.txt
    A test/common/testfiles/fdgetlinetest.txt
    A test/compress/testcompress.cpp
    A test/crypto/testcrypto.cpp
    A test/raidfile/Darwin-SYS.h
    A test/raidfile/Makefile.extra.Darwin
    A test/raidfile/intercept.cpp
    A test/raidfile/make-darwin-intercepts.pl
    A test/raidfile/testextra
    A test/raidfile/testfiles/raidfile.conf
    A test/raidfile/testraidfile.cpp

  Log Message:
  -----------
  Box Backup 0.09 with a few tweeks

git-svn-id: https://www.boxbackup.org/svn/box/trunk@1 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c0b31fb46f2d667f41bc196d54d041953ac0dab9
      https://github.com/boxbackup/boxbackup/commit/c0b31fb46f2d667f41bc196d54d041953ac0dab9
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-11-30 (Wed, 30 Nov 2005)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M infrastructure/BoxPlatform.pm
    M infrastructure/makebuildenv.pl
    M infrastructure/makeparcels.pl
    M lib/common/BoxPlatform.h
    M lib/common/NamedLock.cpp
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileUtil.cpp
    M lib/raidfile/RaidFileWrite.cpp
    M lib/server/Daemon.cpp
    M lib/server/Protocol.cpp
    M lib/server/SocketStreamTLS.cpp
    M test/backupstore/testbackupstore.cpp
    M test/common/testcommon.cpp
    M test/raidfile/intercept.cpp
    M test/raidfile/testraidfile.cpp

  Log Message:
  -----------
  Merged martin/solaris at r9 to trunk

git-svn-id: https://www.boxbackup.org/svn/box/trunk@36 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 13d23f136bacfff19edf4835a6a42eea0e382e31
      https://github.com/boxbackup/boxbackup/commit/13d23f136bacfff19edf4835a6a42eea0e382e31
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-11-30 (Wed, 30 Nov 2005)

  Changed paths:
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/common/DebugMemLeakFinder.cpp
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Merged martin/ppcfixes at r3 to trunk

git-svn-id: https://www.boxbackup.org/svn/box/trunk@37 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aba9460af19152aaa8a1f75b164c547ada803fe5
      https://github.com/boxbackup/boxbackup/commit/aba9460af19152aaa8a1f75b164c547ada803fe5
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-11-30 (Wed, 30 Nov 2005)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M infrastructure/tests/common_tests.pl
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientFileAttributes.h
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/StreamableMemBlock.cpp

  Log Message:
  -----------
  Merged martin/xattr at r5 to trunk

git-svn-id: https://www.boxbackup.org/svn/box/trunk@38 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d88e5c656371a0c1a36be98c2d857b4f89d5af6c
      https://github.com/boxbackup/boxbackup/commit/d88e5c656371a0c1a36be98c2d857b4f89d5af6c
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-01 (Thu, 01 Dec 2005)

  Changed paths:
    M infrastructure/makeparcels.pl
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Build under Darwin

git-svn-id: https://www.boxbackup.org/svn/box/trunk@39 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1c813b796f5b8d4fda37bc93589e4aa515280f75
      https://github.com/boxbackup/boxbackup/commit/1c813b796f5b8d4fda37bc93589e4aa515280f75
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-07 (Wed, 07 Dec 2005)

  Changed paths:
    A docs/backup/encrypt_rsync.txt
    R docs/backup/encryt_rsync.txt
    M docs/common/lib_crypto/RollingChecksum.txt
    M lib/backupclient/BackupStoreConstants.h
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/crypto/RollingChecksum.cpp
    M lib/crypto/RollingChecksum.h
    M test/backupdiff/testbackupdiff.cpp
    M test/crypto/testcrypto.cpp

  Log Message:
  -----------
  Merged chromi/diffopt at r116 to trunk

git-svn-id: https://www.boxbackup.org/svn/box/trunk@152 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ca0838669afc1e017daf8c1073fe642ec79fe9d7
      https://github.com/boxbackup/boxbackup/commit/ca0838669afc1e017daf8c1073fe642ec79fe9d7
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-07 (Wed, 07 Dec 2005)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientInodeToIDMap.cpp
    M bin/bbackupd/BackupClientInodeToIDMap.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp
    A bootstrap
    R configure
    A configure.ac
    R infrastructure/BoxPlatform.pm
    A infrastructure/BoxPlatform.pm.in
    A infrastructure/m4/ac_cxx_exceptions.m4
    A infrastructure/m4/ac_cxx_namespaces.m4
    A infrastructure/m4/ax_check_bdb_v1.m4
    A infrastructure/m4/ax_check_define_pragma.m4
    A infrastructure/m4/ax_check_dirent_d_type.m4
    A infrastructure/m4/ax_check_llong_minmax.m4
    A infrastructure/m4/ax_check_malloc_workaround.m4
    A infrastructure/m4/ax_check_mount_point.m4
    A infrastructure/m4/ax_check_nonaligned_access.m4
    A infrastructure/m4/ax_check_ssl.m4
    A infrastructure/m4/ax_check_syscall_lseek.m4
    A infrastructure/m4/ax_func_syscall.m4
    A infrastructure/m4/ax_random_device.m4
    A infrastructure/m4/vl_lib_readline.m4
    M infrastructure/makebuildenv.pl
    M lib/backupclient/BackupClientCryptoKeys.cpp
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupStoreDirectory.cpp
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileCmbDiff.cpp
    M lib/backupclient/BackupStoreFileCmbIdx.cpp
    M lib/backupclient/BackupStoreFileCombine.cpp
    M lib/backupclient/BackupStoreFileCryptVar.cpp
    M lib/backupclient/BackupStoreFileCryptVar.h
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.cpp
    M lib/backupclient/BackupStoreFileRevDiff.cpp
    M lib/backupclient/BackupStoreFileWire.h
    M lib/backupclient/BackupStoreFilename.h
    M lib/backupclient/BackupStoreObjectDump.cpp
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/common/BeginStructPackForWire.h
    M lib/common/Box.h
    M lib/common/BoxPlatform.h
    M lib/common/EndStructPackForWire.h
    M lib/common/EventWatchFilesystemObject.cpp
    M lib/common/EventWatchFilesystemObject.h
    M lib/common/ExcludeList.cpp
    M lib/common/ExcludeList.h
    M lib/common/FileModificationTime.h
    R lib/common/LinuxWorkaround.cpp
    R lib/common/LinuxWorkaround.h
    M lib/common/NamedLock.cpp
    M lib/common/TemporaryDirectory.h
    M lib/common/WaitForEvent.cpp
    M lib/common/WaitForEvent.h
    M lib/crypto/CipherAES.cpp
    M lib/crypto/CipherAES.h
    M lib/crypto/CipherBlowfish.cpp
    M lib/crypto/CipherBlowfish.h
    M lib/crypto/CipherContext.cpp
    M lib/crypto/CipherContext.h
    M lib/crypto/CipherDescription.h
    M lib/crypto/Random.cpp
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileUtil.cpp
    M lib/raidfile/RaidFileWrite.cpp
    M lib/server/Daemon.cpp
    M lib/server/Protocol.cpp
    M lib/server/ProtocolWire.h
    M lib/server/SSLLib.cpp
    M lib/server/Socket.cpp
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp
    M modules.txt
    M test/backupdiff/testbackupdiff.cpp
    M test/backupstorefix/testbackupstorefix.cpp
    M test/common/testcommon.cpp
    M test/crypto/testcrypto.cpp
    M test/raidfile/intercept.cpp
    M test/raidfile/testraidfile.cpp

  Log Message:
  -----------
  Merged martin/autoconf at r35 to trunk

git-svn-id: https://www.boxbackup.org/svn/box/trunk@153 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cbf95c2afd022641a34ffc4cdbe20b1725a34e2d
      https://github.com/boxbackup/boxbackup/commit/cbf95c2afd022641a34ffc4cdbe20b1725a34e2d
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-12 (Mon, 12 Dec 2005)

  Changed paths:
    A VERSION.txt
    A bbackupctl.vcproj
    A bbackupd.vcproj
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientInodeToIDMap.cpp
    M bin/bbackupd/BackupClientInodeToIDMap.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    A bin/bbackupd/Win32BackupService.cpp
    A bin/bbackupd/Win32BackupService.h
    A bin/bbackupd/Win32ServiceFunctions.cpp
    A bin/bbackupd/Win32ServiceFunctions.h
    M bin/bbackupd/bbackupd.cpp
    A bin/bbackupd/win32/ReadMe.txt
    A bin/bbackupd/win32/bbackupd.conf
    A bin/bbackupd/win32/installer.iss
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    A boxbackup.sln
    A boxbackup.suo
    A boxquery.vcproj
    A common.vcproj
    A config.guess
    A config.sub
    M configure.ac
    A docs/backup/Win32_Clients.txt
    A docs/backup/win32_build_on_cygwin_using_mingw.txt
    A docs/backup/win32_build_on_linux_using_mingw.txt
    M infrastructure/BoxPlatform.pm.in
    M infrastructure/m4/ax_check_mount_point.m4
    M infrastructure/m4/ax_check_ssl.m4
    M infrastructure/makebuildenv.pl
    M infrastructure/makeparcels.pl
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientFileAttributes.h
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreObjectDump.cpp
    M lib/common/BoxPlatform.h
    M lib/common/BoxPortsAndFiles.h
    M lib/common/BoxTime.h
    M lib/common/BoxTimeToText.cpp
    M lib/common/BoxTimeToUnix.h
    M lib/common/CommonException.txt
    M lib/common/DebugPrintf.cpp
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h
    M lib/common/IOStream.cpp
    M lib/common/NamedLock.cpp
    M lib/common/TemporaryDirectory.h
    M lib/common/UnixUser.cpp
    M lib/common/WaitForEvent.h
    M lib/server/Daemon.cpp
    M lib/server/LocalProcessStream.cpp
    M lib/server/SSLLib.cpp
    M lib/server/ServerStream.h
    M lib/server/Socket.cpp
    M lib/server/Socket.h
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h
    M lib/server/SocketStreamTLS.cpp
    M lib/server/makeprotocol.pl
    A lib/win32/WinNamedPipeStream.cpp
    A lib/win32/WinNamedPipeStream.h
    A lib/win32/emu.cpp
    A lib/win32/emu.h
    M modules.txt
    M parcels.txt
    M test/basicserver/testbasicserver.cpp
    A test/win32/testlibwin32.cpp
    A win32.bat
    A win32test.vcproj

  Log Message:
  -----------
  Marged chris/win32/merge/07-win32-fixes at r210 to trunk

git-svn-id: https://www.boxbackup.org/svn/box/trunk@213 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: db1868b2dacedddac8cd6d8b5b6cc989e6a6f087
      https://github.com/boxbackup/boxbackup/commit/db1868b2dacedddac8cd6d8b5b6cc989e6a6f087
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-12 (Mon, 12 Dec 2005)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDeleteList.cpp
    M bin/bbackupd/BackupClientDeleteList.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupClientInodeToIDMap.cpp
    M bin/bbackupd/BackupClientInodeToIDMap.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/bbackupd.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/Makefile.extra
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbackupquery/documentation.txt
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupCommands.cpp
    M bin/bbstored/BackupConstants.h
    M bin/bbstored/BackupContext.cpp
    M bin/bbstored/BackupContext.h
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M bin/bbstored/HousekeepStoreAccount.cpp
    M bin/bbstored/HousekeepStoreAccount.h
    M bin/bbstored/Makefile.extra
    M bin/bbstored/backupprotocol.txt
    M bin/bbstored/bbstored.cpp
    M config.sub
    M distribution/boxbackup/LINUX.txt
    M docs/backup/win32_build_on_cygwin_using_mingw.txt
    M docs/common/lib_common/ExcludeList.txt
    M docs/common/memory_leaks.txt
    M infrastructure/buildenv-testmain-template.cpp
    M lib/backupclient/BackupClientCryptoKeys.cpp
    M lib/backupclient/BackupClientCryptoKeys.h
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientFileAttributes.h
    M lib/backupclient/BackupClientMakeExcludeList.cpp
    M lib/backupclient/BackupClientMakeExcludeList.h
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupClientRestore.h
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/backupclient/BackupDaemonConfigVerify.h
    M lib/backupclient/BackupStoreConstants.h
    M lib/backupclient/BackupStoreDirectory.cpp
    M lib/backupclient/BackupStoreDirectory.h
    M lib/backupclient/BackupStoreException.h
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileCombine.cpp
    M lib/backupclient/BackupStoreFileCryptVar.cpp
    M lib/backupclient/BackupStoreFileCryptVar.h
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.h
    M lib/backupclient/BackupStoreFileWire.h
    M lib/backupclient/BackupStoreFilename.cpp
    M lib/backupclient/BackupStoreFilename.h
    M lib/backupclient/BackupStoreFilenameClear.cpp
    M lib/backupclient/BackupStoreFilenameClear.h
    M lib/backupclient/BackupStoreObjectMagic.h
    M lib/backupclient/Makefile.extra
    M lib/backupstore/BackupStoreAccountDatabase.cpp
    M lib/backupstore/BackupStoreAccountDatabase.h
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreAccounts.h
    M lib/backupstore/BackupStoreConfigVerify.cpp
    M lib/backupstore/BackupStoreConfigVerify.h
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/backupstore/BackupStoreInfo.h
    M lib/backupstore/StoreStructure.cpp
    M lib/backupstore/StoreStructure.h
    M lib/common/BannerText.h
    M lib/common/Box.h
    M lib/common/BoxException.cpp
    M lib/common/BoxException.h
    M lib/common/BoxPlatform.h
    M lib/common/BoxPortsAndFiles.h
    M lib/common/BoxTime.cpp
    M lib/common/BoxTime.h
    M lib/common/BoxTimeToText.cpp
    M lib/common/BoxTimeToText.h
    M lib/common/BoxTimeToUnix.h
    M lib/common/CollectInBufferStream.cpp
    M lib/common/CollectInBufferStream.h
    M lib/common/CommonException.h
    M lib/common/Configuration.cpp
    M lib/common/Configuration.h
    M lib/common/DebugAssertFailed.cpp
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/DebugPrintf.cpp
    M lib/common/ExcludeList.cpp
    M lib/common/ExcludeList.h
    M lib/common/FdGetLine.cpp
    M lib/common/FdGetLine.h
    M lib/common/FileModificationTime.h
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h
    M lib/common/Guards.h
    M lib/common/IOStream.cpp
    M lib/common/IOStream.h
    M lib/common/IOStreamGetLine.cpp
    M lib/common/IOStreamGetLine.h
    M lib/common/MainHelper.h
    M lib/common/Makefile.extra
    M lib/common/MemBlockStream.cpp
    M lib/common/MemBlockStream.h
    M lib/common/MemLeakFindOff.h
    M lib/common/MemLeakFindOn.h
    M lib/common/MemLeakFinder.h
    M lib/common/NamedLock.cpp
    M lib/common/NamedLock.h
    M lib/common/PartialReadStream.cpp
    M lib/common/PartialReadStream.h
    M lib/common/ReadGatherStream.cpp
    M lib/common/ReadGatherStream.h
    M lib/common/StreamableMemBlock.cpp
    M lib/common/StreamableMemBlock.h
    M lib/common/TemporaryDirectory.h
    M lib/common/Test.h
    M lib/common/UnixUser.cpp
    M lib/common/UnixUser.h
    M lib/common/Utils.cpp
    M lib/common/Utils.h
    M lib/compress/Compress.h
    M lib/compress/CompressException.h
    M lib/compress/Makefile.extra
    M lib/crypto/CipherBlowfish.cpp
    M lib/crypto/CipherBlowfish.h
    M lib/crypto/CipherContext.cpp
    M lib/crypto/CipherContext.h
    M lib/crypto/CipherDescription.cpp
    M lib/crypto/CipherDescription.h
    M lib/crypto/CipherException.h
    M lib/crypto/MD5Digest.cpp
    M lib/crypto/MD5Digest.h
    M lib/crypto/Makefile.extra
    M lib/crypto/Random.cpp
    M lib/crypto/Random.h
    M lib/crypto/RollingChecksum.cpp
    M lib/crypto/RollingChecksum.h
    M lib/raidfile/Makefile.extra
    M lib/raidfile/RaidFileController.cpp
    M lib/raidfile/RaidFileController.h
    M lib/raidfile/RaidFileException.h
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileRead.h
    M lib/raidfile/RaidFileUtil.cpp
    M lib/raidfile/RaidFileUtil.h
    M lib/raidfile/RaidFileWrite.cpp
    M lib/raidfile/RaidFileWrite.h
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h
    M lib/server/Makefile.extra
    M lib/server/Protocol.cpp
    M lib/server/Protocol.h
    M lib/server/ProtocolObject.cpp
    M lib/server/ProtocolObject.h
    M lib/server/ProtocolUncertainStream.cpp
    M lib/server/ProtocolUncertainStream.h
    M lib/server/ProtocolWire.h
    M lib/server/SSLLib.cpp
    M lib/server/SSLLib.h
    M lib/server/ServerException.h
    M lib/server/ServerStream.h
    M lib/server/ServerTLS.h
    M lib/server/Socket.cpp
    M lib/server/Socket.h
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h
    M lib/server/SocketStreamTLS.cpp
    M lib/server/SocketStreamTLS.h
    M lib/server/TLSContext.cpp
    M lib/server/TLSContext.h
    M lib/win32/WinNamedPipeStream.cpp
    M lib/win32/WinNamedPipeStream.h
    M modules.txt
    M test/backupdiff/difftestfiles.cpp
    M test/backupdiff/testbackupdiff.cpp
    M test/backupstore/testbackupstore.cpp
    M test/backupstore/testextra
    M test/backupstore/testfiles/accounts.txt
    M test/backupstore/testfiles/bbstored.conf
    M test/backupstore/testfiles/bbstored_multi.conf
    M test/backupstore/testfiles/query.conf
    M test/backupstore/testfiles/raidfile.conf
    M test/basicserver/Makefile.extra
    M test/basicserver/TestCommands.cpp
    M test/basicserver/TestContext.cpp
    M test/basicserver/TestContext.h
    M test/basicserver/testbasicserver.cpp
    M test/basicserver/testfiles/key-creation.txt
    M test/basicserver/testfiles/srv1.conf
    M test/basicserver/testfiles/srv1b.conf
    M test/basicserver/testfiles/srv2.conf
    M test/basicserver/testfiles/srv3.conf
    M test/basicserver/testfiles/srv4.conf
    M test/basicserver/testprotocol.txt
    M test/bbackupd/testbbackupd.cpp
    M test/bbackupd/testextra
    M test/bbackupd/testfiles/accounts.txt
    M test/bbackupd/testfiles/bbackupd.conf
    M test/bbackupd/testfiles/bbstored.conf
    M test/bbackupd/testfiles/clientCerts.pem
    M test/bbackupd/testfiles/clientPrivKey.pem
    M test/bbackupd/testfiles/clientTrustedCAs.pem
    M test/bbackupd/testfiles/raidfile.conf
    M test/bbackupd/testfiles/serverCerts.pem
    M test/bbackupd/testfiles/serverPrivKey.pem
    M test/bbackupd/testfiles/serverTrustedCAs.pem
    M test/bbackupd/testfiles/test2.tgz
    M test/bbackupd/testfiles/test3.tgz
    M test/bbackupd/testfiles/test_base.tgz
    M test/common/testcommon.cpp
    M test/common/testfiles/config1.txt
    M test/common/testfiles/config10.txt
    M test/common/testfiles/config11.txt
    M test/common/testfiles/config12.txt
    M test/common/testfiles/config13.txt
    M test/common/testfiles/config14.txt
    M test/common/testfiles/config15.txt
    M test/common/testfiles/config16.txt
    M test/common/testfiles/config2.txt
    M test/common/testfiles/config3.txt
    M test/common/testfiles/config4.txt
    M test/common/testfiles/config5.txt
    M test/common/testfiles/config6.txt
    M test/common/testfiles/config7.txt
    M test/common/testfiles/config8.txt
    M test/common/testfiles/config9.txt
    M test/common/testfiles/config9b.txt
    M test/common/testfiles/config9c.txt
    M test/common/testfiles/config9d.txt
    M test/common/testfiles/fdgetlinetest.txt
    M test/compress/testcompress.cpp
    M test/crypto/testcrypto.cpp
    M test/raidfile/Darwin-SYS.h
    M test/raidfile/Makefile.extra.Darwin
    M test/raidfile/intercept.cpp
    M test/raidfile/testextra
    M test/raidfile/testfiles/raidfile.conf
    M test/raidfile/testraidfile.cpp

  Log Message:
  -----------
  Fixing up svn:executable properties.
You may need a new checkout to see this.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@214 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e4fb0e8ff41f16614a8e7f6e81e2a54c6dab2b1b
      https://github.com/boxbackup/boxbackup/commit/e4fb0e8ff41f16614a8e7f6e81e2a54c6dab2b1b
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-12 (Mon, 12 Dec 2005)

  Log Message:
  -----------
  Setting svn:mime-type for *.tgz

git-svn-id: https://www.boxbackup.org/svn/box/trunk@215 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d841b2e9616cae086589217c1c7a2f6dbd720971
      https://github.com/boxbackup/boxbackup/commit/d841b2e9616cae086589217c1c7a2f6dbd720971
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-12 (Mon, 12 Dec 2005)

  Changed paths:
    M docs/backup/win32_build_on_cygwin_using_mingw.txt
    M test/raidfile/Darwin-SYS.h

  Log Message:
  -----------
  Set svn:eol-style as appropriate for all files

git-svn-id: https://www.boxbackup.org/svn/box/trunk@217 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 24a3ea8d437e8d97f2353b58b645573955b3804d
      https://github.com/boxbackup/boxbackup/commit/24a3ea8d437e8d97f2353b58b645573955b3804d
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-12 (Mon, 12 Dec 2005)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp
    M infrastructure/makebuildenv.pl
    M lib/common/DebugAssertFailed.cpp
    M lib/common/DebugPrintf.cpp
    M lib/common/FileStream.cpp
    M lib/common/Test.h
    M modules.txt
    M runtest.pl
    M test/common/testcommon.cpp
    M test/crypto/testcrypto.cpp

  Log Message:
  -----------
  Merged 210:218 from chris/win32/merge/07-win32-fixes to trunk

git-svn-id: https://www.boxbackup.org/svn/box/trunk@219 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fb5ca1bce20083b0ad92bf223b912a7561e1dfdd
      https://github.com/boxbackup/boxbackup/commit/fb5ca1bce20083b0ad92bf223b912a7561e1dfdd
  Author: chromi <chromi at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-13 (Tue, 13 Dec 2005)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  Refined BackupDiff test to delete the 220MB in temporary test files 
after use.  Should cause much less strain on everyone's disk space.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@221 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0acc3526ed935856c42726139a917ee2d092d748
      https://github.com/boxbackup/boxbackup/commit/0acc3526ed935856c42726139a917ee2d092d748
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-14 (Wed, 14 Dec 2005)

  Log Message:
  -----------
  Set svn:ignore on all dirs

git-svn-id: https://www.boxbackup.org/svn/box/trunk@229 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 72c7c566bbd065684ab55e0585963af6fe57829e
      https://github.com/boxbackup/boxbackup/commit/72c7c566bbd065684ab55e0585963af6fe57829e
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-14 (Wed, 14 Dec 2005)

  Changed paths:
    M lib/common/ConversionString.cpp

  Log Message:
  -----------
  Fix assert on 64 bit

git-svn-id: https://www.boxbackup.org/svn/box/trunk@230 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c291ba6d22f4973d5642d29d4c47ef0fc8ce9215
      https://github.com/boxbackup/boxbackup/commit/c291ba6d22f4973d5642d29d4c47ef0fc8ce9215
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-15 (Thu, 15 Dec 2005)

  Changed paths:
    M infrastructure/m4/ax_check_bdb_v1.m4

  Log Message:
  -----------
  Add more libdb version checks when configuring for Berkeley DB

git-svn-id: https://www.boxbackup.org/svn/box/trunk@245 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 82ae9c0386a8fd5312a490153abbba12c2735ebd
      https://github.com/boxbackup/boxbackup/commit/82ae9c0386a8fd5312a490153abbba12c2735ebd
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-15 (Thu, 15 Dec 2005)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  Diffing timeout in test too short for running debug build

git-svn-id: https://www.boxbackup.org/svn/box/trunk@246 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d92c0abe4f0133e3020ceb0aaa571bba0f41485f
      https://github.com/boxbackup/boxbackup/commit/d92c0abe4f0133e3020ceb0aaa571bba0f41485f
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-20 (Tue, 20 Dec 2005)

  Changed paths:
    M lib/backupclient/BackupStoreFile.h

  Log Message:
  -----------
  Fix CodingChunkAlloc/Free for use on 32 and 64 bit platforms

git-svn-id: https://www.boxbackup.org/svn/box/trunk@248 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c3778a8f98608f87d059434e772e384b6aeeffce
      https://github.com/boxbackup/boxbackup/commit/c3778a8f98608f87d059434e772e384b6aeeffce
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-20 (Tue, 20 Dec 2005)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Better to leak block quietly from backtrace_symbols on debug build than erroneously report a leak when there isn't one

git-svn-id: https://www.boxbackup.org/svn/box/trunk@249 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cc085982c06de8de62168fc78b40308c1c935c97
      https://github.com/boxbackup/boxbackup/commit/cc085982c06de8de62168fc78b40308c1c935c97
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-20 (Tue, 20 Dec 2005)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M lib/common/BoxTime.cpp
    M lib/common/BoxTime.h
    M lib/common/BoxTimeToText.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Rationalise type usage for time values. Now:
Box time is always box_time_t
seconds is time_t
microseconds is uint64_t

git-svn-id: https://www.boxbackup.org/svn/box/trunk@250 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c11935b96a89ec2dedcf2429c49d6b51b1542f87
      https://github.com/boxbackup/boxbackup/commit/c11935b96a89ec2dedcf2429c49d6b51b1542f87
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-20 (Tue, 20 Dec 2005)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Revert this change to the error retry delay that slipped in with win32. Arguably the timeout was already too short, or should use an increasing backoff strategy. But 10s is way too short.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@251 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 61f7ef3c912e43d1c8af2d58cdf9928bc101d422
      https://github.com/boxbackup/boxbackup/commit/61f7ef3c912e43d1c8af2d58cdf9928bc101d422
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-20 (Tue, 20 Dec 2005)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Fixed up configure.ac after win32 changes

git-svn-id: https://www.boxbackup.org/svn/box/trunk@256 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a6ae5a65e51f1e1ea2aea0e1b40fe464c4d0837e
      https://github.com/boxbackup/boxbackup/commit/a6ae5a65e51f1e1ea2aea0e1b40fe464c4d0837e
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-21 (Wed, 21 Dec 2005)

  Changed paths:
    M configure.ac
    M lib/common/Box.h

  Log Message:
  -----------
  Allow use of native 64 bit endian swapping functions

git-svn-id: https://www.boxbackup.org/svn/box/trunk@257 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c1b96ae94fa43d4cb84e9431ca7963c5b55b20ae
      https://github.com/boxbackup/boxbackup/commit/c1b96ae94fa43d4cb84e9431ca7963c5b55b20ae
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-21 (Wed, 21 Dec 2005)

  Changed paths:
    M configure.ac
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Rename config.h to BoxConfig.h to help prevent clashes

git-svn-id: https://www.boxbackup.org/svn/box/trunk@260 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ddd1864343ff46568d31b6674733986ffce96bbf
      https://github.com/boxbackup/boxbackup/commit/ddd1864343ff46568d31b6674733986ffce96bbf
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-25 (Sun, 25 Dec 2005)

  Changed paths:
    M configure.ac
    M lib/common/Box.h

  Log Message:
  -----------
  Attempt to fix box_ntoh64 for FreeBSD which renames betoh64 to be64toh

git-svn-id: https://www.boxbackup.org/svn/box/trunk@283 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d9ff6f78c60733c8413642671ea4554871b9a39f
      https://github.com/boxbackup/boxbackup/commit/d9ff6f78c60733c8413642671ea4554871b9a39f
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-25 (Sun, 25 Dec 2005)

  Changed paths:
    M infrastructure/m4/ax_check_mount_point.m4

  Log Message:
  -----------
  Fix FreeBSD not finding sys/mount.h

git-svn-id: https://www.boxbackup.org/svn/box/trunk@284 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 693eda6011e26eee9b1cc2579d4b014aaf1d617e
      https://github.com/boxbackup/boxbackup/commit/693eda6011e26eee9b1cc2579d4b014aaf1d617e
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-28 (Wed, 28 Dec 2005)

  Changed paths:
    M configure.ac
    M lib/common/Box.h

  Log Message:
  -----------
  Don't use betoh64/be64tonh to avoid name hassle

git-svn-id: https://www.boxbackup.org/svn/box/trunk@286 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 41cb6f10575e34988cf8f373ad5226c679aec3dd
      https://github.com/boxbackup/boxbackup/commit/41cb6f10575e34988cf8f373ad5226c679aec3dd
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-28 (Wed, 28 Dec 2005)

  Log Message:
  -----------
  Fix svn:ignore for BoxConfig.h, missed from r260

git-svn-id: https://www.boxbackup.org/svn/box/trunk@287 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9a651f97a1cf138d6c3d0f9414435b4f89f4a6a4
      https://github.com/boxbackup/boxbackup/commit/9a651f97a1cf138d6c3d0f9414435b4f89f4a6a4
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-28 (Wed, 28 Dec 2005)

  Changed paths:
    M bin/bbackupd/BackupClientInodeToIDMap.cpp
    M configure.ac
    A infrastructure/m4/ax_compare_version.m4
    A infrastructure/m4/ax_path_bdb.m4
    A infrastructure/m4/ax_split_version.m4

  Log Message:
  -----------
  Now supports Berkeley DB versions >= 4.1 in addition to 1.x. The versions inbetween are not supported because they require code changes and I don't have them available to test against.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@288 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8f7d5efc84fd862ddeb31550859d8a0ca02f6420
      https://github.com/boxbackup/boxbackup/commit/8f7d5efc84fd862ddeb31550859d8a0ca02f6420
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-28 (Wed, 28 Dec 2005)

  Changed paths:
    R VERSION.txt
    M distribution/boxbackup/VERSION.txt

  Log Message:
  -----------
  Fix VERSION.txt

git-svn-id: https://www.boxbackup.org/svn/box/trunk@289 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a35d460da46d513740320e1dffd0eb5c6b468bfb
      https://github.com/boxbackup/boxbackup/commit/a35d460da46d513740320e1dffd0eb5c6b468bfb
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-28 (Wed, 28 Dec 2005)

  Changed paths:
    R infrastructure/tests/common_tests.pl

  Log Message:
  -----------
  Removed dynamic tests, not used since autoconf

git-svn-id: https://www.boxbackup.org/svn/box/trunk@290 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2d121d1c9dc30cabcb3792cf7cd08a98474265d9
      https://github.com/boxbackup/boxbackup/commit/2d121d1c9dc30cabcb3792cf7cd08a98474265d9
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-28 (Wed, 28 Dec 2005)

  Changed paths:
    A VERSION.txt

  Log Message:
  -----------
  Putting this back now I see why we've got two

git-svn-id: https://www.boxbackup.org/svn/box/trunk@291 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5f484d650efa1d3bf12f120887d0c731188c91bb
      https://github.com/boxbackup/boxbackup/commit/5f484d650efa1d3bf12f120887d0c731188c91bb
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-28 (Wed, 28 Dec 2005)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt
    M infrastructure/makedistribution.pl

  Log Message:
  -----------
  Fix make distribution

git-svn-id: https://www.boxbackup.org/svn/box/trunk@292 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 34a8406df8d12bb8e820f9e59edcbb2a7f448467
      https://github.com/boxbackup/boxbackup/commit/34a8406df8d12bb8e820f9e59edcbb2a7f448467
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-28 (Wed, 28 Dec 2005)

  Changed paths:
    M distribution/boxbackup/contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Change to list email address

git-svn-id: https://www.boxbackup.org/svn/box/trunk@293 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 485c6f45642a9a9382c185dd794f558b239ba01b
      https://github.com/boxbackup/boxbackup/commit/485c6f45642a9a9382c185dd794f558b239ba01b
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2005-12-28 (Wed, 28 Dec 2005)

  Changed paths:
    M distribution/boxbackup/contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Use %configure macro in rpm spec file

git-svn-id: https://www.boxbackup.org/svn/box/trunk@294 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e4751826434a24081e24d63b22ee07d945f84698
      https://github.com/boxbackup/boxbackup/commit/e4751826434a24081e24d63b22ee07d945f84698
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-02 (Mon, 02 Jan 2006)

  Changed paths:
    M infrastructure/m4/ax_path_bdb.m4

  Log Message:
  -----------
  Try and bodge round the scary mess Berkeley DB has left us. This possible fix is for FreeBSD which fails to compile db.h

git-svn-id: https://www.boxbackup.org/svn/box/trunk@296 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a843b64fc1e1ced4f85cf7da9f1797cd4301d40b
      https://github.com/boxbackup/boxbackup/commit/a843b64fc1e1ced4f85cf7da9f1797cd4301d40b
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-02 (Mon, 02 Jan 2006)

  Changed paths:
    M infrastructure/m4/ax_path_bdb.m4

  Log Message:
  -----------
  The last commit fixed the header file check, hopefully this will fix the library check on platforms with only db version 1.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@297 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f5fe4db1e8316046f6a065f223a7db07378f657d
      https://github.com/boxbackup/boxbackup/commit/f5fe4db1e8316046f6a065f223a7db07378f657d
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-04 (Wed, 04 Jan 2006)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp
    M configure.ac
    M infrastructure/m4/vl_lib_readline.m4

  Log Message:
  -----------
  Rewrite configure check for readline lib to match libraries to headers and be more selective.
Also changes --enable-gnu-readline which intentionally used to prefer editline over readline even when specified (for licence goodness), to now prefer readline if requested. This is probably less confusing to a user.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@298 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6f24acc8c5c7b4036b68ce1f43eabf8573e3bcce
      https://github.com/boxbackup/boxbackup/commit/6f24acc8c5c7b4036b68ce1f43eabf8573e3bcce
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-05 (Thu, 05 Jan 2006)

  Changed paths:
    M configure.ac
    M infrastructure/BoxPlatform.pm.in
    M lib/backupclient/BackupClientFileAttributes.cpp
    R test/raidfile/Darwin-SYS.h
    R test/raidfile/Makefile.extra.Darwin
    R test/raidfile/make-darwin-intercepts.pl

  Log Message:
  -----------
  Fix for Darwin: xattr support, remove nasty assembler intercept code, cosmetic in configure

git-svn-id: https://www.boxbackup.org/svn/box/trunk@299 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ef5e0fcb395489fb4332d009ecf74d7a8674ede6
      https://github.com/boxbackup/boxbackup/commit/ef5e0fcb395489fb4332d009ecf74d7a8674ede6
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-06 (Fri, 06 Jan 2006)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/common/BoxPlatform.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Simple test for xattr support in test/bbackupd, fix xattr support for Darwin, move xattr adjustments to BoxPlatform.h to use globally

git-svn-id: https://www.boxbackup.org/svn/box/trunk@300 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6db7042b7f8e039ff5c36b9a04b0f5526fd13b7a
      https://github.com/boxbackup/boxbackup/commit/6db7042b7f8e039ff5c36b9a04b0f5526fd13b7a
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-06 (Fri, 06 Jan 2006)

  Changed paths:
    M lib/backupclient/BackupStoreFilenameClear.cpp

  Log Message:
  -----------
  Change handling of static buffer in filename encoding and decoding to avoid double free on exit under Darwin -- maybe a runtime issue?

git-svn-id: https://www.boxbackup.org/svn/box/trunk@301 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 299114773e6b090a4d78846452f183252708bf88
      https://github.com/boxbackup/boxbackup/commit/299114773e6b090a4d78846452f183252708bf88
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-06 (Fri, 06 Jan 2006)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fixes for xattr on Linux

- A very unlikely failure where getxattr returns an error code the first time
  but succeeds the second time could cause buffer overrun and corruption.

Affecting the tests only:

- On Linux (and presumably Irix) normal users can only modify attributes in
  the 'user.' namespace.
- Some filesystems can have strict limits on value size (eg. 1024 bytes on
  ext3 depending on block size)
- ENOATTR is defined in xattr/xattr.h. This file is an optional install and is
  not needed for the rest of box to use extended attributes. Provide it
  ourselves if not present.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@302 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ee8ec0a7039a284aebe7c90dc02dd2a5a3171744
      https://github.com/boxbackup/boxbackup/commit/ee8ec0a7039a284aebe7c90dc02dd2a5a3171744
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-07 (Sat, 07 Jan 2006)

  Changed paths:
    M configure.ac
    M lib/common/BoxPlatform.h
    M test/raidfile/intercept.cpp

  Log Message:
  -----------
  Fix raidfile intercept tests on 32 bit Linux with large file support.
Now intercept tests are never disabled.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@310 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8a0d3a0db298163da52c0e32ba78a1afa1028181
      https://github.com/boxbackup/boxbackup/commit/8a0d3a0db298163da52c0e32ba78a1afa1028181
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-08 (Sun, 08 Jan 2006)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Quick hack to stop attempting to intercept clib functions on Darwin, pending autoconf test

git-svn-id: https://www.boxbackup.org/svn/box/trunk@311 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: de9ef438a060e45b90b7c90dd09e02b2ca140f0a
      https://github.com/boxbackup/boxbackup/commit/de9ef438a060e45b90b7c90dd09e02b2ca140f0a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-28 (Sat, 28 Jan 2006)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbstored/BackupCommands.cpp
    M bin/bbstored/backupprotocol.txt
    M configure.ac
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileDiff.cpp
    M test/backupdiff/testbackupdiff.cpp
    M test/backupstore/testbackupstore.cpp
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  * configure.ac
* bin/bbstored/backupprotocol.txt
* bin/bbstored/BackupCommands.cpp
* bin/bbackupd/BackupClientContext.cpp
* bin/bbackupd/BackupClientContext.h
* bin/bbackupd/BackupClientDirectoryRecord.cpp
* bin/bbackupd/BackupDaemon.cpp
* lib/backupclient/BackupStoreFileDiff.cpp
* lib/backupclient/BackupDaemonConfigVerify.cpp
* lib/backupclient/BackupStoreFile.h
* test/backupstore/testbackupstore.cpp
* test/backupstorepatch/testbackupstorepatch.cpp
- Applied changes from chris/diff-timeout-and-ssl-keepalive

* test/backupdiff/testbackupdiff.cpp
- Fixed test to match new prototype for EncodeFileDiff


git-svn-id: https://www.boxbackup.org/svn/box/trunk@341 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 433d51a94dfa7f7a494f3047f2370ad5e7c4ce0b
      https://github.com/boxbackup/boxbackup/commit/433d51a94dfa7f7a494f3047f2370ad5e7c4ce0b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-28 (Sat, 28 Jan 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M infrastructure/makeparcels.pl
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/win32/emu.cpp
    M parcels.txt

  Log Message:
  -----------
  * infrastructure/makeparcels.pl
- Use the target platform's name, rather than the build platform, in the
  generated package file names (useful for cross-compiling)

* lib/win32/emu.cpp
- Don't log a warning when statting a file that doesn't exist, as 
  bbackupquery does this to verify that the target does not exist before 
  restoring

* lib/backupclient/BackupClientFileAttributes.cpp
- Fixed a missing endian conversion that was causing file timestamps to 
  appear to be invalid, generating warnings about every file on the server,
  on Win32

* parcels.txt
- Include a couple of DLL files in the package on MinGW, which are needed
  to run the compiled binaries

* bin/bbackupquery/BackupQueries.cpp
- Fixed usage text for the "get" command


git-svn-id: https://www.boxbackup.org/svn/box/trunk@342 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 443ce9297bcf099bbd4c4247a321a3b03619c501
      https://github.com/boxbackup/boxbackup/commit/443ce9297bcf099bbd4c4247a321a3b03619c501
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-28 (Sat, 28 Jan 2006)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  * parcels.txt
- Omit Windows-specific files on non-Windows platforms


git-svn-id: https://www.boxbackup.org/svn/box/trunk@345 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6580b94e9684f4515698e6aabae35aedf12aed7e
      https://github.com/boxbackup/boxbackup/commit/6580b94e9684f4515698e6aabae35aedf12aed7e
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-30 (Mon, 30 Jan 2006)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/LICENSE.txt
    M distribution/boxbackup/THANKS.txt
    M distribution/boxbackup/VERSION.txt
    M infrastructure/makedistribution.pl

  Log Message:
  -----------
  Run bootstrap when making distribution, preparations for 0.10 release candidate

git-svn-id: https://www.boxbackup.org/svn/box/trunk@352 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7d4136664cbc57bf094fd0e873f1a2c24da8e608
      https://github.com/boxbackup/boxbackup/commit/7d4136664cbc57bf094fd0e873f1a2c24da8e608
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-30 (Mon, 30 Jan 2006)

  Changed paths:
    M BUGS.txt
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/bbackupd-config
    M configure.ac
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    A lib/common/Archive.h
    M lib/common/CommonException.txt
    M lib/common/ExcludeList.cpp
    M lib/common/ExcludeList.h
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Merge chris/bb-save-state, resolving conflicts

git-svn-id: https://www.boxbackup.org/svn/box/trunk@353 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5369f8ce92dc0c1c424fc64bc57298b8d60cd6cb
      https://github.com/boxbackup/boxbackup/commit/5369f8ce92dc0c1c424fc64bc57298b8d60cd6cb
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-01-31 (Tue, 31 Jan 2006)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Filter -O2 out because we do that explicitly later on.
Now debug builds are once again unoptimised.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@354 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 72dcbd9a19667af6d6b49f1301e2db46e1cc99ce
      https://github.com/boxbackup/boxbackup/commit/72dcbd9a19667af6d6b49f1301e2db46e1cc99ce
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-01 (Wed, 01 Feb 2006)

  Changed paths:
    M infrastructure/makeparcels.pl

  Log Message:
  -----------
  Prevent failure from pre-existing directory when making parcels.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@355 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cd0463c4338a2eb930c6597a0257eb6e1f17e72f
      https://github.com/boxbackup/boxbackup/commit/cd0463c4338a2eb930c6597a0257eb6e1f17e72f
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-01 (Wed, 01 Feb 2006)

  Changed paths:
    M lib/backupclient/BackupStoreDirectory.cpp
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/crypto/Random.cpp
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  Get rid of the non-test compiler warnings seen on Darwin with gcc4

git-svn-id: https://www.boxbackup.org/svn/box/trunk@356 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b4f7988d40a92f0646344526882d77c18c81af0
      https://github.com/boxbackup/boxbackup/commit/0b4f7988d40a92f0646344526882d77c18c81af0
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-01 (Wed, 01 Feb 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Detect network libraries for OpenSSL, needed on Solaris

git-svn-id: https://www.boxbackup.org/svn/box/trunk@357 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1b7ebb9f561a4950e0c974ebd545913161d8a511
      https://github.com/boxbackup/boxbackup/commit/1b7ebb9f561a4950e0c974ebd545913161d8a511
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-01 (Wed, 01 Feb 2006)

  Changed paths:
    M distribution/boxbackup/THANKS.txt
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use gzip directly to avoid GNU specific tar options.

NOTE: Can someone test that this doesn't break Windows please?

git-svn-id: https://www.boxbackup.org/svn/box/trunk@358 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9f9a38220be1d21026c1af28728528a662682e88
      https://github.com/boxbackup/boxbackup/commit/9f9a38220be1d21026c1af28728528a662682e88
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-02 (Thu, 02 Feb 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h
    M infrastructure/makebuildenv.pl

  Log Message:
  -----------
  Ignore windows sources in lib/win32 on non-windows platforms.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@359 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2317f33a91d0b818fef3ad6d2af703fbfaf05ded
      https://github.com/boxbackup/boxbackup/commit/2317f33a91d0b818fef3ad6d2af703fbfaf05ded
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-03 (Fri, 03 Feb 2006)

  Changed paths:
    M configure.ac
    A infrastructure/m4/ax_bswap64.m4
    M infrastructure/makebuildenv.pl
    M lib/common/Box.h

  Log Message:
  -----------
  Beef up configure checks for 64 bit endian swapping function.

NOTE: Needs testing on other platforms, especially BSD.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@362 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d10c1586c89998814a563d50c702dba05f167cd9
      https://github.com/boxbackup/boxbackup/commit/d10c1586c89998814a563d50c702dba05f167cd9
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-03 (Fri, 03 Feb 2006)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Include all the right win32 directories in distributions

git-svn-id: https://www.boxbackup.org/svn/box/trunk@363 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ae413f72bde6508b8c405d4ce7a676987e19dc64
      https://github.com/boxbackup/boxbackup/commit/ae413f72bde6508b8c405d4ce7a676987e19dc64
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-11 (Sat, 11 Feb 2006)

  Changed paths:
    M configure.ac
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Workaround for autoconf's unexpanded directory substitutions vs. the current Makefile not being able to expand them itself.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@413 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c89def3738783da189dd43b59900f503873696a4
      https://github.com/boxbackup/boxbackup/commit/c89def3738783da189dd43b59900f503873696a4
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-11 (Sat, 11 Feb 2006)

  Changed paths:
    M configure.ac
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Added workaround option for GCC on the PPC platform. This is a manually invoked option because I do not know under what circumstances (eg. versions etc) the problem occurs.
If the raidfile test fails in release mode but passes in debug mode then try this option and see if it fixes it.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@414 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 31ee95a49cb452577119d0e2fabdb3a4766f2225
      https://github.com/boxbackup/boxbackup/commit/31ee95a49cb452577119d0e2fabdb3a4766f2225
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-11 (Sat, 11 Feb 2006)

  Changed paths:
    M infrastructure/makeparcels.pl

  Log Message:
  -----------
  Remove extra version number on OpenBSD -- functionality provided elsewhere

git-svn-id: https://www.boxbackup.org/svn/box/trunk@415 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 68e818d7746de731b800f9d465905dcd73a3cc46
      https://github.com/boxbackup/boxbackup/commit/68e818d7746de731b800f9d465905dcd73a3cc46
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-11 (Sat, 11 Feb 2006)

  Changed paths:
    M bin/bbstored/backupprotocol.txt

  Log Message:
  -----------
  Bump ident string version to stop new clients connecting to old servers

git-svn-id: https://www.boxbackup.org/svn/box/trunk@416 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bf06b7737c3cfd938418065fd09f26accc272bed
      https://github.com/boxbackup/boxbackup/commit/bf06b7737c3cfd938418065fd09f26accc272bed
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-12 (Sun, 12 Feb 2006)

  Changed paths:
    M configure.ac
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  This ppc problem is clearly a common big-endian platform issue.
Remove ppc hack and configure option. Replace dubious casts with clearer use of memcpy to make this work on all platforms all of the time.
Note that there isn't really a call to memcpy, the compiler inlines it as 2 int copies which is an insignificant overhead (even true with -O0).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@436 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c2969beb3d8645b311606f0afb891111f40b751f
      https://github.com/boxbackup/boxbackup/commit/c2969beb3d8645b311606f0afb891111f40b751f
  Author: chromi <chromi at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-12 (Sun, 12 Feb 2006)

  Changed paths:
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Change "PPC workaround" to use union instead of memcpy().  All tests now pass.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@437 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5537f9da04112b3537b48e5829f7e8b6d122a33e
      https://github.com/boxbackup/boxbackup/commit/5537f9da04112b3537b48e5829f7e8b6d122a33e
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-13 (Mon, 13 Feb 2006)

  Changed paths:
    R bbackupctl.vcproj
    R bbackupd.vcproj
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/bbackupd.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp
    R boxbackup.sln
    R boxbackup.suo
    R boxquery.vcproj
    R common.vcproj
    M configure.ac
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt
    M docs/backup/win32_build_on_cygwin_using_mingw.txt
    M infrastructure/makeparcels.pl
    A infrastructure/msvc/2003/bbackupctl.vcproj
    A infrastructure/msvc/2003/bbackupd.vcproj
    A infrastructure/msvc/2003/boxbackup.sln
    A infrastructure/msvc/2003/boxbackup.suo
    A infrastructure/msvc/2003/boxquery.vcproj
    A infrastructure/msvc/2003/common.vcproj
    A infrastructure/msvc/2003/win32test.vcproj
    A infrastructure/msvc/2005/bbackupctl.vcproj
    A infrastructure/msvc/2005/bbackupd.vcproj
    A infrastructure/msvc/2005/boxbackup.sln
    A infrastructure/msvc/2005/boxbackup.suo
    A infrastructure/msvc/2005/boxquery.vcproj
    A infrastructure/msvc/2005/common.vcproj
    A infrastructure/msvc/2005/win32test.vcproj
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFilenameClear.cpp
    M lib/backupclient/BackupStoreObjectDump.cpp
    M lib/common/BoxPlatform.h
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/EventWatchFilesystemObject.cpp
    M lib/common/ExcludeList.cpp
    M lib/common/FdGetLine.cpp
    M lib/common/FileStream.h
    M lib/common/Guards.h
    M lib/common/NamedLock.cpp
    M lib/common/Test.h
    M lib/common/UnixUser.cpp
    M lib/common/WaitForEvent.cpp
    M lib/server/Daemon.cpp
    M lib/server/LocalProcessStream.cpp
    M lib/server/Socket.cpp
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp
    M lib/win32/WinNamedPipeStream.cpp
    A lib/win32/config.h.win32
    M lib/win32/emu.cpp
    M lib/win32/emu.h
    M parcels.txt
    A test/win32/Makefile
    M test/win32/testlibwin32.cpp
    A test/win32/timezone.cpp
    M win32.bat
    R win32test.vcproj

  Log Message:
  -----------
  Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to distribution

git-svn-id: https://www.boxbackup.org/svn/box/trunk@456 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 154ad07778d4221665440e5a85a5a63ad37253f3
      https://github.com/boxbackup/boxbackup/commit/154ad07778d4221665440e5a85a5a63ad37253f3
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-13 (Mon, 13 Feb 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h
    M lib/server/SocketStreamTLS.cpp

  Log Message:
  -----------
  Bandwidth usage logging patch from Pascal Lalonde <plalonde at overnet.qc.ca>, with minor change to exception handling

git-svn-id: https://www.boxbackup.org/svn/box/trunk@457 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d5b637075e23970e70e3c7b5215ed6b516497f31
      https://github.com/boxbackup/boxbackup/commit/d5b637075e23970e70e3c7b5215ed6b516497f31
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-13 (Mon, 13 Feb 2006)

  Changed paths:
    M infrastructure/makedistribution.pl
    M lib/common/BannerText.h

  Log Message:
  -----------
  Update copyright notice, add SVN revision to distributed files

git-svn-id: https://www.boxbackup.org/svn/box/trunk@458 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5d37358f000cfe7284cf110df776f4dcbb6dd1be
      https://github.com/boxbackup/boxbackup/commit/5d37358f000cfe7284cf110df776f4dcbb6dd1be
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-14 (Tue, 14 Feb 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Zero any unused fields in struct stat, to avoid spurious checksum mismatches that waste bandwidth and slow down backups (committing on behalf of chris)

git-svn-id: https://www.boxbackup.org/svn/box/trunk@460 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8e48c81dc3fa38df9e0b8845c85ee62dc2e67c1c
      https://github.com/boxbackup/boxbackup/commit/8e48c81dc3fa38df9e0b8845c85ee62dc2e67c1c
  Author: stenor <stenor at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-14 (Tue, 14 Feb 2006)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Increased "timeout" from 18 to 28 seconds needed on Solaris.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@461 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 01e14ae8432c4d233552ec63b5a8349e7dbc0cd6
      https://github.com/boxbackup/boxbackup/commit/01e14ae8432c4d233552ec63b5a8349e7dbc0cd6
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-14 (Tue, 14 Feb 2006)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  tar -C is not portable, so avoid using it in tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@462 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 646419a5b968369983fd6579620ee696cf983c1a
      https://github.com/boxbackup/boxbackup/commit/646419a5b968369983fd6579620ee696cf983c1a
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-17 (Fri, 17 Feb 2006)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  On XFS the file permissions appear to apply also to the extended attribute data. ie. If a file is not readable then nor is the extended attribute data - even if there isn't any this is still an error.

This is not an ideal fix for this problem. Really we should notify a read-error as we do for file read permission problems and continue, but the BackupClientFileAttributes code is called from multiple locations and it is not clear that it could always report the error in such a way, nor even continue. This alternative is better than aborting the whole run. In the case where a file isn't readable this will be found and reported elsewhere anyway.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@464 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 838e3f1323fddcce7aa632c3b5d42d3f6293da35
      https://github.com/boxbackup/boxbackup/commit/838e3f1323fddcce7aa632c3b5d42d3f6293da35
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-18 (Sat, 18 Feb 2006)

  Changed paths:
    M distribution/boxbackup/VERSION.txt

  Log Message:
  -----------
  Bump version for rc3

git-svn-id: https://www.boxbackup.org/svn/box/trunk@473 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aced71f76b727cb8a76afdca347cf36e608c7eab
      https://github.com/boxbackup/boxbackup/commit/aced71f76b727cb8a76afdca347cf36e608c7eab
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-21 (Tue, 21 Feb 2006)

  Changed paths:
    M infrastructure/msvc/2003/bbackupctl.vcproj
    M infrastructure/msvc/2003/bbackupd.vcproj
    M infrastructure/msvc/2003/boxbackup.suo
    M infrastructure/msvc/2003/boxquery.vcproj
    M infrastructure/msvc/2003/common.vcproj
    M infrastructure/msvc/2003/win32test.vcproj

  Log Message:
  -----------
  * 2003/boxquery.vcproj
* 2003/boxbackup.suo
* 2003/win32test.vcproj
* 2003/common.vcproj
* 2003/bbackupctl.vcproj
* 2003/bbackupd.vcproj
- Updated Visual Studio 2003 project files, thanks to "Mark" 
  <boxbackup at hostingbrothers.nl>


git-svn-id: https://www.boxbackup.org/svn/box/trunk@481 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc5211ed038e20e45ff76b3978a80ab68700743e
      https://github.com/boxbackup/boxbackup/commit/bc5211ed038e20e45ff76b3978a80ab68700743e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-21 (Tue, 21 Feb 2006)

  Changed paths:
    A infrastructure/msvc/2003/boxbackup.ncb

  Log Message:
  -----------
  * boxbackup.ncb
- Added missing Visual Studio 2003 project file


git-svn-id: https://www.boxbackup.org/svn/box/trunk@482 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 61996acf64af7a31eaa667190018dd65fb4d4356
      https://github.com/boxbackup/boxbackup/commit/61996acf64af7a31eaa667190018dd65fb4d4356
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-21 (Tue, 21 Feb 2006)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Disable memory testing on Darwin -- order of destructors of static variables is nasty so debug processes segfault on termination

git-svn-id: https://www.boxbackup.org/svn/box/trunk@483 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e785ab939286ae3407e7fccdd40bca6b4afa5400
      https://github.com/boxbackup/boxbackup/commit/e785ab939286ae3407e7fccdd40bca6b4afa5400
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-23 (Thu, 23 Feb 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M infrastructure/m4/ax_check_mount_point.m4

  Log Message:
  -----------
  Patch from Per Thomsen to detect statvfs. This is used by recent versions of NetBSD in preference to statfs.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@486 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2d6a98acc062b7c40302996c1025ae4b5019700b
      https://github.com/boxbackup/boxbackup/commit/2d6a98acc062b7c40302996c1025ae4b5019700b
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-23 (Thu, 23 Feb 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Patch from Per Thomsen to skip kqueue check on NetBSD, required because the NetBSD kqueue is not compatible with the OpenBSD kqueue. This is a temporary workaround to be revisited for 0.11.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@487 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e6181fbbb9d8797c408ab2281293da65234723e
      https://github.com/boxbackup/boxbackup/commit/7e6181fbbb9d8797c408ab2281293da65234723e
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-23 (Thu, 23 Feb 2006)

  Changed paths:
    M distribution/boxbackup/LINUX.txt

  Log Message:
  -----------
  Update linux install doc

git-svn-id: https://www.boxbackup.org/svn/box/trunk@488 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8147bed256a7ef220a6a297a736481cc60723129
      https://github.com/boxbackup/boxbackup/commit/8147bed256a7ef220a6a297a736481cc60723129
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-23 (Thu, 23 Feb 2006)

  Changed paths:
    M VERSION.txt
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Let's use directory and SVN version in our BOX_VERSION variable

git-svn-id: https://www.boxbackup.org/svn/box/trunk@492 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 03fd4ac60b03436fb2684d3d772d3f5f9b55c889
      https://github.com/boxbackup/boxbackup/commit/03fd4ac60b03436fb2684d3d772d3f5f9b55c889
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-02-23 (Thu, 23 Feb 2006)

  Changed paths:
    M distribution/boxbackup/contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Fix RPM spec file since system name is now calculated differently

git-svn-id: https://www.boxbackup.org/svn/box/trunk@493 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6702e242b006731faf3f06417a52dcb23b9d6a5e
      https://github.com/boxbackup/boxbackup/commit/6702e242b006731faf3f06417a52dcb23b9d6a5e
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-04 (Sat, 04 Mar 2006)

  Changed paths:
    M bin/bbackupd/bbackupd-config
    M bin/bbackupquery/Makefile.extra
    M bin/bbackupquery/makedocumentation.pl
    M bin/bbstored/Makefile.extra
    M bin/bbstored/bbstored-certs
    M bin/bbstored/bbstored-config
    M configure.ac
    M distribution/boxbackup/contrib/cygwin/install-cygwin-service.pl
    M infrastructure/makebuildenv.pl
    M infrastructure/makedistribution.pl
    M infrastructure/makeparcels.pl
    M infrastructure/setupexternal.pl
    M lib/backupclient/Makefile.extra
    M lib/common/Makefile.extra
    M lib/common/makeexception.pl
    M lib/compress/Makefile.extra
    M lib/crypto/Makefile.extra
    M lib/raidfile/Makefile.extra
    M lib/raidfile/raidfile-config
    M lib/server/Makefile.extra
    M lib/server/makeprotocol.pl
    M runtest.pl
    M test/backupstorefix/testbackupstorefix.cpp
    M test/backupstorefix/testfiles/testbackupstorefix.pl
    M test/basicserver/Makefile.extra
    M test/bbackupd/testfiles/bbackupd.conf
    M test/bbackupd/testfiles/extcheck1.pl
    M test/bbackupd/testfiles/extcheck2.pl
    M test/bbackupd/testfiles/notifyscript.pl

  Log Message:
  -----------
  This is part 1 of a patch from James O'Gorman.

configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@536 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e7973e0d91ed181e32bdeee3b5b69e8b010d3b14
      https://github.com/boxbackup/boxbackup/commit/e7973e0d91ed181e32bdeee3b5b69e8b010d3b14
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-04 (Sat, 04 Mar 2006)

  Changed paths:
    R bin/bbackupd/bbackupd-config
    A bin/bbackupd/bbackupd-config.in
    R bin/bbackupquery/makedocumentation.pl
    A bin/bbackupquery/makedocumentation.pl.in
    R bin/bbstored/bbstored-certs
    A bin/bbstored/bbstored-certs.in
    R bin/bbstored/bbstored-config
    A bin/bbstored/bbstored-config.in
    R distribution/boxbackup/contrib/cygwin/install-cygwin-service.pl
    A distribution/boxbackup/contrib/cygwin/install-cygwin-service.pl.in
    R infrastructure/makebuildenv.pl
    A infrastructure/makebuildenv.pl.in
    R infrastructure/makeparcels.pl
    A infrastructure/makeparcels.pl.in
    R lib/common/makeexception.pl
    A lib/common/makeexception.pl.in
    R lib/raidfile/raidfile-config
    A lib/raidfile/raidfile-config.in
    R lib/server/makeprotocol.pl
    A lib/server/makeprotocol.pl.in
    R runtest.pl
    A runtest.pl.in
    R test/backupstorefix/testfiles/testbackupstorefix.pl
    A test/backupstorefix/testfiles/testbackupstorefix.pl.in
    R test/bbackupd/testfiles/extcheck1.pl
    A test/bbackupd/testfiles/extcheck1.pl.in
    R test/bbackupd/testfiles/extcheck2.pl
    A test/bbackupd/testfiles/extcheck2.pl.in
    R test/bbackupd/testfiles/notifyscript.pl
    A test/bbackupd/testfiles/notifyscript.pl.in

  Log Message:
  -----------
  This is part 2 of a patch from James O'Gorman.

This just renames all of the files that configure now substitutes - no changes to any of the files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@537 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 734af71e72165194893492550c7920d1cdb03ccb
      https://github.com/boxbackup/boxbackup/commit/734af71e72165194893492550c7920d1cdb03ccb
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-04 (Sat, 04 Mar 2006)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Fix for perl changes. makebuildenv now works with $(PERL) when executing autogen code from Makefile.extras.

Still not working fully though - execute permission lost on all substituted scripts.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@538 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 121885ce323e91799f02bf6386680e3d7021d87d
      https://github.com/boxbackup/boxbackup/commit/121885ce323e91799f02bf6386680e3d7021d87d
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-10 (Fri, 10 Mar 2006)

  Log Message:
  -----------
  Added documentation directories.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@540 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7994668ad0a2e70b7f2dd385aaae4dd7320b1036
      https://github.com/boxbackup/boxbackup/commit/7994668ad0a2e70b7f2dd385aaae4dd7320b1036
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-10 (Fri, 10 Mar 2006)

  Changed paths:
    A documentation/boxbackup/instguide.sgml

  Log Message:
  -----------
  Added rough cut of the installation guide. No DSSSL yet, but at least it can be 
reviewed, and edited.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@541 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a39abce988a1f20d4b8086a14063a3aa3bcb0ffa
      https://github.com/boxbackup/boxbackup/commit/a39abce988a1f20d4b8086a14063a3aa3bcb0ffa
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-11 (Sat, 11 Mar 2006)

  Changed paths:
    M documentation/boxbackup/instguide.sgml

  Log Message:
  -----------
  git-svn-id: https://www.boxbackup.org/svn/box/trunk@542 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b954acd62ee0d148217f36cef259b800bbb4f1d8
      https://github.com/boxbackup/boxbackup/commit/b954acd62ee0d148217f36cef259b800bbb4f1d8
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-12 (Sun, 12 Mar 2006)

  Changed paths:
    M configure.ac
    A infrastructure/m4/ax_config_scripts.m4

  Log Message:
  -----------
  Fix execute permission on substituted perl scripts

git-svn-id: https://www.boxbackup.org/svn/box/trunk@543 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4bd0a59142903230820a6d819973aabc6f28f4e3
      https://github.com/boxbackup/boxbackup/commit/4bd0a59142903230820a6d819973aabc6f28f4e3
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-12 (Sun, 12 Mar 2006)

  Log Message:
  -----------
  Set svn:ignore for new substituted files

git-svn-id: https://www.boxbackup.org/svn/box/trunk@544 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7aa568be20196994ff8ee40ac85112d225071a0a
      https://github.com/boxbackup/boxbackup/commit/7aa568be20196994ff8ee40ac85112d225071a0a
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-14 (Tue, 14 Mar 2006)

  Changed paths:
    A documentation/boxbackup/adminguide.xml
    R documentation/boxbackup/instguide.sgml
    A documentation/boxbackup/instguide.xml

  Log Message:
  -----------
  Renamed instguide.sgml -> instguide.xml, to make XXE editing a little easier.
First cut of the admin guide. There are several TODO items there now.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@546 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ce7e1ff95fe306c026bcfe2ed45d87af66954020
      https://github.com/boxbackup/boxbackup/commit/ce7e1ff95fe306c026bcfe2ed45d87af66954020
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-19 (Sun, 19 Mar 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Prevent runaway behaviour when the StoreObjectInfo file doesn't exist when it's expected to exist. Not a fix to the underlying problem.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@547 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f71333f2e66b7c7d8c5def321ded6f4feebf9c2a
      https://github.com/boxbackup/boxbackup/commit/f71333f2e66b7c7d8c5def321ded6f4feebf9c2a
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-29 (Wed, 29 Mar 2006)

  Changed paths:
    A documentation/boxbackup/Makefile
    A documentation/boxbackup/bb-book.xsl

  Log Message:
  -----------
  Added XSL customization layer, and Makefile.

The Makefile is pretty simple, and doesn't integrate into the full build.
At least not at this time.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@549 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4cbe93d3cd99d6e0736e819ec35c25095bbd3f97
      https://github.com/boxbackup/boxbackup/commit/4cbe93d3cd99d6e0736e819ec35c25095bbd3f97
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-30 (Thu, 30 Mar 2006)

  Changed paths:
    M documentation/boxbackup/Makefile
    M documentation/boxbackup/adminguide.xml
    M documentation/boxbackup/bb-book.xsl
    A documentation/boxbackup/generate_except_xml.pl

  Log Message:
  -----------
  Changed bb-book.xsl to point to the correct places in the directory structure.

Admin Guide now contains all exception codes. See below.

generate_except_xml.pl generates a DocBook Appendix with all exceptions from 
ExceptionCodes.txt. That is then included in the Admin Guide.

Makefile updated to generate ExceptionCodes.xml, and the dockit.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@550 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3a922148d078268105e555c1c5ce0922238a76fb
      https://github.com/boxbackup/boxbackup/commit/3a922148d078268105e555c1c5ce0922238a76fb
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-30 (Thu, 30 Mar 2006)

  Changed paths:
    A documentation/boxbackup/html/bbdoc.css
    A documentation/boxbackup/html/images/arrow.png
    A documentation/boxbackup/html/images/bblogo.png
    A documentation/boxbackup/html/images/stepahead.png

  Log Message:
  -----------
  CSS file and images for the HTML pages.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@551 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 40d3d6d4f8320a76a82ce0bf30e66dd3b3212413
      https://github.com/boxbackup/boxbackup/commit/40d3d6d4f8320a76a82ce0bf30e66dd3b3212413
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-03-31 (Fri, 31 Mar 2006)

  Changed paths:
    M documentation/boxbackup/Makefile
    M documentation/boxbackup/generate_except_xml.pl

  Log Message:
  -----------
  generate_except_xml.pl: closing the files at the end of the script.
Makefile: changing to use a macro everywhere for bb-book.xsl


git-svn-id: https://www.boxbackup.org/svn/box/trunk@552 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 79dd43597d4243405db312090942e141e174b31b
      https://github.com/boxbackup/boxbackup/commit/79dd43597d4243405db312090942e141e174b31b
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-04-06 (Thu, 06 Apr 2006)

  Changed paths:
    M documentation/boxbackup/Makefile
    A documentation/boxbackup/bbackupquery.xml

  Log Message:
  -----------
  Added man page for bbackupquery, and updated Makefile to be able to build the man pages.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@553 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f7768f02f805f8f104a1dfab70b4ed006d9eee1d
      https://github.com/boxbackup/boxbackup/commit/f7768f02f805f8f104a1dfab70b4ed006d9eee1d
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-04-06 (Thu, 06 Apr 2006)

  Changed paths:
    M documentation/boxbackup/bbackupquery.xml

  Log Message:
  -----------
  Changed the 'Bugs' section, to include a description of how to file a bug.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@554 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 355fda9a7f514bb42d2948ce0a3be61ac81d9bc3
      https://github.com/boxbackup/boxbackup/commit/355fda9a7f514bb42d2948ce0a3be61ac81d9bc3
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-04-10 (Mon, 10 Apr 2006)

  Changed paths:
    M documentation/boxbackup/Makefile
    A documentation/boxbackup/bbackupctl.xml

  Log Message:
  -----------
  Added man-page for bbackupctl.

Makefile changes, to accommodate unlimited number of man-pages


git-svn-id: https://www.boxbackup.org/svn/box/trunk@555 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 26d2a00828dbdded729c1fd3c035fedae07b9d0a
      https://github.com/boxbackup/boxbackup/commit/26d2a00828dbdded729c1fd3c035fedae07b9d0a
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-04-15 (Sat, 15 Apr 2006)

  Changed paths:
    M documentation/boxbackup/Makefile
    M documentation/boxbackup/bb-book.xsl
    A documentation/boxbackup/bb-man.xsl
    A documentation/boxbackup/bb-nochunk-book.xsl
    A documentation/boxbackup/bbstoreaccounts.xml
    A documentation/boxbackup/html/bbdoc-man.css

  Log Message:
  -----------
  Added bbstoreaccounts man page.

Added man-page specific XSL stylesheets.

Rearranged the layout of the output directories. There are now
2 output directories: 

- box-hmtl, which gets tarred up into the dockit tarball for 
  installation on a web server.
- man-pages, which contains all the .1.gz files for installation
  somewhere in $MANPATH (/usr/share/man/manX?)




git-svn-id: https://www.boxbackup.org/svn/box/trunk@556 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 942afad25a01c3fb8b0b35e70f0fc0e4a20346f3
      https://github.com/boxbackup/boxbackup/commit/942afad25a01c3fb8b0b35e70f0fc0e4a20346f3
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-04-15 (Sat, 15 Apr 2006)

  Changed paths:
    M documentation/boxbackup/Makefile

  Log Message:
  -----------
  Fixed typo in 'clean' target. dockit tarball will now be deleted.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@557 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 497b0bec2c1aac1df1d1ea02c25df0f1c690fe44
      https://github.com/boxbackup/boxbackup/commit/497b0bec2c1aac1df1d1ea02c25df0f1c690fe44
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-04-26 (Wed, 26 Apr 2006)

  Changed paths:
    M documentation/boxbackup/Makefile
    A documentation/boxbackup/bbstored-certs.xml
    A documentation/boxbackup/bbstored-config.xml
    A documentation/boxbackup/raidfile-config.xml

  Log Message:
  -----------
  Added raidfile-config, bbstored-certs and bbstored-config.

Also, hacked makefile to do the right thing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@558 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 67644473d31c052e2e6991fb621cf44fca3f9063
      https://github.com/boxbackup/boxbackup/commit/67644473d31c052e2e6991fb621cf44fca3f9063
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-04-26 (Wed, 26 Apr 2006)

  Changed paths:
    M documentation/boxbackup/bbstoreaccounts.xml

  Log Message:
  -----------
  Minor edit in bbstoreaccounts.xml


git-svn-id: https://www.boxbackup.org/svn/box/trunk@559 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 526426104747af7576efb6e4078afbaa7edb26a5
      https://github.com/boxbackup/boxbackup/commit/526426104747af7576efb6e4078afbaa7edb26a5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-05-04 (Thu, 04 May 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * BackupQueries.cpp
- Fixed wrong path displayed during compare failure (duplicate local 
  variable names)
- Renamed some variables to make their purpose clearer, making the code 
  easier to read
- Fixed some cases where untranslated names would be shown on Win32, 
  probably with encoding errors if they contained intl characters
- Fixed a couple of minor spelling mistakes in compare output


git-svn-id: https://www.boxbackup.org/svn/box/trunk@561 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c2f5a90ef663c5a84bfc1cbbc121d883ed00a704
      https://github.com/boxbackup/boxbackup/commit/c2f5a90ef663c5a84bfc1cbbc121d883ed00a704
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-05-10 (Wed, 10 May 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * bin/bbackupquery/BackupQueries.cpp
- Win32 compile fixes


git-svn-id: https://www.boxbackup.org/svn/box/trunk@566 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 332686ec08091b6a232f031d002aa301d6822cc4
      https://github.com/boxbackup/boxbackup/commit/332686ec08091b6a232f031d002aa301d6822cc4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-05-10 (Wed, 10 May 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * BackupQueries.cpp
- Check for d_type not working on this platform, and abort compare


git-svn-id: https://www.boxbackup.org/svn/box/trunk@567 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f918b36b045645f70964f4ade632925db088d31c
      https://github.com/boxbackup/boxbackup/commit/f918b36b045645f70964f4ade632925db088d31c
  Author: ben <ben at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-06-19 (Mon, 19 Jun 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M configure.ac
    R infrastructure/m4/ax_check_llong_minmax.m4
    M lib/win32/config.h.win32

  Log Message:
  -----------
  Apply patch from Stuart Hickinbottom <stuarth at hickinbottom.demon.co.uk> to fix complication problems with gcc 4.1.1 where configure didn't detect LLONG_MAX properly. Fix by removing configure check completely, and using STL interface.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@626 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dbc97376db639c5ff9be72d7237a1583215ff7dd
      https://github.com/boxbackup/boxbackup/commit/dbc97376db639c5ff9be72d7237a1583215ff7dd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-07-27 (Thu, 27 Jul 2006)

  Log Message:
  -----------
  * http://bbdev.fluffy.co.uk/svn/box/chris/merge
- Created a new branch as a public buffer for the process of merging 
  general win32 into trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@709 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3702b236f8d092a29390e6da516209c7c8cd0bea
      https://github.com/boxbackup/boxbackup/commit/3702b236f8d092a29390e6da516209c7c8cd0bea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-07-27 (Thu, 27 Jul 2006)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/Win32BackupService.cpp
    M bin/bbackupd/Win32BackupService.h
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/Win32ServiceFunctions.h
    M bin/bbackupd/bbackupd.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/documentation.txt
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupCommands.cpp
    M bin/bbstored/BackupContext.cpp
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M bin/bbstored/HousekeepStoreAccount.cpp
    M configure.ac
    M docs/backup/win32_build_on_linux_using_mingw.txt
    M infrastructure/BoxPlatform.pm.in
    M infrastructure/buildenv-testmain-template.cpp
    M infrastructure/makebuildenv.pl.in
    R infrastructure/msvc/2003/boxbackup.ncb
    R infrastructure/msvc/2003/boxbackup.suo
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreObjectDump.cpp
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/common/BoxPlatform.h
    M lib/common/FdGetLine.h
    M lib/common/Guards.h
    M lib/common/UnixUser.cpp
    M lib/common/makeexception.pl.in
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileWrite.cpp
    M lib/server/Daemon.cpp
    M lib/server/ServerStream.h
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h
    M lib/server/SocketStreamTLS.cpp
    M lib/server/makeprotocol.pl.in
    M runtest.pl.in
    M test/backupdiff/testbackupdiff.cpp
    M test/backupstore/testbackupstore.cpp
    M test/backupstorefix/testfiles/testbackupstorefix.pl.in
    M test/backupstorepatch/testbackupstorepatch.cpp
    M test/basicserver/TestCommands.cpp
    M test/basicserver/testbasicserver.cpp
    M test/bbackupd/testbbackupd.cpp
    R test/bbackupd/testfiles/bbackupd.conf
    A test/bbackupd/testfiles/bbackupd.conf.in
    M test/bbackupd/testfiles/extcheck1.pl.in
    M test/bbackupd/testfiles/extcheck2.pl.in
    M test/common/testcommon.cpp
    M test/raidfile/intercept.cpp
    M test/raidfile/testraidfile.cpp
    M test/win32/testlibwin32.cpp
    M win32.bat

  Log Message:
  -----------
  * merge
- This is my current patch queue. I think that all of these are safe 
  to apply. This is just under half of the pending changes in 
  chris/general (the easy half).


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@710 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f99da2d779755a325bef8a20c32b9287d981d2cf
      https://github.com/boxbackup/boxbackup/commit/f99da2d779755a325bef8a20c32b9287d981d2cf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-07 (Mon, 07 Aug 2006)

  Changed paths:
    M configure.ac
    R test/bbackupd/testfiles/bbackupd.conf
    A test/bbackupd/testfiles/bbackupd.conf.in

  Log Message:
  -----------
  * test/bbackupd/testfiles/bbackupd.conf
* test/bbackupd/testfiles/bbackupd.conf.in
* configure.ac
- Define @PERL_NATIVE@ to "perl" on Win32, @PERL@ on other platforms
- Automatically generate test/bbackupd/testfiles/bbackupd.conf with 
  autoconf substitution of @PERL_NATIVE@


git-svn-id: https://www.boxbackup.org/svn/box/trunk@718 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 164a482e6692728e0e59bb8e577757f217c3063c
      https://github.com/boxbackup/boxbackup/commit/164a482e6692728e0e59bb8e577757f217c3063c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-07 (Mon, 07 Aug 2006)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  * BoxPlatform.pm.in
- Removed $build_cpu and `uname -p` entirely, as they are not used anywhere


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@719 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 71b512bcd110fb0ab5e5c97b5b90d5d336ce8fa1
      https://github.com/boxbackup/boxbackup/commit/71b512bcd110fb0ab5e5c97b5b90d5d336ce8fa1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-07 (Mon, 07 Aug 2006)

  Changed paths:
    M configure.ac
    A test/bbackupd/testfiles/bbackupd.conf
    R test/bbackupd/testfiles/bbackupd.conf.in

  Log Message:
  -----------
  * test/bbackupd/testfiles/bbackupd.conf
* test/bbackupd/testfiles/bbackupd.conf.in
* configure.ac
- Reverted rev 718


git-svn-id: https://www.boxbackup.org/svn/box/trunk@720 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c02187fdc1dbabd6bf2abafed44b5e1c82380680
      https://github.com/boxbackup/boxbackup/commit/c02187fdc1dbabd6bf2abafed44b5e1c82380680
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-07 (Mon, 07 Aug 2006)

  Changed paths:
    M configure.ac
    R test/bbackupd/testfiles/bbackupd.conf
    A test/bbackupd/testfiles/bbackupd.conf.in

  Log Message:
  -----------
  * test/bbackupd/testfiles/bbackupd.conf
* test/bbackupd/testfiles/bbackupd.conf.in
* configure.ac
- Merged the change in chris/merge:
- Auto-generate test/bbackupd/testfiles/bbackupd.conf, since it requires
  @PERL@ to be substituted


git-svn-id: https://www.boxbackup.org/svn/box/trunk@721 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d3bed1d7cedbf69822e1a0a8c388220f0511d356
      https://github.com/boxbackup/boxbackup/commit/d3bed1d7cedbf69822e1a0a8c388220f0511d356
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-07 (Mon, 07 Aug 2006)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  * BoxPlatform.pm.in
- $build_cpu is not used anywhere, and "uname -p" barfs on some platforms,
  removed.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@722 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5fe3880985109bf136d6d3d6cbcfe80a6dae7e66
      https://github.com/boxbackup/boxbackup/commit/5fe3880985109bf136d6d3d6cbcfe80a6dae7e66
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-07 (Mon, 07 Aug 2006)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  * bbackupctl.cpp
- Revert all changes back to trunk state


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@724 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e96b71cbf7598c0e196d43d73531bfc391941d9
      https://github.com/boxbackup/boxbackup/commit/7e96b71cbf7598c0e196d43d73531bfc391941d9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-07 (Mon, 07 Aug 2006)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  * bin/bbackupctl/bbackupctl.cpp
- Changed code structure to be more readable and robust, following
  Martin's advice.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@725 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cc3549a896a711e962dd1fd36797e62bf9e8fc54
      https://github.com/boxbackup/boxbackup/commit/cc3549a896a711e962dd1fd36797e62bf9e8fc54
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-08 (Tue, 08 Aug 2006)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  * bbackupctl.cpp
- Grammar fix in comments (cosmetic)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@726 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e08736edd06555b7a8238fec0f8d5f2b7779e856
      https://github.com/boxbackup/boxbackup/commit/e08736edd06555b7a8238fec0f8d5f2b7779e856
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-08 (Tue, 08 Aug 2006)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  * bin/bbackupctl/bbackupctl.cpp
- Changed code structure to be more readable and robust, following
  Martin's advice.
- Fixed grammar in comment (cosmetic)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@727 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d36fa3cc488013d6f2e2dd15c996fc7d70b917eb
      https://github.com/boxbackup/boxbackup/commit/d36fa3cc488013d6f2e2dd15c996fc7d70b917eb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * Win32ServiceFunctions.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@728 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: abb36b37bf06fdd51bfbf1d1e750d7dab3698536
      https://github.com/boxbackup/boxbackup/commit/abb36b37bf06fdd51bfbf1d1e750d7dab3698536
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * Win32ServiceFunctions.cpp
- Reindent ServiceMain function to match coding standards and rest of file


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@729 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8d5b66c58af0cb6436f38be026120d2e182a1619
      https://github.com/boxbackup/boxbackup/commit/8d5b66c58af0cb6436f38be026120d2e182a1619
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.cpp
- Whitespace fix for consistency


git-svn-id: https://www.boxbackup.org/svn/box/trunk@730 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7f8524ad96539e6aaf77fa0dd1d48ac9609d462e
      https://github.com/boxbackup/boxbackup/commit/7f8524ad96539e6aaf77fa0dd1d48ac9609d462e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.cpp
- More cosmetic spacing fixes


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@731 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3c7b07fd0c0d2a6834c1aeda061b245673d6765a
      https://github.com/boxbackup/boxbackup/commit/3c7b07fd0c0d2a6834c1aeda061b245673d6765a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.cpp
- Keep a static char pointer to hold onto the config file name to
  pass it to ServiceMain (over whose parameters we have no control).
- ServiceMain passes the config file name as the parameter of the
  thread it creates.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@732 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 456c1c40fce3a0e5eb0273c175cd57d3846b491c
      https://github.com/boxbackup/boxbackup/commit/456c1c40fce3a0e5eb0273c175cd57d3846b491c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * Win32ServiceFunctions.cpp
- RemoveService() returns a status code, 0 for success, 1 for error
- RemoveService() outputs better diagnostic messages on failure


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@733 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 033d1c9c1c921068a3b2f999c2231c28304756bd
      https://github.com/boxbackup/boxbackup/commit/033d1c9c1c921068a3b2f999c2231c28304756bd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.h
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  * bbackupd.cpp
* Win32ServiceFunctions.h
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@734 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ebdbffec59a29a978031b786c3da95a07c4c9655
      https://github.com/boxbackup/boxbackup/commit/ebdbffec59a29a978031b786c3da95a07c4c9655
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.h

  Log Message:
  -----------
  * Win32ServiceFunctions.h
- Header update


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@735 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6280256fee1c56bd9d853aa022f6ab982d07deb5
      https://github.com/boxbackup/boxbackup/commit/6280256fee1c56bd9d853aa022f6ab982d07deb5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.cpp
- Cosmetic white space fixes


git-svn-id: https://www.boxbackup.org/svn/box/trunk@736 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a48ebe59197bc219e3e8fc791666766c5c352769
      https://github.com/boxbackup/boxbackup/commit/a48ebe59197bc219e3e8fc791666766c5c352769
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.cpp
- Keep a static char pointer to hold onto the config file name to
  pass it to ServiceMain (over whose parameters we have no control).
- ServiceMain passes the config file name as the parameter of the
  thread it creates.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@737 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7c797617c04ec2abe54ee2ba73b82fc6bd194df4
      https://github.com/boxbackup/boxbackup/commit/7c797617c04ec2abe54ee2ba73b82fc6bd194df4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/Win32ServiceFunctions.h

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.cpp
* bin/bbackupd/Win32ServiceFunctions.h
- RemoveService() returns a status code, 0 for success, 1 for error
- RemoveService() outputs better diagnostic messages on failure
- RemoveService() code layout cleanups, makes it clearer that resources
  are always freed.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@738 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 077a42c3d4b43d1c15a811ef9d074f48e2b470d7
      https://github.com/boxbackup/boxbackup/commit/077a42c3d4b43d1c15a811ef9d074f48e2b470d7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/Win32ServiceFunctions.h
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.h
* bin/bbackupd/Win32ServiceFunctions.cpp
- InstallService() and OurService() take the config file name as a
  parameter
- InstallService() returns an integer status code like RemoveService()
- OurService() sets the global static config file name to pass into
  the main thread later

* bin/bbackupd/bbackupd.cpp
- Call InstallService() and OurService() with the config file name as a
  parameter


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@739 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 68bccc2d3a2029ed248a6c03e14438995d048fe9
      https://github.com/boxbackup/boxbackup/commit/68bccc2d3a2029ed248a6c03e14438995d048fe9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  * bbackupd.cpp
- Return the status code from InstallService() and RemoveService() as
  exit code (0 on success, 1 on failure)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@740 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 057acc7abace2869594da668e1a48113e17dc68d
      https://github.com/boxbackup/boxbackup/commit/057acc7abace2869594da668e1a48113e17dc68d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.cpp
- Improved diagnostic output if InstallService() fails
- Ensure that InstallService() cleans up all resources
- Check that the requested configuration file is accessible
- Include the configuration file in the service parameters


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@741 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eddd980356176d793caddd0daa9ccec8c258a7a7
      https://github.com/boxbackup/boxbackup/commit/eddd980356176d793caddd0daa9ccec8c258a7a7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32BackupService.cpp

  Log Message:
  -----------
  * bbackupd/Win32BackupService.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@742 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e5a23998dafb538f6e3ddcb59fd8f9f62afe83f
      https://github.com/boxbackup/boxbackup/commit/3e5a23998dafb538f6e3ddcb59fd8f9f62afe83f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32BackupService.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32BackupService.cpp
- Made RunService() pass the configuration file name to 
  Win32BackupService::WinService()
- Made WinService() calculate the default configuration file name
  more sanely and safely
- Made WinService() not return before MAINHELPER_END


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@743 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 38451befc732b06b225e41a4427fe74dd69c4990
      https://github.com/boxbackup/boxbackup/commit/38451befc732b06b225e41a4427fe74dd69c4990
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- Reverted to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@744 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 682d5863f42a3dd91a4eb3ee03e116bde17fa819
      https://github.com/boxbackup/boxbackup/commit/682d5863f42a3dd91a4eb3ee03e116bde17fa819
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.h
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@745 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fca2d303ddd9ccc8a6198baf2420a88ad4a0c9e3
      https://github.com/boxbackup/boxbackup/commit/fca2d303ddd9ccc8a6198baf2420a88ad4a0c9e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  * bbackupd/BackupDaemon.h
* bbackupd/BackupDaemon.cpp
- Made SerializeStoreObjectInfo() return a boolean, true if it 
  successfully saved the store object info file, false otherwise.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@746 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d5e49d14a116a6f0b46d7dd89da279224056aea3
      https://github.com/boxbackup/boxbackup/commit/d5e49d14a116a6f0b46d7dd89da279224056aea3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- 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.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@747 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 148361c36655a87a98e3cb3a72c4c50673defd15
      https://github.com/boxbackup/boxbackup/commit/148361c36655a87a98e3cb3a72c4c50673defd15
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bbackupd/BackupDaemon.cpp
- Cosmetic spelling and formatting fixes


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@748 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 26c3772a96748b652b73168d5c1a5b34e362c0c8
      https://github.com/boxbackup/boxbackup/commit/26c3772a96748b652b73168d5c1a5b34e362c0c8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- 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.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@749 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9cea26e56720ace0f41e249a427512ef4f6aca42
      https://github.com/boxbackup/boxbackup/commit/9cea26e56720ace0f41e249a427512ef4f6aca42
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    A lib/server/WinNamedPipeStream.cpp
    A lib/server/WinNamedPipeStream.h
    R lib/win32/WinNamedPipeStream.cpp
    R lib/win32/WinNamedPipeStream.h

  Log Message:
  -----------
  * lib/win32/WinNamedPipeStream.h
* 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.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@750 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d923adca815805b1a794bef0db512797fa2e6dbc
      https://github.com/boxbackup/boxbackup/commit/d923adca815805b1a794bef0db512797fa2e6dbc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupClientContext.cpp
- Increased severity of the "Exceeded storage limits on server -- not 
  uploading changes to files" message, from INFO to WARNING.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@751 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ccc9471c930914f64efc78fd748ab4bd51274f22
      https://github.com/boxbackup/boxbackup/commit/ccc9471c930914f64efc78fd748ab4bd51274f22
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  * BackupClientDirectoryRecord.cpp
- Spelling fix


git-svn-id: https://www.boxbackup.org/svn/box/trunk@752 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 986b5cba661dc953a84508440168f118758be421
      https://github.com/boxbackup/boxbackup/commit/986b5cba661dc953a84508440168f118758be421
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * BackupQueries.cpp
- Trivial comment fix


git-svn-id: https://www.boxbackup.org/svn/box/trunk@753 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3c38076b20e6e3180344c6fb296ee847d43918dd
      https://github.com/boxbackup/boxbackup/commit/3c38076b20e6e3180344c6fb296ee847d43918dd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * bin/bbackupquery/BackupQueries.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@754 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 80755a32a45fde8e72206bbc6a3d6dbf904f4011
      https://github.com/boxbackup/boxbackup/commit/80755a32a45fde8e72206bbc6a3d6dbf904f4011
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * bbackupquery/BackupQueries.cpp
- Don't call geteuid() on Windows, since it lies to us anyway


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@755 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 531025afb953513af3c966a4089dcb7775f8b23d
      https://github.com/boxbackup/boxbackup/commit/531025afb953513af3c966a4089dcb7775f8b23d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-09 (Wed, 09 Aug 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * bin/bbackupquery/BackupQueries.cpp
- Use a nicer data structure for commands and their options.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@756 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cb3c2faed4eeea0bf0c5a3c386df51bccf7a3c5a
      https://github.com/boxbackup/boxbackup/commit/cb3c2faed4eeea0bf0c5a3c386df51bccf7a3c5a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/Win32ServiceFunctions.h
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.h
* bin/bbackupd/Win32ServiceFunctions.cpp
- InstallService() and OurService() take the config file name as a
  parameter
- InstallService() returns an integer status code like RemoveService()
- OurService() sets the global static config file name to pass into
  the main thread later

* bin/bbackupd/bbackupd.cpp
- Call InstallService() and OurService() with the config file name as a
  parameter


git-svn-id: https://www.boxbackup.org/svn/box/trunk@788 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a0c6129ab5849f82118e5c5de474e50d06bc52e3
      https://github.com/boxbackup/boxbackup/commit/a0c6129ab5849f82118e5c5de474e50d06bc52e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  * bbackupd.cpp
- Return the status code from InstallService() and RemoveService() as
  exit code (0 on success, 1 on failure)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@789 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b253b65765cfbc9e58fb642cb2880ca2659f665
      https://github.com/boxbackup/boxbackup/commit/0b253b65765cfbc9e58fb642cb2880ca2659f665
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32ServiceFunctions.cpp
- Improved diagnostic output if InstallService() fails
- Ensure that InstallService() cleans up all resources
- Check that the requested configuration file is accessible
- Include the configuration file in the service parameters


git-svn-id: https://www.boxbackup.org/svn/box/trunk@790 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2bd0d3100eddf87b29ccf11410c9fe89153d926c
      https://github.com/boxbackup/boxbackup/commit/2bd0d3100eddf87b29ccf11410c9fe89153d926c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32BackupService.cpp

  Log Message:
  -----------
  * bin/bbackupd/Win32BackupService.cpp
- Made RunService() pass the configuration file name to
  Win32BackupService::WinService()
- Made WinService() calculate the default configuration file name
  more sanely and safely
- Made WinService() not return before MAINHELPER_END


git-svn-id: https://www.boxbackup.org/svn/box/trunk@791 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d14230246fb46bfdf8796b744e3e7133a6628fce
      https://github.com/boxbackup/boxbackup/commit/d14230246fb46bfdf8796b744e3e7133a6628fce
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  * bbackupd/BackupDaemon.h
* bbackupd/BackupDaemon.cpp
- Made SerializeStoreObjectInfo() return a boolean, true if it created a
  store object info file (which we must delete later), false otherwise.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@792 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 72585fa58d7c7e4f7feb8e35006da29977e3b739
      https://github.com/boxbackup/boxbackup/commit/72585fa58d7c7e4f7feb8e35006da29977e3b739
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- Use the return of SerializeStoreObjectInfo to determine whether we
  created a serialised file. If so, then we must delete it on the next 
  run, otherwise we should not try to delete it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@793 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 600bcf007fd905007835959934a41f401faeec98
      https://github.com/boxbackup/boxbackup/commit/600bcf007fd905007835959934a41f401faeec98
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- Cosmetic spelling and formatting fixes


git-svn-id: https://www.boxbackup.org/svn/box/trunk@794 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f800cd1fe94c592ffbca7fca67e6a57d6304c6f4
      https://github.com/boxbackup/boxbackup/commit/f800cd1fe94c592ffbca7fca67e6a57d6304c6f4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    A lib/server/WinNamedPipeStream.cpp
    A lib/server/WinNamedPipeStream.h
    R lib/win32/WinNamedPipeStream.cpp
    R lib/win32/WinNamedPipeStream.h

  Log Message:
  -----------
  * lib/win32/WinNamedPipeStream.h
* 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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@795 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1af4d02a06f209e0adbd880567922ba9e25cd2ce
      https://github.com/boxbackup/boxbackup/commit/1af4d02a06f209e0adbd880567922ba9e25cd2ce
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * bin/bbackupquery/BackupQueries.cpp
- Don't call geteuid() on Windows, since it lies to us anyway


git-svn-id: https://www.boxbackup.org/svn/box/trunk@796 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0ce643d3bd322d9d95684ef374a6f81cdfa6e7e3
      https://github.com/boxbackup/boxbackup/commit/0ce643d3bd322d9d95684ef374a6f81cdfa6e7e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-19 (Sat, 19 Aug 2006)

  Changed paths:
    M win32.bat

  Log Message:
  -----------
  * win32.bat
- Run the "pl.in" versions of the Perl scripts, since we can't 
  autogenerate the real ones without autoconf


git-svn-id: https://www.boxbackup.org/svn/box/trunk@797 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ed654a048230f0557730b7ad2c33b81d039e01ef
      https://github.com/boxbackup/boxbackup/commit/ed654a048230f0557730b7ad2c33b81d039e01ef
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-20 (Sun, 20 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- 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.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@798 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 077535f4fea98774d4fc1f700b5af7039ad42d9b
      https://github.com/boxbackup/boxbackup/commit/077535f4fea98774d4fc1f700b5af7039ad42d9b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-20 (Sun, 20 Aug 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * bin/bbackupquery/BackupQueries.cpp
- Removed options without code to handle them


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@799 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 20bb551ff7411953883227eddae228b2fc5fd8bd
      https://github.com/boxbackup/boxbackup/commit/20bb551ff7411953883227eddae228b2fc5fd8bd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-20 (Sun, 20 Aug 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * bin/bbackupquery/BackupQueries.cpp
- Renamed cmd_info_t to QueryCommandSpecification as requested by Ben


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@802 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c592d7f46b8bcc78d53395f39b32fe45f83ccf49
      https://github.com/boxbackup/boxbackup/commit/c592d7f46b8bcc78d53395f39b32fe45f83ccf49
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-20 (Sun, 20 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- Cleaned up SyncAllowScript cleanup code
- Fixed catching std::exception while handling command socket to do the
  same as catching (...)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@803 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c14a246bc3f61454c2cf767077e8e17df171a310
      https://github.com/boxbackup/boxbackup/commit/c14a246bc3f61454c2cf767077e8e17df171a310
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-20 (Sun, 20 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupClientDirectoryRecord.cpp
- Fixed exclusion of files, and display of path names, when backing up
  the root directory of a drive, or the UNIX root.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@804 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cd063535969b77a3742f5577641c0592a7a838cc
      https://github.com/boxbackup/boxbackup/commit/cd063535969b77a3742f5577641c0592a7a838cc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-20 (Sun, 20 Aug 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  * bin/bbackupquery/BackupQueries.cpp
- Use a nicer data structure for commands and their options.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@807 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1f30d850e7c55015415ab6ffea4ffe0703e849ae
      https://github.com/boxbackup/boxbackup/commit/1f30d850e7c55015415ab6ffea4ffe0703e849ae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-20 (Sun, 20 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- 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


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@808 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 81b0d6e40bdc1552dfcc750289d1dd3bcd8ec58f
      https://github.com/boxbackup/boxbackup/commit/81b0d6e40bdc1552dfcc750289d1dd3bcd8ec58f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-20 (Sun, 20 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- Improved exception messages for reading and writing the 
  StoreObjectInfoFile, and made them consistent.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@809 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 35ee9836f71b15ab384b4c41e5bbe983aea9f7df
      https://github.com/boxbackup/boxbackup/commit/35ee9836f71b15ab384b4c41e5bbe983aea9f7df
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-21 (Mon, 21 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- Remove duplicated exception handlers


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@810 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4cefe0863612f1535646365e4ee0d1bb099b1c9a
      https://github.com/boxbackup/boxbackup/commit/4cefe0863612f1535646365e4ee0d1bb099b1c9a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M infrastructure/BoxPlatform.pm.in
    M win32.bat

  Log Message:
  -----------
  * infrastructure/BoxPlatform.pm.in
* win32.bat
* bin/bbackupd/BackupClientDirectoryRecord.cpp
- Merged back changes from trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@815 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f82a9d4e3086fe98a13d47d1486101b353a13d26
      https://github.com/boxbackup/boxbackup/commit/f82a9d4e3086fe98a13d47d1486101b353a13d26
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupClientDirectoryRecord.cpp


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@816 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3cde62483da7bc157b7d337972986ad68c824468
      https://github.com/boxbackup/boxbackup/commit/3cde62483da7bc157b7d337972986ad68c824468
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupClientDirectoryRecord.cpp
- Restructured the backup decision logic to make it easier to 
  understand and debug


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@817 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e88c30852b9f90d20f50675596e6f9c0c273cf88
      https://github.com/boxbackup/boxbackup/commit/e88c30852b9f90d20f50675596e6f9c0c273cf88
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupCommands.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@818 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2c1bbda05ba98ea703064dfcf8459f1c0fab98ac
      https://github.com/boxbackup/boxbackup/commit/2c1bbda05ba98ea703064dfcf8459f1c0fab98ac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupCommands.cpp
- 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


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@819 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a9d2208a163e1e1030224131866293f39eeef782
      https://github.com/boxbackup/boxbackup/commit/a9d2208a163e1e1030224131866293f39eeef782
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32BackupService.h

  Log Message:
  -----------
  * bin/bbackupd/Win32BackupService.h
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@820 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 31ad64157390f4f71c6b214b8c17f3377e29504d
      https://github.com/boxbackup/boxbackup/commit/31ad64157390f4f71c6b214b8c17f3377e29504d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32BackupService.h

  Log Message:
  -----------
  * bin/bbackupd/Win32BackupService.h
- Prototype update to match changes to Win32BackupService.cpp


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@821 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4c822b44ab52b22c1a5ff631f96ffba0916f0b40
      https://github.com/boxbackup/boxbackup/commit/4c822b44ab52b22c1a5ff631f96ffba0916f0b40
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  * bin/bbackupquery/BackupQueries.h
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@822 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 19ca36f2a20f686b46ad44ed1b929c8332bb8e9f
      https://github.com/boxbackup/boxbackup/commit/19ca36f2a20f686b46ad44ed1b929c8332bb8e9f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupquery/documentation.txt

  Log Message:
  -----------
  * bin/bbackupquery/documentation.txt
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@823 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 990662e08a11d240d65ec2ebdd450322bbbd2285
      https://github.com/boxbackup/boxbackup/commit/990662e08a11d240d65ec2ebdd450322bbbd2285
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupContext.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupContext.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@824 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f56da8e521a76567380361deee597215dfd05294
      https://github.com/boxbackup/boxbackup/commit/f56da8e521a76567380361deee597215dfd05294
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupContext.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupContext.cpp
- 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


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@825 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bd4972bbf0444fbc93af434850623a4456cdd46a
      https://github.com/boxbackup/boxbackup/commit/bd4972bbf0444fbc93af434850623a4456cdd46a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@826 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1243c1287ba447aacbb38702e55e7a5698187f0b
      https://github.com/boxbackup/boxbackup/commit/1243c1287ba447aacbb38702e55e7a5698187f0b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.cpp
- Only include <syslog.h> if we have it


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@827 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 004e6057759b08cd05c7f7a8599f43d6bc7d01c0
      https://github.com/boxbackup/boxbackup/commit/004e6057759b08cd05c7f7a8599f43d6bc7d01c0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.h
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@828 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d22f821675e7cf129de97062e1a3257b93c473f1
      https://github.com/boxbackup/boxbackup/commit/d22f821675e7cf129de97062e1a3257b93c473f1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.cpp
- Cast off_t to long long, in case they differ in size (e.g. Win32)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@829 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5b77ced97a42fcf72361f3ae35a08852fd99785b
      https://github.com/boxbackup/boxbackup/commit/5b77ced97a42fcf72361f3ae35a08852fd99785b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp

  Log Message:
  -----------
  * bin/bbstored/BBStoreDHousekeeping.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@830 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc826d08e929f7bd541dd36a42b06bd6cda792fb
      https://github.com/boxbackup/boxbackup/commit/bc826d08e929f7bd541dd36a42b06bd6cda792fb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.h
- Removed SendMessageToHousekeepingProcess() on Win32, no longer needed


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@831 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9817b3381625f9150bf9b78a83b2cc59ffe11fb5
      https://github.com/boxbackup/boxbackup/commit/9817b3381625f9150bf9b78a83b2cc59ffe11fb5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp

  Log Message:
  -----------
  * bin/bbstored/BBStoreDHousekeeping.cpp
- Only include syslog.h if we have one


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@832 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6426f222054ee97ebd78a3ec7c6087d604425200
      https://github.com/boxbackup/boxbackup/commit/6426f222054ee97ebd78a3ec7c6087d604425200
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.h
* bin/bbstored/BBStoreDHousekeeping.cpp
- Split housekeeping process into separate initialisation, process loop 
  and run methods (we don't want the process loop on Win32)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@833 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 291836adfb363d62b0aa9e53b70e108a74a8759c
      https://github.com/boxbackup/boxbackup/commit/291836adfb363d62b0aa9e53b70e108a74a8759c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  * bin/bbstored/HousekeepStoreAccount.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@834 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 85088deb51e09e467890ab6c5dd1dbb56d162322
      https://github.com/boxbackup/boxbackup/commit/85088deb51e09e467890ab6c5dd1dbb56d162322
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  * bin/bbstored/HousekeepStoreAccount.cpp
- Disable checks for inter-process messages on Win32 (there is only one 
  process)
- Close directory immediately after we finish reading it


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@835 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cf35f2350bc3f1edafd5e5b7ac881d11b9ea1e86
      https://github.com/boxbackup/boxbackup/commit/cf35f2350bc3f1edafd5e5b7ac881d11b9ea1e86
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupClientDirectoryRecord.cpp
- Restructured the backup decision logic to make it easier to
  understand and debug


git-svn-id: https://www.boxbackup.org/svn/box/trunk@836 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2f3af195cc5d51afdb26f948cba66fcefe8e5321
      https://github.com/boxbackup/boxbackup/commit/2f3af195cc5d51afdb26f948cba66fcefe8e5321
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  * test/bbackupd/testbbackupd.cpp
- Fixed typo


git-svn-id: https://www.boxbackup.org/svn/box/trunk@837 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cbcbd974df8cb683a8572ae51864dd6b790a85de
      https://github.com/boxbackup/boxbackup/commit/cbcbd974df8cb683a8572ae51864dd6b790a85de
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- 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.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@838 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f2a4fc275356518d7e763a5c57b4ae15d2b879b7
      https://github.com/boxbackup/boxbackup/commit/f2a4fc275356518d7e763a5c57b4ae15d2b879b7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-30 (Wed, 30 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- 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.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@839 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 40fafe36b734e9e20bfecc591dd4beac07ead80d
      https://github.com/boxbackup/boxbackup/commit/40fafe36b734e9e20bfecc591dd4beac07ead80d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupClientDirectoryRecord.cpp
- Sync subdirectories even when store is full, allows user to exclude
  files to free up space to complete their backups


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@840 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f164f520867005d1bfc6f8c47a9d5cdd7719e71f
      https://github.com/boxbackup/boxbackup/commit/f164f520867005d1bfc6f8c47a9d5cdd7719e71f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbackupd/Win32BackupService.h

  Log Message:
  -----------
  * bin/bbackupd/Win32BackupService.h
- Prototype update to match changes to Win32BackupService.cpp


git-svn-id: https://www.boxbackup.org/svn/box/trunk@850 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b740b807cca6dc7b7c3ad87c90918ce28ff8565
      https://github.com/boxbackup/boxbackup/commit/0b740b807cca6dc7b7c3ad87c90918ce28ff8565
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  * boxbackup/lib/backupstore/BackupStoreCheck.cpp
- Reuse existing variable rather than duplicating it


git-svn-id: https://www.boxbackup.org/svn/box/trunk@851 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 01fc3d2901e05513a2ee13acddc4d4c44349c637
      https://github.com/boxbackup/boxbackup/commit/01fc3d2901e05513a2ee13acddc4d4c44349c637
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupContext.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupContext.cpp
- 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


git-svn-id: https://www.boxbackup.org/svn/box/trunk@852 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 541a9115e069bac021f0c6392b1951a11aa984ac
      https://github.com/boxbackup/boxbackup/commit/541a9115e069bac021f0c6392b1951a11aa984ac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.cpp
- Only include <syslog.h> if we have it


git-svn-id: https://www.boxbackup.org/svn/box/trunk@853 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c82d5ea5c3d1f7fd417e78c91514938964f415d8
      https://github.com/boxbackup/boxbackup/commit/c82d5ea5c3d1f7fd417e78c91514938964f415d8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.cpp
- Cast off_t to long long, in case they differ in size (e.g. Win32)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@854 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2da9166723a85122d4529fee9deb477c498799dc
      https://github.com/boxbackup/boxbackup/commit/2da9166723a85122d4529fee9deb477c498799dc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.h
- Removed SendMessageToHousekeepingProcess() on Win32, no longer needed


git-svn-id: https://www.boxbackup.org/svn/box/trunk@855 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7c5d8f9a9c09d0ab58ba5cc1a97e6367ce17da91
      https://github.com/boxbackup/boxbackup/commit/7c5d8f9a9c09d0ab58ba5cc1a97e6367ce17da91
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp

  Log Message:
  -----------
  * bin/bbstored/BBStoreDHousekeeping.cpp
- Only include syslog.h if we have one


git-svn-id: https://www.boxbackup.org/svn/box/trunk@856 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6e3a0142eb302e566a6745c94191cfe0c520af1a
      https://github.com/boxbackup/boxbackup/commit/6e3a0142eb302e566a6745c94191cfe0c520af1a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.h
* bin/bbstored/BBStoreDHousekeeping.cpp
- Split housekeeping process into separate initialisation, process loop
  and run methods (we don't want the process loop on Win32)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@857 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6abecd6355a55fce1334a3cad1bd733a7a6029dc
      https://github.com/boxbackup/boxbackup/commit/6abecd6355a55fce1334a3cad1bd733a7a6029dc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  * bin/bbstored/HousekeepStoreAccount.cpp
- Disable checks for inter-process messages on Win32 (there is only one
  process)
- Close directory immediately after we finish reading it


git-svn-id: https://www.boxbackup.org/svn/box/trunk@858 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 35646bf951ad50c0efdcbbe60100c47bfe3f3b73
      https://github.com/boxbackup/boxbackup/commit/35646bf951ad50c0efdcbbe60100c47bfe3f3b73
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@859 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dc7b66623ead8d084463919509d6b972e87c5d63
      https://github.com/boxbackup/boxbackup/commit/dc7b66623ead8d084463919509d6b972e87c5d63
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  * bin/bbackupd/BackupDaemon.cpp
- Reinstate missing mReceivedCommandConn
- Clean up exception handling


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@860 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3afac2f9fcc7eb17874e13f6dc1b8e991113ad74
      https://github.com/boxbackup/boxbackup/commit/3afac2f9fcc7eb17874e13f6dc1b8e991113ad74
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupCommands.cpp
- Use the same code for file names and file closing on other platforms
  that's needed on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@861 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1394ff49073107835fcdaed5346771f4e827a282
      https://github.com/boxbackup/boxbackup/commit/1394ff49073107835fcdaed5346771f4e827a282
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupContext.cpp

  Log Message:
  -----------
  * bin/bbstored/BackupContext.cpp
- 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)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@862 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b7dfd91e6361a327ab3de987dfdda03be25c1334
      https://github.com/boxbackup/boxbackup/commit/b7dfd91e6361a327ab3de987dfdda03be25c1334
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  * bin/bbstored/BackupStoreDaemon.h
- Reinstate SendMessageToHousekeepingProcess() on Win32, but make it do
  nothing (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@863 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 40f596fcc33ebaa90dac355bac001589680180d8
      https://github.com/boxbackup/boxbackup/commit/40f596fcc33ebaa90dac355bac001589680180d8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  * configure.ac

	Revert to trunk (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@864 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b3e35c1e8e7a321a0365da8a8b1baf93f3206e81
      https://github.com/boxbackup/boxbackup/commit/b3e35c1e8e7a321a0365da8a8b1baf93f3206e81
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  * configure.ac

	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


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@865 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e9fff92abfbfcb9f3b5480065c04a0a030660887
      https://github.com/boxbackup/boxbackup/commit/e9fff92abfbfcb9f3b5480065c04a0a030660887
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M docs/backup/win32_build_on_linux_using_mingw.txt

  Log Message:
  -----------
  * docs/backup/win32_build_on_linux_using_mingw.txt
- Revert to trunk
- 


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@866 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fb74cb2c3ec0e62808b8e67c769eab69162f3913
      https://github.com/boxbackup/boxbackup/commit/fb74cb2c3ec0e62808b8e67c769eab69162f3913
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M docs/backup/win32_build_on_linux_using_mingw.txt

  Log Message:
  -----------
  * docs/backup/win32_build_on_linux_using_mingw.txt (refs #3)

	Updated documentation for building Win32 native builds on Linux


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@867 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 89b67feab80f8eb43a82b91bb4ed443725dff927
      https://github.com/boxbackup/boxbackup/commit/89b67feab80f8eb43a82b91bb4ed443725dff927
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  * infrastructure/BoxPlatform.pm.in
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@868 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a3483ba1706188159f25f8de19afab1a847ddf06
      https://github.com/boxbackup/boxbackup/commit/a3483ba1706188159f25f8de19afab1a847ddf06
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  * infrastructure/BoxPlatform.pm.in

	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)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@869 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 25774258ea54ff7962ae06ae3ab137e49b4b7e68
      https://github.com/boxbackup/boxbackup/commit/25774258ea54ff7962ae06ae3ab137e49b4b7e68
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  * buildenv-testmain-template.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@870 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5440355cdbaacff60ae82d79f590a537e922694d
      https://github.com/boxbackup/boxbackup/commit/5440355cdbaacff60ae82d79f590a537e922694d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  * infrastructure/buildenv-testmain-template.cpp

	Record the file and line of first test failure, and print them
	at the end of the test, useful for debugging when the first
	failure has scrolled off screen (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@871 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bf76c4a16c433bdbb115e9189b42e240aca804ea
      https://github.com/boxbackup/boxbackup/commit/bf76c4a16c433bdbb115e9189b42e240aca804ea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  * infrastructure/makebuildenv.pl.in
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@872 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 513c5f1122d1f71cd5ed3b956f4edc9ea2740dba
      https://github.com/boxbackup/boxbackup/commit/513c5f1122d1f71cd5ed3b956f4edc9ea2740dba
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  * infrastructure/makebuildenv.pl.in

	Support multiple implicit dependencies

	Add lib/win32 as an implicit dependency on Win32

	Make lib/common depend on lib/win32 on Win32

	Fix space between test file name platform executable extension,
	and between executable name and arguments, in test shell scripts

	Add support for compiling resource files (.rc) on Win32

	Fix dependencies to avoid unnecessary rebuilds when not using
	BSD make

	Code cleanups

	Fix typos

	(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@873 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1fdd1899c0cb907cd26d8b0ce71447dda4268aff
      https://github.com/boxbackup/boxbackup/commit/1fdd1899c0cb907cd26d8b0ce71447dda4268aff
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  * lib/backupclient/BackupClientFileAttributes.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@874 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9fa06b9b97b180ab45356ab157211cff62c583ce
      https://github.com/boxbackup/boxbackup/commit/9fa06b9b97b180ab45356ab157211cff62c583ce
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  * lib/backupclient/BackupClientFileAttributes.cpp

	Don't call geteuid() on Win32, since it's emulated, always returns 
	0, and I want to remove it entirely (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@875 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ba0ff0a2bb3847c7c826ee155b92e8c2f4642cb8
      https://github.com/boxbackup/boxbackup/commit/ba0ff0a2bb3847c7c826ee155b92e8c2f4642cb8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupclient/BackupStoreFile.cpp

  Log Message:
  -----------
  * lib/backupclient/BackupStoreFile.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@876 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e8f4a29e79c52805ecca8d004fd4cc6a79e02b85
      https://github.com/boxbackup/boxbackup/commit/e8f4a29e79c52805ecca8d004fd4cc6a79e02b85
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupclient/BackupStoreFile.cpp

  Log Message:
  -----------
  * lib/backupclient/BackupStoreFile.cpp

	Close file before trying to apply attributes to it. Otherwise,
	when we close it the timestamp will be updated on Win32 (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@877 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a4ee9a608189ac856faf315eeb613a82986600fa
      https://github.com/boxbackup/boxbackup/commit/a4ee9a608189ac856faf315eeb613a82986600fa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupclient/BackupStoreObjectDump.cpp

  Log Message:
  -----------
  * lib/backupclient/BackupStoreObjectDump.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@878 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 33de3b4a22d601639b7e73c2f2a3a32813f5c728
      https://github.com/boxbackup/boxbackup/commit/33de3b4a22d601639b7e73c2f2a3a32813f5c728
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupclient/BackupStoreObjectDump.cpp

  Log Message:
  -----------
  * lib/backupclient/BackupStoreObjectDump.cpp

	Fix format strings on Win32 (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@879 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: afafd5556c23651c127aeb74dad12b947f99bef6
      https://github.com/boxbackup/boxbackup/commit/afafd5556c23651c127aeb74dad12b947f99bef6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp

  Log Message:
  -----------
  * lib/backupstore/BackupStoreAccounts.cpp
- Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@880 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 954ab922f6efd37302c0213ded9e37dca8cfeda3
      https://github.com/boxbackup/boxbackup/commit/954ab922f6efd37302c0213ded9e37dca8cfeda3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp

  Log Message:
  -----------
  Use DIRECTORY_SEPARATOR instead of assuming that it's a forward slash


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@881 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 37ec63f272b9bd17e96c32d2f6836ea5da0c5266
      https://github.com/boxbackup/boxbackup/commit/37ec63f272b9bd17e96c32d2f6836ea5da0c5266
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@882 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0a0a2b861fcd9158bbc2d6bf4c585775b579a2a3
      https://github.com/boxbackup/boxbackup/commit/0a0a2b861fcd9158bbc2d6bf4c585775b579a2a3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  Use DIRECTORY_SEPARATOR instead of assuming that it's a forward slash
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@883 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ca711c1e615dda9693305f86ab193d8c9e531c18
      https://github.com/boxbackup/boxbackup/commit/ca711c1e615dda9693305f86ab193d8c9e531c18
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@884 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 774effe4f6bc9e3c3d8930f7564e554924770267
      https://github.com/boxbackup/boxbackup/commit/774effe4f6bc9e3c3d8930f7564e554924770267
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Disable intercept tests on Win32 as well

Define O_BINARY to 0 (zero) if our platform doesn't have it (all except
Win32?) which enables us to reduce #ifdefs

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@885 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a0e613245bcd8710b9c574a2f6f0b78b48e2ff8b
      https://github.com/boxbackup/boxbackup/commit/a0e613245bcd8710b9c574a2f6f0b78b48e2ff8b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/common/FdGetLine.h

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@886 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 788b97447f22394d9a8a754efcbc0373e73850a9
      https://github.com/boxbackup/boxbackup/commit/788b97447f22394d9a8a754efcbc0373e73850a9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/common/FdGetLine.h

  Log Message:
  -----------
  Make FDGETLINE_BUFFER_SIZE big enough for one unicode character on Win32,
otherwise reading from console can fail due to insufficient buffer size.
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@887 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 64cd5cd81e2b114c23eefd40f7bac32e18177071
      https://github.com/boxbackup/boxbackup/commit/64cd5cd81e2b114c23eefd40f7bac32e18177071
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/common/Guards.h

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@888 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 655d7be3f6554dc89ed50708530293e28a7efe49
      https://github.com/boxbackup/boxbackup/commit/655d7be3f6554dc89ed50708530293e28a7efe49
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/common/Guards.h

  Log Message:
  -----------
  Add O_BINARY to default flags, since most files opened this way should
be opened in binary mode on Win32 (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@889 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aa3d4b09c9cc620234e57dfbb36ff3f62aacb51b
      https://github.com/boxbackup/boxbackup/commit/aa3d4b09c9cc620234e57dfbb36ff3f62aacb51b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/common/makeexception.pl.in

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@890 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e34c159c844c565e1bf1bbe5df05e9c6ba7e8fa
      https://github.com/boxbackup/boxbackup/commit/7e34c159c844c565e1bf1bbe5df05e9c6ba7e8fa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/common/UnixUser.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@891 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 429d1372d4e5ec27ff59799540e2002ed4805b09
      https://github.com/boxbackup/boxbackup/commit/429d1372d4e5ec27ff59799540e2002ed4805b09
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/common/UnixUser.cpp

  Log Message:
  -----------
  Disable all calls to set*id() on Win32 (doesn't work) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@892 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6458412e6e5275db65668caf6082a3076f2690e6
      https://github.com/boxbackup/boxbackup/commit/6458412e6e5275db65668caf6082a3076f2690e6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/raidfile/RaidFileRead.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@893 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 701c6d47d452d4521ab54fddada80a26bdb4337f
      https://github.com/boxbackup/boxbackup/commit/701c6d47d452d4521ab54fddada80a26bdb4337f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/raidfile/RaidFileRead.cpp

  Log Message:
  -----------
  (refs #3)

Don't include headers that we don't have

Open RAID files in binary mode


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@894 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7012b941b3c255603c1c36e22b2bcb32a4ad5322
      https://github.com/boxbackup/boxbackup/commit/7012b941b3c255603c1c36e22b2bcb32a4ad5322
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@895 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e654cf5587e19c5ee695059af4ddd31a10518b01
      https://github.com/boxbackup/boxbackup/commit/e654cf5587e19c5ee695059af4ddd31a10518b01
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  (refs #3)

Open files in binary mode (Win32)

Disable the lock failure block when we don't have any locking mechanism

Close and delete files before renaming over them on Win32. This breaks 
Ben's desired recovery semantics, so it's not done on other platforms, 
but Win32 requires it.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@896 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2682b1646053e2fce2c103249858d65b98aea29d
      https://github.com/boxbackup/boxbackup/commit/2682b1646053e2fce2c103249858d65b98aea29d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@897 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3cd2ce1940c804af3b0ec9ce91215eab357ffbaf
      https://github.com/boxbackup/boxbackup/commit/3cd2ce1940c804af3b0ec9ce91215eab357ffbaf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  (refs #3)

Initialise Windows sockets automatically for all daemons on Win32

Write PID files on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@898 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3d655bd4cf0381436d47c9600d3760ead332ea10
      https://github.com/boxbackup/boxbackup/commit/3d655bd4cf0381436d47c9600d3760ead332ea10
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@899 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7022294fd2d1f4f095c07a1fc240b33682638288
      https://github.com/boxbackup/boxbackup/commit/7022294fd2d1f4f095c07a1fc240b33682638288
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  (refs #3)

64-bit format fixes (Win32)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@900 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5ef7465fac6cb3f048435e25256d3bfc29f8324a
      https://github.com/boxbackup/boxbackup/commit/5ef7465fac6cb3f048435e25256d3bfc29f8324a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@901 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 52f45cc6d7d88db135dc57f8bf718039a45db988
      https://github.com/boxbackup/boxbackup/commit/52f45cc6d7d88db135dc57f8bf718039a45db988
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  (refs #3)

Added an OnIdle method which can be overridden by subclasses for idle
tasks. Used for housekeeping on Win32.

Avoid forking on Win32, and trying to clean up after children.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@902 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc6b909a09487c40acd73c59b4f0e20638674c62
      https://github.com/boxbackup/boxbackup/commit/bc6b909a09487c40acd73c59b4f0e20638674c62
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/SocketStream.h

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@903 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 46954561af43c521e3ec49c45a3a38019510e8a2
      https://github.com/boxbackup/boxbackup/commit/46954561af43c521e3ec49c45a3a38019510e8a2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/SocketStream.h

  Log Message:
  -----------
  (refs #3)

Define a suitable constant for invalid socket handles, for use in 
SocketStream.cpp


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@904 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aee4965af5eae32d3816f7283c95450eb509ff86
      https://github.com/boxbackup/boxbackup/commit/aee4965af5eae32d3816f7283c95450eb509ff86
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@905 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9d84c862acf4d884e80b78721180d7c41e151a35
      https://github.com/boxbackup/boxbackup/commit/9d84c862acf4d884e80b78721180d7c41e151a35
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Use INVALID_SOCKET_VALUE instead of -1


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@906 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2bd5b40e6df40cd0b52a91639e7cb749310fc033
      https://github.com/boxbackup/boxbackup/commit/2bd5b40e6df40cd0b52a91639e7cb749310fc033
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/SocketStreamTLS.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@907 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 38d401e7a138b08d3ec05832b4c7023b609968b1
      https://github.com/boxbackup/boxbackup/commit/38d401e7a138b08d3ec05832b4c7023b609968b1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M lib/server/SocketStreamTLS.cpp

  Log Message:
  -----------
  (refs #3)

Added support for non-blocking sockets on Win32 as well


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@908 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 339e9fbf279e5f8a776e020cf8ba31e5e25224bd
      https://github.com/boxbackup/boxbackup/commit/339e9fbf279e5f8a776e020cf8ba31e5e25224bd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@909 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4fe4ef2ea7023adedb5f2c021f4176e5860a288b
      https://github.com/boxbackup/boxbackup/commit/4fe4ef2ea7023adedb5f2c021f4176e5860a288b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-08-31 (Thu, 31 Aug 2006)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
  (refs #3)

Use strict and warnings for code safety.

Exit with status 2 on invalid usage.

Allow running multiple tests, comma separated.

Exit with status 2 if make fails for any test.

Exit with status 1 if any test fails.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@910 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9a54a3eb4a37b7e7792d6dbd9c6879e79924a2f9
      https://github.com/boxbackup/boxbackup/commit/9a54a3eb4a37b7e7792d6dbd9c6879e79924a2f9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@911 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e68473bbd626519311e23eac77788945c260e2c5
      https://github.com/boxbackup/boxbackup/commit/e68473bbd626519311e23eac77788945c260e2c5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  (refs #3)

Use truncation/sparse files to quickly create files with 200MB of zeroes


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@912 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d703c45fa50eaa90d65ca2b6c7b35dad022c0b49
      https://github.com/boxbackup/boxbackup/commit/d703c45fa50eaa90d65ca2b6c7b35dad022c0b49
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  (refs #3)

64-bit format string fixes for Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@913 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: efb3c26c76956d4a72f789fa60907d9308c878bd
      https://github.com/boxbackup/boxbackup/commit/efb3c26c76956d4a72f789fa60907d9308c878bd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  (refs #3)

Use CopyFile to copy on Windows, instead of shelling out to cp, which
doesn't understand native paths.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@914 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7c48c4b6fa9013188ce860e5c60109c0d9173eb0
      https://github.com/boxbackup/boxbackup/commit/7c48c4b6fa9013188ce860e5c60109c0d9173eb0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  (refs #3)

Close open file handles on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@915 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 432b6e23070cc09b88e41892a2cc22a5997f9a82
      https://github.com/boxbackup/boxbackup/commit/432b6e23070cc09b88e41892a2cc22a5997f9a82
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  (refs #3)

Completely disable symlink test on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@916 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9c89cce80c83d7cf0118e9ea0438635e4a4a228d
      https://github.com/boxbackup/boxbackup/commit/9c89cce80c83d7cf0118e9ea0438635e4a4a228d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  (refs #3)

Cosmetic fixes to comments


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@917 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a0fab9676681982b6500df40e0b602c7bc9a97fd
      https://github.com/boxbackup/boxbackup/commit/a0fab9676681982b6500df40e0b602c7bc9a97fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  (refs #3) 

This test takes a long time on Win32 (slow file access? VMware?), so:

 * Disable verbose debug logging, which makes it even slower
 * Print a warning before the slow test starts
 * Increase timeout


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@918 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f37308a1d32c4e2a51d67b09a1a3006d3f74b664
      https://github.com/boxbackup/boxbackup/commit/f37308a1d32c4e2a51d67b09a1a3006d3f74b664
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@919 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c302ef803cf05dac3f5e557bc302c8556c193fe8
      https://github.com/boxbackup/boxbackup/commit/c302ef803cf05dac3f5e557bc302c8556c193fe8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  (refs #3)

Close before unlink

Check that unlink succeeds


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@920 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8464565584b6788982c6edd2438cc0d01987c63c
      https://github.com/boxbackup/boxbackup/commit/8464565584b6788982c6edd2438cc0d01987c63c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  (refs #3)

We cannot open multiple connections to the server on Win32, so work around.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@921 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a2363ab633f80541000b9f442d9840d69134770a
      https://github.com/boxbackup/boxbackup/commit/a2363ab633f80541000b9f442d9840d69134770a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  (refs #3)

Use correct directory separator everywhere


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@922 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b0d6a7707b82a6b72ae020d28b92b3e9a0bdefb8
      https://github.com/boxbackup/boxbackup/commit/b0d6a7707b82a6b72ae020d28b92b3e9a0bdefb8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-01 (Fri, 01 Sep 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  (refs #3)

Disable symlink tests on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@923 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9c7de439a2b34dcbb1ffa017544176032110c511
      https://github.com/boxbackup/boxbackup/commit/9c7de439a2b34dcbb1ffa017544176032110c511
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  (refs #3)

Convert UNIX paths to native on Win32 (avoids #ifdefs in tests)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@927 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7085733ddf1b564e06de38a7b2019df1a90b6099
      https://github.com/boxbackup/boxbackup/commit/7085733ddf1b564e06de38a7b2019df1a90b6099
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  (refs #3)

Disable tests for memory leaks after killing bbstored on Win32, since
it dies forcibly without a chance to write the memory leak file.

Initialise Windows sockets on Win32

Add tests for multiply open files on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@928 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 305ef7733d3c276e1a95e3b09193dbf80c07616d
      https://github.com/boxbackup/boxbackup/commit/305ef7733d3c276e1a95e3b09193dbf80c07616d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstorefix/testfiles/testbackupstorefix.pl.in

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@929 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e70779aa756fc2a31ffcd5f50d8bef9bb5cd387d
      https://github.com/boxbackup/boxbackup/commit/e70779aa756fc2a31ffcd5f50d8bef9bb5cd387d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstorefix/testfiles/testbackupstorefix.pl.in

  Log Message:
  -----------
  (refs #3)

Remove newlines from output to avoid failure to recognise it on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@930 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 24179a0742b45ed556e26457bff52118a0718638
      https://github.com/boxbackup/boxbackup/commit/24179a0742b45ed556e26457bff52118a0718638
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  (refs #3)

Added a RunCommand() function which converts UNIX paths to native before
calling ::system() on Win32.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@931 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 16df5afd0cfd6770a872a8b0b71050b8138fa627
      https://github.com/boxbackup/boxbackup/commit/16df5afd0cfd6770a872a8b0b71050b8138fa627
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  (refs #3)

Call RunCommand() instead of ::system to handle native paths better


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@932 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 569ebeb145871d0db1eb21b3744d27449294cb21
      https://github.com/boxbackup/boxbackup/commit/569ebeb145871d0db1eb21b3744d27449294cb21
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@933 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2f238ca1ba514409144ba3d45a4f1ecea9f40b22
      https://github.com/boxbackup/boxbackup/commit/2f238ca1ba514409144ba3d45a4f1ecea9f40b22
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  (refs #3)

Initialise Windows sockets on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@934 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ef179337bf2c26c6fff1e66575bdeaf0e2182dbe
      https://github.com/boxbackup/boxbackup/commit/ef179337bf2c26c6fff1e66575bdeaf0e2182dbe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  (refs #3)

Fix format strings on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@935 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a653290e4b81f83267d50e97f1d6b105c5f03c1d
      https://github.com/boxbackup/boxbackup/commit/a653290e4b81f83267d50e97f1d6b105c5f03c1d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  (refs #3)

Cannot signal bbstored to housekeep immediately on Win32, so just wait
for it to happen.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@936 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 299da7e14e4c3425d93e9dd0f5016e5f2ec817a7
      https://github.com/boxbackup/boxbackup/commit/299da7e14e4c3425d93e9dd0f5016e5f2ec817a7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  (refs #3)

Don't check for memory leaks on Win32, since the process is force killed
and doesn't have a chance to write the log file.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@937 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 60b570d0d30165b8c811aaeed40f997f0c6606a3
      https://github.com/boxbackup/boxbackup/commit/60b570d0d30165b8c811aaeed40f997f0c6606a3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  (refs #3)

Use RunCommand instead of ::system to convert UNIX paths to native


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@938 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 44fe696c0879adff45cb53987538e91086bd5170
      https://github.com/boxbackup/boxbackup/commit/44fe696c0879adff45cb53987538e91086bd5170
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Revert to trunk


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@939 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 86b5c7aaac772807d1fc18664614b65b0cc77a7b
      https://github.com/boxbackup/boxbackup/commit/86b5c7aaac772807d1fc18664614b65b0cc77a7b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  (refs #3)

Sleep without nanosleep() on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@940 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e8cfbeed6aa10e2d12cb5b6ce1e4c609483b0903
      https://github.com/boxbackup/boxbackup/commit/e8cfbeed6aa10e2d12cb5b6ce1e4c609483b0903
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  (refs #3)

Automatically initialise Windows sockets for all tests


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@941 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7325065b8d1e730076c510b0b82039c2aea5b880
      https://github.com/boxbackup/boxbackup/commit/7325065b8d1e730076c510b0b82039c2aea5b880
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  (refs #3)

Reorganise typedefs for clarity


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@942 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c6d6da78704c330452ff47f06ef48aef6d93ba03
      https://github.com/boxbackup/boxbackup/commit/c6d6da78704c330452ff47f06ef48aef6d93ba03
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Remove dependency on Box.h and hence on lib/common


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@943 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 30a17dd6b1271468d7179e12d92a7be2179c4290
      https://github.com/boxbackup/boxbackup/commit/30a17dd6b1271468d7179e12d92a7be2179c4290
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    A lib/win32/messages.h
    A lib/win32/messages.mc
    A lib/win32/messages.rc

  Log Message:
  -----------
  (refs #3)

Add message definitions and resource files


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@944 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d5d852a94de355ec66381f4197b0e1195f501fa6
      https://github.com/boxbackup/boxbackup/commit/d5d852a94de355ec66381f4197b0e1195f501fa6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Include message resource definitions


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@945 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 278f1787decbf62070e8709ce2c2aaeba3b1a916
      https://github.com/boxbackup/boxbackup/commit/278f1787decbf62070e8709ce2c2aaeba3b1a916
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    A lib/win32/getopt.h

  Log Message:
  -----------
  (refs #3)

Add BSD-licensed getopt.h to replace our own version


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@946 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d23d142ae65545bf6052b6ebe2490085198708b7
      https://github.com/boxbackup/boxbackup/commit/d23d142ae65545bf6052b6ebe2490085198708b7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-02 (Sat, 02 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Use our own ConvertUtf8ToWideString for simplicity


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@947 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e662ded389ccb461c7e3fb21b48be80748c8ec79
      https://github.com/boxbackup/boxbackup/commit/e662ded389ccb461c7e3fb21b48be80748c8ec79
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Convert UNIX to native paths 


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@948 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: edf605f9399a6ad0313114118fabb2906571deb0
      https://github.com/boxbackup/boxbackup/commit/edf605f9399a6ad0313114118fabb2906571deb0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Return INVALID_HANDLE_VALUE instead of NULL from openfile() on failure


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@949 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 445f4a8170c132e70a3d84b478574e201078a384
      https://github.com/boxbackup/boxbackup/commit/445f4a8170c132e70a3d84b478574e201078a384
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h

  Log Message:
  -----------
  (refs #3)

Use INVALID_HANDLE_VALUE instead of NULL for invalid handles on Win32


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@950 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc4583243c0fa7ef8896a2751f2922247c6be503
      https://github.com/boxbackup/boxbackup/commit/bc4583243c0fa7ef8896a2751f2922247c6be503
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Improved handling of UNIX flags to openfile(), allows multiple opens


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@951 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 961b01b670eeb865688326e56c4e69b3b46c2853
      https://github.com/boxbackup/boxbackup/commit/961b01b670eeb865688326e56c4e69b3b46c2853
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Improved error handling in emu_fstat


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@952 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4965f121196e468a610a884c4f5d4334e060063a
      https://github.com/boxbackup/boxbackup/commit/4965f121196e468a610a884c4f5d4334e060063a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Always fill in st_uid, st_gid and st_nlink

Return zero size for directories

Improved emulation of Unix file modes (helps when restoring Windows files
on Unix)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@953 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c5ed48f02b1c52c667674b75c0cf31d348626e1f
      https://github.com/boxbackup/boxbackup/commit/c5ed48f02b1c52c667674b75c0cf31d348626e1f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Pass requested open flags to OpenFileByNameUtf8


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@954 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a09fe823a9cc018bdeed66fd1baf893dcc6fb4fb
      https://github.com/boxbackup/boxbackup/commit/a09fe823a9cc018bdeed66fd1baf893dcc6fb4fb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Request READ_CONTROL when standard open fails, rather than no flags


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@955 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a5b30eb26b4cbced3842245dddb0e4f901ba004d
      https://github.com/boxbackup/boxbackup/commit/a5b30eb26b4cbced3842245dddb0e4f901ba004d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Treat PATH_NOT_FOUND just like FILE_NOT_FOUND in Unix land (errno = ENOENT)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@956 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 80e55f5e0d3aca374f65bc3bed0661d8712b5819
      https://github.com/boxbackup/boxbackup/commit/80e55f5e0d3aca374f65bc3bed0661d8712b5819
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Added emulated utimes, chmod, readv and writev

Added useful utility functions ConvertFileTimeToTime_t and 
ConvertTime_tToFileTime


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@957 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e4d0306e7d13cef53db4eb7ec4729cbc02271c1a
      https://github.com/boxbackup/boxbackup/commit/e4d0306e7d13cef53db4eb7ec4729cbc02271c1a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Removed last vestiges of old getopt()


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@958 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c77f0e98db6e44e05f1cb61e4dd0e1079b366939
      https://github.com/boxbackup/boxbackup/commit/c77f0e98db6e44e05f1cb61e4dd0e1079b366939
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-03 (Sun, 03 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Improved poll() emulation to handle multiple fds


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@959 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0d2d615a76158e2f0437065537285f9369606af3
      https://github.com/boxbackup/boxbackup/commit/0d2d615a76158e2f0437065537285f9369606af3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-04 (Mon, 04 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  (refs #3)

Fixed looking up message source in syslog()

Flush stdout after writing to it

Allow syslog() to log to console even when openlog() has not been called


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@960 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4c789a4e1cdeb43d9df79a5d27e85e0ac7eb948a
      https://github.com/boxbackup/boxbackup/commit/4c789a4e1cdeb43d9df79a5d27e85e0ac7eb948a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-04 (Mon, 04 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Emulated chdir, mkdir and unlink should handle file names in UTF-8 as well


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@961 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 10cbbffa594b4d6367958b31e8c06779b7aaf256
      https://github.com/boxbackup/boxbackup/commit/10cbbffa594b4d6367958b31e8c06779b7aaf256
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-04 (Mon, 04 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  (refs #3)

Emulate readdir's d_type field


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@962 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c927899abc17f810910be9ed5372234293bbf9fd
      https://github.com/boxbackup/boxbackup/commit/c927899abc17f810910be9ed5372234293bbf9fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-04 (Mon, 04 Sep 2006)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  (refs #3)

Remove more vestiges of old getopt


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@963 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5ed5cd21376088d9afb33647b92d1dce49890923
      https://github.com/boxbackup/boxbackup/commit/5ed5cd21376088d9afb33647b92d1dce49890923
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-04 (Mon, 04 Sep 2006)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  (refs #3)

Added prototypes for new emulated functions emu_utimes, readv and writev


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@964 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f0a21e9533b9e5eaa26e6e8d7ab017a0ced42eea
      https://github.com/boxbackup/boxbackup/commit/f0a21e9533b9e5eaa26e6e8d7ab017a0ced42eea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-04 (Mon, 04 Sep 2006)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  (refs #3)

Remove inline ConvertFileTimeToTime_t, add prototypes for new versions
in emu.cpp


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@965 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 55bff3cc8e7049c0c99d7f7ee84e3a9a3cd0cd03
      https://github.com/boxbackup/boxbackup/commit/55bff3cc8e7049c0c99d7f7ee84e3a9a3cd0cd03
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-09-04 (Mon, 04 Sep 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  (refs #3)

Changed WideSize from int to size_t

Don't allow space for null terminator that will not be added


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@966 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ff7338032f71298316f8a8c3d1d6f6ff3c56033d
      https://github.com/boxbackup/boxbackup/commit/ff7338032f71298316f8a8c3d1d6f6ff3c56033d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
   * 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


git-svn-id: https://www.boxbackup.org/svn/box/trunk@975 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 642488da70a39b9da0b2f684b83d38e370d4a8f8
      https://github.com/boxbackup/boxbackup/commit/642488da70a39b9da0b2f684b83d38e370d4a8f8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M docs/backup/win32_build_on_linux_using_mingw.txt

  Log Message:
  -----------
   * Updated documentation for building Win32 native builds on Linux


git-svn-id: https://www.boxbackup.org/svn/box/trunk@976 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2aea15cffffbc751d538e824c61d0ae31024d2c5
      https://github.com/boxbackup/boxbackup/commit/2aea15cffffbc751d538e824c61d0ae31024d2c5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
   * 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


git-svn-id: https://www.boxbackup.org/svn/box/trunk@977 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7002e681421c0baaf3dc7dc3749e5bdb7e247f2f
      https://github.com/boxbackup/boxbackup/commit/7002e681421c0baaf3dc7dc3749e5bdb7e247f2f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
   * use English as requested by Martin


git-svn-id: https://www.boxbackup.org/svn/box/trunk@978 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 68bb4e7c044739a2d24464778add9c035dc518fd
      https://github.com/boxbackup/boxbackup/commit/68bb4e7c044739a2d24464778add9c035dc518fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
   * Record the file and line of first test failure, and print them
at the end of the test, useful for debugging when the first
failure has scrolled off screen


git-svn-id: https://www.boxbackup.org/svn/box/trunk@979 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e5a0c410d60e03afc8bf64d09a8df7b659920581
      https://github.com/boxbackup/boxbackup/commit/e5a0c410d60e03afc8bf64d09a8df7b659920581
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
   * Support multiple implicit dependencies
 * Add lib/win32 as an implicit dependency on Win32
 * Make lib/common depend on lib/win32 on Win32
 * Fix space between test file name platform executable extension,
and between executable name and arguments, in test shell scripts
 * Add support for compiling resource files (.rc) on Win32
 * Fix dependencies to avoid unnecessary rebuilds when not using BSD make
 * Code cleanups
 * Fix typos


git-svn-id: https://www.boxbackup.org/svn/box/trunk@980 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 15a1f58ffcf49c95a79df8c4e24bc616e97fe1c3
      https://github.com/boxbackup/boxbackup/commit/15a1f58ffcf49c95a79df8c4e24bc616e97fe1c3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/backupclient/BackupStoreFile.cpp

  Log Message:
  -----------
   * Close file before trying to apply attributes to it. Otherwise,
when we close it the timestamp will be updated on Win32 (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@981 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d522cd219b5766ad8a807ec16c79f67b414b8197
      https://github.com/boxbackup/boxbackup/commit/d522cd219b5766ad8a807ec16c79f67b414b8197
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/backupclient/BackupStoreObjectDump.cpp

  Log Message:
  -----------
   * Fix format strings on Win32


git-svn-id: https://www.boxbackup.org/svn/box/trunk@982 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dcb047b54eeef81aee1b6f21e2505f938e1be7e9
      https://github.com/boxbackup/boxbackup/commit/dcb047b54eeef81aee1b6f21e2505f938e1be7e9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
   * Use DIRECTORY_SEPARATOR instead of assuming that it's a forward slash


git-svn-id: https://www.boxbackup.org/svn/box/trunk@983 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 22acbf1c320f20f52aa1067b932674ace0d09975
      https://github.com/boxbackup/boxbackup/commit/22acbf1c320f20f52aa1067b932674ace0d09975
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
   * Disable intercept tests on Win32 as well
 * Define O_BINARY to 0 (zero) if our platform doesn't have it (all except
Win32?) which enables us to reduce #ifdefs


git-svn-id: https://www.boxbackup.org/svn/box/trunk@984 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d45ff3691675883d2fba9fb0a654688f49fb64af
      https://github.com/boxbackup/boxbackup/commit/d45ff3691675883d2fba9fb0a654688f49fb64af
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/common/FdGetLine.h

  Log Message:
  -----------
   * Make FDGETLINE_BUFFER_SIZE big enough for one unicode character on Win32,
otherwise reading from console can fail due to insufficient buffer size.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@985 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e6fa039f999fa2201c2b40f76aa26e124450cd9e
      https://github.com/boxbackup/boxbackup/commit/e6fa039f999fa2201c2b40f76aa26e124450cd9e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/common/Guards.h

  Log Message:
  -----------
   * Add O_BINARY to default flags, since most files opened this way should
be opened in binary mode on Win32


git-svn-id: https://www.boxbackup.org/svn/box/trunk@986 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a0ce2477dca629772aa353818edc27beaf81efae
      https://github.com/boxbackup/boxbackup/commit/a0ce2477dca629772aa353818edc27beaf81efae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/raidfile/RaidFileRead.cpp

  Log Message:
  -----------
   * Don't include headers that we don't have
 * Open RAID files in binary mode


git-svn-id: https://www.boxbackup.org/svn/box/trunk@987 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 569ba3f31fa50768922b69742512103748ba013a
      https://github.com/boxbackup/boxbackup/commit/569ba3f31fa50768922b69742512103748ba013a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
   * Reinstate SendMessageToHousekeepingProcess() on Win32, but make it do nothing


git-svn-id: https://www.boxbackup.org/svn/box/trunk@988 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0f8e2f07a12797c6e76cd5b48d81a187ae595ebc
      https://github.com/boxbackup/boxbackup/commit/0f8e2f07a12797c6e76cd5b48d81a187ae595ebc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp

  Log Message:
  -----------
   * Use the same code for file names and file closing on other platforms
that's needed on Win32


git-svn-id: https://www.boxbackup.org/svn/box/trunk@989 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5ed836fc974cbe4ec881c42f7e1dba628ae4ef3b
      https://github.com/boxbackup/boxbackup/commit/5ed836fc974cbe4ec881c42f7e1dba628ae4ef3b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp

  Log Message:
  -----------
   * Use DIRECTORY_SEPARATOR instead of assuming that it's a forward slash


git-svn-id: https://www.boxbackup.org/svn/box/trunk@990 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a4bc4e7404185e661f90358382a4fde3cf0aaf3f
      https://github.com/boxbackup/boxbackup/commit/a4bc4e7404185e661f90358382a4fde3cf0aaf3f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
   * Initialise Windows sockets automatically for all daemons on Win32
 * Write PID files on Win32


git-svn-id: https://www.boxbackup.org/svn/box/trunk@991 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fe3b98bd8dde6380f689e1d36e1bc37ce6e15b28
      https://github.com/boxbackup/boxbackup/commit/fe3b98bd8dde6380f689e1d36e1bc37ce6e15b28
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
   * 64-bit format fixes (Win32)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@992 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e8bc1d6c0fd6512e6e4499699927d6501cab92e9
      https://github.com/boxbackup/boxbackup/commit/e8bc1d6c0fd6512e6e4499699927d6501cab92e9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
   * Added an OnIdle method which can be overridden by subclasses for idle
tasks. Used for housekeeping on Win32.
 * Avoid forking on Win32, and trying to clean up after children.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@993 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1b05cafd396925c4be7308544f1dda927e3b56a5
      https://github.com/boxbackup/boxbackup/commit/1b05cafd396925c4be7308544f1dda927e3b56a5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h

  Log Message:
  -----------
   * Define a suitable constant for invalid socket handles, for use in
SocketStream.cpp
 * Use INVALID_SOCKET_VALUE instead of -1


git-svn-id: https://www.boxbackup.org/svn/box/trunk@994 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fdfa70da1e8309b860fc4681fdcd6128581d979d
      https://github.com/boxbackup/boxbackup/commit/fdfa70da1e8309b860fc4681fdcd6128581d979d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M lib/server/SocketStreamTLS.cpp

  Log Message:
  -----------
   * Added support for non-blocking sockets on Win32 as well 
(TODO revisit #ifdefs: refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@995 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8d54cb9cefc125b44dd09a82fe66b7eaa5ba8715
      https://github.com/boxbackup/boxbackup/commit/8d54cb9cefc125b44dd09a82fe66b7eaa5ba8715
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
   * Use strict and warnings for code safety.
 * Exit with status 2 on invalid usage.
 * Allow running multiple tests, comma separated.
 * Exit with status 2 if make fails for any test.
 * Exit with status 1 if any test fails.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@996 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fb21562f3fb55af6f1919a9f6717fe05bdaae726
      https://github.com/boxbackup/boxbackup/commit/fb21562f3fb55af6f1919a9f6717fe05bdaae726
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
   * Use truncation/sparse files to quickly create files with 200MB of zeroes


git-svn-id: https://www.boxbackup.org/svn/box/trunk@997 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a3d1a5798b6992aa58cdddf3b3009bc143bedee8
      https://github.com/boxbackup/boxbackup/commit/a3d1a5798b6992aa58cdddf3b3009bc143bedee8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
   * 64-bit format string fixes for Win32


git-svn-id: https://www.boxbackup.org/svn/box/trunk@998 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 36615a18cf582e5a32a26ea7fea2e729a789530d
      https://github.com/boxbackup/boxbackup/commit/36615a18cf582e5a32a26ea7fea2e729a789530d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
   * Use CopyFile to copy on Windows, instead of shelling out to cp, which
doesn't understand native paths.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@999 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 96c9ebd7eeff1cdaeae65cd54816696f8607accb
      https://github.com/boxbackup/boxbackup/commit/96c9ebd7eeff1cdaeae65cd54816696f8607accb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
   * Close open file handles on Win32


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1000 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fc05c55096dfe1620da3764993556d3cc2ad5a09
      https://github.com/boxbackup/boxbackup/commit/fc05c55096dfe1620da3764993556d3cc2ad5a09
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
   * Completely disable symlink test on Win32


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1001 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4538434eb5294b98cdf25c9591b9e780b11a2b89
      https://github.com/boxbackup/boxbackup/commit/4538434eb5294b98cdf25c9591b9e780b11a2b89
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
   * Cosmetic fixes to comments


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1002 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 516e71dede78fb02467dc3e5081cd9edf39ec534
      https://github.com/boxbackup/boxbackup/commit/516e71dede78fb02467dc3e5081cd9edf39ec534
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  This test takes a long time on Win32 (slow file access? VMware?), so:

 * Disable verbose debug logging, which makes it even slower
 * Print a warning before the slow test starts
 * Increase timeout


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1003 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5e498b2c2e581135e6c393b146f99ac11ca97abb
      https://github.com/boxbackup/boxbackup/commit/5e498b2c2e581135e6c393b146f99ac11ca97abb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
   * Reverted, oops!


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1004 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 65b94814932f550d2b8c1f45a663ecbd0f7258b2
      https://github.com/boxbackup/boxbackup/commit/65b94814932f550d2b8c1f45a663ecbd0f7258b2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
   * Close before unlink
 * Check that unlink succeeds


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1005 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 23a3802d90d50100b5beec564c66225a2f1a58b6
      https://github.com/boxbackup/boxbackup/commit/23a3802d90d50100b5beec564c66225a2f1a58b6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-12 (Thu, 12 Oct 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
   * We cannot open multiple connections to the server on Win32, so work around.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1006 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0018a1d09b2a743a8c26a47272ad3fa834ef4c79
      https://github.com/boxbackup/boxbackup/commit/0018a1d09b2a743a8c26a47272ad3fa834ef4c79
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-13 (Fri, 13 Oct 2006)

  Changed paths:
    A infrastructure/mingw/configure.sh

  Log Message:
  -----------
  (refs #3)
 
 * Created directory for mingw compile utilities, added configure script


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1013 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 97df2cbfa6cfb96a2a810b48bb5d5ed0394db1e8
      https://github.com/boxbackup/boxbackup/commit/97df2cbfa6cfb96a2a810b48bb5d5ed0394db1e8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-13 (Fri, 13 Oct 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  (refs #3)

 * Updated detection of pcreposix installation to match static libraries 


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1014 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5065900e42a8e16c2547ced8b31ff960e2e5d779
      https://github.com/boxbackup/boxbackup/commit/5065900e42a8e16c2547ced8b31ff960e2e5d779
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-13 (Fri, 13 Oct 2006)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
   * Use INVALID_HANDLE_VALUE instead of NULL to represent invalid file 
   handles under Win32 (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1015 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d8b9e8cc4dbdb5132d38d1333405d70466f2a6fd
      https://github.com/boxbackup/boxbackup/commit/d8b9e8cc4dbdb5132d38d1333405d70466f2a6fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-13 (Fri, 13 Oct 2006)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp
    A lib/common/InvisibleTempFileStream.cpp
    A lib/common/InvisibleTempFileStream.h
    M lib/win32/emu.cpp
    M test/common/testcommon.cpp

  Log Message:
  -----------
   * Added support for Win32 temporary files
 * Added InvisibleTempFileStream class and unit tests for it 
 * Use InvisibleTempFileStream instead of FileStream for temporary files
   (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1016 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f77841cf9ef9a4f347776f501f615cbe69d7b5f3
      https://github.com/boxbackup/boxbackup/commit/f77841cf9ef9a4f347776f501f615cbe69d7b5f3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-13 (Fri, 13 Oct 2006)

  Changed paths:
    M lib/common/UnixUser.cpp

  Log Message:
  -----------
   * Spelling fixes


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1018 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ca6f995a49a5230f88342ca9d97d17f7dc867750
      https://github.com/boxbackup/boxbackup/commit/ca6f995a49a5230f88342ca9d97d17f7dc867750
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
   * Comment grammar fix (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1019 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4047d6c4467128754516d1c4605d03c40f89d958
      https://github.com/boxbackup/boxbackup/commit/4047d6c4467128754516d1c4605d03c40f89d958
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
   * Oops, wrong direction. Undo last change.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1020 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f236fde0b337e35c93e1f7f2a2a3ac55de9231a8
      https://github.com/boxbackup/boxbackup/commit/f236fde0b337e35c93e1f7f2a2a3ac55de9231a8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
   * Use readdir's d_type field to determine type of directory entry without
   statting the entry, which allows users to exclude unreadable entries to
   suppress warnings about them on Win32 (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1022 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b3a16946d49fa6e7ac4e40091faff2b2efdc3866
      https://github.com/boxbackup/boxbackup/commit/b3a16946d49fa6e7ac4e40091faff2b2efdc3866
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
   * Apply Box coding standards (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1026 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 228458ca7d5289911dfc619fb96606376beb2cd6
      https://github.com/boxbackup/boxbackup/commit/228458ca7d5289911dfc619fb96606376beb2cd6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
   * Replace global daemon object with a pointer, to allow deletion and
   clean up reported memory leaks
 * No need to initialise Winsock here, now that lib/server/Daemon does it
   for us
 * Initialise logging properly (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1027 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 61a8e5fa0f39eb8d0065daf0a6e7947e0dc76452
      https://github.com/boxbackup/boxbackup/commit/61a8e5fa0f39eb8d0065daf0a6e7947e0dc76452
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
   * Oops, svn merged too much, undo again


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1028 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8557faa7542768c99adfc991f45d6f6065d0d7ff
      https://github.com/boxbackup/boxbackup/commit/8557faa7542768c99adfc991f45d6f6065d0d7ff
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
   * Apply Box coding standards (refs #3, replaces [1026])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1029 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ab009e4ae3edb835a8b1dc05ed56a7f997b019b6
      https://github.com/boxbackup/boxbackup/commit/ab009e4ae3edb835a8b1dc05ed56a7f997b019b6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
   * Catch invalid output from sync allow script and tell the user what it
   was, to help them debug the problem (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1030 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f55874b0b1e4d6571655d9d3ae49b87d10242aca
      https://github.com/boxbackup/boxbackup/commit/f55874b0b1e4d6571655d9d3ae49b87d10242aca
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupd/Win32BackupService.cpp

  Log Message:
  -----------
   * Replace global daemon object with a pointer, to allow deletion and
   clean up reported memory leaks (refs #3, combine with [1027])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1031 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2374a68cea121125c902b84032ca9ebf283e0a9b
      https://github.com/boxbackup/boxbackup/commit/2374a68cea121125c902b84032ca9ebf283e0a9b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
   * Operator precedence fix (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1032 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 60ada7b2eb7bec75ade509c3bc573069e1f6074b
      https://github.com/boxbackup/boxbackup/commit/60ada7b2eb7bec75ade509c3bc573069e1f6074b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
   * Fix compile error caused by conflicting MSVC macros (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1035 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6d3e1dacd5541f753c7f8d3fbe899ab66a740562
      https://github.com/boxbackup/boxbackup/commit/6d3e1dacd5541f753c7f8d3fbe899ab66a740562
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M lib/common/BoxTimeToText.cpp
    M lib/common/BoxTimeToText.h

  Log Message:
  -----------
   * Add option to bbackupquery list command to show times in UTC or local time
   (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1036 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b1351d8995a926890bc394ae77ec78f78fec5551
      https://github.com/boxbackup/boxbackup/commit/b1351d8995a926890bc394ae77ec78f78fec5551
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-14 (Sat, 14 Oct 2006)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Use BoxPlatform to see if we are building on Windows (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1037 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b34c62ef163c97f13fa0ba4754c186028409beee
      https://github.com/boxbackup/boxbackup/commit/b34c62ef163c97f13fa0ba4754c186028409beee
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Allow getting an object with a path, not just from the current directory
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1049 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 252e34ab9be98a9ac98aaaf0a20a316e84ca1e81
      https://github.com/boxbackup/boxbackup/commit/252e34ab9be98a9ac98aaaf0a20a316e84ca1e81
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Convert command-line arguments from the system locale/character set to
the console character set (code page), so they they can be converted from
console to UTF-8 (yuck).

Don't try to read from stdin or change its code page when it's not open
(invalid file handle) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1050 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3ddfca06ea31374ecd97023e7ce659829caf9fd3
      https://github.com/boxbackup/boxbackup/commit/3ddfca06ea31374ecd97023e7ce659829caf9fd3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  Convert command-line arguments from the system locale/character set to
the console character set. (refs #3, combine with [1050])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1051 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c07c404e7b02f4b883852bb2d48d260272ef6036
      https://github.com/boxbackup/boxbackup/commit/c07c404e7b02f4b883852bb2d48d260272ef6036
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/documentation.txt

  Log Message:
  -----------
  Add an option to ignore attribute differences on compare. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1052 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9522d3e2c69249318c6b9d289d5c7875d3b966ac
      https://github.com/boxbackup/boxbackup/commit/9522d3e2c69249318c6b9d289d5c7875d3b966ac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Compile fix. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1053 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7bd836b493da470d957eac2a0075122e2a964082
      https://github.com/boxbackup/boxbackup/commit/7bd836b493da470d957eac2a0075122e2a964082
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Compile fix (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1054 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 590a5dfc46147d4fd7451d9cb40fd1223f892b2c
      https://github.com/boxbackup/boxbackup/commit/590a5dfc46147d4fd7451d9cb40fd1223f892b2c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Compile fix (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1055 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1759a20e53352b4542876a2b79556bff48525af1
      https://github.com/boxbackup/boxbackup/commit/1759a20e53352b4542876a2b79556bff48525af1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Added tests for case-insensitive matching in exclude lists on Win32.
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1058 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 93d34641d19c17f500b839ac7c657ef47df1d899
      https://github.com/boxbackup/boxbackup/commit/93d34641d19c17f500b839ac7c657ef47df1d899
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M win32.bat

  Log Message:
  -----------
  Copy our template config.h to BoxConfig.h when compiling with MSVC. 
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1059 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 437b78f9566987b3e02896e61f2b77196e02a91d
      https://github.com/boxbackup/boxbackup/commit/437b78f9566987b3e02896e61f2b77196e02a91d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M bin/bbstored/BackupContext.cpp

  Log Message:
  -----------
  Revert patch [862] (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1061 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7bc7c081c9554ae70259971d1fe75e67c13f342f
      https://github.com/boxbackup/boxbackup/commit/7bc7c081c9554ae70259971d1fe75e67c13f342f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M bin/bbstored/BackupContext.cpp

  Log Message:
  -----------
  Revert patch [825] (mostly).

Re-enable locking code on Win32 (although it's never used).

Use InvisibleTempFileStream to ensure that the temporary file is always
deleted. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1062 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dd2db3fc8b3398e03aa39f05a7e624fd60be5bd9
      https://github.com/boxbackup/boxbackup/commit/dd2db3fc8b3398e03aa39f05a7e624fd60be5bd9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-15 (Sun, 15 Oct 2006)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Change test for return code 3 back to 2, until or unless the bbackupquery
compare error (unreadable files) patch is merged. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1064 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 90230591dad454f212e845d37b76891c1026e61d
      https://github.com/boxbackup/boxbackup/commit/90230591dad454f212e845d37b76891c1026e61d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Don't check for nanosleep, random device, or flock/F_SETLK on any mingw32
platform (including mingw32msvc). (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1070 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e3f420aaaaa85758d78dbb361ff08cc2465431c
      https://github.com/boxbackup/boxbackup/commit/3e3f420aaaaa85758d78dbb361ff08cc2465431c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Don't check for AC_HEADER_DIRENT on any mingw32 platform. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1071 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 05b419fcab0ea4f71f6b765c857445107a0c7cf1
      https://github.com/boxbackup/boxbackup/commit/05b419fcab0ea4f71f6b765c857445107a0c7cf1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Different check for have_regex_h (the old one doesn't seem to work on MinGW).
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1072 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4643d08812892f279aa1364e048fbf3a20d8d35a
      https://github.com/boxbackup/boxbackup/commit/4643d08812892f279aa1364e048fbf3a20d8d35a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M configure.ac
    A test/bbackupd/testfiles/syncallowscript.pl.in

  Log Message:
  -----------
  Add test/bbackupd/testfiles/syncallowscript.pl to the list of Perl files
auto-generated with substitutions. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1073 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 93d2677b9eae5a02d22e95bdac8dcda717156ce6
      https://github.com/boxbackup/boxbackup/commit/93d2677b9eae5a02d22e95bdac8dcda717156ce6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    A lib/common/BoxConfig-MSVC.h
    R lib/win32/config.h.win32

  Log Message:
  -----------
  Rename config.h.win32 to the new name, which will be auto-included by
another change (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1075 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0fbea18afcba0bf86c3e1005d35fc025af0ea72e
      https://github.com/boxbackup/boxbackup/commit/0fbea18afcba0bf86c3e1005d35fc025af0ea72e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  Improved debugging when creation of sparse files fails. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1076 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6cd13ca5c5a695cac1bc51313e20822b9ab3b2ac
      https://github.com/boxbackup/boxbackup/commit/6cd13ca5c5a695cac1bc51313e20822b9ab3b2ac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M infrastructure/msvc/2003/bbackupctl.vcproj
    M infrastructure/msvc/2003/bbackupd.vcproj
    M infrastructure/msvc/2003/boxbackup.sln
    M infrastructure/msvc/2003/boxquery.vcproj
    M infrastructure/msvc/2003/common.vcproj
    M infrastructure/msvc/2005/bbackupctl.vcproj
    M infrastructure/msvc/2005/bbackupd.vcproj
    M infrastructure/msvc/2005/boxquery.vcproj
    M infrastructure/msvc/2005/common.vcproj

  Log Message:
  -----------
  Updated MSVC project files. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1077 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 85be0bf3cb2b8130f57cc7e9884ed132d49ee7a1
      https://github.com/boxbackup/boxbackup/commit/85be0bf3cb2b8130f57cc7e9884ed132d49ee7a1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    A infrastructure/msvc/getversion.pl

  Log Message:
  -----------
  Added a script to determine the build version on Win32 MSVC. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1078 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3fe0cc0e32742ff1bf3ca347f3573fdde0e3d922
      https://github.com/boxbackup/boxbackup/commit/3fe0cc0e32742ff1bf3ca347f3573fdde0e3d922
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Undefine fstat() so that we get the Win32 POSIX version, instead of our
emulated version.

Small code cleanup. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1079 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eb53e8d406b3f4081a42653db9ba1269e85cd5ef
      https://github.com/boxbackup/boxbackup/commit/eb53e8d406b3f4081a42653db9ba1269e85cd5ef
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Remove #ifdefs around geteuid(), re-enable use of fake version under Win32
as requested by Ben.

Restore serialised AttrModificationTime under Win32 by passing to 
emu_utimes(). (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1080 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a13d417410e4c440342aabc32053ba833d71c061
      https://github.com/boxbackup/boxbackup/commit/a13d417410e4c440342aabc32053ba833d71c061
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/backupclient/BackupStoreDirectory.cpp

  Log Message:
  -----------
  Delete existing entries to allow reuse of a BackupStoreDirectory object.
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1081 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f91367b2c6ec248f8e4da8ab78aa4f23e94ae73e
      https://github.com/boxbackup/boxbackup/commit/f91367b2c6ec248f8e4da8ab78aa4f23e94ae73e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/backupclient/BackupClientRestore.h

  Log Message:
  -----------
  Add new return codes from BackupClientRestore for use on Win32. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1082 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fae8c6019039492dc1b716249e7e2cc28d6d52e3
      https://github.com/boxbackup/boxbackup/commit/fae8c6019039492dc1b716249e7e2cc28d6d52e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp
    M lib/server/WinNamedPipeStream.h

  Log Message:
  -----------
  Use overlapped I/O to avoid blocking.

Use INVALID_HANDLE_VALUE instead of NULL everywhere to avoid bugs, and
for type safety. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1083 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 45fa8c447453e92531120d96833dc57f0fffb2fa
      https://github.com/boxbackup/boxbackup/commit/45fa8c447453e92531120d96833dc57f0fffb2fa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/server/LocalProcessStream.cpp

  Log Message:
  -----------
  Implement LocalProcessStream on Win32. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1084 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b575b0087bb33d720634b9f212d1880f00d38b9e
      https://github.com/boxbackup/boxbackup/commit/b575b0087bb33d720634b9f212d1880f00d38b9e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/server/SocketStream.h

  Log Message:
  -----------
  Use -1 for INVALID_SOCKET_HANDLE to ensure that it's always less than zero,
so that non-conditional code in SocketStream.cpp works properly.

Add a method to determine if a socket stream has been attached to a socket
yet. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1085 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8dda8b2f092571af7092092a3928a65640dbb468
      https://github.com/boxbackup/boxbackup/commit/8dda8b2f092571af7092092a3928a65640dbb468
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/server/SocketStreamTLS.cpp

  Log Message:
  -----------
  Use more accurate sleeps in poll() to ensure that we don't end up busy
waiting for the last fraction of a second with repeated poll(..., 0).
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1086 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9812aa80b3ac2511930273e33fa0ec7417cf6721
      https://github.com/boxbackup/boxbackup/commit/9812aa80b3ac2511930273e33fa0ec7417cf6721
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Use BoxConfig-MSVC.h and BoxVersion.h when compiling with MSVC. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1087 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: be6498b1f97184e807ad3dccad204bec116e59fe
      https://github.com/boxbackup/boxbackup/commit/be6498b1f97184e807ad3dccad204bec116e59fe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Fix memory corruption when the number of not-leaks exceeds the table size.
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1088 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 39de904d0b6878a5ab09565afeec82eb64638d68
      https://github.com/boxbackup/boxbackup/commit/39de904d0b6878a5ab09565afeec82eb64638d68
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/common/ExcludeList.cpp
    M lib/common/ExcludeList.h

  Log Message:
  -----------
  Match case-insensitively on Win32. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1089 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a9ec968010e4722cf56688b6ad89378b093c264c
      https://github.com/boxbackup/boxbackup/commit/a9ec968010e4722cf56688b6ad89378b093c264c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Set the filename to "HANDLE" under Win32 when initialising from an
existing handle.

Handle ERROR_BROKEN_PIPE as EOF when using FileStream to read from a
pipe in LocalProcessStream. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1090 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 89bba70d185cb9bfbdb93dd4cb82b7a3b1540bff
      https://github.com/boxbackup/boxbackup/commit/89bba70d185cb9bfbdb93dd4cb82b7a3b1540bff
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-16 (Mon, 16 Oct 2006)

  Changed paths:
    M lib/common/CommonException.txt

  Log Message:
  -----------
  Add a new CommonException type, AccessDenied (very useful for debugging
access errors, and needed by Boxi to report a sensible error to the user).
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1091 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0e8b0160372147bb038596fc7c5fde20f2954bfa
      https://github.com/boxbackup/boxbackup/commit/0e8b0160372147bb038596fc7c5fde20f2954bfa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-18 (Wed, 18 Oct 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Wait longer for server to die in KillServer (takes about 5 seconds on 
my box). (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1092 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 87d5daa0d90405988927d7c9cce9324ec187a0ea
      https://github.com/boxbackup/boxbackup/commit/87d5daa0d90405988927d7c9cce9324ec187a0ea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-18 (Wed, 18 Oct 2006)

  Changed paths:
    M lib/server/ConnectionException.txt

  Log Message:
  -----------
  Update description with another possible cause of this error


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1093 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e2c8dac49ea3ed203929eda7d5f55f98ef475a9a
      https://github.com/boxbackup/boxbackup/commit/e2c8dac49ea3ed203929eda7d5f55f98ef475a9a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-18 (Wed, 18 Oct 2006)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Reinstate ifdefs around code that should be disabled on Win32 (fake fork()
seems to be a bad idea).

Comment spelling fixes. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1094 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 28108e8d031bb7513806c61d55a495300c70e11d
      https://github.com/boxbackup/boxbackup/commit/28108e8d031bb7513806c61d55a495300c70e11d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-18 (Wed, 18 Oct 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Reinstate #ifdefs on Win32. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1095 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 01ca42f15f529c7ae1be0724399152123fdc0df5
      https://github.com/boxbackup/boxbackup/commit/01ca42f15f529c7ae1be0724399152123fdc0df5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-18 (Wed, 18 Oct 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Catch exceptions from BackupStoreDaemon::Run and log them without killing
the server process, on platforms where forking is disabled (Win32). (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1096 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aed349991211554943911b1f1885c7a04aa9c6ca
      https://github.com/boxbackup/boxbackup/commit/aed349991211554943911b1f1885c7a04aa9c6ca
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Disable symlink tests on Win32


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1101 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a5816bb7c433d41a491d606319b85df0eca414e0
      https://github.com/boxbackup/boxbackup/commit/a5816bb7c433d41a491d606319b85df0eca414e0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Convert UNIX paths to native on Win32 (avoids #ifdefs in tests)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1102 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 000031d19f7ef5853df63e709245d9659a2b059e
      https://github.com/boxbackup/boxbackup/commit/000031d19f7ef5853df63e709245d9659a2b059e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Disable tests for memory leaks after killing bbstored on Win32, since
it dies forcibly without a chance to write the memory leak file.

Initialise Windows sockets on Win32.

Add tests for multiply open files on Win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1103 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4c8bd6a24f42282cb3733eb6939b84fda883c58e
      https://github.com/boxbackup/boxbackup/commit/4c8bd6a24f42282cb3733eb6939b84fda883c58e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstorefix/testfiles/testbackupstorefix.pl.in

  Log Message:
  -----------
  Remove newlines from output to avoid failure to recognise it on Win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1104 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b42cd0f5b9cb5cbaad067a6cfc6dcb6d920e722a
      https://github.com/boxbackup/boxbackup/commit/b42cd0f5b9cb5cbaad067a6cfc6dcb6d920e722a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Added a RunCommand() function which converts UNIX paths to native before
calling ::system() on Win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1105 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 903018ee1a74735ca1c4608bd1598d9406efdbcd
      https://github.com/boxbackup/boxbackup/commit/903018ee1a74735ca1c4608bd1598d9406efdbcd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Initialise Windows sockets on Win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1106 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 343f1bf65b2c7e399064e169079fe3611c4dcd91
      https://github.com/boxbackup/boxbackup/commit/343f1bf65b2c7e399064e169079fe3611c4dcd91
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Fix format strings on Win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1107 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6f88f9eb4f33418bb893c40d925317fa7a9835db
      https://github.com/boxbackup/boxbackup/commit/6f88f9eb4f33418bb893c40d925317fa7a9835db
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Cannot signal bbstored to housekeep immediately on Win32, so just wait
for it to happen.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1108 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fe23ef736c20c6661c6d70f18418caa1a66dded1
      https://github.com/boxbackup/boxbackup/commit/fe23ef736c20c6661c6d70f18418caa1a66dded1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Don't check for memory leaks on Win32, since the process is force killed
and doesn't have a chance to write the log file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1109 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4830e523bbbe8eb642c429309e2c636dd672c43f
      https://github.com/boxbackup/boxbackup/commit/4830e523bbbe8eb642c429309e2c636dd672c43f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Use RunCommand instead of ::system to convert UNIX paths to native.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1110 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3d00dae86ee559d3f6146a4258997ba1dc81f2c4
      https://github.com/boxbackup/boxbackup/commit/3d00dae86ee559d3f6146a4258997ba1dc81f2c4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Sleep without nanosleep() on Win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1111 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aaa8dad91d532eda23f6aa1a2be9be7259a089cb
      https://github.com/boxbackup/boxbackup/commit/aaa8dad91d532eda23f6aa1a2be9be7259a089cb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Automatically initialise Windows sockets for all tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1112 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c234a9d8d055fa68e8bc334664fb4eb8c898b12c
      https://github.com/boxbackup/boxbackup/commit/c234a9d8d055fa68e8bc334664fb4eb8c898b12c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Remove double initialisation (now done in 
infrastructure/buildenv-testmain-template.cpp) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1113 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7fade5f4c5ebc5a7be3da04cffbf1608486bb46b
      https://github.com/boxbackup/boxbackup/commit/7fade5f4c5ebc5a7be3da04cffbf1608486bb46b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Remove double initialisation of winsock library. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1114 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7c546e021599f5ed759a29bb8ad2a82cb27983cc
      https://github.com/boxbackup/boxbackup/commit/7c546e021599f5ed759a29bb8ad2a82cb27983cc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Reorganise typedefs for clarity.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1115 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: da91d88e293ba5c49912bf69770b43f7f0a8cf0d
      https://github.com/boxbackup/boxbackup/commit/da91d88e293ba5c49912bf69770b43f7f0a8cf0d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Remove dependency on Box.h and hence on lib/common.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1116 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 74c73d22424253a509659f5113dc6a69cbc92811
      https://github.com/boxbackup/boxbackup/commit/74c73d22424253a509659f5113dc6a69cbc92811
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    A lib/win32/messages.h
    A lib/win32/messages.mc
    A lib/win32/messages.rc

  Log Message:
  -----------
  Add message definitions and resource files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1117 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 960224da808a3e8598aef47335e518f36ca34fbc
      https://github.com/boxbackup/boxbackup/commit/960224da808a3e8598aef47335e518f36ca34fbc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Include message resource definitions.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1118 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8a85d1b3e0eb8425a892098ed2f6e1e16b2cf200
      https://github.com/boxbackup/boxbackup/commit/8a85d1b3e0eb8425a892098ed2f6e1e16b2cf200
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    A lib/win32/getopt.h

  Log Message:
  -----------
  Add BSD-licensed getopt.h to replace our own version.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1119 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c43645aee2373bd5f840660d375af432deb59a0e
      https://github.com/boxbackup/boxbackup/commit/c43645aee2373bd5f840660d375af432deb59a0e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Use our own ConvertUtf8ToWideString for simplicity.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1120 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e092eac030f55dbc14decdb339f992ef03816bdf
      https://github.com/boxbackup/boxbackup/commit/e092eac030f55dbc14decdb339f992ef03816bdf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Convert UNIX to native paths automatically when opening files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1121 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 788fe358e0caf19d213c8583682d202d446e9022
      https://github.com/boxbackup/boxbackup/commit/788fe358e0caf19d213c8583682d202d446e9022
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Return INVALID_HANDLE_VALUE instead of NULL from openfile() on failure.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1122 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6003bb540c24948c4002b1af7fcf4a0f0910b19f
      https://github.com/boxbackup/boxbackup/commit/6003bb540c24948c4002b1af7fcf4a0f0910b19f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h

  Log Message:
  -----------
  Use INVALID_HANDLE_VALUE instead of NULL for invalid handles on Win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1123 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2dd0cc4798f7dd231869f17f3d164a99c2130be8
      https://github.com/boxbackup/boxbackup/commit/2dd0cc4798f7dd231869f17f3d164a99c2130be8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Improved handling of UNIX flags to openfile(), allows multiple opens.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1124 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: baa6b06b8de58267b6c204454127e5b1ad841094
      https://github.com/boxbackup/boxbackup/commit/baa6b06b8de58267b6c204454127e5b1ad841094
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Improved error handling in emu_fstat.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1125 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 49fd296956c27c603150f730c65086ae70f77c48
      https://github.com/boxbackup/boxbackup/commit/49fd296956c27c603150f730c65086ae70f77c48
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Always fill in st_uid, st_gid and st_nlink.

Return zero size for directories.

Improved emulation of Unix file modes (helps when restoring Windows files
on Unix).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1126 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 13ae511bbb7e3db63c242d4ef39f5f409a1bf459
      https://github.com/boxbackup/boxbackup/commit/13ae511bbb7e3db63c242d4ef39f5f409a1bf459
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Pass requested open flags to OpenFileByNameUtf8.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1127 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 139187d774b9f817fd16bdc32a22275d11c7593a
      https://github.com/boxbackup/boxbackup/commit/139187d774b9f817fd16bdc32a22275d11c7593a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Request READ_CONTROL when standard open fails, rather than no flags.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1128 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 50baa57a6000cc13dd6d0b3cff34e0745c5013b9
      https://github.com/boxbackup/boxbackup/commit/50baa57a6000cc13dd6d0b3cff34e0745c5013b9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Treat PATH_NOT_FOUND just like FILE_NOT_FOUND in Unix land (errno = ENOENT).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1129 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 93a96e7d024cbf95d7a0ff16beabffa8e58b6b5d
      https://github.com/boxbackup/boxbackup/commit/93a96e7d024cbf95d7a0ff16beabffa8e58b6b5d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Added emulated utimes, chmod, readv and writev.

Added useful utility functions ConvertFileTimeToTime_t and
ConvertTime_tToFileTime.

Added prototypes for new emulated functions emu_utimes, readv and writev.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@1130 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5264e82382e9472c72d719498365db4b2925c1ec
      https://github.com/boxbackup/boxbackup/commit/5264e82382e9472c72d719498365db4b2925c1ec
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Removed last vestiges of old getopt().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1131 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0231fb143cf82579e5d0170f58e18e0d01bde2fa
      https://github.com/boxbackup/boxbackup/commit/0231fb143cf82579e5d0170f58e18e0d01bde2fa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Improved poll() emulation to handle multiple fds.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1132 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 83e75eb99bade8d62c18dc3d9a46244469021d43
      https://github.com/boxbackup/boxbackup/commit/83e75eb99bade8d62c18dc3d9a46244469021d43
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Fixed looking up message source in syslog().

Flush stdout after writing to it.

Allow syslog() to log to console even when openlog() has not been called.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1133 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b85b8fb0836f623ff8fab19fc8ad8aa0b2982a39
      https://github.com/boxbackup/boxbackup/commit/b85b8fb0836f623ff8fab19fc8ad8aa0b2982a39
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Emulated chdir, mkdir and unlink should handle file names in UTF-8 as well.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1134 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f74367ac2b9a055ed43749607f6ca90ac0eccc2d
      https://github.com/boxbackup/boxbackup/commit/f74367ac2b9a055ed43749607f6ca90ac0eccc2d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Emulate readdir's d_type field.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1135 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2a49512945ab2605374f316333affc3e117a7c41
      https://github.com/boxbackup/boxbackup/commit/2a49512945ab2605374f316333affc3e117a7c41
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Remove inline ConvertFileTimeToTime_t, add prototypes for new versions
in emu.cpp.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1136 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fc5ef0f23967216633c0b0daed4c010f52998ddb
      https://github.com/boxbackup/boxbackup/commit/fc5ef0f23967216633c0b0daed4c010f52998ddb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Changed WideSize from int to size_t.

Don't allow space for null terminator that will not be added.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1137 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3cdf1dd81b5e288b799a16004d415e8cc1488a54
      https://github.com/boxbackup/boxbackup/commit/3cdf1dd81b5e288b799a16004d415e8cc1488a54
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Fixed typo.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1138 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ce7f96ca93acd1488ac5f001f24233962a6e00db
      https://github.com/boxbackup/boxbackup/commit/ce7f96ca93acd1488ac5f001f24233962a6e00db
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-10-27 (Fri, 27 Oct 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Fix compile error (checked in directly since I broke the trunk, sorry!)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1139 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b72e37ad56dfd5f8255a2557d5a402774965f558
      https://github.com/boxbackup/boxbackup/commit/b72e37ad56dfd5f8255a2557d5a402774965f558
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-06 (Mon, 06 Nov 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Compile fix


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1140 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6b883961e2d80577a6c65f2f459baffb7585c5cb
      https://github.com/boxbackup/boxbackup/commit/6b883961e2d80577a6c65f2f459baffb7585c5cb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-06 (Mon, 06 Nov 2006)

  Changed paths:
    M lib/common/BoxTime.h
    A lib/common/Timer.cpp
    A lib/common/Timer.h
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Added generic timer support class


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1141 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 50cece8bbf0f49d97244a758606da983e0c9b03d
      https://github.com/boxbackup/boxbackup/commit/50cece8bbf0f49d97244a758606da983e0c9b03d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-06 (Mon, 06 Nov 2006)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Protect against double initialisation of win32 timers


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1142 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bfcb17890abf96f01e1f3ae1054a54a7da87b530
      https://github.com/boxbackup/boxbackup/commit/bfcb17890abf96f01e1f3ae1054a54a7da87b530
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-06 (Mon, 06 Nov 2006)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Fix compile warnings (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1143 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 30aabf8eada07be608f6de409fefeb47050051b9
      https://github.com/boxbackup/boxbackup/commit/30aabf8eada07be608f6de409fefeb47050051b9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Fix scoping to ensure that objects which allocate memory via the 
standard libraries, free it before the memleak tests, to avoid test 
failures (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1144 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 810a6b90f9b1a2a12bc1c09c6071b23d18630dfa
      https://github.com/boxbackup/boxbackup/commit/810a6b90f9b1a2a12bc1c09c6071b23d18630dfa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Added tests for timers with zero interval, which should never expire 
(refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1145 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a8e452498506d58d9b918c9fe30f6abfca693067
      https://github.com/boxbackup/boxbackup/commit/a8e452498506d58d9b918c9fe30f6abfca693067
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Force glibc to use new/delete to allocate memory and disable its 
internal pools for the unit tests, to make memory leak detection work
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1146 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f5d85a3c071716cfae2d3897c7c868524645f5eb
      https://github.com/boxbackup/boxbackup/commit/f5d85a3c071716cfae2d3897c7c868524645f5eb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Fixed typo.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1147 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0801a119d1ce5a410d67ada5f1a3930cbbfbe493
      https://github.com/boxbackup/boxbackup/commit/0801a119d1ce5a410d67ada5f1a3930cbbfbe493
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Fixed typo.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1148 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cf8f98e427058994fd3cc475b0db810818aca434
      https://github.com/boxbackup/boxbackup/commit/cf8f98e427058994fd3cc475b0db810818aca434
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/server/TLSContext.cpp

  Log Message:
  -----------
  Fix memory leak when TLSContext is reinitialised (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1150 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ec5fc7968438d2da24161ba6b70301c27c392577
      https://github.com/boxbackup/boxbackup/commit/ec5fc7968438d2da24161ba6b70301c27c392577
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Fixed typo (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1151 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d66ad155a1167ec92b6f1b950d70a8e115a7c3f5
      https://github.com/boxbackup/boxbackup/commit/d66ad155a1167ec92b6f1b950d70a8e115a7c3f5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Declare MEMLEAKFINDER_INIT and MEMLEAKFINDER_NO_LEAKS macros which 
reference function and class in DebugMemLeakFinder only in debug mode 
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1152 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7cc0b34557d7d1a71a54e6ca7feb533ff4ef1b78
      https://github.com/boxbackup/boxbackup/commit/7cc0b34557d7d1a71a54e6ca7feb533ff4ef1b78
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Free backtrace strings even in debug mode by suppressing warnings from 
DebugMemLeakFinder, to avoid a memory leak (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1153 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 221044af311e9ffc60d244aff18c3115b961b4e4
      https://github.com/boxbackup/boxbackup/commit/221044af311e9ffc60d244aff18c3115b961b4e4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/common/Timer.cpp
    M lib/common/Timer.h

  Log Message:
  -----------
  Use a static pointer rather than a static object, to allow it to be 
freed in Timers::Cleanup, removing a reported memory leak (refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1154 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eda54b93e87c54423feefad3cd85000d9cd95422
      https://github.com/boxbackup/boxbackup/commit/eda54b93e87c54423feefad3cd85000d9cd95422
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  openlog inside MAINHELPER block, to ensure that any memory leaks will be 
caught (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1155 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1ae134bfc0a949354ce281b1f2b019536cb80936
      https://github.com/boxbackup/boxbackup/commit/1ae134bfc0a949354ce281b1f2b019536cb80936
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Setup MAINHELPER as early as possible, and clear it as late as possible, 
for consistency (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1156 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 30fa0d15bf0e5be2bda771c843d26716a1566532
      https://github.com/boxbackup/boxbackup/commit/30fa0d15bf0e5be2bda771c843d26716a1566532
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Fixed typo.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1157 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d833388fd75ae75020d690dfac98fde61b9d1552
      https://github.com/boxbackup/boxbackup/commit/d833388fd75ae75020d690dfac98fde61b9d1552
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Fixed typo.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1158 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a49cfd7606e0554f70793549f07c9a27cad5fe03
      https://github.com/boxbackup/boxbackup/commit/a49cfd7606e0554f70793549f07c9a27cad5fe03
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/MemLeakFinder.h

  Log Message:
  -----------
   * Track memory leaks in allocations via the standard libraries, and 
   avoid malloc/delete mismatches, by overriding standard new operator.
 * Added another global enable flag to memleak finder, which is used to 
   mark the end of static allocations and the start of dynamic code, 
   since the memory leak detection is done before cleanup of static 
   objects.
 * Added a public guard class, to allow safe scoped disabling of memory 
   leak detection.
 * Added InternalAllocGuard to protect against recursive loops when 
   allocating memory inside the memory leak checker. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1159 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d4e908fe7647388f0abdf89caa36b270847a7a7b
      https://github.com/boxbackup/boxbackup/commit/d4e908fe7647388f0abdf89caa36b270847a7a7b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M test/backupstore/testbackupstore.cpp
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Fix memory leak false alarms caused by modifying static objects (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1160 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 24c22886fd28c942e3dde457fd0ce5ab81bb6e29
      https://github.com/boxbackup/boxbackup/commit/24c22886fd28c942e3dde457fd0ce5ab81bb6e29
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/common/MainHelper.h

  Log Message:
  -----------
  Initialise memleak finder at the start of every program that uses 
MAINHELPER (all except unit tests). (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1161 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a7c8835c6e53a1788fa0834628b80fca53bec87a
      https://github.com/boxbackup/boxbackup/commit/a7c8835c6e53a1788fa0834628b80fca53bec87a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Initialise cross-platform timers on all platforms, remove win32-specific 
code (refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1162 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9ce8c7c89e4e08e83ae101827cb1279ea679a252
      https://github.com/boxbackup/boxbackup/commit/9ce8c7c89e4e08e83ae101827cb1279ea679a252
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Fixed control reaching end of non-void functions (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1163 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6190c2d0ab854df21f333e71da221ed9ed64206c
      https://github.com/boxbackup/boxbackup/commit/6190c2d0ab854df21f333e71da221ed9ed64206c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Initialise memory leak finder in all unit tests (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1164 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e46824b773a994a960f7fe441aba20dac8065eae
      https://github.com/boxbackup/boxbackup/commit/e46824b773a994a960f7fe441aba20dac8065eae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Initialise timers in all unit tests (refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1165 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 868dae40fab3e2b83cccea4b4a08eb488d475f91
      https://github.com/boxbackup/boxbackup/commit/868dae40fab3e2b83cccea4b4a08eb488d475f91
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M lib/raidfile/RaidFileController.cpp

  Log Message:
  -----------
  Fix memory leak false alarms caused by static allocations.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1166 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c014599175896d312843a691df74cf18b62343c7
      https://github.com/boxbackup/boxbackup/commit/c014599175896d312843a691df74cf18b62343c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Revert [1096] as it causes infinite loops if the listening socket 
can't be opened (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1167 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: faf063315a3fed4a9aac0deac76ee049de31ddad
      https://github.com/boxbackup/boxbackup/commit/faf063315a3fed4a9aac0deac76ee049de31ddad
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Properly revert [1096] (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1168 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 18e54348b20883a626f4bb81f693ac9b8fc7142d
      https://github.com/boxbackup/boxbackup/commit/18e54348b20883a626f4bb81f693ac9b8fc7142d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-13 (Mon, 13 Nov 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Don't try to write to the interprocess socket if it's not open (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1169 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9f416c273bef78a9a5c1873bcf4fd13324f87036
      https://github.com/boxbackup/boxbackup/commit/9f416c273bef78a9a5c1873bcf4fd13324f87036
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-14 (Tue, 14 Nov 2006)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupDaemon.cpp
    M lib/backupclient/BackupDaemonConfigVerify.cpp

  Log Message:
  -----------
  Add ExtendedLogFile option to bbackupd config (refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1170 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2e65ca68eb2f6641dc5238f64fd00565cd9efb9d
      https://github.com/boxbackup/boxbackup/commit/2e65ca68eb2f6641dc5238f64fd00565cd9efb9d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-23 (Thu, 23 Nov 2006)

  Changed paths:
    M configure.ac
    M lib/common/BoxTime.cpp

  Log Message:
  -----------
  Use gettimeofday() to increase accuracy of GetCurrentBoxTime() on 
platforms which support it. Fixes busy waits for 1 second in backup 
client when time for next backup is not on a 1 second boundary (which 
it never is). (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1171 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cba70a0025895d66b960786da6aad76e47629960
      https://github.com/boxbackup/boxbackup/commit/cba70a0025895d66b960786da6aad76e47629960
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-26 (Sun, 26 Nov 2006)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Fix compile in trunk, trivial.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1172 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2c9798448c04c3fae52c8bbc7223d6198f990d4b
      https://github.com/boxbackup/boxbackup/commit/2c9798448c04c3fae52c8bbc7223d6198f990d4b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-26 (Sun, 26 Nov 2006)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
   * Allow Daemons to be created more than once per process
 * Don't initialise signal handler until after fork, in case the parent 
   is actually a unit test or another complex application
 * Don't exit(0) in the parent, for the same reason (refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1173 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2620be24c6587006d3ae4fd45a2e4487aacf181d
      https://github.com/boxbackup/boxbackup/commit/2620be24c6587006d3ae4fd45a2e4487aacf181d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-26 (Sun, 26 Nov 2006)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add missing newlines to protocol logging to a file (refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1174 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d0a1ba3bd79c94a665e5d87091a36b1366c4e637
      https://github.com/boxbackup/boxbackup/commit/d0a1ba3bd79c94a665e5d87091a36b1366c4e637
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-26 (Sun, 26 Nov 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Separate ReadPidFile() out from LaunchServer() in test code (refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1175 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c5a62475df075889614e837885b6918d44565638
      https://github.com/boxbackup/boxbackup/commit/c5a62475df075889614e837885b6918d44565638
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-26 (Sun, 26 Nov 2006)

  Changed paths:
    A lib/intercept/intercept.cpp
    M modules.txt
    R test/raidfile/intercept.cpp

  Log Message:
  -----------
  Moved intercept code to a library module to allow it to be used by 
test/bbackupd as well (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1176 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4b0286f01c6240b0ee1a22e7de5a3f07101f9497
      https://github.com/boxbackup/boxbackup/commit/4b0286f01c6240b0ee1a22e7de5a3f07101f9497
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-26 (Sun, 26 Nov 2006)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
   * Try to kill any daemons left over from previous tests before running 
   new tests.
 * Try to kill any remaining daemons at the end of the test (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1177 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 62ca60d6a3d9049575e3be3e792b42bda9baa0b1
      https://github.com/boxbackup/boxbackup/commit/62ca60d6a3d9049575e3be3e792b42bda9baa0b1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-26 (Sun, 26 Nov 2006)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  Catch any exceptions while handling a connection and report to user 
rather than terminating. Useful for non-forking servers like bbstored on 
Windows. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1178 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 96e7683d0a6f9e73fa448d9c97658b4987e96a0c
      https://github.com/boxbackup/boxbackup/commit/96e7683d0a6f9e73fa448d9c97658b4987e96a0c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-26 (Sun, 26 Nov 2006)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp
    M test/bbackupd/testfiles/bbackupd.conf.in

  Log Message:
  -----------
  Added test for keepalives being sent (refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1179 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b28ab9d6b8304618177475b976eec3ca608d2f53
      https://github.com/boxbackup/boxbackup/commit/b28ab9d6b8304618177475b976eec3ca608d2f53
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-26 (Sun, 26 Nov 2006)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
   * Fix timer expiry calculation when timers expire in the past
 * Fix handling of timers which never expire (zero deadline) (refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1180 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e82dc5f103a7db83755e79dbe928d05820ddef8
      https://github.com/boxbackup/boxbackup/commit/3e82dc5f103a7db83755e79dbe928d05820ddef8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-27 (Mon, 27 Nov 2006)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Added a test for diff termination if MaximumDiffingTime is exceeded 
(refs #3, refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1181 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 45df874c455917cc245c1559779c06227a67bbb9
      https://github.com/boxbackup/boxbackup/commit/45df874c455917cc245c1559779c06227a67bbb9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-28 (Tue, 28 Nov 2006)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Added debug tracing code for timers.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1182 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5b072ec9324a49ef53edc4976491a050e5af1f77
      https://github.com/boxbackup/boxbackup/commit/5b072ec9324a49ef53edc4976491a050e5af1f77
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-28 (Tue, 28 Nov 2006)

  Changed paths:
    M lib/intercept/intercept.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Added ability for delay intercepts to fire multiple times.

Added test for repeat keepalives to test/bbackupd.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1183 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 33439bfafa6261ce486d69fd3a612e6545829cf4
      https://github.com/boxbackup/boxbackup/commit/33439bfafa6261ce486d69fd3a612e6545829cf4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-11-28 (Tue, 28 Nov 2006)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileDiff.cpp

  Log Message:
  -----------
  Replace old-style setitimers for KeepAliveTime and MaximumDiffingTime 
with new Timer objects. (refs #3, refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1184 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 81570ff48d505e04621dd300ff26bec39a4d3a95
      https://github.com/boxbackup/boxbackup/commit/81570ff48d505e04621dd300ff26bec39a4d3a95
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Search for dlfcn.h and dlsym() (needed for new intercept code) (refs #3, 
refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1185 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b7544f295a7f8046ff2707f12ead0eb9e8417005
      https://github.com/boxbackup/boxbackup/commit/b7544f295a7f8046ff2707f12ead0eb9e8417005
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Pass any command-line parameters from t-gdb to gdb (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1186 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0a3471624b6005044507faa82067c1367c958925
      https://github.com/boxbackup/boxbackup/commit/0a3471624b6005044507faa82067c1367c958925
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M lib/intercept/intercept.cpp
    A lib/intercept/intercept.h

  Log Message:
  -----------
  Added a header file for including in test/bbackupd/testbbackupd.cpp and 
other modules which might need intercepts in future.

Added opendir/readdir and lstat hook capability.

(refs #3, refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1187 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 074a993edc3b4d28ac72e93d8e6d67a87ac2e826
      https://github.com/boxbackup/boxbackup/commit/074a993edc3b4d28ac72e93d8e6d67a87ac2e826
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M bin/bbackupquery/documentation.txt

  Log Message:
  -----------
  Document that restore -d can be used to restore deleted files in any 
directory, deleted or not. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1188 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cac22bd270503b50698a01443ccbc2c5ee505dff
      https://github.com/boxbackup/boxbackup/commit/cac22bd270503b50698a01443ccbc2c5ee505dff
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Log failure to rename ID map files. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1189 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e75a777f2392baef294c925c78cd9fa3d1c56aeb
      https://github.com/boxbackup/boxbackup/commit/e75a777f2392baef294c925c78cd9fa3d1c56aeb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Added tests for keepalives while scanning large directories. (refs #3, 
refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1190 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6a7f385009153e7b6f1c63a5f38e60512b4213da
      https://github.com/boxbackup/boxbackup/commit/6a7f385009153e7b6f1c63a5f38e60512b4213da
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupDaemon.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileDiff.cpp

  Log Message:
  -----------
  Moved KeepAlive timer to BackupClientContext object.

Made timeout initialisation non-static, and a property of the context 
object. (perhaps should be in rParams, I know).

(refs #3, refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1191 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2c6d0401acd0482eaeb8be6193d4e4903c27816f
      https://github.com/boxbackup/boxbackup/commit/2c6d0401acd0482eaeb8be6193d4e4903c27816f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Send keepalives when needed while scanning large directories (refs #3, 
refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1192 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 396e8fb0c5bc070598b63c4241fd7a04db9e2413
      https://github.com/boxbackup/boxbackup/commit/396e8fb0c5bc070598b63c4241fd7a04db9e2413
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Make the timer test reliable by using nanosleep() instead of sleep(), 
since sleep() may use signals and interfere with SIGALRM, and also 
cannot be resumed if interrupted by a signal. (refs #3, refs #9).


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1193 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9a9d94c9dc59418373d36354f601017e2b57f880
      https://github.com/boxbackup/boxbackup/commit/9a9d94c9dc59418373d36354f601017e2b57f880
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-03 (Sun, 03 Dec 2006)

  Changed paths:
    M lib/common/Timer.cpp
    M lib/common/Timer.h
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Fixed a race condition caused by rescheduling in signal handler (refs 
#3, refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1194 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e5466808157f43168f6d113ed761a0590d5d208
      https://github.com/boxbackup/boxbackup/commit/7e5466808157f43168f6d113ed761a0590d5d208
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-12 (Tue, 12 Dec 2006)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Compile fix: include MemLeakFinder.h even on release builds (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1195 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 13f930ef0fb682d5193f19c3b5bc08d6e198bc72
      https://github.com/boxbackup/boxbackup/commit/13f930ef0fb682d5193f19c3b5bc08d6e198bc72
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-12 (Tue, 12 Dec 2006)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Compile fix: include std::string definition (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1196 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 47f603dbe10ee6d7b12868fdde2f2b71cc338290
      https://github.com/boxbackup/boxbackup/commit/47f603dbe10ee6d7b12868fdde2f2b71cc338290
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-12 (Tue, 12 Dec 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Sync subdirectories even when store is full, allows user to exclude 
files to free up space to complete their backups.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1197 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 93944e3f746edd4bd6db42983c62b4a5d4e2f6b0
      https://github.com/boxbackup/boxbackup/commit/93944e3f746edd4bd6db42983c62b4a5d4e2f6b0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-13 (Wed, 13 Dec 2006)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Fix more deadlocks by minimising the amount of stuff that the signal
handler does. (refs #3, refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1198 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c67397b3f554070f91ed5c6021f16f5ae8ec4188
      https://github.com/boxbackup/boxbackup/commit/c67397b3f554070f91ed5c6021f16f5ae8ec4188
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    A test/bbackupd/Makefile.extra

  Log Message:
  -----------
  Added missing Makefile.extra to link against bbackupd objects, so that 
our internal daemon test code will compile.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1199 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6743856ee163b21a1ae722db62c9ad549ee0c597
      https://github.com/boxbackup/boxbackup/commit/6743856ee163b21a1ae722db62c9ad549ee0c597
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    A infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Created directory for mingw compile utilities, added configure script.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1200 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9ac10242f3d45ce7072efea25cd302cca9ccacb6
      https://github.com/boxbackup/boxbackup/commit/9ac10242f3d45ce7072efea25cd302cca9ccacb6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Use INVALID_HANDLE_VALUE instead of NULL to represent invalid file 
handles under Win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1201 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 82e4e3255c5b282a99e7efbb48897888a8e620f5
      https://github.com/boxbackup/boxbackup/commit/82e4e3255c5b282a99e7efbb48897888a8e620f5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Simplify code (merge [1017])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1202 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b1d61a5e27d76cc5b602f40fb854096d2c10da9b
      https://github.com/boxbackup/boxbackup/commit/b1d61a5e27d76cc5b602f40fb854096d2c10da9b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Use readdir's d_type field to determine type of directory entry without 
statting the entry, which allows users to exclude unreadable entries to 
suppress warnings about them on Win32. (merge [1022])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1203 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 629bc32b45a344fcce67d87d0f90fb6a7d04bfb7
      https://github.com/boxbackup/boxbackup/commit/629bc32b45a344fcce67d87d0f90fb6a7d04bfb7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupd/Win32BackupService.cpp
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
   * Replace global daemon object with a pointer, to allow deletion and 
   clean up reported memory leaks 
 * No need to initialise Winsock here, now that lib/server/Daemon does it 
   for us 
 * Initialise logging properly

(merges [1027]+[1031])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1204 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fd6c8f6885e618fd4f3598589d1c3499dce6ff37
      https://github.com/boxbackup/boxbackup/commit/fd6c8f6885e618fd4f3598589d1c3499dce6ff37
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Apply Box coding standards (merges [1029]) 


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1205 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: deb91c8a3768af6b4ac28e6bbd06b037f68fb033
      https://github.com/boxbackup/boxbackup/commit/deb91c8a3768af6b4ac28e6bbd06b037f68fb033
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Catch invalid output from sync allow script and tell the user what it 
was, to help them debug the problem. (merges [1030])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1206 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e448b89c5794f82d03bc31aa01cf9bcd995634bc
      https://github.com/boxbackup/boxbackup/commit/e448b89c5794f82d03bc31aa01cf9bcd995634bc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupd/Win32ServiceFunctions.cpp

  Log Message:
  -----------
  Operator precedence fix (merges [1032])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1207 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fca3aa56279837ae7c0ebd404125b0b3a1fa2dbd
      https://github.com/boxbackup/boxbackup/commit/fca3aa56279837ae7c0ebd404125b0b3a1fa2dbd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Fix compile error caused by conflicting MSVC macros (merges [1035])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1208 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5357f69f3fc68c67a1c8cd3f08f42cf7a4162d8b
      https://github.com/boxbackup/boxbackup/commit/5357f69f3fc68c67a1c8cd3f08f42cf7a4162d8b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M lib/common/BoxTimeToText.cpp
    M lib/common/BoxTimeToText.h

  Log Message:
  -----------
  Add option to bbackupquery list command to show times in UTC or local time
(merges [1036])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1209 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 70c29f93bacd7152d7f4dcd211c1d7f6eb5f103e
      https://github.com/boxbackup/boxbackup/commit/70c29f93bacd7152d7f4dcd211c1d7f6eb5f103e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
   * Convert command-line arguments from the system locale/character set to 
   the console character set (code page), so they they can be converted from 
   console to UTF-8 (yuck). 

 * Don't try to read from stdin or change its code page when it's not open 
   (invalid file handle)

(merges [1050]+[1051])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1210 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4b05d087429a9a5559254bb38c00050f6653a1dc
      https://github.com/boxbackup/boxbackup/commit/4b05d087429a9a5559254bb38c00050f6653a1dc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/documentation.txt

  Log Message:
  -----------
  Add an option to ignore attribute differences on compare (merges [1052])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1211 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 11bff54d5257d62cca2abe3cf1b403c723c0fb7e
      https://github.com/boxbackup/boxbackup/commit/11bff54d5257d62cca2abe3cf1b403c723c0fb7e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Compile fix (merges [1054])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1212 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bd9041c6d136d19bb1e8028afd52275e685c9d4b
      https://github.com/boxbackup/boxbackup/commit/bd9041c6d136d19bb1e8028afd52275e685c9d4b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Added tests for case-insensitive matching in exclude lists on Win32. 
(merges [1058])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1213 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78b6b08ee76830f01169d556f10da7f9afbd8b7e
      https://github.com/boxbackup/boxbackup/commit/78b6b08ee76830f01169d556f10da7f9afbd8b7e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Removed a hunk of the merge tree that got into [1210] by mistake 
(not in [1050]).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1214 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2d9c01a44f89b47a30626a152b5a5314700a3812
      https://github.com/boxbackup/boxbackup/commit/2d9c01a44f89b47a30626a152b5a5314700a3812
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Don't check for nanosleep, random device, or flock/F_SETLK on any mingw32 
platform (including mingw32msvc). (merges [1070])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1215 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1bf5679fd2cacb6bd03ba587bca90e301145684d
      https://github.com/boxbackup/boxbackup/commit/1bf5679fd2cacb6bd03ba587bca90e301145684d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-14 (Thu, 14 Dec 2006)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Don't check for AC_HEADER_DIRENT on any mingw32 platform (merges [1071])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1216 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9a9904dc420fa6a2999e60086569f67b5c4960e1
      https://github.com/boxbackup/boxbackup/commit/9a9904dc420fa6a2999e60086569f67b5c4960e1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-15 (Fri, 15 Dec 2006)

  Changed paths:
    M configure.ac
    A test/bbackupd/testfiles/syncallowscript.pl.in

  Log Message:
  -----------
  Add test/bbackupd/testfiles/syncallowscript.pl to the list of Perl files 
auto-generated with substitutions. (merges [1073])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1217 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f96c22eea10f79b206df8e707071da90b70c9cf8
      https://github.com/boxbackup/boxbackup/commit/f96c22eea10f79b206df8e707071da90b70c9cf8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-15 (Fri, 15 Dec 2006)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  Improved debugging when creation of sparse files fails (merges [1076])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1218 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8d67dd6e4e53ed9e51948fa1cc919e577bc24cb8
      https://github.com/boxbackup/boxbackup/commit/8d67dd6e4e53ed9e51948fa1cc919e577bc24cb8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-15 (Fri, 15 Dec 2006)

  Changed paths:
    A infrastructure/msvc/getversion.pl

  Log Message:
  -----------
  Added a script to determine the build version on Win32 MSVC (merges [1078])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1219 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6e072e283ffd758e7274a09c78cf49abe46284f1
      https://github.com/boxbackup/boxbackup/commit/6e072e283ffd758e7274a09c78cf49abe46284f1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-15 (Fri, 15 Dec 2006)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
   * Remove #ifdefs around geteuid(), re-enable use of fake version under Win32 
   as requested by Ben. 

 * Restore serialised AttrModificationTime under Win32 by passing to 
   emu_utimes().

(merges [1080])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1220 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8130f82c11bd87074183b549daa00d8452944d99
      https://github.com/boxbackup/boxbackup/commit/8130f82c11bd87074183b549daa00d8452944d99
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-15 (Fri, 15 Dec 2006)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Disable standard library memory leak debugging, as it causes hangs on FC2


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1221 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c3d9bf4562b45bada12efa145b2a1f0c98c22a3d
      https://github.com/boxbackup/boxbackup/commit/c3d9bf4562b45bada12efa145b2a1f0c98c22a3d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-16 (Sat, 16 Dec 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Improved debugging when a path to a location doesn't exist or can't be
opened. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1222 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c8753afc77d29d3c7981ccd2d20f84b78341fa03
      https://github.com/boxbackup/boxbackup/commit/c8753afc77d29d3c7981ccd2d20f84b78341fa03
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-16 (Sat, 16 Dec 2006)

  Changed paths:
    A lib/win32/getopt_long.cxx

  Log Message:
  -----------
  Added implementation of getopt from BSD (refs #3) (check license!)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1223 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 66b1fc9f9861a249057a9f3d3a1dab4e46371bc1
      https://github.com/boxbackup/boxbackup/commit/66b1fc9f9861a249057a9f3d3a1dab4e46371bc1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-16 (Sat, 16 Dec 2006)

  Changed paths:
    A lib/common/Logging.cpp
    A lib/common/Logging.h

  Log Message:
  -----------
  Initial implementation of the logging framework.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1224 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b1f45c558fad2f1dec38d5e7d8f9f35282c7e6e9
      https://github.com/boxbackup/boxbackup/commit/b1f45c558fad2f1dec38d5e7d8f9f35282c7e6e9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-16 (Sat, 16 Dec 2006)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
   * Rename Loggers class to Logging, which looks nicer.
 * Fix type of "line" argument to loggers to int rather than std::string
   to match __LINE__
 * Define necessary static objects
 * Remove global condition on logging for now

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1225 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 64843e2c753b13e63b33651da0077ff0f6018681
      https://github.com/boxbackup/boxbackup/commit/64843e2c753b13e63b33651da0077ff0f6018681
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-16 (Sat, 16 Dec 2006)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  Change all logging to use the logging framework, as an example. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1226 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7f99e5c73168e1aa6b21026d69449eeb6029857c
      https://github.com/boxbackup/boxbackup/commit/7f99e5c73168e1aa6b21026d69449eeb6029857c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-29 (Fri, 29 Dec 2006)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Add missing include of <string> header (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1227 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f5c5f08048c2a8e0538d3e8f99b80aad67133e78
      https://github.com/boxbackup/boxbackup/commit/f5c5f08048c2a8e0538d3e8f99b80aad67133e78
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-29 (Fri, 29 Dec 2006)

  Changed paths:
    M lib/common/MemLeakFinder.h

  Log Message:
  -----------
  Don't redefine the built-in operators new and delete unnecessarily (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1228 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ce3397ded797148c8e5923078fa50059abd09fee
      https://github.com/boxbackup/boxbackup/commit/ce3397ded797148c8e5923078fa50059abd09fee
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-29 (Fri, 29 Dec 2006)

  Changed paths:
    M lib/common/BoxPlatform.h
    M lib/intercept/intercept.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Compile fix for platforms without intercept capability (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1229 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d118414c252b117eb38881cee6637f449cb25c1d
      https://github.com/boxbackup/boxbackup/commit/d118414c252b117eb38881cee6637f449cb25c1d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-29 (Fri, 29 Dec 2006)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Belay that order, XO (partially revert patch [1229])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1230 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b47c082a897b3cf735679445947579af1095bda6
      https://github.com/boxbackup/boxbackup/commit/b47c082a897b3cf735679445947579af1095bda6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2006-12-29 (Fri, 29 Dec 2006)

  Changed paths:
    M infrastructure/msvc/2005/bbackupctl.vcproj
    M infrastructure/msvc/2005/bbackupd.vcproj
    M infrastructure/msvc/2005/boxquery.vcproj
    M infrastructure/msvc/2005/common.vcproj
    M infrastructure/msvc/2005/win32test.vcproj
    M lib/common/BoxConfig-MSVC.h
    M lib/common/ExcludeList.cpp

  Log Message:
  -----------
  Visual Studio 2005 compile fixes, thanks to Gary.

Enable (and require) PCRE when building with Visual Studio 2005.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1231 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b0c3c9e1225956e3ac57f5d805271e9f74e05b52
      https://github.com/boxbackup/boxbackup/commit/b0c3c9e1225956e3ac57f5d805271e9f74e05b52
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-11 (Thu, 11 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M lib/backupclient/BackupDaemonConfigVerify.cpp

  Log Message:
  -----------
  Added a new config option, LogAllFileAccess, which will log access to every 
file and scanning every directory. The current implementation is taken
straight from the Boxi branch. To be extended shortly. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1234 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e7b4504f4b33831178d6f2b48c9f251e7bfb5242
      https://github.com/boxbackup/boxbackup/commit/e7b4504f4b33831178d6f2b48c9f251e7bfb5242
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-11 (Thu, 11 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Added logging of directory scans and excluded files. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1235 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 053a18900a05adec3b0c4f2aa6c140c57c92a0af
      https://github.com/boxbackup/boxbackup/commit/053a18900a05adec3b0c4f2aa6c140c57c92a0af
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-12 (Fri, 12 Jan 2007)

  Changed paths:
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  Always start by logging everything to syslog, even when running on the 
console.

Don't closelog() here, let Logging do that for us. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1236 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ecaa4b2f2b84c8c4b73681b1089edc78e45af070
      https://github.com/boxbackup/boxbackup/commit/ecaa4b2f2b84c8c4b73681b1089edc78e45af070
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-12 (Fri, 12 Jan 2007)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Cosmetic spacing fixes (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1237 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0f5668ac49cae7ddb577c1498a0f64f702e67850
      https://github.com/boxbackup/boxbackup/commit/0f5668ac49cae7ddb577c1498a0f64f702e67850
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-12 (Fri, 12 Jan 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Convert Daemon class to new logging framework (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1238 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b7cbcc78336a1d17843c0a9b389af462a545fcd4
      https://github.com/boxbackup/boxbackup/commit/b7cbcc78336a1d17843c0a9b389af462a545fcd4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-13 (Sat, 13 Jan 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Fix spelling (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1239 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f83104f3f34325541dc173764df80c9345774d5e
      https://github.com/boxbackup/boxbackup/commit/f83104f3f34325541dc173764df80c9345774d5e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-13 (Sat, 13 Jan 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Ignore symlink permissions on Darwin, where they can't be set properly
after symlink creation (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1240 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b9dcd60b933879a88ab4a99e36b36909aafc40d9
      https://github.com/boxbackup/boxbackup/commit/b9dcd60b933879a88ab4a99e36b36909aafc40d9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-13 (Sat, 13 Jan 2007)

  Changed paths:
    M configure.ac
    R infrastructure/makedistribution.pl
    A infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Rename makedistribution.pl to makedistribution.pl.in.

Auto-generate makedistribution.pl in configure, to replace @PERL@ in 
shebang line.

Process spec files as text files, to allow removing private parts. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1241 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c9a92991595cf8d1077cd9280b3a035ffba1062e
      https://github.com/boxbackup/boxbackup/commit/c9a92991595cf8d1077cd9280b3a035ffba1062e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-13 (Sat, 13 Jan 2007)

  Changed paths:
    M distribution/boxbackup/contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Support building from an unofficial tarball (from svn) by changing
%{distribution_dir} at the top (automatically in distributions made by
infrastructure/makedistribution.pl)

Write our RPM version number into VERSION.txt and hence compile it in
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1242 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 74fa0183c8c405521a8fcc9939e958e3135189b2
      https://github.com/boxbackup/boxbackup/commit/74fa0183c8c405521a8fcc9939e958e3135189b2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-14 (Sun, 14 Jan 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  - Make sure timer is stopped before removing signal handler, otherwise
  SIGALRM will kill us.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1243 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d7688ec634d211b91a569d5e9b75a4346e5f8528
      https://github.com/boxbackup/boxbackup/commit/d7688ec634d211b91a569d5e9b75a4346e5f8528
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-14 (Sun, 14 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Don't die on unreadable files (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1244 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e31ce1886174c0f49ee5fd16364efff01034b2fa
      https://github.com/boxbackup/boxbackup/commit/e31ce1886174c0f49ee5fd16364efff01034b2fa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-14 (Sun, 14 Jan 2007)

  Changed paths:
    M distribution/boxbackup/contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Be nice to rpm that doesn't like empty macros (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1245 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4a483272d410d484eaca944f933ba14313763a58
      https://github.com/boxbackup/boxbackup/commit/4a483272d410d484eaca944f933ba14313763a58
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-14 (Sun, 14 Jan 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Don't do things with essential side effects inside ASSERT() macros 
(refs #3, refs #9)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1246 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ee1cd21cfe1ad2d6ed37452532f884e346e45f5
      https://github.com/boxbackup/boxbackup/commit/8ee1cd21cfe1ad2d6ed37452532f884e346e45f5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-14 (Sun, 14 Jan 2007)

  Changed paths:
    M distribution/boxbackup/contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Fix building from distribution tarballs again (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1247 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 917af2b6b958905161a7affc3e4ffbc7a14ebb79
      https://github.com/boxbackup/boxbackup/commit/917af2b6b958905161a7affc3e4ffbc7a14ebb79
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-14 (Sun, 14 Jan 2007)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt

  Log Message:
  -----------
  Add missing files to manifest, required by configure (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1248 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5ea57baae6fadb8208ad06729f5254fac5569f36
      https://github.com/boxbackup/boxbackup/commit/5ea57baae6fadb8208ad06729f5254fac5569f36
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-14 (Sun, 14 Jan 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Spacing (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1249 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a9c9f17e81b3f4897b835db3ca96270b4b00a401
      https://github.com/boxbackup/boxbackup/commit/a9c9f17e81b3f4897b835db3ca96270b4b00a401
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-15 (Mon, 15 Jan 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Detect reparse points and change the device number (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1250 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2a636ca987636bde1b5314590a9c637b4303526d
      https://github.com/boxbackup/boxbackup/commit/2a636ca987636bde1b5314590a9c637b4303526d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-15 (Mon, 15 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Skip mount points and NTFS reparse points inside a location, even if
not excluded (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1251 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 526109adbb90164d31825f1e5e976c91327f2539
      https://github.com/boxbackup/boxbackup/commit/526109adbb90164d31825f1e5e976c91327f2539
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-15 (Mon, 15 Jan 2007)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Add a new logging level, NOTICE, between INFO and WARNING (justification:
we need two levels of output for LogAllFileAccess, neither of which are
warnings, one is very verbose, but must not be compiled out like TRACE).

Make Loggers default to logging everything.

Make the global log level filter work. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1252 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8c7b669c146012de001052fd7818c22efa112f11
      https://github.com/boxbackup/boxbackup/commit/8c7b669c146012de001052fd7818c22efa112f11
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-15 (Mon, 15 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Log important output at NOTICE level, instead of INFO (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1253 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fd1a8d828bef8035501b09222e270a7b1ca798e5
      https://github.com/boxbackup/boxbackup/commit/fd1a8d828bef8035501b09222e270a7b1ca798e5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-15 (Mon, 15 Jan 2007)

  Changed paths:
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  Allow Loggers to log everything, as is their wont. Master level will be
set in Daemon, patch to follow. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1254 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 21594eecdad3d6c0553cdd6d48a213b3d8776d36
      https://github.com/boxbackup/boxbackup/commit/21594eecdad3d6c0553cdd6d48a213b3d8776d36
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-15 (Mon, 15 Jan 2007)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Throw CommonException AccessDenied if we didn't get access to the file,
for better error description (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1255 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2dbe835c70c085aa3b7ed2e2d9380481c9ccfb6f
      https://github.com/boxbackup/boxbackup/commit/2dbe835c70c085aa3b7ed2e2d9380481c9ccfb6f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-15 (Mon, 15 Jan 2007)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Add option parsing with getopt()

Add "-D" flag as SINGLEPROCESS equivalent

Add "-q" and "-v" options to control master logging level

Log fatal errors as FATAL rather than ERROR

Log daemon start and stop as NOTICE rather than INFO (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1256 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 495a23b926bb6d115f0a6a2a22afc1d4f1a45851
      https://github.com/boxbackup/boxbackup/commit/495a23b926bb6d115f0a6a2a22afc1d4f1a45851
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-16 (Tue, 16 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Log AccessDenied errors in a more concise form than general exceptions 
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1257 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3403c5263ce6c68a65946f608f15d0d5315fb86d
      https://github.com/boxbackup/boxbackup/commit/3403c5263ce6c68a65946f608f15d0d5315fb86d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-16 (Tue, 16 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Cosmetic whitespace fix (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1258 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 56084f0763313a2f803efe7524c5cae9a03a4737
      https://github.com/boxbackup/boxbackup/commit/56084f0763313a2f803efe7524c5cae9a03a4737
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-16 (Tue, 16 Jan 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Compile fix for RHEL4 ([NICK]) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1259 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e20229b4f42229ca4769f48fa0a46934924b6956
      https://github.com/boxbackup/boxbackup/commit/e20229b4f42229ca4769f48fa0a46934924b6956
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-16 (Tue, 16 Jan 2007)

  Changed paths:
    M lib/common/ExcludeList.cpp
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Check for exclude entries that end in a path separator, and log a warning
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1260 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c1ace9b018a7a7a9ae6860082647bfa8d1f1fe19
      https://github.com/boxbackup/boxbackup/commit/c1ace9b018a7a7a9ae6860082647bfa8d1f1fe19
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-16 (Tue, 16 Jan 2007)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Automatically initialise logging at startup, with a static object, to log
to console and syslog.

All logging objects automatically register themselves with the global
logging system. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1261 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7bc744b102868fdc672f57b7f18a9d2fa4823925
      https://github.com/boxbackup/boxbackup/commit/7bc744b102868fdc672f57b7f18a9d2fa4823925
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-16 (Tue, 16 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Allow suppressing warnings about unsupported file types by excluding those
files by name, using ExcludeFile (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1262 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6776f67066d5fb047915559fcc33d8e030b8725d
      https://github.com/boxbackup/boxbackup/commit/6776f67066d5fb047915559fcc33d8e030b8725d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-17 (Wed, 17 Jan 2007)

  Changed paths:
    A lib/common/BufferedStream.cpp
    A lib/common/BufferedStream.h

  Log Message:
  -----------
  Added a BufferedStream class that can be wrapped around an IOStream to 
improve read performance when many small reads will be performed, e.g.
while reading directories and during housekeeping. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1263 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 395096e0e88deeeda3145a5978f267bbda532749
      https://github.com/boxbackup/boxbackup/commit/395096e0e88deeeda3145a5978f267bbda532749
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-17 (Wed, 17 Jan 2007)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Use BufferedStream to speed up housekeeping by about ten times. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1264 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 53d0d45514c0e30a06fdaebcc3d1a8c9408891a4
      https://github.com/boxbackup/boxbackup/commit/53d0d45514c0e30a06fdaebcc3d1a8c9408891a4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-17 (Wed, 17 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    A lib/common/PathUtils.cpp
    A lib/common/PathUtils.h

  Log Message:
  -----------
  Moved MakeFullPath into its own library file so that we can share it
(BackupQueries needs it too) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1265 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1d6624f3c395f68a005ff7154ab0650def27dddb
      https://github.com/boxbackup/boxbackup/commit/1d6624f3c395f68a005ff7154ab0650def27dddb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-17 (Wed, 17 Jan 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  When comparing, don't recurse into excluded directories, as their contents
will not be on the store. 

Fix display of filenames during compare when backing up the root directory
(double slash) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1266 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1f272d56604c8cc58db04ef33ee6ff05a22d302a
      https://github.com/boxbackup/boxbackup/commit/1f272d56604c8cc58db04ef33ee6ff05a22d302a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-17 (Wed, 17 Jan 2007)

  Changed paths:
    M bin/bbstored/BackupContext.cpp

  Log Message:
  -----------
  Buffer directory reads (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1267 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9adcbe98df61b48051bf115c2bcc653768272daf
      https://github.com/boxbackup/boxbackup/commit/9adcbe98df61b48051bf115c2bcc653768272daf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-17 (Wed, 17 Jan 2007)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp

  Log Message:
  -----------
  Buffer store file integrity checks (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1268 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 19e51599afb31dc169478522c25ecd6693c08d4c
      https://github.com/boxbackup/boxbackup/commit/19e51599afb31dc169478522c25ecd6693c08d4c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-21 (Sun, 21 Jan 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Improve error message when server fails to start (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1269 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4a4852e7e588511eacf27e244cca786075366a50
      https://github.com/boxbackup/boxbackup/commit/4a4852e7e588511eacf27e244cca786075366a50
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-01-25 (Thu, 25 Jan 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Stop locations from being deleted from the store just because their local
directory can't be found, as suggested by Gary (refs #3) 


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1270 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7642c0a24ac31e1d0dbbc0c6e698e352803df945
      https://github.com/boxbackup/boxbackup/commit/7642c0a24ac31e1d0dbbc0c6e698e352803df945
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-02-09 (Fri, 09 Feb 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Catch errors during restore (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1272 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 57e859bf2e26e3d007817b43c141d55aeb5c53dc
      https://github.com/boxbackup/boxbackup/commit/57e859bf2e26e3d007817b43c141d55aeb5c53dc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-02-09 (Fri, 09 Feb 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Check whether the restore target parent directory exists before trying
to create the target directory or save restore info in the parent (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1273 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c39ac201095918c7ad61ef0ca10d546ed0195364
      https://github.com/boxbackup/boxbackup/commit/c39ac201095918c7ad61ef0ca10d546ed0195364
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-02-09 (Fri, 09 Feb 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Make BackupClientRestoreDir return a result code compatible with
BackupClientRestore (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1274 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bedc554b9d6e5e57e7472fbec291e39afde982a8
      https://github.com/boxbackup/boxbackup/commit/bedc554b9d6e5e57e7472fbec291e39afde982a8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-02-09 (Fri, 09 Feb 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Spelling fix (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1275 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e3ab19324ffe1173aab79e21b38ca737e77c221
      https://github.com/boxbackup/boxbackup/commit/7e3ab19324ffe1173aab79e21b38ca737e77c221
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-02-09 (Fri, 09 Feb 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Don't throw an exception if we fail to delete a file in the way of restore,
just log the error and return an error code (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1276 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d0350ed4f21ecb91abd52aeb771e4afa69842d14
      https://github.com/boxbackup/boxbackup/commit/d0350ed4f21ecb91abd52aeb771e4afa69842d14
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-02-09 (Fri, 09 Feb 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Catch exceptions while writing files, attributes, resume info and checking
file existence (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1277 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4be0b2dcf8ced0317388edc2f7f4deee58520309
      https://github.com/boxbackup/boxbackup/commit/4be0b2dcf8ced0317388edc2f7f4deee58520309
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-02-09 (Fri, 09 Feb 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Log failure to delete files and directories (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1278 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 76d629e958e9b306b0123395e928c6c016b822c9
      https://github.com/boxbackup/boxbackup/commit/76d629e958e9b306b0123395e928c6c016b822c9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-02-09 (Fri, 09 Feb 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Fix compile warning


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1279 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 344078e46c121149cdf0a89c8c8e749ccdc50d06
      https://github.com/boxbackup/boxbackup/commit/344078e46c121149cdf0a89c8c8e749ccdc50d06
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  Typo fix


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1349 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6021b4c56ca84d9b9bd69eecef5791c978fa8cc2
      https://github.com/boxbackup/boxbackup/commit/6021b4c56ca84d9b9bd69eecef5791c978fa8cc2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  Typo fix


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1350 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 65325aed18874dbc6275c3a58a6f5cdf77169e42
      https://github.com/boxbackup/boxbackup/commit/65325aed18874dbc6275c3a58a6f5cdf77169e42
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Simplify check for PERL

Define substitution TARGET_PERL and preprocessor PERL_EXECUTABLE to a 
native Perl (not Cygwin) on Win32, since Cygwin perl will not run inside 
bbackupd for unit tests (e.g. SyncAllowScript).

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1352 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ddcf7bb7e9081efd3755dd99cea4d50d1c5d154
      https://github.com/boxbackup/boxbackup/commit/8ddcf7bb7e9081efd3755dd99cea4d50d1c5d154
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M docs/backup/win32_build_on_linux_using_mingw.txt

  Log Message:
  -----------
  Update build instructions for Cygwin/Win32 (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1353 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 37791a51377107d121da7bfd66506b12407992c1
      https://github.com/boxbackup/boxbackup/commit/37791a51377107d121da7bfd66506b12407992c1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  #include Test.h to fix compile (needed for TEST_THAT)

Improved error message

Improved comments

(refs #3, merges parts of [712], [1289] and [1337])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1355 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c546b7abaf647fe37f4dd18b000fada96cdef6f2
      https://github.com/boxbackup/boxbackup/commit/c546b7abaf647fe37f4dd18b000fada96cdef6f2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Fix make error when optional file doesn't exist (refs #3, merges [1098])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1356 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 427beada987c078cc6b93c796de45fa6543ffa7c
      https://github.com/boxbackup/boxbackup/commit/427beada987c078cc6b93c796de45fa6543ffa7c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M lib/common/BoxConfig-MSVC.h

  Log Message:
  -----------
  Declare that we have O_BINARY but not <sys/types.h> for MSVC
(refs #3, merges [760] and [763])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1357 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 903ec59da1e7103725784869980a24f8c5a8f9d6
      https://github.com/boxbackup/boxbackup/commit/903ec59da1e7103725784869980a24f8c5a8f9d6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Watch out for our leak tracking data being destroyed and don't crash when
subsequent objects are destroyed. (refs #3, merges [1341])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1358 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b5ad7da01caac1725e53ce156293f1cad22981ae
      https://github.com/boxbackup/boxbackup/commit/b5ad7da01caac1725e53ce156293f1cad22981ae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M lib/common/EventWatchFilesystemObject.cpp

  Log Message:
  -----------
  Add logging in remaining places where Common OSFileOpenError can be thrown.
(refs #3, merges part of [1099] and [1359])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1360 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b9bbbf483eb755bf1a4dc51355c69de9f69ca668
      https://github.com/boxbackup/boxbackup/commit/b9bbbf483eb755bf1a4dc51355c69de9f69ca668
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-04 (Sun, 04 Mar 2007)

  Changed paths:
    M lib/common/ExcludeList.cpp

  Log Message:
  -----------
  Update to match new recommended installation of pcreposix.h as regex.h.
(refs #3, merges [1281], reverting [1233])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1361 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 66be386d0edab7c0702b37bfcf3e8645d0eea2df
      https://github.com/boxbackup/boxbackup/commit/66be386d0edab7c0702b37bfcf3e8645d0eea2df
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-05 (Mon, 05 Mar 2007)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Add logging in remaining places where Common OSFileOpenError can be thrown.

Fix compile warning (signed vs unsigned comparison)

(refs #3, merges part of [1099], and [1368])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1369 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7ac436509881ddc9c6cb2f1370b0e4e23307a079
      https://github.com/boxbackup/boxbackup/commit/7ac436509881ddc9c6cb2f1370b0e4e23307a079
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-05 (Mon, 05 Mar 2007)

  Changed paths:
    M lib/common/Guards.h

  Log Message:
  -----------
  Add logging in remaining places where Common OSFileOpenError can be thrown.

(refs #3, merges part of [1099], and [1370])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1371 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 359f0f5beb9da140591c55123e598665722d5080
      https://github.com/boxbackup/boxbackup/commit/359f0f5beb9da140591c55123e598665722d5080
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-05 (Mon, 05 Mar 2007)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Win32 compile fix

(refs #3, merges [1306])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1372 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2e9d32d91957965a65c36f46a9ce9d0460605ab7
      https://github.com/boxbackup/boxbackup/commit/2e9d32d91957965a65c36f46a9ce9d0460605ab7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-08 (Thu, 08 Mar 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Count a difference when a local directory does not exist, but it does
exist on the server (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1375 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8526fa002a307d379d5172489cf7276a73b50f83
      https://github.com/boxbackup/boxbackup/commit/8526fa002a307d379d5172489cf7276a73b50f83
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-08 (Thu, 08 Mar 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Catch exceptions during restore and report them, rather than aborting
bbackupquery (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1376 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 866c6356a38761d03bcb2c319c991e9c226e8084
      https://github.com/boxbackup/boxbackup/commit/866c6356a38761d03bcb2c319c991e9c226e8084
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-08 (Thu, 08 Mar 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Report an appropriate error if the target path of the restore operation
is not found (refs #3, merges [514])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1377 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 925995355675d52a8058602842ad32d884207182
      https://github.com/boxbackup/boxbackup/commit/925995355675d52a8058602842ad32d884207182
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-08 (Thu, 08 Mar 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  Report number of files and directories which could not be compared 
separately from compare failures, and report the appropriate return
code (refs #3, merges [651])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1378 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4cb991ab8fb5b20bc8097e707c3735269b4d166e
      https://github.com/boxbackup/boxbackup/commit/4cb991ab8fb5b20bc8097e707c3735269b4d166e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-08 (Thu, 08 Mar 2007)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  Run housekeeping in idle time on Win32 (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1380 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4cdeaa20558208051e77693e3069e1e97a5ab817
      https://github.com/boxbackup/boxbackup/commit/4cdeaa20558208051e77693e3069e1e97a5ab817
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-08 (Thu, 08 Mar 2007)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Check for d_ino member in struct dirent (refs #3, merges [1351])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1383 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: af7911027935d9b67bca570f3913502a35bf6ca9
      https://github.com/boxbackup/boxbackup/commit/af7911027935d9b67bca570f3913502a35bf6ca9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-08 (Thu, 08 Mar 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Record the file and line of first test failure (refs #3, merges [593])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1384 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d5c9ceb576a6e2d79b61da7819db902c68fc175a
      https://github.com/boxbackup/boxbackup/commit/d5c9ceb576a6e2d79b61da7819db902c68fc175a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Check for return code 3 (unreadable files) instead of return code 2
(refs #3, depends on [1378])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1386 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 20535854f71e3e50c805fd4bce874b99c128ec2c
      https://github.com/boxbackup/boxbackup/commit/20535854f71e3e50c805fd4bce874b99c128ec2c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    A lib/common/ServerControl.h
    M lib/common/Test.h
    M test/backupstore/testbackupstore.cpp
    M test/backupstorefix/testbackupstorefix.cpp
    M test/backupstorepatch/testbackupstorepatch.cpp
    M test/basicserver/testbasicserver.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Moved SendCommands(), HUPServer(), KillServer() to lib/server/ServerCommands.h.
All of these use lib/server/WinNamedPipeStream on Win32, so they don't
belong in lib/common.

Made LaunchServer() work on Win32.

Added constants for paths to executables, for use in tests, removing the
need for #ifdefs and clumsy DIRECTORY_SEPARATORs in paths.

Added terminate_bbackupd() and wait_for_operation() functions.

Update unit tests to #include "ServerControl.h" if they need it.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1387 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 41b0f21a884cc7fbcc8a5e0507498e55d3fb88e6
      https://github.com/boxbackup/boxbackup/commit/41b0f21a884cc7fbcc8a5e0507498e55d3fb88e6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Report file and line of memory leak test failures (refs #3, merges [714])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1388 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 330e25ade899f8b9c11df7f05e60c94337565bcf
      https://github.com/boxbackup/boxbackup/commit/330e25ade899f8b9c11df7f05e60c94337565bcf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Throw an assertion error if a NULL timer is added (refs #3, merges [1367])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1389 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b1a17f79824f3217d549dbaf1f5abecb9a44f4dc
      https://github.com/boxbackup/boxbackup/commit/b1a17f79824f3217d549dbaf1f5abecb9a44f4dc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Win32 compile fixes (no gettimeofday(), no signal()) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1391 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7bc66dfbee711d0997c598130a189768834c3893
      https://github.com/boxbackup/boxbackup/commit/7bc66dfbee711d0997c598130a189768834c3893
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/raidfile/RaidFileRead.cpp

  Log Message:
  -----------
  Code formatting (cosmetic) (refs #3, merges [1345])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1392 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4a7400002225b1dd00bdc2afc4ddfab84d1b4523
      https://github.com/boxbackup/boxbackup/commit/4a7400002225b1dd00bdc2afc4ddfab84d1b4523
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp

  Log Message:
  -----------
  Catch exceptions thrown by closing the WinNamedPipeStream during shutdown
and suppress them. (refs #3, merges [1284])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1395 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0da8ffae64a7790bce518f9ad222d74678867210
      https://github.com/boxbackup/boxbackup/commit/0da8ffae64a7790bce518f9ad222d74678867210
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Always include process.h, as we don't know whether it was detected or not
(we don't have access to lib/common/BoxConfig.h in lib/win32) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1396 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6bb1314e603848b59f5a181ac79c9a4ffb3bb3c2
      https://github.com/boxbackup/boxbackup/commit/6bb1314e603848b59f5a181ac79c9a4ffb3bb3c2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Our timer code only supports ITIMER_REAL (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1397 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c6107653146e7494bf850c8428ac5458c7d5c233
      https://github.com/boxbackup/boxbackup/commit/c6107653146e7494bf850c8428ac5458c7d5c233
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  We can't use lib/common here, so we don't have ASSERT() (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1398 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f97e34fa071085973649c8f841e2a8587d2d9bf5
      https://github.com/boxbackup/boxbackup/commit/f97e34fa071085973649c8f841e2a8587d2d9bf5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Expanded character set conversion API to allow arbitrary conversions
(needed to handle command lines with international encodings)
(refs #3, merges [1038])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1399 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b24a8b29917db2bdbb9140a4cd100dfe1c02598b
      https://github.com/boxbackup/boxbackup/commit/b24a8b29917db2bdbb9140a4cd100dfe1c02598b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Print localised error messages rather than error codes for all errors
(refs #3, merges [1046])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1400 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b7e7bef41e245c8c3765f6118e48effa11ac8d0
      https://github.com/boxbackup/boxbackup/commit/0b7e7bef41e245c8c3765f6118e48effa11ac8d0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Improve GetErrorMessage() by including the error number/code in the message
(helps debugging on foreign langauge versions of Windows) 
(refs #3, merges [1364])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1401 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fe2fe3457310bbeae55411764938319073a0c541
      https://github.com/boxbackup/boxbackup/commit/fe2fe3457310bbeae55411764938319073a0c541
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Fix handling of O_EXCL to behave just like Unix, not abused to lock files.

Add a new constant which specifies that files are to be locked open.

(refs #3, merges [1288])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1402 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e8cbf6115a665b781609761d15097cf3fd241561
      https://github.com/boxbackup/boxbackup/commit/e8cbf6115a665b781609761d15097cf3fd241561
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  We don't have access to DIRECTORY_SEPARATOR_ASCHAR in lib/win32
(refs #3, merges [1362])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1403 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ac03211739bdc8e39c43063e76008da06608d43
      https://github.com/boxbackup/boxbackup/commit/8ac03211739bdc8e39c43063e76008da06608d43
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Typo fix (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1404 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 620e8ec6d9afecb5bd7a6716afc72791bba0615e
      https://github.com/boxbackup/boxbackup/commit/620e8ec6d9afecb5bd7a6716afc72791bba0615e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix two memory leaks and one buffer overflow in codepage conversion code.
(refs #3, merges [1340])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1405 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6805ba0905b16e098157a0341a0b929a20f333ac
      https://github.com/boxbackup/boxbackup/commit/6805ba0905b16e098157a0341a0b929a20f333ac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  First attempt to achieve a more logical order in this chaos:
reordered all typedefs to be clearer and more readable
(refs #3, merges [766])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1406 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a3b17ce12198db0fa2fae07d4348e8594ca0e316
      https://github.com/boxbackup/boxbackup/commit/a3b17ce12198db0fa2fae07d4348e8594ca0e316
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Added d_type member to struct dirent, initialise with S_IFDIR or S_IFREG

MinGW compile fix

(refs #3, merges [775])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1407 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1637913c7a230553a46629e09485aefbed1b169a
      https://github.com/boxbackup/boxbackup/commit/1637913c7a230553a46629e09485aefbed1b169a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Compile fix for [1397] (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1408 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 29d570e7ac04baac3b635e3ecdc8f437d7993739
      https://github.com/boxbackup/boxbackup/commit/29d570e7ac04baac3b635e3ecdc8f437d7993739
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Use #defines to replace POSIX functions with emulated ones on MinGW,
like we do on MSVC. This allows us to #undef them when we really need
to use the original platform function (if available).

Disable emulated fstat() in raidfile (and use the platform one) by undefining
fstat, since it doesn't use the other emulated file handling functions, or
need Unicode support, and it can't take a filehandle returned by open()
(only openfile()).

(refs #3, merges [1045])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1409 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ba8e0161c875dfbcd387b557be988ac9b60dbec8
      https://github.com/boxbackup/boxbackup/commit/ba8e0161c875dfbcd387b557be988ac9b60dbec8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Remove #define BOX_VERSION since we now get it from BoxVersion.h via
BoxPlatform.h when building with MSVC, and from the Makefiles when building
with MinGW. (refs #3, merges part of [634])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1410 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9ffed8a9f46304083efe151f4ccdc3d98aa65bed
      https://github.com/boxbackup/boxbackup/commit/9ffed8a9f46304083efe151f4ccdc3d98aa65bed
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Reorder for clarity

Expose GetErrorMessage()

Improve comments

(refs #3, merges [1365])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1412 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1ad02426b7c2f2aebc3ae4155515b6bb0902fe5d
      https://github.com/boxbackup/boxbackup/commit/1ad02426b7c2f2aebc3ae4155515b6bb0902fe5d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Add new syslog level emulations (refs #3, merges remainder of [1299])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1413 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 722ebc0fec28d100c1091b5dcfa45a040becdceb
      https://github.com/boxbackup/boxbackup/commit/722ebc0fec28d100c1091b5dcfa45a040becdceb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Group remaining set*id() and get*id() functions. Improve comments about
why they are being retained. (refs #3, related to [634])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1414 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 66d4c845c691b6caa8b84e326d69e8bd58c32740
      https://github.com/boxbackup/boxbackup/commit/66d4c845c691b6caa8b84e326d69e8bd58c32740
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M lib/common/UnixUser.cpp

  Log Message:
  -----------
  Remove #ifdefs, no longer required (refs #3, merges [1418])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1419 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e22626dec77b4c4bfd30813b5a32fb43784bdc49
      https://github.com/boxbackup/boxbackup/commit/e22626dec77b4c4bfd30813b5a32fb43784bdc49
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-10 (Sat, 10 Mar 2007)

  Changed paths:
    M modules.txt
    M parcels.txt

  Log Message:
  -----------
  Fixes for cross-compiling from Ubuntu Breezy (refs #3, merges [573])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1420 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 934c51d4a811428f57cf71a34f8bc0a226063ac9
      https://github.com/boxbackup/boxbackup/commit/934c51d4a811428f57cf71a34f8bc0a226063ac9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Simplify wait code (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1421 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3201c1717f11989a0381d1dad1ec9a7fb610dc1b
      https://github.com/boxbackup/boxbackup/commit/3201c1717f11989a0381d1dad1ec9a7fb610dc1b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Improve output messages when waiting for daemon to start (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1422 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7cae1202513c94d528eb251263a8f489c9c1b630
      https://github.com/boxbackup/boxbackup/commit/7cae1202513c94d528eb251263a8f489c9c1b630
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test expected behaviour for modifying a file without changing its modtime,
both tracked and untracked (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1423 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 81c13e44ac25a027543cad8b11fb2ee630606348
      https://github.com/boxbackup/boxbackup/commit/81c13e44ac25a027543cad8b11fb2ee630606348
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Flush stdout after writing to it (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1424 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: efbc5f07a687efe86fefa41e20871de93c7f2214
      https://github.com/boxbackup/boxbackup/commit/efbc5f07a687efe86fefa41e20871de93c7f2214
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use unique name for compare log (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1425 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a728f3a52820340bcbb27e7f39d7dcf9a37ae247
      https://github.com/boxbackup/boxbackup/commit/a728f3a52820340bcbb27e7f39d7dcf9a37ae247
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test that bbackupd reports an error when the backup failed due to an
exception (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1426 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 60da2060284f0ee2db8c3dce7507a3f69fcdbe2b
      https://github.com/boxbackup/boxbackup/commit/60da2060284f0ee2db8c3dce7507a3f69fcdbe2b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Flush stdout when writing to it (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1427 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a5045be001352be6c1942c473c7aa6d9f58384c2
      https://github.com/boxbackup/boxbackup/commit/a5045be001352be6c1942c473c7aa6d9f58384c2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Add a new notification constant, NotifyEvent_BackupError, for use when
an exception occurs during the backup.

Make bbackupd notify sysadmin when an exception occurs during the backup,
using this error code, and the notification string "backup-error".

Change NotifyEvent__MAX to be one greater than the highest notification
constant, makes code more maintainable.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1428 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8fb1cf634159923fadae76b9c7a1605dcb2586b6
      https://github.com/boxbackup/boxbackup/commit/8fb1cf634159923fadae76b9c7a1605dcb2586b6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Log at trace level by default in debug builds (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1429 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c74af5ff198b841690abc80b2f7430b2efeab0f3
      https://github.com/boxbackup/boxbackup/commit/c74af5ff198b841690abc80b2f7430b2efeab0f3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Trace reasons for uploading (or not) each file


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1430 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f5ed6d88353ac2df8dc076afa4c71205c81367f0
      https://github.com/boxbackup/boxbackup/commit/f5ed6d88353ac2df8dc076afa4c71205c81367f0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-22 (Thu, 22 Mar 2007)

  Changed paths:
    R lib/common/ServerControl.h
    A lib/server/ServerControl.h

  Log Message:
  -----------
  Move lib/common/ServerControl.h to lib/server where it belongs, since
it uses server functions (WinNamedPipeStream on win32) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1435 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0e3ba5c2c73dfe4bda3b5265afc9a92b0d09d7b8
      https://github.com/boxbackup/boxbackup/commit/0e3ba5c2c73dfe4bda3b5265afc9a92b0d09d7b8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/common/Guards.h

  Log Message:
  -----------
  Fix compilation error reported by Torsten Boob (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1437 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0bf6ac9d17250c44e73cfbc4fadb64df9abd7ffc
      https://github.com/boxbackup/boxbackup/commit/0bf6ac9d17250c44e73cfbc4fadb64df9abd7ffc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp

  Log Message:
  -----------
  Reinitialise the OVERLAPPED structure each time we start a new overlapped
read. Thanks to Charles Lecklider for pointing this out. (refs #3, merges
part of [1458])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1465 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 247da23a2d6347d980d672c6294c618ca80a352b
      https://github.com/boxbackup/boxbackup/commit/247da23a2d6347d980d672c6294c618ca80a352b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp

  Log Message:
  -----------
  Use memmove() for overlapping source and destination buffer. Thanks to
Charles Lecklider for pointing this out. (refs #3, merges [1442])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1466 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 65006aa2c55cf9e67a05d709ba0991e7858ab9ef
      https://github.com/boxbackup/boxbackup/commit/65006aa2c55cf9e67a05d709ba0991e7858ab9ef
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp

  Log Message:
  -----------
  Change named pipe from message to byte mode. Thanks to Charles Lecklider
for pointing this out.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1467 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a685378e331052ccfeaa9707906e38a11f1c6873
      https://github.com/boxbackup/boxbackup/commit/a685378e331052ccfeaa9707906e38a11f1c6873
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Add emulated rename() with path conversion. (refs #3, merges [1436] and
[1438])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1469 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 50512cdd741de834fbf28a031b546740e06f67c2
      https://github.com/boxbackup/boxbackup/commit/50512cdd741de834fbf28a031b546740e06f67c2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Initialise logging framework and set our program name to Box Backup (bbstored)
(refs #3, merges [1462])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1470 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 90c6335b7446ab547c59f1752db4cf641ddb3fc2
      https://github.com/boxbackup/boxbackup/commit/90c6335b7446ab547c59f1752db4cf641ddb3fc2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFilenameClear.cpp
    M lib/server/Protocol.cpp

  Log Message:
  -----------
  Use logging framework to reduce noise for those who don't want it
(refs #3, merges [1439] [1440] [1443])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1471 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8fd6fbc2c3ff650c07d8d3e7fbdb75a11cae132d
      https://github.com/boxbackup/boxbackup/commit/8fd6fbc2c3ff650c07d8d3e7fbdb75a11cae132d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Reduce default logging level in debug builds from TRACE back down to INFO,
to reduce noise in tests. (refs #3, merges [1441])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1472 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8e8d5d3fa98828eebef660c80633c2d73e73e77f
      https://github.com/boxbackup/boxbackup/commit/8e8d5d3fa98828eebef660c80633c2d73e73e77f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Trivial code simplification. (refs #3, merges [1444])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1473 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ca27f61a5b1461f1337e78b9c371df54f5ad57f0
      https://github.com/boxbackup/boxbackup/commit/ca27f61a5b1461f1337e78b9c371df54f5ad57f0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Use logging framework to remove timer noise for those who don't want it.
(refs #3, merges [1445])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1474 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 884690201cfca03671f57cfb18da0371d761710a
      https://github.com/boxbackup/boxbackup/commit/884690201cfca03671f57cfb18da0371d761710a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/common/Timer.h

  Log Message:
  -----------
  Fix header include order. (refs #3, merges [1446])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1475 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: be370a73fd9009145f4955b896dc79cae8d54217
      https://github.com/boxbackup/boxbackup/commit/be370a73fd9009145f4955b896dc79cae8d54217
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Remove newlines from syslog() messages. (refs #3, merges [1447])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1476 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 77ce9b421b87a6846ca3c54dd2db9885be355dcf
      https://github.com/boxbackup/boxbackup/commit/77ce9b421b87a6846ca3c54dd2db9885be355dcf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Initialise logging framework and set sensible default verbosity levels
in bbackupquery (refs #3, merges [1449])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1477 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dff325633bfedc762469b7fe99ebac7140bbb304
      https://github.com/boxbackup/boxbackup/commit/dff325633bfedc762469b7fe99ebac7140bbb304
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    A bin/bbackupd/ClientException.txt
    A bin/bbackupd/Makefile.extra

  Log Message:
  -----------
  Add new exception codes for use in bbackupd, and possibly other clients.
(refs #3, merges [1455])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1478 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0402e4006266026c80c7feaf314486c5231b2e8a
      https://github.com/boxbackup/boxbackup/commit/0402e4006266026c80c7feaf314486c5231b2e8a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M test/bbackupd/Makefile.extra

  Log Message:
  -----------
  Add autogen_ClientException.o to testbbackupd extra objects, because it
links against bbackupd objects which need this. (refs #3, merges [1456])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1479 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0114eaa65d68854809a5556b197e6493ccf0ecb9
      https://github.com/boxbackup/boxbackup/commit/0114eaa65d68854809a5556b197e6493ccf0ecb9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp

  Log Message:
  -----------
  Improve logging of pipe errors by including the error message. (refs #3,
merges part of [1458])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1480 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fe6cdbdf4a1082991a157c48c464f9086fc1a2eb
      https://github.com/boxbackup/boxbackup/commit/fe6cdbdf4a1082991a157c48c464f9086fc1a2eb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  iUse our new ClientException codes for clock skew and archive problems.
(refs #3, merges part of [1459])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1481 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ff52bd74e32ccfc0b301e4034361a1af70ac5939
      https://github.com/boxbackup/boxbackup/commit/ff52bd74e32ccfc0b301e4034361a1af70ac5939
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Better handle a case where a force-sync command comes in immediately
after (or during) a sync, i.e. less than MinimumFileAge seconds after
the last one. In this case, just move back the syncPeriodStart by 1 second.
(refs #3, merges part if [1459])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1482 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 48626c7156d6776bd4bcd8b69c02f76f07417384
      https://github.com/boxbackup/boxbackup/commit/48626c7156d6776bd4bcd8b69c02f76f07417384
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Reformat long lines for readability. (refs #3, merges remainder of [1459])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1483 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1cf0547f7e691f88f07545316e8e9933d5067eba
      https://github.com/boxbackup/boxbackup/commit/1cf0547f7e691f88f07545316e8e9933d5067eba
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Compile fix to [1448] (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1484 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: df502bb8526f98d74bfb9c7df927fc0d064f2c85
      https://github.com/boxbackup/boxbackup/commit/df502bb8526f98d74bfb9c7df927fc0d064f2c85
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Move all command socket communications to the worker thread, to avoid
deadlocks.

Use events, and a message list protected by a critical section, to pass
messages between threads.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1486 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c81e3c1b35eeb48966caa1a77719c97d65e9e759
      https://github.com/boxbackup/boxbackup/commit/c81e3c1b35eeb48966caa1a77719c97d65e9e759
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  Add a quiet mode to compare command, to make test output easier to read.
(refs #3, merges [1460])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1487 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bf4d64174cdfd6953fe597dba016179b523a64eb
      https://github.com/boxbackup/boxbackup/commit/bf4d64174cdfd6953fe597dba016179b523a64eb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M bin/bbstored/bbstored.cpp

  Log Message:
  -----------
  Initialise logging framework and set our program name to 
"Box Backup (bbstored)". (refs #3, merges [1462])



git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1488 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 725becf2e06a7c641886113169e4b8c604452bc8
      https://github.com/boxbackup/boxbackup/commit/725becf2e06a7c641886113169e4b8c604452bc8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp

  Log Message:
  -----------
  Use logging framework to remove timer noise for those who don't want it.
(refs #3, merges [1448])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1489 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1d7f2ac40e85b82713d9fa3354ee4ea2d223a6dc
      https://github.com/boxbackup/boxbackup/commit/1d7f2ac40e85b82713d9fa3354ee4ea2d223a6dc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    A infrastructure/m4/ax_check_llong_minmax.m4

  Log Message:
  -----------
  Merge new m4 from trunk. (refs #3, merges [1453])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1490 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 175100b76411f99f33ede9288a6e2fd4b9efe00a
      https://github.com/boxbackup/boxbackup/commit/175100b76411f99f33ede9288a6e2fd4b9efe00a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    M lib/intercept/intercept.cpp

  Log Message:
  -----------
  Indent cleanup (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1491 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0f21347adfe4c57ce82be25413da0f849cdc425f
      https://github.com/boxbackup/boxbackup/commit/0f21347adfe4c57ce82be25413da0f849cdc425f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-24 (Sat, 24 Mar 2007)

  Changed paths:
    A lib/win32/MSG00001.bin

  Log Message:
  -----------
  Added precompiled output from message compiler, for those who don't
have it, e.g. using MinGW instead of MSVC. (refs #3, merges [526])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1492 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 22553c8f918145eac5de0de858e6ea62fa991a67
      https://github.com/boxbackup/boxbackup/commit/22553c8f918145eac5de0de858e6ea62fa991a67
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-25 (Sun, 25 Mar 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Fix unix path to bbstored (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1493 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8bb19f4f6b49018d6de278f832dbd7d4a25db22b
      https://github.com/boxbackup/boxbackup/commit/8bb19f4f6b49018d6de278f832dbd7d4a25db22b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-25 (Sun, 25 Mar 2007)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Use #defined paths for applications to fix cross unix/win32 compatibility.

Fix memory leak.

Reformat comments.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1494 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a5cd8c2cca938e469b1d176ed4ea70fbb453063f
      https://github.com/boxbackup/boxbackup/commit/a5cd8c2cca938e469b1d176ed4ea70fbb453063f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-25 (Sun, 25 Mar 2007)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Fix spurious/suprious typos.

Use #defined paths for executables to remove win32/unix differences.

Don't check for bbstored memory leaks on win32.

Wrap long lines for readability.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1498 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d0760776b9f00517573f960220943f14c0a90b2c
      https://github.com/boxbackup/boxbackup/commit/d0760776b9f00517573f960220943f14c0a90b2c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-25 (Sun, 25 Mar 2007)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Use #defined paths for executables to remove win32/unix differences.
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1499 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d731ebd4ac7a126f320589cfba48e8496c7a797c
      https://github.com/boxbackup/boxbackup/commit/d731ebd4ac7a126f320589cfba48e8496c7a797c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-25 (Sun, 25 Mar 2007)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Close RaidFile before committing, so that commit can work on win32.

Typo fix.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1501 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7b4599f576602daae5225d571afc2e7ff61f080e
      https://github.com/boxbackup/boxbackup/commit/7b4599f576602daae5225d571afc2e7ff61f080e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-25 (Sun, 25 Mar 2007)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Allow '/' as a path separator on all platforms, even Win32 (refs #3,
merges [1496])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1502 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dabbe9abdc20d911ae5e5d3758b1c3e80524bb5d
      https://github.com/boxbackup/boxbackup/commit/dabbe9abdc20d911ae5e5d3758b1c3e80524bb5d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-25 (Sun, 25 Mar 2007)

  Changed paths:
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Win32 fixes (paths to executables, and don't try things that don't work
on Windows, like sending HUP signals) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1504 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2d47f13a2cb4c6a15c7f079ce07d1130d5f4a9b4
      https://github.com/boxbackup/boxbackup/commit/2d47f13a2cb4c6a15c7f079ce07d1130d5f4a9b4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-03-25 (Sun, 25 Mar 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Only include headers on systems which have them


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1505 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 83bb48bcd1ee61bdee6ea101ff3ab36357d51783
      https://github.com/boxbackup/boxbackup/commit/83bb48bcd1ee61bdee6ea101ff3ab36357d51783
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-01 (Sun, 01 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test for restoring to a directory whose parent does not exist 
(refs #3, merges [517])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1506 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f1aca25cca6f4d62f1e65c59da46e3642c385f59
      https://github.com/boxbackup/boxbackup/commit/f1aca25cca6f4d62f1e65c59da46e3642c385f59
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-02 (Mon, 02 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Disable symlink tests on win32. (refs #3, merges part of [623])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1507 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 576c8edec06467700931c54f7b7bf2da2e1299ce
      https://github.com/boxbackup/boxbackup/commit/576c8edec06467700931c54f7b7bf2da2e1299ce
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-06 (Fri, 06 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Disable interrupted restore test on Win32 (uses fork) 
(refs #3, merges part of [623])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1508 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 392976d1c0d9a900e0dbcb1c13404da7a8bea162
      https://github.com/boxbackup/boxbackup/commit/392976d1c0d9a900e0dbcb1c13404da7a8bea162
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-06 (Fri, 06 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use the old way to unzip files on win32/cygwin, since the pipe method 
doesn't seem to work here. (refs #3, merges part of [623])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1510 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5f5202ccf26aa6cbeb6bff621890c3d77da8e366
      https://github.com/boxbackup/boxbackup/commit/5f5202ccf26aa6cbeb6bff621890c3d77da8e366
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-06 (Fri, 06 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Check return value using the macro, because ::system works differently
on Windows than on Unix (refs #3, merges part of [623])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1511 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f4fd052cf6bf6b1b6c9322c662113df60906f10d
      https://github.com/boxbackup/boxbackup/commit/f4fd052cf6bf6b1b6c9322c662113df60906f10d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-20 (Fri, 20 Apr 2007)

  Changed paths:
    M lib/raidfile/RaidFileException.txt

  Log Message:
  -----------
  Added commentary to RaidFileDoesntExist exception.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1518 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 516993d5a15ccee72b56fa7f01a710ce89b3fc2c
      https://github.com/boxbackup/boxbackup/commit/516993d5a15ccee72b56fa7f01a710ce89b3fc2c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-20 (Fri, 20 Apr 2007)

  Changed paths:
    M lib/raidfile/RaidFileException.txt

  Log Message:
  -----------
  Fix erroneous line break.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1519 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 724b6831f1592e39c5a5816cbb6bebb85fde2ca5
      https://github.com/boxbackup/boxbackup/commit/724b6831f1592e39c5a5816cbb6bebb85fde2ca5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-20 (Fri, 20 Apr 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Add a warning that comparing locations with a final directory separator
may fail (Stefan Tauner) (refs #3, merges [1512])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1520 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 581b6ec7120dfcc696c36b1e08cfc6ac8524a90d
      https://github.com/boxbackup/boxbackup/commit/581b6ec7120dfcc696c36b1e08cfc6ac8524a90d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-20 (Fri, 20 Apr 2007)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp

  Log Message:
  -----------
  Don't log errors or throw exceptions when we get ERROR_NO_DATA, which just
means that the pipe is being closed. Treat it as a normal remote close
(EOF) instead.

Don't log an error if DisconnectNamedPipe tells us that the remote end
already closed the pipe (ERROR_PIPE_NOT_CONNECTED).

Treat ERR_PIPE_NOT_CONNECTED during pipe reads as EOF as well.

Improve logging of pipe errors by including the error message.

(refs #3, merges [1458] and [1463])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1522 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 003f59bdf7e50e717d4e7541f7467d66ded42b08
      https://github.com/boxbackup/boxbackup/commit/003f59bdf7e50e717d4e7541f7467d66ded42b08
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-20 (Fri, 20 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Rearrange #includes in alphabetical order. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1524 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b9f55c8142b6f02b474862f844eeba8afc63269a
      https://github.com/boxbackup/boxbackup/commit/b9f55c8142b6f02b474862f844eeba8afc63269a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M lib/server/ServerControl.h

  Log Message:
  -----------
  Compile fix, always include Test.h (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1525 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d4fb9d60062c4425962aa7ffe7c597cfa3581144
      https://github.com/boxbackup/boxbackup/commit/d4fb9d60062c4425962aa7ffe7c597cfa3581144
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use #defined constants rather than hard-coded paths for launching
programs. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1527 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: de9a71fc81b83cd83948d707793cb223c5cc1e2e
      https://github.com/boxbackup/boxbackup/commit/de9a71fc81b83cd83948d707793cb223c5cc1e2e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Comment out some tests that don't work on Win32 (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1531 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7a85bc34271df8b046e0a8ebba5049141c6da1de
      https://github.com/boxbackup/boxbackup/commit/7a85bc34271df8b046e0a8ebba5049141c6da1de
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add utility functions for running different types of syncs, set Windows
file time (enhanced utimes()), and finding a named entry in a directory
on the store. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1533 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 425fa68360f889c61962c62952cb359b13f74188
      https://github.com/boxbackup/boxbackup/commit/425fa68360f889c61962c62952cb359b13f74188
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Don't fill in struct dirent.d_ino unless we've detected that it's 
present on this platform. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1534 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 208ca0660a8e68e5195b7dde1fcf8f03f229eb63
      https://github.com/boxbackup/boxbackup/commit/208ca0660a8e68e5195b7dde1fcf8f03f229eb63
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Work around lack of pipe support in Win32 system() command (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1538 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 494b086ecc0bd2e68241a3c6653c9871ef5721ce
      https://github.com/boxbackup/boxbackup/commit/494b086ecc0bd2e68241a3c6653c9871ef5721ce
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Enhance test for bbackupd pausing on change of client store marker
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1539 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc8ebe8c3c8829c83b4a6abbb6b6e3877555b605
      https://github.com/boxbackup/boxbackup/commit/bc8ebe8c3c8829c83b4a6abbb6b6e3877555b605
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Compile fix, comment out set_file_time helper function on non-Win32
platforms (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1540 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 05ccc03f5652cdea5d9a2daa4fd0b321ddac5214
      https://github.com/boxbackup/boxbackup/commit/05ccc03f5652cdea5d9a2daa4fd0b321ddac5214
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test fix: create TestDir1 with a readable mode (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1541 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bef19998cb4dcbf0eb393614f1f21e7b7b936e57
      https://github.com/boxbackup/boxbackup/commit/bef19998cb4dcbf0eb393614f1f21e7b7b936e57
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Keep bbackupd pid in a global variable instead of a local one.

Stop bbackupd nicely with terminate_bbackupd() instead of killing it,
so that we get a memory leak report on Win32.

Stop bbackupd and bbstored at end of test if any tests fail.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1543 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 85c1addf02a38e23665d2eacc04a8ed5a33120fc
      https://github.com/boxbackup/boxbackup/commit/85c1addf02a38e23665d2eacc04a8ed5a33120fc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-21 (Sat, 21 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test that filenames containing non-ASCII (8-bit) characters can be
backed up and restored, and directories can be changed into and out of,
on win32. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1544 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4c08655040baa1ddd0132696c2480acc18a6c0b3
      https://github.com/boxbackup/boxbackup/commit/4c08655040baa1ddd0132696c2480acc18a6c0b3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Detect whether getopt.h is present on system. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1545 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e480578ea11da0702e100ef9cabb0e9b90736af5
      https://github.com/boxbackup/boxbackup/commit/e480578ea11da0702e100ef9cabb0e9b90736af5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Pass all arguments from test scripts to test executable with proper
quoting (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1546 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 272651f30a1eb5e319b2018445fe505a94701f48
      https://github.com/boxbackup/boxbackup/commit/272651f30a1eb5e319b2018445fe505a94701f48
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M lib/common/Test.h
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Declare global std::string variables that hold extra arguments for
executables run in tests, to be implemented in a follow-up patch.

ConvertPaths, LaunchServer and RunCommand all take std::string references
instead of char*.

Move safe_sleep from test/common to lib/server/Test.h so that all tests
can use it.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1547 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 27eb9c818f8a5f937fb9c04924e522e46090b90b
      https://github.com/boxbackup/boxbackup/commit/27eb9c818f8a5f937fb9c04924e522e46090b90b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Use logging framework to log exceptions. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1548 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a735816fafd65432559b7be3730d595955223ab7
      https://github.com/boxbackup/boxbackup/commit/a735816fafd65432559b7be3730d595955223ab7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Use logging framework to log stack traces from exceptions. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1549 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f16ca0524bffee25ffadd69df40f17693fa0404b
      https://github.com/boxbackup/boxbackup/commit/f16ca0524bffee25ffadd69df40f17693fa0404b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Log event name instead of numeric code. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1550 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3f344cb605fa2d83d437d50f400e86b1e914abf9
      https://github.com/boxbackup/boxbackup/commit/3f344cb605fa2d83d437d50f400e86b1e914abf9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Add options to log timestamps, and a custom tag, with each message to
the console, e.g.:

	14:53:17 [bbackupd] Finished scan of local files

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1551 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ac022bc7c6928f333da7a63a4d2a9976a20e11aa
      https://github.com/boxbackup/boxbackup/commit/ac022bc7c6928f333da7a63a4d2a9976a20e11aa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Add -V option, which sets maximum verbosity in one go.

Add -T option, which adds timestamps to console logs.

Add -t option, which enabled and sets the tag used on console logs.

Add -k option, which keeps console open after forking.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1552 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 02722561bf7cd174858bd616f673f2e680096441
      https://github.com/boxbackup/boxbackup/commit/02722561bf7cd174858bd616f673f2e680096441
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Add --bbackupd-args and --bbstored-args options, which may be used to pass
additional command-line parameters to bbackupd and bbstored in some tests.

Add -t and -T options, which add tags and timestamps to log messages using
the logging framework inside the tests themselves.

Now you can do things like:

	./t -Tt test \
		--bbackupd-args="-VTkt bbackupd" \
		--bbstored-args="-VTkt bbstored"

and you will get output from the test itself, the bbackupd and bbstored
daemons, all interleaved, timestamped and tagged on the console.

This is very useful for debugging synchronisation problems, where 
interleaved output from bbackupd and bbstored in the system logs is not 
enough, because you want to see exactly how they interact with the test,
or you don't have access to the system logs.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1553 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3b2053c19b347566e446aca2fa88a434d8043795
      https://github.com/boxbackup/boxbackup/commit/3b2053c19b347566e446aca2fa88a434d8043795
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use additional arguments from command line options when starting bbackupd
and bbstored. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1554 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f4848859e482996afb663264caa46af8357b915a
      https://github.com/boxbackup/boxbackup/commit/f4848859e482996afb663264caa46af8357b915a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Replace sleep() with safe_sleep() everywhere (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1555 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c458684d3a9c67929e635a28b57fa1c427d14901
      https://github.com/boxbackup/boxbackup/commit/c458684d3a9c67929e635a28b57fa1c427d14901
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix excessively verbose warnings while waiting for daemon to start.
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1556 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a5673d8c2b3c9e9c6e9873f215f275e57995c88
      https://github.com/boxbackup/boxbackup/commit/5a5673d8c2b3c9e9c6e9873f215f275e57995c88
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testfiles/notifyscript.pl.in
    M test/bbackupd/testfiles/syncallowscript.pl.in

  Log Message:
  -----------
  Use TARGET_PERL instead of PERL in shebang lines (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1557 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e98ec37256a51ab92b7d7b9c5075ea3f48fcafe0
      https://github.com/boxbackup/boxbackup/commit/e98ec37256a51ab92b7d7b9c5075ea3f48fcafe0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testfiles/bbackupd.conf.in

  Log Message:
  -----------
  Add sync allow script to test config, to allow it to be tested.

Use TARGET_PERL to execute the test scripts. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1558 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f5c0a71d5ff89afe2cb6349a1392452cfcfafe86
      https://github.com/boxbackup/boxbackup/commit/f5c0a71d5ff89afe2cb6349a1392452cfcfafe86
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test that SyncAllowScript is executed and can pause backup for the
correct amount of time. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1559 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5599a3471456be67c94fd99e996ed8a46b4ce3d8
      https://github.com/boxbackup/boxbackup/commit/5599a3471456be67c94fd99e996ed8a46b4ce3d8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Log Message:
  -----------
  Start using svnmerge.py


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1561 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 510841d1ac32be4735aa02b72a3545b18112a989
      https://github.com/boxbackup/boxbackup/commit/510841d1ac32be4735aa02b72a3545b18112a989
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Display file and line where memory leak test failed. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1563 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d93bfc615aad2bf138b4591e881292b205c55098
      https://github.com/boxbackup/boxbackup/commit/d93bfc615aad2bf138b4591e881292b205c55098
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Compile fix for Win32, where no localtime_r is available and localtime
is thread safe. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1565 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0cdfe24e210a1b887258b3a6d7dce6f656927934
      https://github.com/boxbackup/boxbackup/commit/0cdfe24e210a1b887258b3a6d7dce6f656927934
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Merge [1566] from chris/general:

Use Sleep() instead of nanosleep again on win32 (lost in merge [1562]).

Fix reference to pCommandLine which no longer exists after [1562].

Fix signed/unsigned comparison warning. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1567 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eaef848f1ea89b899701a50af27dc398ff89b63b
      https://github.com/boxbackup/boxbackup/commit/eaef848f1ea89b899701a50af27dc398ff89b63b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Fix accidental passing of object to printf() (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1570 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0e62856df58688c11df7160037c84105f90074ac
      https://github.com/boxbackup/boxbackup/commit/0e62856df58688c11df7160037c84105f90074ac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Use LaunchServer to remove the need for some #ifdefs.

Use directory separator constant instead of forward slash.

Add some blank lines for readability. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1572 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bd35ce1dc4b3dfbebb1dff4ac300e4792c6de328
      https://github.com/boxbackup/boxbackup/commit/bd35ce1dc4b3dfbebb1dff4ac300e4792c6de328
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use wait_for_sync_end() rather than calling bbackupquery ourselves (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1575 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4beb5455120fec35939d5d738c179b6ecbecc2bc
      https://github.com/boxbackup/boxbackup/commit/4beb5455120fec35939d5d738c179b6ecbecc2bc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Ignore attempts to listen on a Unix socket on Win32, so that we can share
config files for the unit tests (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1577 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cc845d1244dacb2c0ce8942bf2aeedf73eb4a837
      https://github.com/boxbackup/boxbackup/commit/cc845d1244dacb2c0ce8942bf2aeedf73eb4a837
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use Cygwin chmod command-line tool to make the read-only file writable
on Win32, instead of our own chmod() (which does nothing). (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1578 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4ed74e8019c43972e7eb4735cfece50980ee016e
      https://github.com/boxbackup/boxbackup/commit/4ed74e8019c43972e7eb4735cfece50980ee016e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use wait_for_sync_end() to synchronise the test more accurately with
bbackupd, hopefully reducing random failures. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1579 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e42c92fb1e8e0b87a1097939f010ec16f2b8f296
      https://github.com/boxbackup/boxbackup/commit/e42c92fb1e8e0b87a1097939f010ec16f2b8f296
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Check that Exclude and AlwaysInclude configurations actually work as
they should. (refs #3, merges [711])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1581 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 91fd6b01114972f77cb931db255114441d335bc2
      https://github.com/boxbackup/boxbackup/commit/91fd6b01114972f77cb931db255114441d335bc2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Compare restored files as part of restore test (refs #3, merges part 
of [623])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1582 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 29ded284273164b8dd8cd593b911f4173e239bb4
      https://github.com/boxbackup/boxbackup/commit/29ded284273164b8dd8cd593b911f4173e239bb4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test that file attributes are backed up and compared correctly on Win32
(refs #3, merges part of 694])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1583 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 67d3eb92781086dd653bd53e37d09445d896ea4c
      https://github.com/boxbackup/boxbackup/commit/67d3eb92781086dd653bd53e37d09445d896ea4c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-22 (Sun, 22 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test that locked files behave as expected on Win32 (refs #3, merges
parts of [649], [694], [1461])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1584 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2f21f0380be12c6e4106e27776038ec35740f848
      https://github.com/boxbackup/boxbackup/commit/2f21f0380be12c6e4106e27776038ec35740f848
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    A lib/common/ZeroStream.cpp
    A lib/common/ZeroStream.h

  Log Message:
  -----------
  Add a stream which provides a source of zero bytes of arbitrary size,
useful for testing support for files over 2GB. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1585 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6a65ca5b7a5b0141367829216ac7977da48a6c08
      https://github.com/boxbackup/boxbackup/commit/6a65ca5b7a5b0141367829216ac7977da48a6c08
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/common/PartialReadStream.cpp
    M lib/common/PartialReadStream.h
    M lib/common/ReadGatherStream.cpp

  Log Message:
  -----------
  Fix inability to handle streams over 2GB properly. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1586 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 307cfbd118777e56540849ca9a74995848967fbf
      https://github.com/boxbackup/boxbackup/commit/307cfbd118777e56540849ca9a74995848967fbf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Test that PartialReadStream and ReadGatherStream can handle streams
over 2GB in size. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1587 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 47d6683cb2aabfac237f78df07adf97d8a0cea65
      https://github.com/boxbackup/boxbackup/commit/47d6683cb2aabfac237f78df07adf97d8a0cea65
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Keep a copy of the program name, in case the original goes away, which
causes syslog() to write nonsense for the program name. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1588 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f262236c9fdc597f24b390181ca77a6bd2dc4ae9
      https://github.com/boxbackup/boxbackup/commit/f262236c9fdc597f24b390181ca77a6bd2dc4ae9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    A lib/common/ReadLoggingStream.cpp
    A lib/common/ReadLoggingStream.h

  Log Message:
  -----------
  Add a stream which logs progress of reading data from another (child)
stream, and estimated time of completion, useful for upload progress
monitoring. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1589 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d3f40d41edb1adec713780224b4630b9b4e86900
      https://github.com/boxbackup/boxbackup/commit/d3f40d41edb1adec713780224b4630b9b4e86900
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/backupclient/BackupStoreFileEncodeStream.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.h

  Log Message:
  -----------
  Use ReadLoggingStream to log progress of file uploads. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1590 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: de1483953c714c952d043e20496e21cb9f3622d1
      https://github.com/boxbackup/boxbackup/commit/de1483953c714c952d043e20496e21cb9f3622d1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Make Daemon remember whether we're supposed to run in a single process,
or not. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1591 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ac27777e43c4bae2b32518a3c173a299a1a495fc
      https://github.com/boxbackup/boxbackup/commit/ac27777e43c4bae2b32518a3c173a299a1a495fc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Remove comments accidentally left in [1591]. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1592 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0e9793d53468d9ff2155e2e12b8affe182f3e624
      https://github.com/boxbackup/boxbackup/commit/0e9793d53468d9ff2155e2e12b8affe182f3e624
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Don't fork to handle requests when running as a single process (very
useful for debugging). (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1593 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9469004588aa9b9616d57dbc1937b404a4e9d4ff
      https://github.com/boxbackup/boxbackup/commit/9469004588aa9b9616d57dbc1937b404a4e9d4ff
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Improve log message for NotifyFileUploading(). (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1594 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 333130346132853831677dd82a07375e62eea53f
      https://github.com/boxbackup/boxbackup/commit/333130346132853831677dd82a07375e62eea53f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Notify about full file uploads. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1595 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eb1f6b7f7b6a29090a2b68f2c80c8ebc9b82e2af
      https://github.com/boxbackup/boxbackup/commit/eb1f6b7f7b6a29090a2b68f2c80c8ebc9b82e2af
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix formatting bugs. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1596 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 92ed364824b0a49b6a82ee744361bc2c231e50b2
      https://github.com/boxbackup/boxbackup/commit/92ed364824b0a49b6a82ee744361bc2c231e50b2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Improve error messages when Getting a file fails with an exception.
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1597 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a1dcaad3f1c36164ca25d33fdf16c643766c50c6
      https://github.com/boxbackup/boxbackup/commit/a1dcaad3f1c36164ca25d33fdf16c643766c50c6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/backupclient/BackupStoreFile.cpp

  Log Message:
  -----------
  Fix getting files with uncertain size (over 2GB) from the store. Failure
to drain the stream will leave the EOF byte in it, which breaks further
communications with the store over the same connection. (refs #2, refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1598 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9a178bf7ca6b7054cd813433cea4722b9375bf3d
      https://github.com/boxbackup/boxbackup/commit/9a178bf7ca6b7054cd813433cea4722b9375bf3d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/backupclient/BackupStoreFileEncodeStream.cpp

  Log Message:
  -----------
  Fix bbackupd choosing an invalid (too large) block size for large files
(over 2GB) which will cause compare to fail: when rBlockSizeOut ==
BACKUP_FILE_MAX_BLOCK_SIZE we would have proceeded around the loop one
more time and doubled the block size again. (refs #2, refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1599 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a6f6e50706e2819ed7ecdea703842d4241b846d7
      https://github.com/boxbackup/boxbackup/commit/a6f6e50706e2819ed7ecdea703842d4241b846d7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Improve error messages when compare throws an exception. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1600 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7c2370cf21df0b35472867c849a3d204047a319f
      https://github.com/boxbackup/boxbackup/commit/7c2370cf21df0b35472867c849a3d204047a319f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/common/BannerText.h

  Log Message:
  -----------
  Remove newline from end of banner text, since logging framework will add
it for us where necessary. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1601 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7597a014871676a7b3003907de6ddebd056b4193
      https://github.com/boxbackup/boxbackup/commit/7597a014871676a7b3003907de6ddebd056b4193
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Use logging framework for banner. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1602 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4d643a720b956d199708e16c3e7111b85eb7996c
      https://github.com/boxbackup/boxbackup/commit/4d643a720b956d199708e16c3e7111b85eb7996c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Return an error code on failure of lcd command.

Return an error code if get command fails due to the file already existing.

(refs #3, merges [1516])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1604 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b525eca6332704716df5053fb42213b5c55ae917
      https://github.com/boxbackup/boxbackup/commit/b525eca6332704716df5053fb42213b5c55ae917
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix rare memory leak. (refs #3, merges part of [1514])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1605 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: df011114c592c9f929f0a4ce97cac8bc31f5f493
      https://github.com/boxbackup/boxbackup/commit/df011114c592c9f929f0a4ce97cac8bc31f5f493
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/basicserver/testfiles/srv4.conf

  Log Message:
  -----------
  Listen on an inet socket as well, to keep tests happy on Windows
(refs #3, merges part of [582])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1606 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ba4c86beda971972e69edee06326228b6989d2ca
      https://github.com/boxbackup/boxbackup/commit/ba4c86beda971972e69edee06326228b6989d2ca
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/basicserver/testfiles/srv4.conf

  Log Message:
  -----------
  Revert to Unix paths (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1607 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ce32d455b648f354b05dfe9f7c0f01f6f2d99f28
      https://github.com/boxbackup/boxbackup/commit/ce32d455b648f354b05dfe9f7c0f01f6f2d99f28
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test that bbackupd and bbstored are still running at various points during
the test, and abort early if not. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1608 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9751c4a48c2592949449b295e144091f8c656858
      https://github.com/boxbackup/boxbackup/commit/9751c4a48c2592949449b295e144091f8c656858
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Format messages within test to make them more obvious, and improve
readability of test output. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1609 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0e3094ec9aa9b83c15d7c9096bc8807a9b5a7f99
      https://github.com/boxbackup/boxbackup/commit/0e3094ec9aa9b83c15d7c9096bc8807a9b5a7f99
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use quiet mode in compares, to reduce test output verbosity (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1610 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 775afe0f630d42b3c2a89d69352fc109ea975f2f
      https://github.com/boxbackup/boxbackup/commit/775afe0f630d42b3c2a89d69352fc109ea975f2f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use helper function rather than calling bbackupctl directly. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1611 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d6b337d18674971881275fc7b9b82fa0d099648d
      https://github.com/boxbackup/boxbackup/commit/d6b337d18674971881275fc7b9b82fa0d099648d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Close updated files during continuous-update test, so that they can be
backed up on Win32. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1613 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f12e4f15c96c3f663bc2f96afe941675003639f9
      https://github.com/boxbackup/boxbackup/commit/f12e4f15c96c3f663bc2f96afe941675003639f9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Remove misplaced hunk. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1614 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8bea4a77ea04fbed4f4c1457693f28dec1a66f52
      https://github.com/boxbackup/boxbackup/commit/8bea4a77ea04fbed4f4c1457693f28dec1a66f52
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Call perl executable to execute external scripts, since shebang doesn't
work on win32. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1615 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eff88a2bcb0a2bbacdc186f187645aabb87449c0
      https://github.com/boxbackup/boxbackup/commit/eff88a2bcb0a2bbacdc186f187645aabb87449c0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-28 (Sat, 28 Apr 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Gratuitous cosmetic reformatting, to make the test easier to read (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1616 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f4cf18eccd81985f53a53b6f30d078ff1b091ce5
      https://github.com/boxbackup/boxbackup/commit/f4cf18eccd81985f53a53b6f30d078ff1b091ce5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-29 (Sun, 29 Apr 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Initialise mSingleProcess flag to false (oops!) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1617 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6bc6883b960310764f24fb8fd587e3a957c94c4a
      https://github.com/boxbackup/boxbackup/commit/6bc6883b960310764f24fb8fd587e3a957c94c4a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-29 (Sun, 29 Apr 2007)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientFileAttributes.h

  Log Message:
  -----------
  Make directories user-writable while restoring them, so that restoring
read-only directories as a non-root user doesn't crash. Restore the
correct permissions after restoring the directory's contents. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1618 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7bf51e4081e0ecafa37ada2a601813aa554f5363
      https://github.com/boxbackup/boxbackup/commit/7bf51e4081e0ecafa37ada2a601813aa554f5363
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-29 (Sun, 29 Apr 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Make directories user-writable while restoring them, so that restoring
read-only directories as a non-root user doesn't crash. Restore the
correct permissions after restoring the directory's contents. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1619 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d95fe3d834e53329a788af216f7410f7ffe0b02f
      https://github.com/boxbackup/boxbackup/commit/d95fe3d834e53329a788af216f7410f7ffe0b02f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-29 (Sun, 29 Apr 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Remove unwanted blank line. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1620 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d2882e655bce589d14767f7ee39e5554dd29ccc8
      https://github.com/boxbackup/boxbackup/commit/d2882e655bce589d14767f7ee39e5554dd29ccc8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-29 (Sun, 29 Apr 2007)

  Changed paths:
    M lib/backupclient/BackupStoreFile.cpp

  Log Message:
  -----------
  Remove assertion that we are at the end of the stream when decoding
finishes. This is not true when decoding raw files on disk. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1621 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2c21ca9fd5a95e4f2458baeafe24e72e42de3468
      https://github.com/boxbackup/boxbackup/commit/2c21ca9fd5a95e4f2458baeafe24e72e42de3468
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-29 (Sun, 29 Apr 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Report Restore_UnknownError properly during restore.

Report unknown result codes. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1622 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ef3aed5cef4dedc8d926cea78203e7b09fc1a9e9
      https://github.com/boxbackup/boxbackup/commit/ef3aed5cef4dedc8d926cea78203e7b09fc1a9e9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-04-29 (Sun, 29 Apr 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Read any remaining data from the encoded stream (such as EOF marker)
before discarding it, to ensure that we don't break the protocol.
(refs #2, refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1623 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f9c42246f8202279a51c1189b761f5e44eeb7bc1
      https://github.com/boxbackup/boxbackup/commit/f9c42246f8202279a51c1189b761f5e44eeb7bc1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-02 (Wed, 02 May 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Compile fix, thanks to Matt Brown (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1624 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 65f41db6b5a662cf812da5c93315430f0864adee
      https://github.com/boxbackup/boxbackup/commit/65f41db6b5a662cf812da5c93315430f0864adee
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-02 (Wed, 02 May 2007)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Fix running common tests in release mode, by not doing things that
crash in release mode, but assert in debug mode. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1625 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ec898bbd574f00871498144c3dff5dd77a00b2ee
      https://github.com/boxbackup/boxbackup/commit/ec898bbd574f00871498144c3dff5dd77a00b2ee
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-02 (Wed, 02 May 2007)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Add missing #include <errno.h>, thanks to Matt Brown (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1626 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e4f128ec2116eaef0dc0a2fc5b38c31d53a7ff8c
      https://github.com/boxbackup/boxbackup/commit/e4f128ec2116eaef0dc0a2fc5b38c31d53a7ff8c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-03 (Thu, 03 May 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Read-only restore test fix (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1627 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c1e0df3eaf6297d1f2a86f9032ec2bc47e910651
      https://github.com/boxbackup/boxbackup/commit/c1e0df3eaf6297d1f2a86f9032ec2bc47e910651
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-03 (Thu, 03 May 2007)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Make testfiles writable before trying to delete them, otherwise read-only
tests might not work (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1628 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 01e63f7a796ab47aa1ce6390f963dce7abfd2a8d
      https://github.com/boxbackup/boxbackup/commit/01e63f7a796ab47aa1ce6390f963dce7abfd2a8d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-03 (Thu, 03 May 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Slightly more progress information during tests (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1629 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b7ef0b83fc93e3ea19c8a2cdc6869a5975d5d1cb
      https://github.com/boxbackup/boxbackup/commit/b7ef0b83fc93e3ea19c8a2cdc6869a5975d5d1cb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-09 (Wed, 09 May 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix emulated chdir to work with relative paths and with bbackupquery's
"sh" command (which doesn't like UNC paths).

Fix error messages by removing surplus newline kindly added by Windows.

(refs #3, merges [1514] and [1569])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1646 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1c166a50b5298b0d670b71d375674796fd80da61
      https://github.com/boxbackup/boxbackup/commit/1c166a50b5298b0d670b71d375674796fd80da61
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-09 (Wed, 09 May 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Gratuitous additional spaces (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1648 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bb52c4cd029bcfbb9f205273651504fc10717cba
      https://github.com/boxbackup/boxbackup/commit/bb52c4cd029bcfbb9f205273651504fc10717cba
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-09 (Wed, 09 May 2007)

  Changed paths:
    M modules.txt

  Log Message:
  -----------
  Remove old support for Cygwin.

Remove lib/win32 dependency on lib/server (circular).

Remove all dependencies on lib/win32.

Enable all modules and tests on Win32.

(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1649 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 474fcd01d5da0c9f841ed543cd594ab27dafd7c5
      https://github.com/boxbackup/boxbackup/commit/474fcd01d5da0c9f841ed543cd594ab27dafd7c5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-05-10 (Thu, 10 May 2007)

  Changed paths:
    M documentation/boxbackup/adminguide.xml
    M documentation/boxbackup/instguide.xml

  Log Message:
  -----------
  Fix the license in the docs to reflect the actual license. (refs #3,
merges [1652])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1653 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 48c3b1487c3379f4397389c4d47910db406733fd
      https://github.com/boxbackup/boxbackup/commit/48c3b1487c3379f4397389c4d47910db406733fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-03 (Sun, 03 Jun 2007)

  Changed paths:
    M lib/common/EventWatchFilesystemObject.cpp

  Log Message:
  -----------
  Add missing #include <errno.h>, thanks Tobias.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1694 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5f346bb5bbdd697fda6f4d2a8fd413ee14946496
      https://github.com/boxbackup/boxbackup/commit/5f346bb5bbdd697fda6f4d2a8fd413ee14946496
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-04 (Mon, 04 Jun 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Hopefully reset getopt in a way that's compatible with BSD and GLIBC,
thanks to Tobias Balle-Petersen for pointing out this bug.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1695 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 87ade269ef773dc922e12493886914c670ac2446
      https://github.com/boxbackup/boxbackup/commit/87ade269ef773dc922e12493886914c670ac2446
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-04 (Mon, 04 Jun 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Get it right this time.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1696 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a7d0eb7b9bdc73aa77254fb4dd55528e8d2aff6
      https://github.com/boxbackup/boxbackup/commit/5a7d0eb7b9bdc73aa77254fb4dd55528e8d2aff6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-19 (Tue, 19 Jun 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Add missing include of <string> header (merges [1227])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1697 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1d5e8936f7c16d0287471b70ff7cc97cf4114978
      https://github.com/boxbackup/boxbackup/commit/1d5e8936f7c16d0287471b70ff7cc97cf4114978
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-20 (Wed, 20 Jun 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Include <string> to avoid compile failures on BSD, thanks James O'Gorman.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1698 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c3ca27d24399aa0d6f011379c83c592e2b96ecb1
      https://github.com/boxbackup/boxbackup/commit/c3ca27d24399aa0d6f011379c83c592e2b96ecb1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-20 (Wed, 20 Jun 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Include <string> to avoid compile failures on BSD, thanks James O'Gorman.
(refs #3, merges [1698])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1699 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 13b26649f58f6d046503ea274bff19609fa23903
      https://github.com/boxbackup/boxbackup/commit/13b26649f58f6d046503ea274bff19609fa23903
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-27 (Wed, 27 Jun 2007)

  Changed paths:
    M infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Handle USE_SVN_VERSION in distribution VERSION files.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1702 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f9b447a3cfb9398576738eb71778fb6e3f8ec3bf
      https://github.com/boxbackup/boxbackup/commit/f9b447a3cfb9398576738eb71778fb6e3f8ec3bf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-27 (Wed, 27 Jun 2007)

  Changed paths:
    M distribution/boxbackup/VERSION.txt

  Log Message:
  -----------
  Use SVN version in distributions built from this branch.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1703 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8a80894b03fa884cf2952e42e91581f074318302
      https://github.com/boxbackup/boxbackup/commit/8a80894b03fa884cf2952e42e91581f074318302
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-27 (Wed, 27 Jun 2007)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Add lib/intercept to distribution manifest, to ensure that it gets
distributed.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1704 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1c7d020005d4de880c6d252fe0be93ff02d4a246
      https://github.com/boxbackup/boxbackup/commit/1c7d020005d4de880c6d252fe0be93ff02d4a246
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-27 (Wed, 27 Jun 2007)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Handle USE_SVN_VERSION in the middle of a version string.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1705 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 035a264b43da1c0a295524050818e3f206ba62aa
      https://github.com/boxbackup/boxbackup/commit/035a264b43da1c0a295524050818e3f206ba62aa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-27 (Wed, 27 Jun 2007)

  Changed paths:
    M infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Replace version in VERSION.txt, if it contains USE_SVN_VERSION.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1706 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: df81239c9e7cbaaa46f86a54ecb0ab6423e91b49
      https://github.com/boxbackup/boxbackup/commit/df81239c9e7cbaaa46f86a54ecb0ab6423e91b49
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-28 (Thu, 28 Jun 2007)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Add a new -F option for daemons, which runs in the foreground but still
accepts multiple connections, unlike -D or SINGLEPROCESS.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1707 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 42368d8344de2b7dcc5c52e86f395dbe71aac2cb
      https://github.com/boxbackup/boxbackup/commit/42368d8344de2b7dcc5c52e86f395dbe71aac2cb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-28 (Thu, 28 Jun 2007)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Log reasons for failure to connect to a socket.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1708 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: df39dc2a049ece6d670cd3e387ab60bf39893ded
      https://github.com/boxbackup/boxbackup/commit/df39dc2a049ece6d670cd3e387ab60bf39893ded
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-30 (Sat, 30 Jun 2007)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Improved build targets, thanks to James O'Gorman (fixes #30)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1709 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 270540d821593722d03ba4a903e35f2e9697f9d8
      https://github.com/boxbackup/boxbackup/commit/270540d821593722d03ba4a903e35f2e9697f9d8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-30 (Sat, 30 Jun 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Add extra debugging to help find out why getopt is behaving weirdly
on debian etch
(http://lists.warhead.org.uk/pipermail/boxbackup/2007-June/003603.html)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1711 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7a7624026d30d7070a1e4f35fc2b200ff914b127
      https://github.com/boxbackup/boxbackup/commit/7a7624026d30d7070a1e4f35fc2b200ff914b127
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-30 (Sat, 30 Jun 2007)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Implement two new build targets:
 * build-backup-client
 * build-backup-server

These depend on the existing client/server parcel targets but are easier on the eye.
Refs and fixes #30.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@1712 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 71cfe61247fb05313d27899237cc8c83c65e985d
      https://github.com/boxbackup/boxbackup/commit/71cfe61247fb05313d27899237cc8c83c65e985d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-06-30 (Sat, 30 Jun 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Make test/bbackupd intercept timer tests a little less strict, because
object IDs can vary depending on the order that readdir() returns files
in. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1713 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 91bb56a4a0f7cfd081750cd82d6ef1f56c09af43
      https://github.com/boxbackup/boxbackup/commit/91bb56a4a0f7cfd081750cd82d6ef1f56c09af43
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-01 (Sun, 01 Jul 2007)

  Changed paths:
    M infrastructure/m4/ax_path_bdb.m4

  Log Message:
  -----------
  Add --with-bdb-headers and --with-bdb-lib flags to configure to fix Berkeley DB detection issues on FreeBSD. The original --with-bdb-dir flag is still present for systems that install BDB in a "standard" location.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@1714 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fca1edc69c4b7b65b2f0c76c7787ac68c7c368fd
      https://github.com/boxbackup/boxbackup/commit/fca1edc69c4b7b65b2f0c76c7787ac68c7c368fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-01 (Sun, 01 Jul 2007)

  Changed paths:
    M infrastructure/m4/ax_path_bdb.m4

  Log Message:
  -----------
  Add --with-bdb-headers and --with-bdb-lib flags to configure to fix Berkeley
DB detection issues on FreeBSD. The original --with-bdb-dir flag is still
present for systems that install BDB in a "standard" location.
(merges [1714] from trunk by James O'Gorman, refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1715 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 98205f91541f4f859902595c1cdde0dc4af3fbca
      https://github.com/boxbackup/boxbackup/commit/98205f91541f4f859902595c1cdde0dc4af3fbca
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-01 (Sun, 01 Jul 2007)

  Changed paths:
    M infrastructure/m4/ax_path_bdb.m4

  Log Message:
  -----------
  Remove --with-bdb-dir option, to avoid confusion and be consistent with the SSL flags.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@1717 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 59ba6be258d6810d2ee0dc802d4199075ca1f2b9
      https://github.com/boxbackup/boxbackup/commit/59ba6be258d6810d2ee0dc802d4199075ca1f2b9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-01 (Sun, 01 Jul 2007)

  Changed paths:
    M infrastructure/m4/ax_path_bdb.m4

  Log Message:
  -----------
  Remove --with-bdb-dir option, to avoid confusion and be consistent with the
SSL flags. (merges [1717] by James O'Gorman, refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1719 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2b16cf621d4ceff418353ffa29e29612a91b6b88
      https://github.com/boxbackup/boxbackup/commit/2b16cf621d4ceff418353ffa29e29612a91b6b88
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-03 (Tue, 03 Jul 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Hopefully work around buggy getopt implementation noted by TBP in
http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003614.html
(refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1720 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 88a3ed29621acdfc745342a510c1bedcd95eb6cd
      https://github.com/boxbackup/boxbackup/commit/88a3ed29621acdfc745342a510c1bedcd95eb6cd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-03 (Tue, 03 Jul 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  More debugging.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1721 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: accb593bc3e8da6084a5a3d1d3111f8644d29922
      https://github.com/boxbackup/boxbackup/commit/accb593bc3e8da6084a5a3d1d3111f8644d29922
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-04 (Wed, 04 Jul 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Make char signed to fix getopt usage on ARM and PowerPC, thanks to TBP and
Reinhard Tartler (refs #3, see
http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003614.html)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1722 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b0491409c302a88bdc7247efb492c4c37676290
      https://github.com/boxbackup/boxbackup/commit/0b0491409c302a88bdc7247efb492c4c37676290
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-05 (Thu, 05 Jul 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Use a signed int instead of char for getopt, thanks Martin. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1724 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aaccefc161422d7461e609bdd574670e942228a0
      https://github.com/boxbackup/boxbackup/commit/aaccefc161422d7461e609bdd574670e942228a0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-18 (Wed, 18 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Hopefully fix a bug reported by Tobias Balle-Petersen, where unused
locations on the store would never be deleted because the timer would be
reset on every backup pass (refs #3).


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1726 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 17b3894794c4e120ca87e7ce5acfbae42244da46
      https://github.com/boxbackup/boxbackup/commit/17b3894794c4e120ca87e7ce5acfbae42244da46
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Warn if an exception is thrown, with line number, as this shouldn't be
happening on production systems anyway.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1727 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 20bf80b37d4a784e238a988a69f74e03dbc70837
      https://github.com/boxbackup/boxbackup/commit/20bf80b37d4a784e238a988a69f74e03dbc70837
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Add more debugging checks and messages for location setup error
reported by Pete Jalajas
(http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003668.html)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1728 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ef888005380f677dc19de9c4a75e792359b4a8f7
      https://github.com/boxbackup/boxbackup/commit/ef888005380f677dc19de9c4a75e792359b4a8f7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  More helpful error messages when location setup failed.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1729 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d6e26206e18f9363568e88a76d610de43986eeac
      https://github.com/boxbackup/boxbackup/commit/d6e26206e18f9363568e88a76d610de43986eeac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Typo compile fix.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1730 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3702e9f3075d6193e121ff3cd186a67894ffd579
      https://github.com/boxbackup/boxbackup/commit/3702e9f3075d6193e121ff3cd186a67894ffd579
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Create logger object in the right place to avoid accidental triggering.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1747 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fdaf6dbf4267fc33bceb1e7b9efc03539e466350
      https://github.com/boxbackup/boxbackup/commit/fdaf6dbf4267fc33bceb1e7b9efc03539e466350
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M LICENSE.txt

  Log Message:
  -----------
  License update. (refs #3, merges [1654])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1749 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a24dd30fa6c648d77ce269d89b078beb3953d48
      https://github.com/boxbackup/boxbackup/commit/5a24dd30fa6c648d77ce269d89b078beb3953d48
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Include LICENSE.txt in client parcels.

Don't include Nick's old ReadMe.txt.

(refs #3, merges [1655])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1750 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e77b09d14346cf7d0c1bc2260611a073e5c12b20
      https://github.com/boxbackup/boxbackup/commit/e77b09d14346cf7d0c1bc2260611a073e5c12b20
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    R bin/bbackupd/win32/ReadMe.txt

  Log Message:
  -----------
  Delete Nick's old outdated ReadMe.txt. (refs #3, merges [1656])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1751 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 59165621ded8ada2c5d2c403929e6337c6f3ee81
      https://github.com/boxbackup/boxbackup/commit/59165621ded8ada2c5d2c403929e6337c6f3ee81
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M documentation/boxbackup/adminguide.xml

  Log Message:
  -----------
  Fix license (acknowledgement must include the contributors).

Document RAID options better, and mention that they are deprecated.

Improve clock time warning (use a DocBook <warning/>).

Change some invalid <link>s to <ulink>.

Document setting up log rotation with logrotate, and how to restart syslogd.

Replace some itemised lists with glossaries.

Use <command> and <filename> in a few places where it should be used.

Make "Adding and removing backed up locations" into a separate section,
as I think it should be.

Document the main configuration options (not yet the backup locations).

Recommend that users compare their backups regularly and automatically with
cron.

(refs #3, merges [1657])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1752 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a57b5a64d62fac2f9addf42174f47e4c3d2ba4f5
      https://github.com/boxbackup/boxbackup/commit/a57b5a64d62fac2f9addf42174f47e4c3d2ba4f5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Apply Gary's patch to save the list of unused root directory entries
in the store object info file, so that they will persist across restarts.
(refs #18, refs #3, merges [1658])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1753 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f79d8a902e940aef9b531720888a685b0181e280
      https://github.com/boxbackup/boxbackup/commit/f79d8a902e940aef9b531720888a685b0181e280
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp

  Log Message:
  -----------
  Apply Gary's patch from ticket #19 to respect the server's hard limit
rather than the soft limit. This allows setting the soft limit to zero,
so that housekeeping will remove all old versions of all files.
(refs #19, refs #3, merges [1659])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1754 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0cafc689544cc879a77636d27cb0a1ec3a013afa
      https://github.com/boxbackup/boxbackup/commit/0cafc689544cc879a77636d27cb0a1ec3a013afa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Experimental fix for restore problem reported by Mikael Syska:

query > restore Admin "c:\admin\"
Failed to read file information: The parameter is incorrect. (87)
Failed to get file information for 'c:'
Failed to check existence for c:: Common OSFileError (Error accessing a
file. Check permissions.)
ERROR: Unknown restore result.

(refs #3, merges [1659])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1755 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2a924881bdf9d3cb312fa761186f0d9e1eac91b1
      https://github.com/boxbackup/boxbackup/commit/2a924881bdf9d3cb312fa761186f0d9e1eac91b1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix restoring to top-level directories (e.g. c:\test) (refs #3,
merges [1661])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1756 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a21f529ca0cf600a81da040e138687943ea29a4a
      https://github.com/boxbackup/boxbackup/commit/a21f529ca0cf600a81da040e138687943ea29a4a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix unit tests now that bbackupd honours the hard limit and not the
soft limit. (refs #3, merges [1662])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1757 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7f963c4acf89c39e01cd0c9b57cd7e726123fc55
      https://github.com/boxbackup/boxbackup/commit/7f963c4acf89c39e01cd0c9b57cd7e726123fc55
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/common/Timer.h

  Log Message:
  -----------
  Don't #include sys/time.h unless our platform has it, thanks Gary.
(refs #3, merges [1664])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1758 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e2c18721e2d4c890f02b7a00dd628b208ec2346e
      https://github.com/boxbackup/boxbackup/commit/e2c18721e2d4c890f02b7a00dd628b208ec2346e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/common/BoxConfig-MSVC.h
    M lib/common/ExcludeList.cpp

  Log Message:
  -----------
  We now have pcreposix.h instead of regex.h, at least if you follow the
MSVC build instructions. (refs #3, merges [1665])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1759 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 40638844c1118fd937b13866abb5d314d199adc7
      https://github.com/boxbackup/boxbackup/commit/40638844c1118fd937b13866abb5d314d199adc7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  MSVC compile fix, thanks Gary. (refs #3, merges [1666])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1760 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 80b76f7414e530cc356bec7cdefdcdfe5b21aef5
      https://github.com/boxbackup/boxbackup/commit/80b76f7414e530cc356bec7cdefdcdfe5b21aef5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M win32.bat

  Log Message:
  -----------
  Make autogen_ClientException, thanks Gary. (refs #3, merges [1667])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1761 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7a79a814ddbd205ef6c73f42282d2e2741517978
      https://github.com/boxbackup/boxbackup/commit/7a79a814ddbd205ef6c73f42282d2e2741517978
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/common/Box.h
    M lib/common/MemLeakFinder.h

  Log Message:
  -----------
  Define DEBUG_NEW in the same file whether or not BOX_MEMORY_LEAK_TESTING
is defined, thanks Gary. (refs #3, merges [1668])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1762 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fbdd947b35498cc1bb8afe65461b3e71a4b04884
      https://github.com/boxbackup/boxbackup/commit/fbdd947b35498cc1bb8afe65461b3e71a4b04884
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Apply remaining parts of Gary's patch, missing from [1658], thanks Gary
(refs #3, merges [1669])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1763 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 552a48bf5da432f8961feeef5cf604470a284fdc
      https://github.com/boxbackup/boxbackup/commit/552a48bf5da432f8961feeef5cf604470a284fdc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/common/BannerText.h

  Log Message:
  -----------
  Update copyright to 2007. (refs #3, merges [1670])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1764 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 579863d7fd3b65436399e29370a10ea019f367cb
      https://github.com/boxbackup/boxbackup/commit/579863d7fd3b65436399e29370a10ea019f367cb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Undo bad merge of [1658] and [1669] (refs #3, merges [1671])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1765 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2a1a23903affcb3f89039f78a13ab139c3f80d2a
      https://github.com/boxbackup/boxbackup/commit/2a1a23903affcb3f89039f78a13ab139c3f80d2a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fixed object store read/write, fixes #18 properly, thanks Gary!
(refs #3, merges [1672])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1766 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc4314cc7566ed4d2cd382bb3eb74857e60f7a75
      https://github.com/boxbackup/boxbackup/commit/bc4314cc7566ed4d2cd382bb3eb74857e60f7a75
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fixed object use after delete, thanks Gary! (refs #3, merges [1673])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1767 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2a98d1419039aca0c54b33c62a86bd88ed5011c4
      https://github.com/boxbackup/boxbackup/commit/2a98d1419039aca0c54b33c62a86bd88ed5011c4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M infrastructure/msvc/2003/bbackupd.vcproj
    M infrastructure/msvc/2003/common.vcproj
    M infrastructure/msvc/2005/bbackupd.vcproj
    M infrastructure/msvc/2005/common.vcproj

  Log Message:
  -----------
  Update Visual Studio project files to match new files added, thanks Gary!
(refs #3, merges [1674])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1768 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 203b4f6ec8dbbc8fde2cb1ff11eceeb125be9776
      https://github.com/boxbackup/boxbackup/commit/203b4f6ec8dbbc8fde2cb1ff11eceeb125be9776
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M win32.bat

  Log Message:
  -----------
  Make ClientException autogen files in the correct directory, thanks Gary!
(refs #3, merges [1675])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1769 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 539bec1bf2a20079548f8cfa08b826f4dd5069e3
      https://github.com/boxbackup/boxbackup/commit/539bec1bf2a20079548f8cfa08b826f4dd5069e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Disable some warnings under MSVC to reduce build noise, thanks Gary!
(refs #3, merges [1676])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1770 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7773b18341f42bdfcc71c03389f4a7768e32e551
      https://github.com/boxbackup/boxbackup/commit/7773b18341f42bdfcc71c03389f4a7768e32e551
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M configure.ac
    M docs/backup/win32_build_on_cygwin_using_mingw.txt
    M lib/common/BoxConfig-MSVC.h
    M lib/common/ExcludeList.cpp
    M lib/common/ExcludeList.h

  Log Message:
  -----------
  Work around the fact that we may have regex support without having
regex.h (e.g. from pcreposix.h/libpcreposix) and disabuse HAVE_REGEX_H,
define and use HAVE_REGEX_SUPPORT instead, thanks Gary!
(refs #3, merges [1677] [1678] [1679])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1771 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b46dbf635f9e3cfff901d9eb6fd00fd6d0010c14
      https://github.com/boxbackup/boxbackup/commit/b46dbf635f9e3cfff901d9eb6fd00fd6d0010c14
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M docs/backup/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  More updates to docs. (refs #3, merges [1680])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1772 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 32379b54576a5f77f7d136268c09f1a3a7e775e0
      https://github.com/boxbackup/boxbackup/commit/32379b54576a5f77f7d136268c09f1a3a7e775e0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Fix to match static lib installation instructions. (refs #3, merges [1681])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1773 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: afd7986e4de757e5d2e78bcbd573e340a9554189
      https://github.com/boxbackup/boxbackup/commit/afd7986e4de757e5d2e78bcbd573e340a9554189
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Fix regex tests for HAVE_REGEX_SUPPORT. (refs #3, merges [1682])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1774 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7fac2ba95aa4f1c1a0663f7c28219a45baaad980
      https://github.com/boxbackup/boxbackup/commit/7fac2ba95aa4f1c1a0663f7c28219a45baaad980
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/raidfile/RaidFileController.cpp
    M lib/raidfile/RaidFileController.h

  Log Message:
  -----------
  Make RaidFileController::Initialise take a std::string instead of a
char array, in C++ style. (refs #3, merges [1683])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1775 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a46617d64c26339bd1dec380f82fbe46f0d1dc88
      https://github.com/boxbackup/boxbackup/commit/a46617d64c26339bd1dec380f82fbe46f0d1dc88
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M lib/common/Configuration.cpp
    M lib/common/Configuration.h

  Log Message:
  -----------
  Make Configuration take a std::string filename instead of a char array,
in C++ style. (refs #3, merges [1684])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1776 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c98104adff70febe8ed21ecef38abc889d55654a
      https://github.com/boxbackup/boxbackup/commit/c98104adff70febe8ed21ecef38abc889d55654a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/Win32BackupService.cpp
    M bin/bbackupd/bbackupd.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/bbstored.cpp
    M lib/backupstore/BackupStoreConfigVerify.cpp
    M lib/common/BoxPortsAndFiles.h
    M lib/common/Guards.h
    M lib/win32/emu.cpp
    M lib/win32/emu.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Make Configuration take a std::string filename instead of a char array,
in C++ style.

Add a function to get default config file paths at runtime, dependent on
the location of the executable being run.

Pass the config file name directly to Daemon::Main, instead of faking argv.

No default raid file path at compile time on Windows, depends on
executable location when run.

Determine RaidFile path at runtime if not supplied in config file
on Windows.

Don't define default locations for config files at compile time on Windows,
provide macros to determine them at runtime instead.

Make FileHandleGuard take a std::string instead of a char array, C++ style.

Determine config file location at runtime instead of hard-coding on
Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart
Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12)

Determine config file path at runtime. Call Daemon::Main with config file
name instead of building fake argv.

(refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690]
[1691] [1692])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1777 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 402c30d42f4630afc80bfd933e4beab9f6a181cc
      https://github.com/boxbackup/boxbackup/commit/402c30d42f4630afc80bfd933e4beab9f6a181cc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Build server parcel on Windows too, since some people want it.
(refs #3, merges [1701])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1778 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 30efac25dbd5deffd3946bdf5ae4813f0e89f2c1
      https://github.com/boxbackup/boxbackup/commit/30efac25dbd5deffd3946bdf5ae4813f0e89f2c1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M modules.txt

  Log Message:
  -----------
  Reinsert dependency of test/backupstorefix on bin/bbackupctl (refs #3,
merges [1650])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1779 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 02d13b09b367e453929706b1abd4cade62f208f2
      https://github.com/boxbackup/boxbackup/commit/02d13b09b367e453929706b1abd4cade62f208f2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-26 (Thu, 26 Jul 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Remove compare again. (refs #3, merges [1651])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1780 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 12f71af7137e96eafb74d2ca188ccc54d1da5502
      https://github.com/boxbackup/boxbackup/commit/12f71af7137e96eafb74d2ca188ccc54d1da5502
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-31 (Tue, 31 Jul 2007)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupCommands.cpp
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/HousekeepStoreAccount.cpp
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupStoreFile.cpp
    M lib/common/BoxTime.cpp
    M lib/common/DebugPrintf.cpp
    M lib/common/Logging.h
    M lib/raidfile/RaidFileRead.cpp
    M lib/server/Daemon.cpp
    M lib/server/LocalProcessStream.cpp
    M lib/server/SSLLib.cpp
    M lib/server/ServerStream.h
    M lib/server/Socket.cpp
    M lib/server/WinNamedPipeStream.cpp

  Log Message:
  -----------
  Replace almost all calls to syslog() with logging framework. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1783 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f034e0ed4730a7fcf003b70d5befc4e450e51b4d
      https://github.com/boxbackup/boxbackup/commit/f034e0ed4730a7fcf003b70d5befc4e450e51b4d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-07-31 (Tue, 31 Jul 2007)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Quiet make by default (make V=1 to override) (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1785 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c6620882a3350a64ad5c4d579de3ac2be814b4c9
      https://github.com/boxbackup/boxbackup/commit/c6620882a3350a64ad5c4d579de3ac2be814b4c9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-08-02 (Thu, 02 Aug 2007)

  Changed paths:
    M lib/common/DebugPrintf.cpp

  Log Message:
  -----------
  Undo removal of syslog() header, still needed in this file.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1787 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 05f15086b51268f07c0bc57313d1509667e243db
      https://github.com/boxbackup/boxbackup/commit/05f15086b51268f07c0bc57313d1509667e243db
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-08-02 (Thu, 02 Aug 2007)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/Logging.cpp
    M lib/crypto/Random.cpp
    M lib/raidfile/RaidFileController.cpp
    M lib/server/SSLLib.cpp
    M test/bbackupd/testfiles/extcheck1.pl.in
    M test/bbackupd/testfiles/extcheck2.pl.in

  Log Message:
  -----------
  Convert most printf() and fprintf() calls to use logging framework
instead. (refs #3)


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1789 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7256ea57f9f531191fdfb2473d6cc74b77a9874b
      https://github.com/boxbackup/boxbackup/commit/7256ea57f9f531191fdfb2473d6cc74b77a9874b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-08-05 (Sun, 05 Aug 2007)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in

  Log Message:
  -----------
  Fix documentation comments on ExcludeDir/AlwaysInclude.

Fix warning about mounted filesystems to reflect current reality.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1791 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b184a60fe6de334421600b37cc788675536c943f
      https://github.com/boxbackup/boxbackup/commit/b184a60fe6de334421600b37cc788675536c943f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-08-28 (Tue, 28 Aug 2007)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Fix quiet-build makefiles to work on BSDs


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1795 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 32be50fcce52ea1284156cc7a1f65d5dee15c02c
      https://github.com/boxbackup/boxbackup/commit/32be50fcce52ea1284156cc7a1f65d5dee15c02c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-08-30 (Thu, 30 Aug 2007)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Fix $bsd_make to not be defined on GNU/kFreeBSD, which uses GNU Make.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1796 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 26e7055089fd81f00ce42566b2c444e7e3c0c44c
      https://github.com/boxbackup/boxbackup/commit/26e7055089fd81f00ce42566b2c444e7e3c0c44c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-08-31 (Fri, 31 Aug 2007)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in

  Log Message:
  -----------
  Update the comments in the generated configuration file to better describe
the available options and their units.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1797 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 04ea2f79db2cdf49e576058e91391295b44e0535
      https://github.com/boxbackup/boxbackup/commit/04ea2f79db2cdf49e576058e91391295b44e0535
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-01 (Sat, 01 Sep 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Log more detailed errors when the server returns an error while uploading
a file. (merges [1781])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1801 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f812041ee40d100494a0befe3b53b730a191c2f0
      https://github.com/boxbackup/boxbackup/commit/f812041ee40d100494a0befe3b53b730a191c2f0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-01 (Sat, 01 Sep 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Use ProgressNotifier to report upload exceptions (merges last part of [1342])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1802 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9677b3f3dfc90f296d1c072e452f2aa2f188e633
      https://github.com/boxbackup/boxbackup/commit/9677b3f3dfc90f296d1c072e452f2aa2f188e633
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-01 (Sat, 01 Sep 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Use sigset() instead of signal() to ensure that SysV systems (like Solaris)
will not clear our signal handler after firing it.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1803 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a99e7f2b1502b198787a4fef7298d45a4a890f60
      https://github.com/boxbackup/boxbackup/commit/a99e7f2b1502b198787a4fef7298d45a4a890f60
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-01 (Sat, 01 Sep 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/bbackupd-config.in

  Log Message:
  -----------
  Call the notify script whenever backup starts or finishes, but the
default script does nothing in this case. Requested by 
scott <scott at lubetech.com.au>.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1804 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 898f2a68538360208d9715c42219dfc71672d661
      https://github.com/boxbackup/boxbackup/commit/898f2a68538360208d9715c42219dfc71672d661
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-01 (Sat, 01 Sep 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix error message when failing to create remote directory for location.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1806 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 62f4f3815e7f6d7acb70658eb6f2f5c8903dde0a
      https://github.com/boxbackup/boxbackup/commit/62f4f3815e7f6d7acb70658eb6f2f5c8903dde0a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-01 (Sat, 01 Sep 2007)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Format account number properly (8 hex digits).


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1808 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ab867f8716f3dd89e6849ed9a2c9c95fae941c7c
      https://github.com/boxbackup/boxbackup/commit/ab867f8716f3dd89e6849ed9a2c9c95fae941c7c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-07 (Fri, 07 Sep 2007)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in

  Log Message:
  -----------
  Document and enable KeepAliveTime option by default.


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1816 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7b785d1bdd1691723f50ff39efa8ca9704726d19
      https://github.com/boxbackup/boxbackup/commit/7b785d1bdd1691723f50ff39efa8ca9704726d19
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-07 (Fri, 07 Sep 2007)

  Changed paths:
    M lib/server/LocalProcessStream.cpp

  Log Message:
  -----------
  Win32 compile fix (logging framework abuse). (merges [1810])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1822 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 507eb6596234eb10aa73250adaafba34981889bc
      https://github.com/boxbackup/boxbackup/commit/507eb6596234eb10aa73250adaafba34981889bc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-07 (Fri, 07 Sep 2007)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Fix comments. (merges [1812])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1823 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e50ca632c366e6ad2040f1d6ae6204333679fcc6
      https://github.com/boxbackup/boxbackup/commit/e50ca632c366e6ad2040f1d6ae6204333679fcc6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-07 (Fri, 07 Sep 2007)

  Changed paths:
    M bin/bbackupd/Win32BackupService.cpp
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/Win32ServiceFunctions.h
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  Don't initialise MemLeakFinder twice when running as a service.

Return a non-zero exit code if running as a service fails.

(merges [1813])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1824 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3a13cb9584d0c6d5a32803b42e99f3aeebcac939
      https://github.com/boxbackup/boxbackup/commit/3a13cb9584d0c6d5a32803b42e99f3aeebcac939
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-07 (Fri, 07 Sep 2007)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  No need to print syslog() messages any more, now that we have a logging
framework. (merges [1814])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1825 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 70c188d16ae06272461113ee3993d194fbc2b98f
      https://github.com/boxbackup/boxbackup/commit/70c188d16ae06272461113ee3993d194fbc2b98f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-07 (Fri, 07 Sep 2007)

  Changed paths:
    M lib/common/ConversionString.cpp

  Log Message:
  -----------
  Fix compiler warning. (merges [1820], [1821])


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1826 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b366c0ff918773fee95ac6adf1c26c09ea65e560
      https://github.com/boxbackup/boxbackup/commit/b366c0ff918773fee95ac6adf1c26c09ea65e560
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-19 (Wed, 19 Sep 2007)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Don't include the install-backup-client script in Windows builds, as it's
pretty useless without Cygwin, and of marginal use with it (refs #24).


git-svn-id: https://www.boxbackup.org/svn/box/chris/merge@1840 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 53a7f541d049f624aa921cd7fda28dd157645f03
      https://github.com/boxbackup/boxbackup/commit/53a7f541d049f624aa921cd7fda28dd157645f03
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-19 (Wed, 19 Sep 2007)

  Changed paths:
    M LICENSE.txt
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    A bin/bbackupd/ClientException.txt
    A bin/bbackupd/Makefile.extra
    M bin/bbackupd/Win32BackupService.cpp
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/Win32ServiceFunctions.h
    M bin/bbackupd/bbackupd-config.in
    M bin/bbackupd/bbackupd.cpp
    R bin/bbackupd/win32/ReadMe.txt
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbackupquery/documentation.txt
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupCommands.cpp
    M bin/bbstored/BackupContext.cpp
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M bin/bbstored/HousekeepStoreAccount.cpp
    M bin/bbstored/bbstored.cpp
    M configure.ac
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt
    M distribution/boxbackup/VERSION.txt
    M distribution/boxbackup/contrib/rpm/boxbackup.spec
    M docs/backup/win32_build_on_cygwin_using_mingw.txt
    M docs/backup/win32_build_on_linux_using_mingw.txt
    M documentation/boxbackup/adminguide.xml
    M documentation/boxbackup/instguide.xml
    M infrastructure/BoxPlatform.pm.in
    M infrastructure/buildenv-testmain-template.cpp
    A infrastructure/m4/ax_check_llong_minmax.m4
    M infrastructure/makebuildenv.pl.in
    R infrastructure/makedistribution.pl
    A infrastructure/makedistribution.pl.in
    M infrastructure/makeparcels.pl.in
    M infrastructure/mingw/configure.sh
    M infrastructure/msvc/2003/bbackupctl.vcproj
    M infrastructure/msvc/2003/bbackupd.vcproj
    R infrastructure/msvc/2003/boxbackup.ncb
    M infrastructure/msvc/2003/boxbackup.sln
    R infrastructure/msvc/2003/boxbackup.suo
    M infrastructure/msvc/2003/boxquery.vcproj
    M infrastructure/msvc/2003/common.vcproj
    M infrastructure/msvc/2005/bbackupctl.vcproj
    M infrastructure/msvc/2005/bbackupd.vcproj
    M infrastructure/msvc/2005/boxquery.vcproj
    M infrastructure/msvc/2005/common.vcproj
    M infrastructure/msvc/2005/win32test.vcproj
    M infrastructure/msvc/getversion.pl
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientFileAttributes.h
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupClientRestore.h
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/backupclient/BackupStoreDirectory.cpp
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.h
    M lib/backupclient/BackupStoreFilenameClear.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreConfigVerify.cpp
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/common/BannerText.h
    M lib/common/Box.h
    A lib/common/BoxConfig-MSVC.h
    M lib/common/BoxPlatform.h
    M lib/common/BoxPortsAndFiles.h
    M lib/common/BoxTime.cpp
    M lib/common/BoxTime.h
    A lib/common/BufferedStream.cpp
    A lib/common/BufferedStream.h
    M lib/common/CommonException.txt
    M lib/common/Configuration.cpp
    M lib/common/Configuration.h
    M lib/common/ConversionString.cpp
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/EventWatchFilesystemObject.cpp
    M lib/common/ExcludeList.cpp
    M lib/common/ExcludeList.h
    M lib/common/FileStream.cpp
    M lib/common/Guards.h
    A lib/common/InvisibleTempFileStream.cpp
    A lib/common/InvisibleTempFileStream.h
    A lib/common/Logging.cpp
    A lib/common/Logging.h
    M lib/common/MainHelper.h
    M lib/common/MemLeakFinder.h
    M lib/common/PartialReadStream.cpp
    M lib/common/PartialReadStream.h
    A lib/common/PathUtils.cpp
    A lib/common/PathUtils.h
    M lib/common/ReadGatherStream.cpp
    A lib/common/ReadLoggingStream.cpp
    A lib/common/ReadLoggingStream.h
    M lib/common/Test.h
    A lib/common/Timer.cpp
    A lib/common/Timer.h
    M lib/common/UnixUser.cpp
    M lib/common/Utils.cpp
    A lib/common/ZeroStream.cpp
    A lib/common/ZeroStream.h
    M lib/crypto/Random.cpp
    A lib/intercept/intercept.cpp
    A lib/intercept/intercept.h
    M lib/raidfile/RaidFileController.cpp
    M lib/raidfile/RaidFileController.h
    M lib/raidfile/RaidFileException.txt
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileWrite.cpp
    M lib/server/ConnectionException.txt
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h
    M lib/server/LocalProcessStream.cpp
    M lib/server/Protocol.cpp
    M lib/server/SSLLib.cpp
    A lib/server/ServerControl.h
    M lib/server/ServerStream.h
    M lib/server/Socket.cpp
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h
    M lib/server/SocketStreamTLS.cpp
    M lib/server/TLSContext.cpp
    M lib/server/WinNamedPipeStream.cpp
    M lib/server/WinNamedPipeStream.h
    M lib/server/makeprotocol.pl.in
    A lib/win32/MSG00001.bin
    R lib/win32/config.h.win32
    M lib/win32/emu.cpp
    M lib/win32/emu.h
    A lib/win32/getopt_long.cxx
    M modules.txt
    M parcels.txt
    M test/backupdiff/testbackupdiff.cpp
    M test/backupstore/testbackupstore.cpp
    M test/backupstorefix/testbackupstorefix.cpp
    M test/backupstorepatch/testbackupstorepatch.cpp
    M test/basicserver/TestCommands.cpp
    M test/basicserver/testbasicserver.cpp
    M test/basicserver/testfiles/srv4.conf
    A test/bbackupd/Makefile.extra
    M test/bbackupd/testbbackupd.cpp
    M test/bbackupd/testfiles/bbackupd.conf.in
    M test/bbackupd/testfiles/extcheck1.pl.in
    M test/bbackupd/testfiles/extcheck2.pl.in
    M test/bbackupd/testfiles/notifyscript.pl.in
    M test/bbackupd/testfiles/syncallowscript.pl.in
    M test/common/testcommon.cpp
    R test/raidfile/intercept.cpp
    M test/raidfile/testraidfile.cpp
    M test/win32/testlibwin32.cpp
    M win32.bat

  Log Message:
  -----------
  Replace trunk with chris/merge.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1843 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b69231317bb5367f32ca321ec34eee7c0fff93a9
      https://github.com/boxbackup/boxbackup/commit/b69231317bb5367f32ca321ec34eee7c0fff93a9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-19 (Wed, 19 Sep 2007)

  Changed paths:
    A distribution/boxbackup/contrib/debian/README.txt
    A distribution/boxbackup/contrib/debian/bbackupd
    A distribution/boxbackup/contrib/debian/bbstored

  Log Message:
  -----------
  Added Debian initscripts, thanks to James Stark.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1844 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 864cadf448608a10b1de816c5fcd8799228ad04e
      https://github.com/boxbackup/boxbackup/commit/864cadf448608a10b1de816c5fcd8799228ad04e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-21 (Fri, 21 Sep 2007)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in

  Log Message:
  -----------
  Fix regular expression syntax in examples, thanks Roy!


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1845 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cd7e0d031c1e4990221880a393a94fa7cbf88adc
      https://github.com/boxbackup/boxbackup/commit/cd7e0d031c1e4990221880a393a94fa7cbf88adc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-21 (Fri, 21 Sep 2007)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in

  Log Message:
  -----------
  Undo bad changes (not all exclude options take a regex).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1846 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 14a43f5ca4207a3acedd9475c44bd5bddcdde567
      https://github.com/boxbackup/boxbackup/commit/14a43f5ca4207a3acedd9475c44bd5bddcdde567
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-23 (Sun, 23 Sep 2007)

  Changed paths:
    M lib/common/ExcludeList.cpp

  Log Message:
  -----------
  Compile fix.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1859 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 28184802a0f81f161b8b02e2460667f696955600
      https://github.com/boxbackup/boxbackup/commit/28184802a0f81f161b8b02e2460667f696955600
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-09-23 (Sun, 23 Sep 2007)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Set the locale from the environment, so that international characters
may be entered when using editline.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1860 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bf794af279cbc6e960c8da1e785e78579860ac84
      https://github.com/boxbackup/boxbackup/commit/bf794af279cbc6e960c8da1e785e78579860ac84
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-08 (Mon, 08 Oct 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix crash when notifyscript is called for BackupStart or BackupFinish.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1862 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ed9bc2bc0ebcfb5a77e726f68f24607d0bcfacfe
      https://github.com/boxbackup/boxbackup/commit/ed9bc2bc0ebcfb5a77e726f68f24607d0bcfacfe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-08 (Mon, 08 Oct 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/backupclient/BackupStoreConstants.h

  Log Message:
  -----------
  Allow configuration of the time to delete redundant store locations.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1863 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a225a5bc88da636879f5cc6a8d9fc65268bf74ba
      https://github.com/boxbackup/boxbackup/commit/a225a5bc88da636879f5cc6a8d9fc65268bf74ba
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-08 (Mon, 08 Oct 2007)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Revert from hex to decimal default format after logging an account number.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1864 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 845fc13624201f0303bdcb0a7fb68f2811900c8e
      https://github.com/boxbackup/boxbackup/commit/845fc13624201f0303bdcb0a7fb68f2811900c8e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-08 (Mon, 08 Oct 2007)

  Changed paths:
    M lib/common/Configuration.cpp

  Log Message:
  -----------
  Log the name of missing configuration keys before throwing exception.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1865 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3631f52490a0b584d25e6e71428569ebe6e54a60
      https://github.com/boxbackup/boxbackup/commit/3631f52490a0b584d25e6e71428569ebe6e54a60
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-08 (Mon, 08 Oct 2007)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Die if infrastructure/makebuildenv.pl or infrastructure/makeparcels.pl fails
during configure.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1866 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 888c8dddd981a5712e1391db51b500ad5920b178
      https://github.com/boxbackup/boxbackup/commit/888c8dddd981a5712e1391db51b500ad5920b178
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-08 (Mon, 08 Oct 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp
    A test/bbackupd/testfiles/bbackupd-temploc.conf
    M test/bbackupd/testfiles/bbackupd.conf.in

  Log Message:
  -----------
  Test that redundant locations are really deleted after the time expires.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1867 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 558534bcedde754a695ae5a5f626e83e163410db
      https://github.com/boxbackup/boxbackup/commit/558534bcedde754a695ae5a5f626e83e163410db
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-08 (Mon, 08 Oct 2007)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.h
    M lib/compress/Compress.h
    M lib/server/ProtocolUncertainStream.h

  Log Message:
  -----------
  Fix wrong comments, thanks to Nestor Arocha Rodriguez.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1868 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3af8ac0d0b008869d171a68879bfa2572676feb8
      https://github.com/boxbackup/boxbackup/commit/3af8ac0d0b008869d171a68879bfa2572676feb8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-08 (Mon, 08 Oct 2007)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Revert to decimal properly, and also after logging an Object ID.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1869 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 482ca1648efe82bb3f861378d8654de84e5ed388
      https://github.com/boxbackup/boxbackup/commit/482ca1648efe82bb3f861378d8654de84e5ed388
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-08 (Mon, 08 Oct 2007)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Fix double backslashes


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1870 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c810c65880c0ac2617c13e0763f7f43170462c69
      https://github.com/boxbackup/boxbackup/commit/c810c65880c0ac2617c13e0763f7f43170462c69
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-16 (Tue, 16 Oct 2007)

  Changed paths:
    M documentation/boxbackup/adminguide.xml

  Log Message:
  -----------
  Document the need for -v options when using LogAllFileAccess.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1871 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4a843e46efc78f59d155fb1e6d0998cb27162c6d
      https://github.com/boxbackup/boxbackup/commit/4a843e46efc78f59d155fb1e6d0998cb27162c6d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Don't abort if one of the location paths doesn't exist, just print a 
warning
and continue.

Use an auto_ptr to avoid memory leaks when setting up a location fails.

(merges [1828])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1872 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e00959669af45c9aa3e3e5368005ce34b59db3c
      https://github.com/boxbackup/boxbackup/commit/3e00959669af45c9aa3e3e5368005ce34b59db3c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupd/win32/bbackupd.conf

  Log Message:
  -----------
  Update to match improved comments generated by bbackupd-config in recent
versions.

Increase maximum diffing time to 120 seconds (from 20).

Enable KeepAliveTime by default and set to 120 seconds.

Link to James O'Gorman's NotifySysAdmin.vbs VBScript which works on
Windows, replacing the default shell script.

(merges [1829])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1873 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 064ce95d988b39176829b245cb41a8f3115e669b
      https://github.com/boxbackup/boxbackup/commit/064ce95d988b39176829b245cb41a8f3115e669b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    A bin/bbackupd/win32/NotifySysAdmin.vbs

  Log Message:
  -----------
  Add script to notify sysadmin by email on backup failure on Win32, 
thanks to James O'Gorman. (merges [1830])



git-svn-id: https://www.boxbackup.org/svn/box/trunk@1874 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ceea47f02e117665b693470046c57a4672d33022
      https://github.com/boxbackup/boxbackup/commit/ceea47f02e117665b693470046c57a4672d33022
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Don't initialise the command socket thread (on Win32) until the
configuration is known.

Create the command socket (on Win32) with the specified pipe name
in the configuration file.

Commonise some code between Windows and Unix daemon startup.

(merges [1831])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1875 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a368342483ff5c4ff8ee4a74b967cf3526ac9afa
      https://github.com/boxbackup/boxbackup/commit/a368342483ff5c4ff8ee4a74b967cf3526ac9afa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  Pass the command socket name from the configuration to 
WinNamedPipeStream, to allow multiple command sockets per system.

Remove unnecessary newlines from log messages.

(merges [1832])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1876 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d84ad6378e28243f14f07e3ce5d8f5626edf67b1
      https://github.com/boxbackup/boxbackup/commit/d84ad6378e28243f14f07e3ce5d8f5626edf67b1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp
    M lib/server/WinNamedPipeStream.h

  Log Message:
  -----------
  Prepend the system-required prefix to the named pipe name from the
configuration file. (merges [1833])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1877 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 73432c78f9dc93eca1d0ec06a79f7cd8f345a30b
      https://github.com/boxbackup/boxbackup/commit/73432c78f9dc93eca1d0ec06a79f7cd8f345a30b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Don't disable logging on Win32 console. (merges [1834])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1878 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b233418c202fc10153315f54a260356ca3f235b1
      https://github.com/boxbackup/boxbackup/commit/b233418c202fc10153315f54a260356ca3f235b1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/common/BoxPortsAndFiles.h

  Log Message:
  -----------
  Remove default pipe name to prevent applications from using it. (merges 
[1835])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1879 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8cbce041dfd9fb3435f104bc5f324f86933a0b56
      https://github.com/boxbackup/boxbackup/commit/8cbce041dfd9fb3435f104bc5f324f86933a0b56
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/server/ServerControl.h

  Log Message:
  -----------
  Added function to set the named pipe name, for use by any test which 
calls HUPServer() or SendCommands(). (merges [1836])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1880 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bda648bd06b1260bab8d895cd7b5de243d83a9e3
      https://github.com/boxbackup/boxbackup/commit/bda648bd06b1260bab8d895cd7b5de243d83a9e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupd/win32/NotifySysAdmin.vbs

  Log Message:
  -----------
  Windows notify script logs an error in the System Event Log if sending 
email fails. (merges [1837])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1881 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 17c3d99732391ee8c9bb0551caf81e5db6441de6
      https://github.com/boxbackup/boxbackup/commit/17c3d99732391ee8c9bb0551caf81e5db6441de6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Add James O'Gorman's NotifySysAdmin.vbs script to client parcel on 
Win32. (merges [1838])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1882 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2ace1dfff634eaae80943d08294185f9a4183b87
      https://github.com/boxbackup/boxbackup/commit/2ace1dfff634eaae80943d08294185f9a4183b87
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupd/win32/bbackupd.conf

  Log Message:
  -----------
  Undo bad changes (not all exclude options take a regex). (merges [1847])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1883 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e591fe2f9b4526f038ec97f6c34f53a82e7a25ed
      https://github.com/boxbackup/boxbackup/commit/e591fe2f9b4526f038ec97f6c34f53a82e7a25ed
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/win32/getopt_long.cxx

  Log Message:
  -----------
  Fix compilation on MinGW. Not yet actually used on MinGW due to the
file extension, but it might be soon, if the default implementation
doesn't do what I want. (merges [1848])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1884 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b5739991dba9360d2f3d7f0e52949785a7860ac7
      https://github.com/boxbackup/boxbackup/commit/b5739991dba9360d2f3d7f0e52949785a7860ac7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Refactor out command-line option processing, so that it can be extended
by subclasses. (merges [1849])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1885 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c854df35518d50fe8fbcbdc8f65209d8d2217be5
      https://github.com/boxbackup/boxbackup/commit/c854df35518d50fe8fbcbdc8f65209d8d2217be5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Compile fix. (merges [1850])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1886 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cabb1087513590b548192b2e2d0908a728ae7834
      https://github.com/boxbackup/boxbackup/commit/cabb1087513590b548192b2e2d0908a728ae7834
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Report more useful error messages on connect() failure on Windows. 
(merges [1851])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1887 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0ed1bb067266eb84d01594a9f59f1f6e2fcad0b7
      https://github.com/boxbackup/boxbackup/commit/0ed1bb067266eb84d01594a9f59f1f6e2fcad0b7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/server/Daemon.h

  Log Message:
  -----------
  Make Main(), GetOptionString() and ProcessOption virtual so that they
can actually be overridden. (merges [1852])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1888 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 43059c745e91777dcdd9fba3d7d9dcabc31cb4ef
      https://github.com/boxbackup/boxbackup/commit/43059c745e91777dcdd9fba3d7d9dcabc31cb4ef
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupd/Win32BackupService.cpp
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/Win32ServiceFunctions.h

  Log Message:
  -----------
  Record the exit status of the daemon when running as a service, and
return it to Windows so that Windows doesn't tell the admin that
"the service did not report an error" when it stopped unexpectedly.

When failing to contact the SCM, report a textual error message as
well as the error code.

Make OurService() take a const char * instead of char *, so that we can
pass it a std::string.c_str().

InstallService creates service using "-s" option instead of "--service",
which no longer works once we use getopt() for option processing
(to follow).

(merges [1853])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1889 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3a207c2a45b82a878081e9c6a2d0a52e8b38b9e7
      https://github.com/boxbackup/boxbackup/commit/3a207c2a45b82a878081e9c6a2d0a52e8b38b9e7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  Use Daemon's delegated option processing instead of our own hacks.

Move Windows service startup, installation and removal to BackupDaemon. 
(merges [1854])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1890 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e0d1433600d4f1174fb62a89f8fa8d17daf7357
      https://github.com/boxbackup/boxbackup/commit/3e0d1433600d4f1174fb62a89f8fa8d17daf7357
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Add "-h" and "/?" options to display usage in Daemon.

Extend usage info with service commands in BackupDaemon.

Disable useless -D, -V and -k options on Windows.

(merges 1855])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1891 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 91fdcb2f6450998809a31886f83714cff74c79a2
      https://github.com/boxbackup/boxbackup/commit/91fdcb2f6450998809a31886f83714cff74c79a2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/Win32ServiceFunctions.h

  Log Message:
  -----------
  Use the specified service name when installing and removing the service.

Pass the service name on the service command line, and use it for event
log messages.

(merges [1856])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1892 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a42e67822ed82cc7d9b4b43c890115e95cab2d4d
      https://github.com/boxbackup/boxbackup/commit/a42e67822ed82cc7d9b4b43c890115e95cab2d4d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Make detailed timer debugging work on Windows as well.

Add a couple of macros to clean up the code.

(merges [1857])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1893 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8a33134b65a8135b555c5194df9cca24a14e91d0
      https://github.com/boxbackup/boxbackup/commit/8a33134b65a8135b555c5194df9cca24a14e91d0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-17 (Wed, 17 Oct 2007)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Compile fix for MSVC (Gary) (merges [1861])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1894 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d3e483b16c3ba408bc5b408376fd197da29a8ea0
      https://github.com/boxbackup/boxbackup/commit/d3e483b16c3ba408bc5b408376fd197da29a8ea0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-20 (Sat, 20 Oct 2007)

  Changed paths:
    M bin/bbackupd/win32/bbackupd.conf

  Log Message:
  -----------
  Re-merge the good bits of [1873] with James' suggested improvements.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1898 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: af7f708c6c328f184397c34606f9d4ba625f4fa8
      https://github.com/boxbackup/boxbackup/commit/af7f708c6c328f184397c34606f9d4ba625f4fa8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-10-22 (Mon, 22 Oct 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Bite the bullet and use sigaction() instead, since [1803] shows that
signal() works badly on SuckOS, and James reports that BSD doesn't
have sigset().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1900 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ab0c444206f7b2af4d0c7309aa4df820ecf36f72
      https://github.com/boxbackup/boxbackup/commit/ab0c444206f7b2af4d0c7309aa4df820ecf36f72
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-03 (Sat, 03 Nov 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  sigemptyset() is a macro on OSX 10.3, so don't prepend ::


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1902 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 664e800388bc87d29507c942770aa349a47522fa
      https://github.com/boxbackup/boxbackup/commit/664e800388bc87d29507c942770aa349a47522fa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-03 (Sat, 03 Nov 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Log exactly which file descriptors have been left open and what they are.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1903 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7d0b09ad95bb4db98a7fd728d85cf15b82c74a8e
      https://github.com/boxbackup/boxbackup/commit/7d0b09ad95bb4db98a7fd728d85cf15b82c74a8e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-03 (Sat, 03 Nov 2007)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
  Log stderr output in the test log file, and don't delete it at the
end of the test (it might be useful later, and will be overwritten
automatically)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1904 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: da2b9f88db82a2fd1e27454f36b01bd29bbc27dd
      https://github.com/boxbackup/boxbackup/commit/da2b9f88db82a2fd1e27454f36b01bd29bbc27dd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-03 (Sat, 03 Nov 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Log something before checking open file descriptors, to ensure that
the notification socket is open already on MacOS X, as it will be at
the end of the test because you can't close it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1905 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e6c68cd93507c6096189d7c1cb8a59908ee74a04
      https://github.com/boxbackup/boxbackup/commit/e6c68cd93507c6096189d7c1cb8a59908ee74a04
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-03 (Sat, 03 Nov 2007)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Remove all the extra newlines after the Fink message.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1906 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 515bf4c0a9a6c2f055f37c74c71256932475b937
      https://github.com/boxbackup/boxbackup/commit/515bf4c0a9a6c2f055f37c74c71256932475b937
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-03 (Sat, 03 Nov 2007)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
  Keep each test's log in a separate file for later review.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1907 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 56842fd3649e85b28aceb7b82129b77162bf5743
      https://github.com/boxbackup/boxbackup/commit/56842fd3649e85b28aceb7b82129b77162bf5743
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M lib/common/Test.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Move sync helper functions from test/bbackupd to Test.h to share with
other tests, particularly test/backupstorefix.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1908 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 67aa3a608ed9a3d498916e7eab37935a59321a15
      https://github.com/boxbackup/boxbackup/commit/67aa3a608ed9a3d498916e7eab37935a59321a15
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Explicitly wait for sync to finish instead of assuming that 14 seconds
is enough time.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1909 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b2148f7a4f0c69a1bcf2a37b3396d58d887d7490
      https://github.com/boxbackup/boxbackup/commit/b2148f7a4f0c69a1bcf2a37b3396d58d887d7490
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Compile fix for [1908].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1910 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 13540f71d246c02dcc7cc890247dfb693687e867
      https://github.com/boxbackup/boxbackup/commit/13540f71d246c02dcc7cc890247dfb693687e867
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Fix compare output for missing local files which are on the store.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1911 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e9c2aed4b4c96a2422ef8e83e23fca441cab8f06
      https://github.com/boxbackup/boxbackup/commit/e9c2aed4b4c96a2422ef8e83e23fca441cab8f06
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Receiving a connection is not an error.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1912 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5ae39c1e9183a56c643f5e545b61b8ceebf8dad6
      https://github.com/boxbackup/boxbackup/commit/5ae39c1e9183a56c643f5e545b61b8ceebf8dad6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Include the time taken by bbackupquery compare in the time between
syncs, used to check that the SyncAllowScript pauses backup for the
correct length of time.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1913 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fc57b013c60d3fff733bdce2d3cc87c1d534a634
      https://github.com/boxbackup/boxbackup/commit/fc57b013c60d3fff733bdce2d3cc87c1d534a634
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Ignore time differences less than 1 second when comparing attributes,
as not all filesystems can store times that accurately (e.g. OSX).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1914 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b8737d44de47edaac432ff052be3609b1eae50f3
      https://github.com/boxbackup/boxbackup/commit/b8737d44de47edaac432ff052be3609b1eae50f3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M lib/common/NamedLock.cpp

  Log Message:
  -----------
  Log an error if we fail to open the lockfile.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1915 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f508ffc3b6d0202b569e70dd1182ce353e4be5e4
      https://github.com/boxbackup/boxbackup/commit/f508ffc3b6d0202b569e70dd1182ce353e4be5e4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Compile fix for [1903].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1916 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2e56c7b0c17fc1ce664ef5f51807e161ca1d184f
      https://github.com/boxbackup/boxbackup/commit/2e56c7b0c17fc1ce664ef5f51807e161ca1d184f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Make sync_and_wait() do what it's supposed to, not just force a sync.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1917 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 121786ec9498a3e9ce2a7ae5e7204562ab0da660
      https://github.com/boxbackup/boxbackup/commit/121786ec9498a3e9ce2a7ae5e7204562ab0da660
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Wait for long enough after creating test files that they will actually
be seen as old enough to upload by bbackupd.

Fix comments.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1918 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6c6f601c4b928676c1e2281734269d51e1706e48
      https://github.com/boxbackup/boxbackup/commit/6c6f601c4b928676c1e2281734269d51e1706e48
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  unlink returns 0 on success, not on error.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1919 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4918d9b839ef1288071f407946e47fe0d14dd444
      https://github.com/boxbackup/boxbackup/commit/4918d9b839ef1288071f407946e47fe0d14dd444
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M lib/common/Utils.cpp
    M lib/common/Utils.h

  Log Message:
  -----------
  Allow ObjectExists() to take a std::string instead of just char *.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1920 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c8f845d4c53053f3798c073bf172a1bd934085b1
      https://github.com/boxbackup/boxbackup/commit/c8f845d4c53053f3798c073bf172a1bd934085b1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Really fix unlink() during restore, fixes [1919].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1921 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9432efab176bfc3dd4b8292f4aff1f6bc0175aec
      https://github.com/boxbackup/boxbackup/commit/9432efab176bfc3dd4b8292f4aff1f6bc0175aec
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-04 (Sun, 04 Nov 2007)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add some sleeps to ensure that timestamps change enough to invalidate
the directory cache in the store on filesystem with low timestamp
resolution (e.g. OSX).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1922 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3050138d9f00153b9b29b4dfedb9f28560a5ba3e
      https://github.com/boxbackup/boxbackup/commit/3050138d9f00153b9b29b4dfedb9f28560a5ba3e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-05 (Mon, 05 Nov 2007)

  Changed paths:
    M lib/common/Utils.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use lstat() instead of stat() to check whether a file exists. Thanks to
Hans-Joachim Baader for reporting this problem.
(http://lists.warhead.org.uk/pipermail/boxbackup/2007-November/003958.html)

Add a test that symlinks are not followed during restore.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1923 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0ccb5cbecef56247dc76ffc08ced17886c718b83
      https://github.com/boxbackup/boxbackup/commit/0ccb5cbecef56247dc76ffc08ced17886c718b83
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-06 (Tue, 06 Nov 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add some debugging for a keepalive timer test failure reported by
Matt Brown <matt at mbrown.co.uk> on 2007-11-06.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1924 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c59806f5cc31344fad987ffa992e7e8b77b63e94
      https://github.com/boxbackup/boxbackup/commit/c59806f5cc31344fad987ffa992e7e8b77b63e94
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-06 (Tue, 06 Nov 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  This is C++ not ruby (oops)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1925 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 39b5dae5f620a7ecb8220e9d402c8c945a1eed36
      https://github.com/boxbackup/boxbackup/commit/39b5dae5f620a7ecb8220e9d402c8c945a1eed36
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-06 (Tue, 06 Nov 2007)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Ensure that restore failure sets the return code from bbackupquery, so
that symlink following test fails.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1926 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8de09c5d1a09a25ddb8dbc970941578c6f77e7f8
      https://github.com/boxbackup/boxbackup/commit/8de09c5d1a09a25ddb8dbc970941578c6f77e7f8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-06 (Tue, 06 Nov 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Don't add a superfluous leading space to bbackupd_args.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1927 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 328c463eb9ff95b111586ba29e5647d09f9ef81f
      https://github.com/boxbackup/boxbackup/commit/328c463eb9ff95b111586ba29e5647d09f9ef81f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-06 (Tue, 06 Nov 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Pass bbackupd_args to the internal daemon (spaces are NOT supported).

Stop early if a keepalive test fails, for debugging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1928 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 18fbd8da0bc68c014eafe486d6b2d8b210b5e53b
      https://github.com/boxbackup/boxbackup/commit/18fbd8da0bc68c014eafe486d6b2d8b210b5e53b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-07 (Wed, 07 Nov 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix calling bbackupd with NO args in keepalive tests (fixes [1928])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1929 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cef2992f3f7298fe0f4ab6be94ee844c5c8c67fd
      https://github.com/boxbackup/boxbackup/commit/cef2992f3f7298fe0f4ab6be94ee844c5c8c67fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-07 (Wed, 07 Nov 2007)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Fix getopt reset for solaris and maybe other platforms. See
http://lists.debian.org/debian-glibc/2004/10/msg00070.html.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1930 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 48c24c9d837b78768019f9d11a9f52104e4c2d24
      https://github.com/boxbackup/boxbackup/commit/48c24c9d837b78768019f9d11a9f52104e4c2d24
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-07 (Wed, 07 Nov 2007)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Handle bbackupd_args without leading space.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1931 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d74c0498ad34ebafc3af8cccd26e12744fe6541c
      https://github.com/boxbackup/boxbackup/commit/d74c0498ad34ebafc3af8cccd26e12744fe6541c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-09 (Fri, 09 Nov 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Compile fix for [1931]


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1932 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a1af793516e59782e74094ace81efb50e32c238b
      https://github.com/boxbackup/boxbackup/commit/a1af793516e59782e74094ace81efb50e32c238b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-11-09 (Fri, 09 Nov 2007)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Another compile fix for [1931]


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1933 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 15960657a40073b2bfbffc2526efbb649b72d992
      https://github.com/boxbackup/boxbackup/commit/15960657a40073b2bfbffc2526efbb649b72d992
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-02 (Sun, 02 Dec 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Don't crash when trying to cleanup timers a second time (or if never
initialised) in release mode.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1934 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 33a6dea9564894cb2470c0454a7f9aea7e3e85aa
      https://github.com/boxbackup/boxbackup/commit/33a6dea9564894cb2470c0454a7f9aea7e3e85aa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-02 (Sun, 02 Dec 2007)

  Changed paths:
    M lib/common/Test.h
    M lib/server/ServerControl.h

  Log Message:
  -----------
  Slightly improve output from waiting methods.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1935 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 07c7ead083564aa185b6ca033f7de8d0a3203784
      https://github.com/boxbackup/boxbackup/commit/07c7ead083564aa185b6ca033f7de8d0a3203784
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-02 (Sun, 02 Dec 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Re-initialise the timers when aborting test run during SSL KeepAlive
tests, as main() will try to clean them up and we'll get an error
message if they're not initialised.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1936 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 01536775e01897a30baf9f3c619fbfcf380e8284
      https://github.com/boxbackup/boxbackup/commit/01536775e01897a30baf9f3c619fbfcf380e8284
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-04 (Tue, 04 Dec 2007)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Make ExtendedLogging use the logging framework so that we can view
the logs on the console along with other debug output.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1937 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a54f0ce919616fc870c731c22e22e925dbf54495
      https://github.com/boxbackup/boxbackup/commit/a54f0ce919616fc870c731c22e22e925dbf54495
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-04 (Tue, 04 Dec 2007)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Enable TRACE logging in release builds, but make it really cheap
when disabled.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1938 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bcb1aaa75bd05d92f0a1342dfa621375c12424cc
      https://github.com/boxbackup/boxbackup/commit/bcb1aaa75bd05d92f0a1342dfa621375c12424cc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-06 (Thu, 06 Dec 2007)

  Changed paths:
    M lib/backupclient/BackupStoreFileDiff.cpp

  Log Message:
  -----------
  Use new logging framework for tracing diffs.

Log each block found and each false match at DEBUG level.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1940 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f3b120c3fbef3bc3b7ba32caa369d4bc38a9d6bb
      https://github.com/boxbackup/boxbackup/commit/f3b120c3fbef3bc3b7ba32caa369d4bc38a9d6bb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-06 (Thu, 06 Dec 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix keepalive test failure: 

* zero memory buffer before use to keep consistent behaviour.

* expect a diff even if the maximum diffing time expires

* really check when we have a diff and when we don't


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1941 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 615431bae66158cb0470ccfd8d93f3d43d3b0927
      https://github.com/boxbackup/boxbackup/commit/615431bae66158cb0470ccfd8d93f3d43d3b0927
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-08 (Sat, 08 Dec 2007)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Check for optreset (fixes [1930])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1974 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 827adf7d716c5634e9e88ddac41611e0f2a3750e
      https://github.com/boxbackup/boxbackup/commit/827adf7d716c5634e9e88ddac41611e0f2a3750e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-08 (Sat, 08 Dec 2007)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Use detected CXX, AR and RANLIB from configure.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1976 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c9e2f198176d59d66357b009330bf210d0b4487f
      https://github.com/boxbackup/boxbackup/commit/c9e2f198176d59d66357b009330bf210d0b4487f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-09 (Sun, 09 Dec 2007)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Properly report when we failed to lock the account, so that changes
requiring a write lock don't proceed when we don't have one.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1977 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 807106a50767ea1ca3758e829b4df31091c6a0af
      https://github.com/boxbackup/boxbackup/commit/807106a50767ea1ca3758e829b4df31091c6a0af
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-09 (Sun, 09 Dec 2007)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Even simpler replacement for [1977].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1978 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2a2b34b986f1b8b57bfd76d591b4775086b9e8ae
      https://github.com/boxbackup/boxbackup/commit/2a2b34b986f1b8b57bfd76d591b4775086b9e8ae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-13 (Thu, 13 Dec 2007)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Include the header file where dirfd() is supposed to be defined,
otherwise we can expect not to find it and cause problems later
with our own definition.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1993 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 708cf945bb4324904e68436dc9ffd3d216f946e0
      https://github.com/boxbackup/boxbackup/commit/708cf945bb4324904e68436dc9ffd3d216f946e0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-13 (Thu, 13 Dec 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Move comment, add whitespace.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1994 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 728beadc70e57a13539618d39ccd125686e08df1
      https://github.com/boxbackup/boxbackup/commit/728beadc70e57a13539618d39ccd125686e08df1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-13 (Thu, 13 Dec 2007)

  Changed paths:
    M lib/intercept/intercept.cpp

  Log Message:
  -----------
  Restructure intercept_errornow() for clarity.

Move delay code out of macro and into intercept_errornow() to
simplify macro.

Clear hook functions in intercept_clear_setup().

Check that intercept_filename is not NULL before comparing it with
anything.

Change some TRACEx macros to BOX_TRACE.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1995 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cb2bd06f22cb43fac0c49d5a79d6c3fc20cd3eb7
      https://github.com/boxbackup/boxbackup/commit/cb2bd06f22cb43fac0c49d5a79d6c3fc20cd3eb7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-15 (Sat, 15 Dec 2007)

  Changed paths:
    M configure.ac
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Fix definition of dirfd(x) macro (autoconf doesn't like defining macros
with parameters).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1998 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2e8b1720954a02bc2b9c8915219d545d5d9c2de4
      https://github.com/boxbackup/boxbackup/commit/2e8b1720954a02bc2b9c8915219d545d5d9c2de4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-15 (Sat, 15 Dec 2007)

  Changed paths:
    M lib/server/ServerControl.h

  Log Message:
  -----------
  Report reason why killing a process failed.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@1999 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6a1288ac27d77cd34b49860f70bc054d1f8b722a
      https://github.com/boxbackup/boxbackup/commit/6a1288ac27d77cd34b49860f70bc054d1f8b722a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-15 (Sat, 15 Dec 2007)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Report line of test where failed to kill internal daemon during SSL
keepalive tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2000 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c31f710385266a7ec9951480f0ae1b66f3ad4e61
      https://github.com/boxbackup/boxbackup/commit/c31f710385266a7ec9951480f0ae1b66f3ad4e61
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-15 (Sat, 15 Dec 2007)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Allow logging with microsecond timestamps.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2001 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1a646cf6b37562f0b9b0d46d92695faa435e6bc3
      https://github.com/boxbackup/boxbackup/commit/1a646cf6b37562f0b9b0d46d92695faa435e6bc3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-15 (Sat, 15 Dec 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Add -U option to enable logging microsecond timestamps


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2002 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e198a1c49234ea1df78abfdef426e1e1502da70c
      https://github.com/boxbackup/boxbackup/commit/e198a1c49234ea1df78abfdef426e1e1502da70c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-15 (Sat, 15 Dec 2007)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Don't log our own timestamp now that Logging can do it for us with
microsecond precision.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2003 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: be4cf5930825ab08a8eaeb3d59c185fdd4cfeab7
      https://github.com/boxbackup/boxbackup/commit/be4cf5930825ab08a8eaeb3d59c185fdd4cfeab7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-15 (Sat, 15 Dec 2007)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Log sleep time and resleeps in safe_sleep (only used in tests).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2004 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3ea37fa3e1f324353f06b546567778c04cb60b1e
      https://github.com/boxbackup/boxbackup/commit/3ea37fa3e1f324353f06b546567778c04cb60b1e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-16 (Sun, 16 Dec 2007)

  Changed paths:
    M lib/intercept/intercept.cpp

  Log Message:
  -----------
  Fix readdir() intercept on FreeBSD by fixing the check for redefined
readdir (from Linux).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2006 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 46ae8280a6e469868d948db01d941d6a65277a57
      https://github.com/boxbackup/boxbackup/commit/46ae8280a6e469868d948db01d941d6a65277a57
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-16 (Sun, 16 Dec 2007)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Compile with -Wundef to warn about undefined macros.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2007 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: de6435816f415e3e175352ac14ba77af60f6309e
      https://github.com/boxbackup/boxbackup/commit/de6435816f415e3e175352ac14ba77af60f6309e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-16 (Sun, 16 Dec 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp
    M lib/common/Test.h
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Pass test options to test daemons.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2010 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d2a0f07b972d99fbe9852781c97bca2014fda5bd
      https://github.com/boxbackup/boxbackup/commit/d2a0f07b972d99fbe9852781c97bca2014fda5bd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-18 (Tue, 18 Dec 2007)

  Changed paths:
    M infrastructure/m4/ax_check_dirent_d_type.m4

  Log Message:
  -----------
  Stricter check for dirent.d_type validity (possible problems with
large file support resulting in reading the wrong part of the structure
on Slackware?)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2011 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: acb8eada2d707f4240b86b52e03cc2303ee8e0c2
      https://github.com/boxbackup/boxbackup/commit/acb8eada2d707f4240b86b52e03cc2303ee8e0c2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-18 (Tue, 18 Dec 2007)

  Changed paths:
    M configure.ac
    M lib/intercept/intercept.cpp

  Log Message:
  -----------
  Search for readdir64 and stat64 if LARGE_FILE_SUPPORT is enabled, rather
than relying on Linux redirection macros that aren't present on
Slackware (which uses asm redirects instead).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2012 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a80ad91ba71da2816b8444f2077f408c5c9f9b6
      https://github.com/boxbackup/boxbackup/commit/5a80ad91ba71da2816b8444f2077f408c5c9f9b6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-18 (Tue, 18 Dec 2007)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Better way to pass arguments to test daemons, with --test-daemon-args.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2013 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4b60689aa585dc208b939a74dd3bb3b2f0842bd4
      https://github.com/boxbackup/boxbackup/commit/4b60689aa585dc208b939a74dd3bb3b2f0842bd4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2007-12-18 (Tue, 18 Dec 2007)

  Changed paths:
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Send data back from test daemon to test code, and wait for it to be
received in the test code, to avoid synchronisation issue where the
QUIT command appears to be part of the received data. Mostly harmless,
but gives a false alarm when viewing the test output.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2014 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a5c9eb91360a2e3c11d1b64c3b801f533ef7362a
      https://github.com/boxbackup/boxbackup/commit/a5c9eb91360a2e3c11d1b64c3b801f533ef7362a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-02 (Wed, 02 Jan 2008)

  Changed paths:
    M documentation/boxbackup/bbackupctl.xml
    M documentation/boxbackup/bbackupquery.xml
    M documentation/boxbackup/bbstoreaccounts.xml
    M documentation/boxbackup/bbstored-certs.xml
    M documentation/boxbackup/bbstored-config.xml
    M documentation/boxbackup/raidfile-config.xml

  Log Message:
  -----------
  Update links to wiki.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2015 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e9ebdfce314728d8b1572ff0e73689df05cb5b8
      https://github.com/boxbackup/boxbackup/commit/7e9ebdfce314728d8b1572ff0e73689df05cb5b8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-02 (Wed, 02 Jan 2008)

  Changed paths:
    A documentation/boxbackup/box-html/bbdoc-man.css
    A documentation/boxbackup/box-html/bbdoc.css
    A documentation/boxbackup/box-html/images/arrow.png
    A documentation/boxbackup/box-html/images/bblogo.png
    A documentation/boxbackup/box-html/images/stepahead.png
    R documentation/boxbackup/html/bbdoc-man.css
    R documentation/boxbackup/html/bbdoc.css
    R documentation/boxbackup/html/images/arrow.png
    R documentation/boxbackup/html/images/bblogo.png
    R documentation/boxbackup/html/images/stepahead.png

  Log Message:
  -----------
  Rename html to box-html so that images and CSS are found automatically, 
and only one directory needs to be copied for publication.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2016 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3358a5bc41abc3daf21c36201536b46996a3a7c6
      https://github.com/boxbackup/boxbackup/commit/3358a5bc41abc3daf21c36201536b46996a3a7c6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-02 (Wed, 02 Jan 2008)

  Changed paths:
    R documentation/boxbackup/box-html/bbdoc-man.css
    R documentation/boxbackup/box-html/bbdoc.css
    R documentation/boxbackup/box-html/images/arrow.png
    R documentation/boxbackup/box-html/images/bblogo.png
    R documentation/boxbackup/box-html/images/stepahead.png
    A documentation/boxbackup/html/bbdoc-man.css
    A documentation/boxbackup/html/bbdoc.css
    A documentation/boxbackup/html/images/arrow.png
    A documentation/boxbackup/html/images/bblogo.png
    A documentation/boxbackup/html/images/stepahead.png

  Log Message:
  -----------
  Reverse that.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2017 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e175255e30a68098794f745a3da8c88a3e34a4d8
      https://github.com/boxbackup/boxbackup/commit/e175255e30a68098794f745a3da8c88a3e34a4d8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-02 (Wed, 02 Jan 2008)

  Changed paths:
    M documentation/boxbackup/Makefile

  Log Message:
  -----------
  Add a docs target that builds the docs but without making a dockit.

Don't fail if box-html/images already exists when making docs.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2018 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 625714923e8f6db7465dfc25e8f0f48af148141e
      https://github.com/boxbackup/boxbackup/commit/625714923e8f6db7465dfc25e8f0f48af148141e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-03 (Thu, 03 Jan 2008)

  Changed paths:
    M lib/intercept/intercept.cpp

  Log Message:
  -----------
  Use 64-bit versions of directory functions if we can find them, and if
we're compiling with large file support, otherwise fall back to 32-bit
versions. Hopefully fixes problems with FreeBSD without breaking other
platforms (raidfile tests pass on freebsd).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2019 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 649d01e3caf335cb04b2d61d154e636d6b557cf0
      https://github.com/boxbackup/boxbackup/commit/649d01e3caf335cb04b2d61d154e636d6b557cf0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-03 (Thu, 03 Jan 2008)

  Changed paths:
    M lib/intercept/intercept.cpp

  Log Message:
  -----------
  If the address of opendir64() is NULL that is NOT a good sign, 
regardless of whether dlerror() thinks that everything is just rosy.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2020 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 82c70069b795bfa5e3daf551a388115e848aec43
      https://github.com/boxbackup/boxbackup/commit/82c70069b795bfa5e3daf551a388115e848aec43
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-05 (Sat, 05 Jan 2008)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Print the path of the current/default configuration file in usage.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2021 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: efb4624f2b1c35977d1380a91e437b4601a054ac
      https://github.com/boxbackup/boxbackup/commit/efb4624f2b1c35977d1380a91e437b4601a054ac
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-06 (Sun, 06 Jan 2008)

  Changed paths:
    M documentation/boxbackup/instguide.xml

  Log Message:
  -----------
  Update installation guide to reflect new BDB options for configure.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2022 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 98cd224b284bd3b587bbe42d97307f0cc1c9210f
      https://github.com/boxbackup/boxbackup/commit/98cd224b284bd3b587bbe42d97307f0cc1c9210f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-12 (Sat, 12 Jan 2008)

  Changed paths:
    M lib/common/BannerText.h

  Log Message:
  -----------
  Update copyright to 2008.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2030 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3649ffdf800b8adfacb2898f80895e81e78a4730
      https://github.com/boxbackup/boxbackup/commit/3649ffdf800b8adfacb2898f80895e81e78a4730
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-14 (Mon, 14 Jan 2008)

  Changed paths:
    M distribution/boxbackup/LICENSE.txt

  Log Message:
  -----------
  Update copyright year in license file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2033 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 51125c65cb94e22b9ec3a6a6a3a01c5b36337ec7
      https://github.com/boxbackup/boxbackup/commit/51125c65cb94e22b9ec3a6a6a3a01c5b36337ec7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-16 (Wed, 16 Jan 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Don't break the name of scripts with no path in install script
(thanks to Guno Heitman for reporting this)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2034 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ddc9dde559fccaf883632b61115a03577d87c217
      https://github.com/boxbackup/boxbackup/commit/ddc9dde559fccaf883632b61115a03577d87c217
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    A contrib/cygwin/README.txt
    A contrib/cygwin/install-cygwin-service.pl.in
    A contrib/cygwin/remove-cygwin-service.sh
    A contrib/debian/README.txt
    A contrib/debian/bbackupd
    A contrib/debian/bbstored
    A contrib/redhat/README.txt
    A contrib/redhat/bbackupd
    A contrib/redhat/bbstored
    A contrib/rpm/README.txt
    A contrib/rpm/boxbackup.spec
    A contrib/solaris/bbackupd-manifest.xml.in
    A contrib/solaris/bbackupd-smf-method.in
    A contrib/solaris/bbstored-manifest.xml.in
    A contrib/solaris/bbstored-smf-method.in
    A contrib/suse/README.txt
    A contrib/suse/bbackupd
    A contrib/suse/bbstored
    R distribution/boxbackup/contrib/cygwin/README.txt
    R distribution/boxbackup/contrib/cygwin/install-cygwin-service.pl.in
    R distribution/boxbackup/contrib/cygwin/remove-cygwin-service.sh
    R distribution/boxbackup/contrib/debian/README.txt
    R distribution/boxbackup/contrib/debian/bbackupd
    R distribution/boxbackup/contrib/debian/bbstored
    R distribution/boxbackup/contrib/redhat/README.txt
    R distribution/boxbackup/contrib/redhat/bbackupd
    R distribution/boxbackup/contrib/redhat/bbstored
    R distribution/boxbackup/contrib/rpm/README.txt
    R distribution/boxbackup/contrib/rpm/boxbackup.spec
    R distribution/boxbackup/contrib/suse/README.txt
    R distribution/boxbackup/contrib/suse/bbackupd
    R distribution/boxbackup/contrib/suse/bbstored

  Log Message:
  -----------
  Move distribution/boxbackup/contrib to the root directory of the project,
where people expect to find it, and we can write our configure scripts
to customise the files therein.

Add solaris SMF framework control files, by Ben Summers.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2035 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d6ab1fb571c6e7f80bb738d1a89b49f9b5c08bfd
      https://github.com/boxbackup/boxbackup/commit/d6ab1fb571c6e7f80bb738d1a89b49f9b5c08bfd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Add -Wundef to CXXFLAGS, only if using gcc (sun cc doesn't like it)

Substitute in the contributed Solaris SMF files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2036 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9477b8fd70225666f772ea3e168f6dfe8cc16225
      https://github.com/boxbackup/boxbackup/commit/9477b8fd70225666f772ea3e168f6dfe8cc16225
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Incorporate CXXFLAGS_STRICT into CXXFLAGS


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2037 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: df82e3d0e657e19377d2630a8a640b86b33c21ec
      https://github.com/boxbackup/boxbackup/commit/df82e3d0e657e19377d2630a8a640b86b33c21ec
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Allow installing parcel contents in a directory under the prefix other than
bindir.

Allow matching partial system names.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2038 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 06486444891a50e2c8eb3bfae09abf29f61d697b
      https://github.com/boxbackup/boxbackup/commit/06486444891a50e2c8eb3bfae09abf29f61d697b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Install SMF files in the appropriate place under the prefix.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2039 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c679d0b76b2986190e3f062e52e9e808cc9a9141
      https://github.com/boxbackup/boxbackup/commit/c679d0b76b2986190e3f062e52e9e808cc9a9141
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Fix the test for HAVE_DECL_DIRFD, which is 0 on solaris, not undefined.
(I love the consistency of autotools).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2040 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 21dcf991cdbfce904cc0c29b3204b395bdab25f1
      https://github.com/boxbackup/boxbackup/commit/21dcf991cdbfce904cc0c29b3204b395bdab25f1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Don't warn about mount points which are excluded, thanks to Matt Brown for
reporting this bug.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2041 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 27a4d9b83c1b1b146ffbc40452840edca4a6c000
      https://github.com/boxbackup/boxbackup/commit/27a4d9b83c1b1b146ffbc40452840edca4a6c000
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    R documentation/boxbackup/Makefile
    R documentation/boxbackup/adminguide.xml
    R documentation/boxbackup/bb-book.xsl
    R documentation/boxbackup/bb-man.xsl
    R documentation/boxbackup/bb-nochunk-book.xsl
    R documentation/boxbackup/bbackupctl.xml
    R documentation/boxbackup/bbackupquery.xml
    R documentation/boxbackup/bbstoreaccounts.xml
    R documentation/boxbackup/bbstored-certs.xml
    R documentation/boxbackup/bbstored-config.xml
    R documentation/boxbackup/generate_except_xml.pl
    R documentation/boxbackup/html/bbdoc-man.css
    R documentation/boxbackup/html/bbdoc.css
    R documentation/boxbackup/html/images/arrow.png
    R documentation/boxbackup/html/images/bblogo.png
    R documentation/boxbackup/html/images/stepahead.png
    R documentation/boxbackup/instguide.xml
    R documentation/boxbackup/raidfile-config.xml

  Log Message:
  -----------
  Move documentation/boxbackup to documentation, part 1


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2042 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 16c266eff114e48bf2a98249fbff5a23fe31092e
      https://github.com/boxbackup/boxbackup/commit/16c266eff114e48bf2a98249fbff5a23fe31092e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    A boxbackup/Makefile
    A boxbackup/adminguide.xml
    A boxbackup/bb-book.xsl
    A boxbackup/bb-man.xsl
    A boxbackup/bb-nochunk-book.xsl
    A boxbackup/bbackupctl.xml
    A boxbackup/bbackupquery.xml
    A boxbackup/bbstoreaccounts.xml
    A boxbackup/bbstored-certs.xml
    A boxbackup/bbstored-config.xml
    A boxbackup/generate_except_xml.pl
    A boxbackup/html/bbdoc-man.css
    A boxbackup/html/bbdoc.css
    A boxbackup/html/images/arrow.png
    A boxbackup/html/images/bblogo.png
    A boxbackup/html/images/stepahead.png
    A boxbackup/instguide.xml
    A boxbackup/raidfile-config.xml

  Log Message:
  -----------
  Move documentation/boxbackup to documentation, part 2


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2043 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f00d895c0ea39c712b92175ece62e93bae2a94ee
      https://github.com/boxbackup/boxbackup/commit/f00d895c0ea39c712b92175ece62e93bae2a94ee
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    R boxbackup/Makefile
    R boxbackup/adminguide.xml
    R boxbackup/bb-book.xsl
    R boxbackup/bb-man.xsl
    R boxbackup/bb-nochunk-book.xsl
    R boxbackup/bbackupctl.xml
    R boxbackup/bbackupquery.xml
    R boxbackup/bbstoreaccounts.xml
    R boxbackup/bbstored-certs.xml
    R boxbackup/bbstored-config.xml
    R boxbackup/generate_except_xml.pl
    R boxbackup/html/bbdoc-man.css
    R boxbackup/html/bbdoc.css
    R boxbackup/html/images/arrow.png
    R boxbackup/html/images/bblogo.png
    R boxbackup/html/images/stepahead.png
    R boxbackup/instguide.xml
    R boxbackup/raidfile-config.xml
    A documentation/Makefile
    A documentation/adminguide.xml
    A documentation/bb-book.xsl
    A documentation/bb-man.xsl
    A documentation/bb-nochunk-book.xsl
    A documentation/bbackupctl.xml
    A documentation/bbackupquery.xml
    A documentation/bbstoreaccounts.xml
    A documentation/bbstored-certs.xml
    A documentation/bbstored-config.xml
    A documentation/generate_except_xml.pl
    A documentation/html/bbdoc-man.css
    A documentation/html/bbdoc.css
    A documentation/html/images/arrow.png
    A documentation/html/images/bblogo.png
    A documentation/html/images/stepahead.png
    A documentation/instguide.xml
    A documentation/raidfile-config.xml

  Log Message:
  -----------
  Move documentation/boxbackup to documentation, part 3


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2044 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1b3de346739a90e2eb41f5c45ac932d370a4e62c
      https://github.com/boxbackup/boxbackup/commit/1b3de346739a90e2eb41f5c45ac932d370a4e62c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-20 (Sun, 20 Jan 2008)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Include documentation in distribution tarballs.

Update for moved contrib directory.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2045 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 54216f5ee429e23952f5cc430e7b5cd82c632be2
      https://github.com/boxbackup/boxbackup/commit/54216f5ee429e23952f5cc430e7b5cd82c632be2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-21 (Mon, 21 Jan 2008)

  Changed paths:
    M infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Clean up distribution script.

Allow NO-LICENSE-IN-DIR to copy the dir as well.

Exclude configure-generated SMF files, leaving the original sources.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2046 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4dfbd14b7d7457bcb82cd57ff871c48e7a688e58
      https://github.com/boxbackup/boxbackup/commit/4dfbd14b7d7457bcb82cd57ff871c48e7a688e58
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-21 (Mon, 21 Jan 2008)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Use NO-LICENSE-IN-DIR alone to copy directories, removes redundancy.

Include solaris contribs.

Remove cygwin contribs as it's no longer a supported platform.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2047 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 25f039a962fcb2e3fc68da578938caf895632c22
      https://github.com/boxbackup/boxbackup/commit/25f039a962fcb2e3fc68da578938caf895632c22
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-21 (Mon, 21 Jan 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Update version and contact email address in configure.ac.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2048 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 771f1f8216807ec2a2856cf7db47819405f30520
      https://github.com/boxbackup/boxbackup/commit/771f1f8216807ec2a2856cf7db47819405f30520
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-21 (Mon, 21 Jan 2008)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Fix DIRFD properly


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2049 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 443ce66139b225bc44e9234ed17fb79154c04097
      https://github.com/boxbackup/boxbackup/commit/443ce66139b225bc44e9234ed17fb79154c04097
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-22 (Tue, 22 Jan 2008)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Use const char pointers to silence sun CC warnings.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2050 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d4159a3e1423115d322e0e278f94984afc3b5d79
      https://github.com/boxbackup/boxbackup/commit/d4159a3e1423115d322e0e278f94984afc3b5d79
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-22 (Tue, 22 Jan 2008)

  Changed paths:
    M lib/common/DebugAssertFailed.cpp

  Log Message:
  -----------
  Silence const char warnings, part deux.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2051 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 06bfac50fb50968c656a68bed4c5bb6aa86d2f7c
      https://github.com/boxbackup/boxbackup/commit/06bfac50fb50968c656a68bed4c5bb6aa86d2f7c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-22 (Tue, 22 Jan 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Sun CC compile fix: doesn't like assigning an iterator to a const_iterator.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2052 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a0e7eb25aa436ed08c6db34c25454aebde49ca61
      https://github.com/boxbackup/boxbackup/commit/a0e7eb25aa436ed08c6db34c25454aebde49ca61
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-22 (Tue, 22 Jan 2008)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  memleakfinder_atexit() should be extern "C" to silence warnings.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2053 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d21d20c1faea892577478d51f85dc9d66ec4f79d
      https://github.com/boxbackup/boxbackup/commit/d21d20c1faea892577478d51f85dc9d66ec4f79d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-22 (Tue, 22 Jan 2008)

  Changed paths:
    M configure.ac
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Detect whether struct DIR has d_fd or dd_fd member and define the
dirfd() macro accordingly.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2054 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 55b4d1b76ce5535452e41bc4996da929711737d6
      https://github.com/boxbackup/boxbackup/commit/55b4d1b76ce5535452e41bc4996da929711737d6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-23 (Wed, 23 Jan 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Report the $build_os when making build environment, useful for debugging
platforms like GNU/kFreeBSD where we don't yet detect the proper type
of make to run.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2055 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7c88f83d34e2416ed82bfff5bd8c1f30619c9643
      https://github.com/boxbackup/boxbackup/commit/7c88f83d34e2416ed82bfff5bd8c1f30619c9643
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-23 (Wed, 23 Jan 2008)

  Changed paths:
    M test/bbackupd/testfiles/extcheck1.pl.in
    M test/bbackupd/testfiles/extcheck2.pl.in

  Log Message:
  -----------
  Ignore terminal type error messages from bbackupquery, may happen
in Debian buildds.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2056 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8111bb366961c2f8966b7ccc0161aa36c14697cf
      https://github.com/boxbackup/boxbackup/commit/8111bb366961c2f8966b7ccc0161aa36c14697cf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-23 (Wed, 23 Jan 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Compile fix for [2055].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2057 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2967cdd028a2ca8a985013885d180c39789cb351
      https://github.com/boxbackup/boxbackup/commit/2967cdd028a2ca8a985013885d180c39789cb351
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-23 (Wed, 23 Jan 2008)

  Changed paths:
    M bin/bbackupquery/makedocumentation.pl.in

  Log Message:
  -----------
  Fix warnings on HPPA due to assigning static strings to non-const
char *. Thanks to Reinhard Tartler and the Debian project buildds.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2058 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4d6654166ed667b20bab3d16f3bd8e757f6c8d52
      https://github.com/boxbackup/boxbackup/commit/4d6654166ed667b20bab3d16f3bd8e757f6c8d52
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-23 (Wed, 23 Jan 2008)

  Changed paths:
    M infrastructure/m4/ax_check_syscall_lseek.m4
    M lib/intercept/intercept.cpp

  Log Message:
  -----------
  Fix raidfile tests on FreeBSD 7


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2059 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a218a2eb141ff3bca27d9861db59a6ba810e29aa
      https://github.com/boxbackup/boxbackup/commit/a218a2eb141ff3bca27d9861db59a6ba810e29aa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-28 (Mon, 28 Jan 2008)

  Changed paths:
    M infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Use the path to PERL from configure, reverts part of [1702].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2060 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ca1de615bc4e662a67571ed3135f82919364b590
      https://github.com/boxbackup/boxbackup/commit/ca1de615bc4e662a67571ed3135f82919364b590
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-28 (Mon, 28 Jan 2008)

  Changed paths:
    M configure.ac
    R lib/common/BoxPortsAndFiles.h
    A lib/common/BoxPortsAndFiles.h.in

  Log Message:
  -----------
  Change the default sysconfdir to /etc.

Generate expanded versions of sysconfdir and localstatedir, as well as
bindir.

Expand variables in BoxPortsAndFiles.h.in.

Changed default configuration dir in BoxPortsAndFiles.h.in to use
@sysconfdir_expanded@/box, defaulting to /etc/box as before. But now
you can override it with something like --sysconfdir=/usr/etc
(to place config files in /usr/etc/box).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2061 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 63e4ab79b1593f280a018d4bbf50e504d6ec51dc
      https://github.com/boxbackup/boxbackup/commit/63e4ab79b1593f280a018d4bbf50e504d6ec51dc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-28 (Mon, 28 Jan 2008)

  Changed paths:
    M lib/raidfile/raidfile-config.in

  Log Message:
  -----------
  Use @sysconfdir_expanded@ for default config file location.

Add some missing semicolons (optional but nicer).

Reformat usage message for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2062 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b4b4f730a21be6140c378a9d26091afee721847
      https://github.com/boxbackup/boxbackup/commit/0b4b4f730a21be6140c378a9d26091afee721847
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-28 (Mon, 28 Jan 2008)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in
    M bin/bbstored/bbstored-config.in

  Log Message:
  -----------
  Use @sysconfdir_expanded@ as default location for configuration files,
instead of /etc/box. Thanks to Eric Cronin for pointing this out.

Likewise, use @localstatedir_expanded@ as default location for temporary
state (*.pid and bbackupd.sock), defaults to /usr/local/var, although
/var/run may be better on LFS systems.

Likewise, use @bindir_expanded@ for binaries.

Reformat usage text for readability.

Remove the message that "Directories not checked against mountpoints",
as they now are.

Report the type of the unrecognised message in the "unknown error" part
of the default NotifyScript.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2063 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f819ce61cb51f5125780de8dde272d98945588a7
      https://github.com/boxbackup/boxbackup/commit/f819ce61cb51f5125780de8dde272d98945588a7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-29 (Tue, 29 Jan 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Make the parcel install scripts use $DESTDIR from the environment, to
help porters and packagers.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2064 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7af12439cd2b9746863f75e0f4a0f3d1394ff2a8
      https://github.com/boxbackup/boxbackup/commit/7af12439cd2b9746863f75e0f4a0f3d1394ff2a8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-29 (Tue, 29 Jan 2008)

  Changed paths:
    M contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Change the location of contrib files out of distribution/boxbackup.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2065 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 101b8a43b5372770f9f68a1915afb35f06f82638
      https://github.com/boxbackup/boxbackup/commit/101b8a43b5372770f9f68a1915afb35f06f82638
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-29 (Tue, 29 Jan 2008)

  Changed paths:
    M configure.ac
    R contrib/debian/bbackupd
    A contrib/debian/bbackupd.in
    R contrib/debian/bbstored
    A contrib/debian/bbstored.in
    R contrib/redhat/bbackupd
    A contrib/redhat/bbackupd.in
    R contrib/redhat/bbstored
    A contrib/redhat/bbstored.in
    M contrib/solaris/bbackupd-smf-method.in
    M contrib/solaris/bbstored-smf-method.in
    R contrib/suse/bbackupd
    A contrib/suse/bbackupd.in
    R contrib/suse/bbstored
    A contrib/suse/bbstored.in

  Log Message:
  -----------
  Update contributed scripts to use autoconf substitution for the
paths to binaries, configuration files and local state files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2066 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8eb777e369b546814ab20c76077b0856a3a85311
      https://github.com/boxbackup/boxbackup/commit/8eb777e369b546814ab20c76077b0856a3a85311
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-29 (Tue, 29 Jan 2008)

  Changed paths:
    M lib/common/BoxConfig-MSVC.h

  Log Message:
  -----------
  Update version on MSVC config.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2067 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7917c833c2832de78e7aaff9bcab66cd17679a77
      https://github.com/boxbackup/boxbackup/commit/7917c833c2832de78e7aaff9bcab66cd17679a77
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-29 (Tue, 29 Jan 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Set the default localstatedir to /var/run, which is probably more common
than /usr/local/var.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2070 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8e2753372e077e013506595e44c517aa67f1b232
      https://github.com/boxbackup/boxbackup/commit/8e2753372e077e013506595e44c517aa67f1b232
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-29 (Tue, 29 Jan 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Fix for sysconfdir and localstatedir options to configure



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2077 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d8e91e967f179e47cffc33a2d4731f0060ebd6aa
      https://github.com/boxbackup/boxbackup/commit/d8e91e967f179e47cffc33a2d4731f0060ebd6aa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-31 (Thu, 31 Jan 2008)

  Changed paths:
    M bin/bbstored/BackupContext.cpp

  Log Message:
  -----------
  Add object cache debugging traces to bbstored.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2079 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6a64dcb0e5a58535515faa3ea2a87373e905a775
      https://github.com/boxbackup/boxbackup/commit/6a64dcb0e5a58535515faa3ea2a87373e905a775
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-31 (Thu, 31 Jan 2008)

  Changed paths:
    M configure.ac
    M lib/common/FileModificationTime.h

  Log Message:
  -----------
  Add support for nanosecond timestamps in struct stat on Linux.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2080 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 436f75bf6ddd64d54c53c6740b1f22ca5426a234
      https://github.com/boxbackup/boxbackup/commit/436f75bf6ddd64d54c53c6740b1f22ca5426a234
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-31 (Thu, 31 Jan 2008)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Add support for microsecond timestamps and PID logging on console log
for daemons.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2081 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a9b99788ac282bc2f5441c8d8631ae0256dee2ae
      https://github.com/boxbackup/boxbackup/commit/a9b99788ac282bc2f5441c8d8631ae0256dee2ae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-31 (Thu, 31 Jan 2008)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Add support for verbosity control in tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2082 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9c2574cdee0147f733df6c1a09d97ec89cb3947d
      https://github.com/boxbackup/boxbackup/commit/9c2574cdee0147f733df6c1a09d97ec89cb3947d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-31 (Thu, 31 Jan 2008)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add a sleep after every access to the read-only connection, to ensure that
subsequent changes in the other connection get a new whole-second timestamp
and hopefully fix test failures reported by Alex Harper on MacOS X.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2083 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0fd5199d50973af42102f3658556b4f42251959b
      https://github.com/boxbackup/boxbackup/commit/0fd5199d50973af42102f3658556b4f42251959b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-31 (Thu, 31 Jan 2008)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Use logging framework for streaming messages.

Fix double logging of protocol commands on the server side.

Log protocol errors at WARNING level.

Fix typos in comments and variable names.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2084 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8d439d1841477a1dc54c6339e8c4932337dbdad6
      https://github.com/boxbackup/boxbackup/commit/8d439d1841477a1dc54c6339e8c4932337dbdad6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-01-31 (Thu, 31 Jan 2008)

  Changed paths:
    M lib/raidfile/RaidFileUtil.cpp

  Log Message:
  -----------
  Always add file size to timestamp in release mode, to help caching work
better on machines which claim to support high-res timestamps but actually
don't (e.g. Linux, MacOS X).

Never do so in debug mode, to help catch problems with the tests failing
to sleep long enough between operations on different connections that
can break caching subtly and randomly.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2085 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4f97eb9943612646678358e623b35c717e8f0b23
      https://github.com/boxbackup/boxbackup/commit/4f97eb9943612646678358e623b35c717e8f0b23
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-02-01 (Fri, 01 Feb 2008)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
  Add help text on test failures, thanks to Stuart Hickinbottom.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2086 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 28efeaa82f7407f90b0027c2c127d1a850407367
      https://github.com/boxbackup/boxbackup/commit/28efeaa82f7407f90b0027c2c127d1a850407367
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-02-01 (Fri, 01 Feb 2008)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
  Compile fix to [2086].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2087 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8dfeb5520e0052f0c987e2cc91fc970f5bdd8f87
      https://github.com/boxbackup/boxbackup/commit/8dfeb5520e0052f0c987e2cc91fc970f5bdd8f87
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-02-07 (Thu, 07 Feb 2008)

  Changed paths:
    M lib/server/SSLLib.cpp
    M lib/server/SSLLib.h
    M lib/server/SocketStreamTLS.cpp
    M lib/server/TLSContext.cpp

  Log Message:
  -----------
  Improve error messages when loading SSL key files fails.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2090 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7271336221b09c2e3988b8c16f950f21c6edb418
      https://github.com/boxbackup/boxbackup/commit/7271336221b09c2e3988b8c16f950f21c6edb418
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-02-12 (Tue, 12 Feb 2008)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in

  Log Message:
  -----------
  Correct typo in the NotifySysadmin.sh generation



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2091 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 217b125799723e259ab3232749399103b3a9880d
      https://github.com/boxbackup/boxbackup/commit/217b125799723e259ab3232749399103b3a9880d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-02-22 (Fri, 22 Feb 2008)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Disable -P option and showing PID in Logging on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2092 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0d6188e859ff2ce6d9ed346708b62b064dc36272
      https://github.com/boxbackup/boxbackup/commit/0d6188e859ff2ce6d9ed346708b62b064dc36272
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-02-25 (Mon, 25 Feb 2008)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Don't try to define our own dirfd() macro on platforms where interception
is impossible (such as win32) because it's not needed and fails on win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2093 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4892d7a59e3ca8ef698791e8e21f5a4822b6167a
      https://github.com/boxbackup/boxbackup/commit/4892d7a59e3ca8ef698791e8e21f5a4822b6167a
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-02-27 (Wed, 27 Feb 2008)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in
    M bin/bbstored/bbstored-config.in
    M configure.ac
    M contrib/debian/bbackupd.in
    M contrib/debian/bbstored.in
    M contrib/redhat/bbackupd.in
    M contrib/redhat/bbstored.in
    M contrib/rpm/boxbackup.spec
    M contrib/solaris/bbackupd-smf-method.in
    M contrib/solaris/bbstored-smf-method.in
    M contrib/suse/bbackupd.in
    M contrib/suse/bbstored.in
    M documentation/adminguide.xml
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  * Move all commands from bin to sbin on Unix platforms
* Update all associated docs and contributed distribution files



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2094 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b67290637f60ce9f10cd3a9ef7bafd25e1392bac
      https://github.com/boxbackup/boxbackup/commit/b67290637f60ce9f10cd3a9ef7bafd25e1392bac
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-02-28 (Thu, 28 Feb 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Woops, forgot to substitute sbindir_expanded.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2095 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bbaa0afbbaada76e2c7c12f742591a2007d90d04
      https://github.com/boxbackup/boxbackup/commit/bbaa0afbbaada76e2c7c12f742591a2007d90d04
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-01 (Sat, 01 Mar 2008)

  Changed paths:
    M test/backupstore/testbackupstore.cpp
    M test/backupstorefix/testbackupstorefix.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Delete bbstored PID file after killing the daemon on Windows, as the 
daemon can't clean up after itself.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2096 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f48bf9a8ee39d2354445c697ad05d66f549d509b
      https://github.com/boxbackup/boxbackup/commit/f48bf9a8ee39d2354445c697ad05d66f549d509b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-01 (Sat, 01 Mar 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Disable another symlink test on Win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2097 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5c2e078a4488d87912cb84cea4f08d72e5bd0aaa
      https://github.com/boxbackup/boxbackup/commit/5c2e078a4488d87912cb84cea4f08d72e5bd0aaa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-01 (Sat, 01 Mar 2008)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Flush standard output when finishing test, useful on Windows where it 
happens rarely and test output can end up below the PASSED line and 
confuse the runtest script.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2098 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f786003fc987ad91c0f8b5c06d9cce77f7f15726
      https://github.com/boxbackup/boxbackup/commit/f786003fc987ad91c0f8b5c06d9cce77f7f15726
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-01 (Sat, 01 Mar 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h
    M lib/server/Daemon.h

  Log Message:
  -----------
  Workaround for (buggy?) gcc not finding inherited Main method on 
Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2099 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 192a5ca7dedb1a6b6cdc17dd27908af7a51c069b
      https://github.com/boxbackup/boxbackup/commit/192a5ca7dedb1a6b6cdc17dd27908af7a51c069b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-01 (Sat, 01 Mar 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix multiple connections to server (not supported on Windows) in test 
that redundant locations are deleted on time.

Commonise some more login code to simplify tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2100 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4340676f9117996ff5ae1eab0cf9374c994e83e2
      https://github.com/boxbackup/boxbackup/commit/4340676f9117996ff5ae1eab0cf9374c994e83e2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-01 (Sat, 01 Mar 2008)

  Changed paths:
    M docs/backup/win32_build_on_linux_using_mingw.txt

  Log Message:
  -----------
  Fix some mistakes in the cross-compile document, suggest a better way to 
configure Box on Linux for MinGW.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2101 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a498a699939d0e3131de7a09f0908f699264cf33
      https://github.com/boxbackup/boxbackup/commit/a498a699939d0e3131de7a09f0908f699264cf33
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-01 (Sat, 01 Mar 2008)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Add support for logging just to syslog (not console) at a given 
priority.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2102 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a9a9ffca09cf80f424c9eeb51c952e6c53b42e54
      https://github.com/boxbackup/boxbackup/commit/a9a9ffca09cf80f424c9eeb51c952e6c53b42e54
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-01 (Sat, 01 Mar 2008)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Only log daemon banner to syslog, not to console, as this is probably 
what users expect (and they have no way to control verbosity on the 
console this early).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2103 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2d4e4bf388b1ec56a9a04c63d3b8932e0612de7b
      https://github.com/boxbackup/boxbackup/commit/2d4e4bf388b1ec56a9a04c63d3b8932e0612de7b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-01 (Sat, 01 Mar 2008)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Disable WSACleanup() in bbackupquery as I get an abnormal program 
termination on it during testbbackupd.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2104 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e18dedb6ce5cad479fc8f312aa7f1d2d9510d568
      https://github.com/boxbackup/boxbackup/commit/e18dedb6ce5cad479fc8f312aa7f1d2d9510d568
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-13 (Thu, 13 Mar 2008)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp

  Log Message:
  -----------
  Ignore ERR_NO_DATA while writing to control socket on Windows, as it 
just means that the Pope is being closed.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2105 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b59b9c422c213b123188b0deb50dfd953781d360
      https://github.com/boxbackup/boxbackup/commit/b59b9c422c213b123188b0deb50dfd953781d360
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-13 (Thu, 13 Mar 2008)

  Changed paths:
    M lib/server/WinNamedPipeStream.cpp

  Log Message:
  -----------
  Fix compile error.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2106 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8a405fa4cb070386f9d22e79ed0775ef3ff42416
      https://github.com/boxbackup/boxbackup/commit/8a405fa4cb070386f9d22e79ed0775ef3ff42416
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-13 (Thu, 13 Mar 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix missing space before bbstored_args in test to make them work 
properly.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2107 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 13d4fc4f6615f05c2e77a1da586164b83fc993b2
      https://github.com/boxbackup/boxbackup/commit/13d4fc4f6615f05c2e77a1da586164b83fc993b2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-13 (Thu, 13 Mar 2008)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
  Remove \r from test output so that PASSED tests are correctly detected 
as PASSED on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2108 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 686f0863714a8a9de42769a313837e9d7cd983d1
      https://github.com/boxbackup/boxbackup/commit/686f0863714a8a9de42769a313837e9d7cd983d1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-13 (Thu, 13 Mar 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Use logging framework rather than printf to log when messages are sent 
to the control client.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2109 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 95589902d5fa4dc1f9131d6ca72457766bd97010
      https://github.com/boxbackup/boxbackup/commit/95589902d5fa4dc1f9131d6ca72457766bd97010
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-13 (Thu, 13 Mar 2008)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Add the -K option to Daemons on Windows to keep them quiet even though 
they don't fork by themselves. This is because the tests are able to run 
them in the background, and if they keep the console open then they will 
continue to spew to it. This option is normally only useful when running 
the daemon in a test.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2110 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 990fbdd9840fa71f9ea32a3fba084cd2905e2ff0
      https://github.com/boxbackup/boxbackup/commit/990fbdd9840fa71f9ea32a3fba084cd2905e2ff0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-13 (Thu, 13 Mar 2008)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Run daemons quietly (with -K) in tests under Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2111 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f7f0ed4fbc767fad76128a6e1795fcbdeec2b884
      https://github.com/boxbackup/boxbackup/commit/f7f0ed4fbc767fad76128a6e1795fcbdeec2b884
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-19 (Wed, 19 Mar 2008)

  Changed paths:
    M documentation/bbackupctl.xml
    M documentation/bbackupquery.xml
    M documentation/bbstoreaccounts.xml
    M documentation/bbstored-certs.xml
    M documentation/bbstored-config.xml
    M documentation/raidfile-config.xml

  Log Message:
  -----------
   * Update man sections
 * Correct typos



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2112 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b620f9afacee2319a4fb93eabb5ea59aa1dda2ae
      https://github.com/boxbackup/boxbackup/commit/b620f9afacee2319a4fb93eabb5ea59aa1dda2ae
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-25 (Tue, 25 Mar 2008)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in
    M bin/bbstored/bbstored-config.in
    M configure.ac

  Log Message:
  -----------
  Correct sysconfdir and localstatedir as they weren't doing what they were supposed to.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2113 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 72af3517110791cdef024979d4752187788955f2
      https://github.com/boxbackup/boxbackup/commit/72af3517110791cdef024979d4752187788955f2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-28 (Fri, 28 Mar 2008)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Reduce log level of message from server child from WARNING to NOTICE, as
it's just the IP and port of the remote side of the connection.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2114 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0a66bba9f9aeb93a13e58d0a5fd155cab4ca653e
      https://github.com/boxbackup/boxbackup/commit/0a66bba9f9aeb93a13e58d0a5fd155cab4ca653e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-28 (Fri, 28 Mar 2008)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M lib/backupclient/BackupClientRestore.cpp
    M lib/common/BoxTime.cpp
    M lib/common/EventWatchFilesystemObject.cpp
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h
    M lib/common/Guards.h
    M lib/common/Logging.h
    M lib/server/Daemon.cpp
    M lib/server/ServerControl.h
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Improve logging with macros that consistently output strerror(errno) and
errno, replacing almost all use of strerror() in the main code.

Log a more detailed error message before throwing an exception for some
more system call failures.

Make FileStream store its filename on all platforms, not just Windows.

Wrap some long lines at less than 80 characters to improve readability.

Fix some minor violations of coding standard (white space) and a typo
in a comment.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2115 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 11cb44cc2f017f355f468b860270ce995d6d1f56
      https://github.com/boxbackup/boxbackup/commit/11cb44cc2f017f355f468b860270ce995d6d1f56
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-28 (Fri, 28 Mar 2008)

  Changed paths:
    A .hgignore
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/backupstore/BackupStoreConfigVerify.cpp
    M lib/common/Configuration.cpp
    M lib/common/Configuration.h
    M lib/raidfile/RaidFileController.cpp
    M lib/server/Daemon.h
    M lib/server/ServerStream.h
    M lib/server/ServerTLS.h
    M test/basicserver/testbasicserver.cpp
    M test/bbackupd/testbbackupd.cpp
    M test/bbackupd/testfiles/bbackupd-temploc.conf
    M test/bbackupd/testfiles/bbackupd.conf.in
    M test/bbackupd/testfiles/bbstored.conf
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Allow configuration of the server port that the client will connect to 
(bbackupd and bbackupquery).

Redesign ConfigurationVerify to use classes instead of structs.

Use port 22011 instead of 2201 during tests, to reduce the chances of 
conflicting with a running bbstored or other process.

Ignore autogen_* in svn:ignore everywhere instead of individual per-file 
ignores.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2116 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1ca80f475d66fb4c7bdf0bc93751d4a5174918cb
      https://github.com/boxbackup/boxbackup/commit/1ca80f475d66fb4c7bdf0bc93751d4a5174918cb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-29 (Sat, 29 Mar 2008)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Close after logging socket error, so that we don't lose errno.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2117 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 748c9ba9008600022e55265fcb846c9beeaac556
      https://github.com/boxbackup/boxbackup/commit/748c9ba9008600022e55265fcb846c9beeaac556
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-29 (Sat, 29 Mar 2008)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  No need to save errno any more.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2118 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2d25aadfae0a4b8ee9197609368172e192075a5c
      https://github.com/boxbackup/boxbackup/commit/2d25aadfae0a4b8ee9197609368172e192075a5c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-29 (Sat, 29 Mar 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupContext.cpp
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFilenameClear.cpp
    M lib/backupclient/BackupStoreObjectDump.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreCheckData.cpp
    M lib/common/Box.h
    M lib/common/Configuration.cpp
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/Logging.h
    M lib/common/PartialReadStream.cpp
    M lib/common/Utils.cpp
    M lib/compress/Compress.h
    M lib/compress/CompressStream.cpp
    M lib/crypto/CipherContext.cpp
    M lib/intercept/intercept.cpp
    M lib/raidfile/RaidFileWrite.cpp
    M lib/server/ProtocolUncertainStream.cpp

  Log Message:
  -----------
  Replace all remaining use of TRACEx() macros with logging framework.

Remove the old TRACEx macros to catch any remaining uses.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2119 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b9af05a2e3a68d703c559efd527de2c11f442a3f
      https://github.com/boxbackup/boxbackup/commit/b9af05a2e3a68d703c559efd527de2c11f442a3f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-03-30 (Sun, 30 Mar 2008)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Fix a bug where trying to log a variable called "line" would log the address
of the std::ostringstream instead (duh, I hate macros).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2120 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 09375aae1b959aba95722060f6734bba790ef0cb
      https://github.com/boxbackup/boxbackup/commit/09375aae1b959aba95722060f6734bba790ef0cb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-03 (Thu, 03 Apr 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/common/Utils.cpp
    M lib/common/Utils.h

  Log Message:
  -----------
  Make usage output (from bbstoreaccounts info and bbackupquery usage)
consistent and easier to read, with blocks, B/kB/MB/GB, % and an ASCII
bar graph.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2121 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 77dedfd61e187e6e34f03b3e6bf9346893080f9b
      https://github.com/boxbackup/boxbackup/commit/77dedfd61e187e6e34f03b3e6bf9346893080f9b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-04 (Fri, 04 Apr 2008)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp
    M test/compress/testcompress.cpp
    M test/raidfile/testraidfile.cpp

  Log Message:
  -----------
  Remove uses of obsolete TRACE macros in tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2122 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 056428e5e2db2c070f4e93c518b6518f6b9cac44
      https://github.com/boxbackup/boxbackup/commit/056428e5e2db2c070f4e93c518b6518f6b9cac44
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-04 (Fri, 04 Apr 2008)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  Add missing space in trace output.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2123 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 77770f3e594f5775f51933657d418b5fef8ca61a
      https://github.com/boxbackup/boxbackup/commit/77770f3e594f5775f51933657d418b5fef8ca61a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-04 (Fri, 04 Apr 2008)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/bbackupd-config.in
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupContext.cpp
    M bin/bbstored/bbstored-config.in
    M configure.ac
    M documentation/bbackupctl.xml
    M documentation/bbackupquery.xml
    M documentation/bbstoreaccounts.xml
    M documentation/bbstored-certs.xml
    M documentation/bbstored-config.xml
    M documentation/raidfile-config.xml
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFilenameClear.cpp
    M lib/backupclient/BackupStoreObjectDump.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreCheckData.cpp
    M lib/backupstore/BackupStoreConfigVerify.cpp
    M lib/common/Box.h
    M lib/common/BoxTime.cpp
    M lib/common/Configuration.cpp
    M lib/common/Configuration.h
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/EventWatchFilesystemObject.cpp
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h
    M lib/common/Guards.h
    M lib/common/Logging.h
    M lib/common/PartialReadStream.cpp
    M lib/common/Utils.cpp
    M lib/common/Utils.h
    M lib/compress/Compress.h
    M lib/compress/CompressStream.cpp
    M lib/crypto/CipherContext.cpp
    M lib/intercept/intercept.cpp
    M lib/raidfile/RaidFileController.cpp
    M lib/raidfile/RaidFileWrite.cpp
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h
    M lib/server/ProtocolUncertainStream.cpp
    M lib/server/ServerControl.h
    M lib/server/ServerStream.h
    M lib/server/ServerTLS.h
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp
    M test/backupdiff/testbackupdiff.cpp
    M test/basicserver/testbasicserver.cpp
    M test/bbackupd/testbbackupd.cpp
    M test/bbackupd/testfiles/bbackupd-temploc.conf
    M test/bbackupd/testfiles/bbackupd.conf.in
    M test/bbackupd/testfiles/bbstored.conf
    M test/common/testcommon.cpp
    M test/compress/testcompress.cpp
    M test/raidfile/testraidfile.cpp

  Log Message:
  -----------
  Tailorization
Import of the upstream sources from
 Repository: http://localhost:8000/
       Kind: hg
   Revision: 7807b7768163f1c2537756abe5416063989cebb1


Original author: tailor at rocio.int.aidworld.org
Date: 2008-03-16 19:44:36+00:00

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2124 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9ee8f17049fc8ce3b56aaca648a8e5b593fe62e0
      https://github.com/boxbackup/boxbackup/commit/9ee8f17049fc8ce3b56aaca648a8e5b593fe62e0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-04 (Fri, 04 Apr 2008)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  [hg-svn @ 9203d99fcfd5a6c90994bda6397aa55d9ac64458]
Use streams to format block counts and sizes in bbstoreaccounts, merges [2088].

Original author: chris at rocio.int.aidworld.org
Date: 2008-03-16 19:50:06+00:00

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2125 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0ef0c5782dac2373e25a372727b9ce1ef8d2f942
      https://github.com/boxbackup/boxbackup/commit/0ef0c5782dac2373e25a372727b9ce1ef8d2f942
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-04 (Fri, 04 Apr 2008)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  [hg-svn @ 30cb6d2b5a2f18881f50ce8df5f7bd9e429f9fbb]
Add command-line help (usage info) to bbstoreaccounts, merges [2089].

Original author: chris at rocio.int.aidworld.org
Date: 2008-03-16 19:51:27+00:00

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2126 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 622dbcdab11905ef887c63b60684df4efec34c37
      https://github.com/boxbackup/boxbackup/commit/622dbcdab11905ef887c63b60684df4efec34c37
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-04 (Fri, 04 Apr 2008)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupd/bbackupd-config.in
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupContext.cpp
    M bin/bbstored/bbstored-config.in
    M configure.ac
    M documentation/bbackupctl.xml
    M documentation/bbackupquery.xml
    M documentation/bbstoreaccounts.xml
    M documentation/bbstored-certs.xml
    M documentation/bbstored-config.xml
    M documentation/raidfile-config.xml
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFilenameClear.cpp
    M lib/backupclient/BackupStoreObjectDump.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreCheckData.cpp
    M lib/backupstore/BackupStoreConfigVerify.cpp
    M lib/common/Box.h
    M lib/common/BoxTime.cpp
    M lib/common/Configuration.cpp
    M lib/common/Configuration.h
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/EventWatchFilesystemObject.cpp
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h
    M lib/common/Guards.h
    M lib/common/Logging.h
    M lib/common/PartialReadStream.cpp
    M lib/common/Utils.cpp
    M lib/common/Utils.h
    M lib/compress/Compress.h
    M lib/compress/CompressStream.cpp
    M lib/crypto/CipherContext.cpp
    M lib/intercept/intercept.cpp
    M lib/raidfile/RaidFileController.cpp
    M lib/raidfile/RaidFileWrite.cpp
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h
    M lib/server/ProtocolUncertainStream.cpp
    M lib/server/ServerControl.h
    M lib/server/ServerStream.h
    M lib/server/ServerTLS.h
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp
    M test/backupdiff/testbackupdiff.cpp
    M test/basicserver/testbasicserver.cpp
    M test/bbackupd/testbbackupd.cpp
    M test/bbackupd/testfiles/bbackupd-temploc.conf
    M test/bbackupd/testfiles/bbackupd.conf.in
    M test/bbackupd/testfiles/bbstored.conf
    M test/common/testcommon.cpp
    M test/compress/testcompress.cpp
    M test/raidfile/testraidfile.cpp

  Log Message:
  -----------
  Undo mangling by tailor


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2127 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5dc995696ce18d1d0360069477ecce97a75024b4
      https://github.com/boxbackup/boxbackup/commit/5dc995696ce18d1d0360069477ecce97a75024b4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-04 (Fri, 04 Apr 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Make autoconf check for zlib.h and fail if we don't have it, merges 
[1988].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2128 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2678cd5ceb5cf790f719621f96be40d57fbb4cbe
      https://github.com/boxbackup/boxbackup/commit/2678cd5ceb5cf790f719621f96be40d57fbb4cbe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-05 (Sat, 05 Apr 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  PCRE 7.x requires us to #define PCRE_STATIC to get the right symbol
names, merges [1996].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2129 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 378cab6df8ed072be9ec86f7b5c1033340171dcc
      https://github.com/boxbackup/boxbackup/commit/378cab6df8ed072be9ec86f7b5c1033340171dcc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-05 (Sat, 05 Apr 2008)

  Changed paths:
    M lib/common/NamedLock.cpp

  Log Message:
  -----------
  Comment wrapping fix from [1958]


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2130 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 20f104bc097d4ee83aa598b265abe2cc0758dc8b
      https://github.com/boxbackup/boxbackup/commit/20f104bc097d4ee83aa598b265abe2cc0758dc8b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-05 (Sat, 05 Apr 2008)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Command-line option fix from [1975]


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2131 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 83a26cd5411337b392f0fc3323a85e327cfb2879
      https://github.com/boxbackup/boxbackup/commit/83a26cd5411337b392f0fc3323a85e327cfb2879
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-05 (Sat, 05 Apr 2008)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Close process token in EnableBackupRights(), thanks Charles!

Improve error messages in EnableBackupRights() when failing to
enable the backup privilege.

Use file size returned by GetFileInformationByHandle in emu_fstat
instead of calling GetFileSizeEx(), thanks Charles!

Merges [1939].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2132 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bfa41bcac0acb5f0bf3354223342752377454621
      https://github.com/boxbackup/boxbackup/commit/bfa41bcac0acb5f0bf3354223342752377454621
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-05 (Sat, 05 Apr 2008)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Convert UTF-8 to Unicode for logging in Windows Event Log, so that
international paths and filenames are displayed correctly.
(merges [1942])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2133 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8b9bcf306fa902d9e455ece11c2dffa8f71bcedb
      https://github.com/boxbackup/boxbackup/commit/8b9bcf306fa902d9e455ece11c2dffa8f71bcedb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-05 (Sat, 05 Apr 2008)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix memory leak in [2133] (merges [1944])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2134 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9de0a8a43209d506b59053a8d57bf4bcf0d024b2
      https://github.com/boxbackup/boxbackup/commit/9de0a8a43209d506b59053a8d57bf4bcf0d024b2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-05 (Sat, 05 Apr 2008)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp

  Log Message:
  -----------
  Improve debugging when failing to create the large file for diff speed
tests. (merges [1946])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2135 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 457e2db345abcef8299e37a1e8cdd7c9e588c47e
      https://github.com/boxbackup/boxbackup/commit/457e2db345abcef8299e37a1e8cdd7c9e588c47e
  Author: cbkm <cbkm at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-07 (Mon, 07 Apr 2008)

  Changed paths:
    A contrib/bbreporter/bbreporter.py

  Log Message:
  -----------
  First commit of bbreporter.py



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2136 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9a976d7190103d914436b59e59c773f9285f6465
      https://github.com/boxbackup/boxbackup/commit/9a976d7190103d914436b59e59c773f9285f6465
  Author: cbkm <cbkm at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-07 (Mon, 07 Apr 2008)

  Changed paths:
    A contrib/bbreporter/LICENSE
    M contrib/bbreporter/bbreporter.py

  Log Message:
  -----------
  Update bbreporter.py to newer version (oops!) and add GPLv3 LICENSE file.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2137 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bff5f77de65eb795c746c2c37c6f20aafdebc59e
      https://github.com/boxbackup/boxbackup/commit/bff5f77de65eb795c746c2c37c6f20aafdebc59e
  Author: cbkm <cbkm at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M contrib/bbreporter/bbreporter.py

  Log Message:
  -----------
  Fix issue reported by MB of showing the same files in the report that were already backed up due to a non-rotated logfile. Added debug output (minimal at present). Added --sort and --debug to --help output.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2138 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f46a9982278b749a95ce1502e7715d90a7aa54d2
      https://github.com/boxbackup/boxbackup/commit/f46a9982278b749a95ce1502e7715d90a7aa54d2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Compile fix for progress bar changes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2139 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1abff974b41b443bbe4827585a3917960d689a6d
      https://github.com/boxbackup/boxbackup/commit/1abff974b41b443bbe4827585a3917960d689a6d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    A lib/common/Test.cpp
    M lib/common/Test.h

  Log Message:
  -----------
  Move test helper functions out-of-line to aid debugging by allowing
breakpoints to be set on them.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2140 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 896c8c6d1d015c06ea58f9c4bbf5ae7205d22bd6
      https://github.com/boxbackup/boxbackup/commit/896c8c6d1d015c06ea58f9c4bbf5ae7205d22bd6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Reorganise includes in test main template.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2141 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a2e68ba125f6b14f0358d7bc23ce854a386d9936
      https://github.com/boxbackup/boxbackup/commit/a2e68ba125f6b14f0358d7bc23ce854a386d9936
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Check the return code from system commands in bbackupquery, and if not
zero, give a warning and set the bbackupquery return code to
COMMAND_RETURN_ERROR.

Check for Restore_TargetPathNotFound on all platforms as it's not specific
to Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2142 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3d134f9d9cc8834d84011711d78fe736781ef0ed
      https://github.com/boxbackup/boxbackup/commit/3d134f9d9cc8834d84011711d78fe736781ef0ed
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Improve LogAllFileAccess logging by making the simple case (file not
changed) easier to read.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2143 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 37a43dfbbf644adb011e50fe179ba7cbbce9ed3c
      https://github.com/boxbackup/boxbackup/commit/37a43dfbbf644adb011e50fe179ba7cbbce9ed3c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Reformat long lines in BackupClientRestore.cpp for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2144 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6af77a6904c88d15acba0e1576e0561afb829953
      https://github.com/boxbackup/boxbackup/commit/6af77a6904c88d15acba0e1576e0561afb829953
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M lib/crypto/CipherContext.cpp

  Log Message:
  -----------
  Reformat long line in CipherContext.cpp and fix a typo in comment.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2145 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2525dae036b93e1367d6b60d5454e1d6a5d513f2
      https://github.com/boxbackup/boxbackup/commit/2525dae036b93e1367d6b60d5454e1d6a5d513f2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M lib/raidfile/RaidFileRead.cpp

  Log Message:
  -----------
  Add an error message giving the file name when an expected raidfile
does not exist, to help server operators to figure out what's wrong.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2146 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e0bf658072bab1277ef872060e22d779d320191
      https://github.com/boxbackup/boxbackup/commit/3e0bf658072bab1277ef872060e22d779d320191
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M contrib/rpm/boxbackup.spec
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Add bbreporter to server RPM spec file and distribution manifest.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2147 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fa1543540c3341ed4ccac748f3e1c578dff555c3
      https://github.com/boxbackup/boxbackup/commit/fa1543540c3341ed4ccac748f3e1c578dff555c3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-09 (Wed, 09 Apr 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix crash when notifying sysadmin of an invalid event code.

Disable some debug logging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2148 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7670a5ffc241c5824200dca4c6a284cedacdd4c7
      https://github.com/boxbackup/boxbackup/commit/7670a5ffc241c5824200dca4c6a284cedacdd4c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-18 (Fri, 18 Apr 2008)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.cpp
    M lib/common/Configuration.cpp
    M lib/common/WaitForEvent.h
    M lib/raidfile/RaidFileRead.cpp

  Log Message:
  -----------
  Additional #includes, thanks to the T2 Project
(http://www.t2-project.org/packages/boxbackup.html)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2149 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1c6cee6df8767e90b26338d0ea4a9324815c183a
      https://github.com/boxbackup/boxbackup/commit/1c6cee6df8767e90b26338d0ea4a9324815c183a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-28 (Mon, 28 Apr 2008)

  Changed paths:
    M documentation/Makefile

  Log Message:
  -----------
  Fix Makefile for BSD (and hopefully any POSIX) make.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2150 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5498a9241e8b5bff9fe332a1d596d0552c67be96
      https://github.com/boxbackup/boxbackup/commit/5498a9241e8b5bff9fe332a1d596d0552c67be96
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-28 (Mon, 28 Apr 2008)

  Changed paths:
    M documentation/generate_except_xml.pl

  Log Message:
  -----------
  Fix paths to exception list now that documentation directory has moved.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2151 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 537d79816d26390831007cc885e664189ee94688
      https://github.com/boxbackup/boxbackup/commit/537d79816d26390831007cc885e664189ee94688
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-28 (Mon, 28 Apr 2008)

  Changed paths:
    M documentation/Makefile

  Log Message:
  -----------
  Remove BSDisms from makefile so it works on GNU make.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2152 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fd4431f8066033e57f80a21620d80bdf97a0fbf5
      https://github.com/boxbackup/boxbackup/commit/fd4431f8066033e57f80a21620d80bdf97a0fbf5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-28 (Mon, 28 Apr 2008)

  Changed paths:
    M documentation/Makefile

  Log Message:
  -----------
  Special GNU make rules are unnecessary.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2153 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6d9985e6c7f18453d2fba60998af8febc7f40508
      https://github.com/boxbackup/boxbackup/commit/6d9985e6c7f18453d2fba60998af8febc7f40508
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-29 (Tue, 29 Apr 2008)

  Log Message:
  -----------
  Ignore generated files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2154 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 044db712efeaafcd1df247e8364a2511097b4d64
      https://github.com/boxbackup/boxbackup/commit/044db712efeaafcd1df247e8364a2511097b4d64
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-04-30 (Wed, 30 Apr 2008)

  Changed paths:
    M lib/common/Configuration.cpp

  Log Message:
  -----------
  Fix typo.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2155 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8b6dffee09f22dc5148a577119a508ce00de8e21
      https://github.com/boxbackup/boxbackup/commit/8b6dffee09f22dc5148a577119a508ce00de8e21
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-04 (Sun, 04 May 2008)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Fix typos in comments.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2156 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ee1f889ae564d319d8ec1bd7bb56f8326ec51e35
      https://github.com/boxbackup/boxbackup/commit/ee1f889ae564d319d8ec1bd7bb56f8326ec51e35
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-05 (Mon, 05 May 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/documentation.txt
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupClientRestore.h

  Log Message:
  -----------
  Add restore -f option to force restore to continue after an error.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2157 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b17d30283dec10a3597ac9c7c505281faed71596
      https://github.com/boxbackup/boxbackup/commit/b17d30283dec10a3597ac9c7c505281faed71596
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-05 (Mon, 05 May 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Catch server errors when listing a directory.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2158 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 981c3fe5d4d95ba2aa224a7dd849178db3d6a765
      https://github.com/boxbackup/boxbackup/commit/981c3fe5d4d95ba2aa224a7dd849178db3d6a765
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-06 (Tue, 06 May 2008)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Fix O(n^2) algorithm to insert lost objects into a directory, which would
become very slow with large directories (e.g. 100,000 files unattached)
due to repeated reading and writing of the directory.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2159 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7318168ecbdb888e733a3241473e6eaf26e28403
      https://github.com/boxbackup/boxbackup/commit/7318168ecbdb888e733a3241473e6eaf26e28403
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-06 (Tue, 06 May 2008)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Remove obsolete BackupStoreCheck::InsertObjectIntoDirectory class,
replaced with BackupStoreDirectoryFixer.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2160 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0a2e774223eefa3e6e8b0ff84861a126805982c7
      https://github.com/boxbackup/boxbackup/commit/0a2e774223eefa3e6e8b0ff84861a126805982c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Define Box module name on the compiler command line (useful for tests 
self-reporting and setting logger tags).

Add the "c" option to "ar" to suppress warning messages about creating 
archives.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2163 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9b7aa8d293df5236c5d2bb85571d84976aa46109
      https://github.com/boxbackup/boxbackup/commit/9b7aa8d293df5236c5d2bb85571d84976aa46109
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M configure.ac
    A test/bbackupd/testfiles/bbackupd-exclude.conf.in
    A test/bbackupd/testfiles/bbackupd-snapshot.conf.in
    A test/bbackupd/testfiles/bbackupd-symlink.conf.in

  Log Message:
  -----------
  Add new bbackupd config files for bbackupd test.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2164 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e6dd12f6036e367fc2762e0fde445225b7d01598
      https://github.com/boxbackup/boxbackup/commit/e6dd12f6036e367fc2762e0fde445225b7d01598
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M test/bbackupd/testfiles/notifyscript.pl.in

  Log Message:
  -----------
  Add support to notifyscript to use a tag, useful for tests with 
frequently-generated messages such as backup-start.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2165 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5fa8b84cd651cbf0560f18f235d0645a5dc70e28
      https://github.com/boxbackup/boxbackup/commit/5fa8b84cd651cbf0560f18f235d0645a5dc70e28
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Set program name in tests to module name (e.g. test/bbackupd).

Add option to show PID in logs (-P) in tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2166 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 08d727e7db5b70fca09e2cde5ffa8da7b4e8223a
      https://github.com/boxbackup/boxbackup/commit/08d727e7db5b70fca09e2cde5ffa8da7b4e8223a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Check for cxxabi.h (C++ name demangling for stack traces on libstdc++)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2167 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4e25ca88c19abd4bbcda79d3b46e171079f1bf84
      https://github.com/boxbackup/boxbackup/commit/4e25ca88c19abd4bbcda79d3b46e171079f1bf84
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Remove redundant copies of flags from make command line.

Place CXXFLAGS and LDFLAGS in Makefiles so that they can be overridden 
by users who know what they are doing.

Add LDADD_RDYNAMIC to LDFLAGS to enable -rdynamic for symbolic stack 
traces.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2168 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 41c888e4ef000f81aa437826b021fb7cbd88500b
      https://github.com/boxbackup/boxbackup/commit/41c888e4ef000f81aa437826b021fb7cbd88500b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Add backtrace on exception in release builds.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2169 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a08efadb1522971e63a4864d1442f28b605e36d8
      https://github.com/boxbackup/boxbackup/commit/a08efadb1522971e63a4864d1442f28b605e36d8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Initialise the exists variable and fix its type.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2170 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0fa4ef34b1a54b463b0f8caca53e52b645436261
      https://github.com/boxbackup/boxbackup/commit/0fa4ef34b1a54b463b0f8caca53e52b645436261
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    A lib/server/ServerControl.cpp
    M lib/server/ServerControl.h

  Log Message:
  -----------
  Move ServerControl functions out of line and into their own source file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2171 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 566c5edda1aabef36642f969fff87fd374ecb1a0
      https://github.com/boxbackup/boxbackup/commit/566c5edda1aabef36642f969fff87fd374ecb1a0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add a GetMessage() method to Protocol objects to return a stringified 
message as a string.

Fix a typo in a comment.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2172 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 07c8f3defa5e9b13b302e56259855a46a82c4b5f
      https://github.com/boxbackup/boxbackup/commit/07c8f3defa5e9b13b302e56259855a46a82c4b5f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Reformat for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2173 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d5b6d526fa1fd292f6dec214bc1deaff830e980f
      https://github.com/boxbackup/boxbackup/commit/d5b6d526fa1fd292f6dec214bc1deaff830e980f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/common/Test.cpp

  Log Message:
  -----------
  Separate checks for file existing and file not empty.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2174 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 130e3e1bd2032959c95707163d8a77164caefc45
      https://github.com/boxbackup/boxbackup/commit/130e3e1bd2032959c95707163d8a77164caefc45
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Add static Logging::GetNamedLevel() method to return a log level 
specified by name as a string.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2175 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 79a9f4654fae9906ef81ffef03b94e0c78f02c11
      https://github.com/boxbackup/boxbackup/commit/79a9f4654fae9906ef81ffef03b94e0c78f02c11
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp
    M bin/bbstored/HousekeepStoreAccount.h

  Log Message:
  -----------
  Reformat for readability.

Log removal of directories by housekeeping.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2176 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1d30471d165540949f2d83bbf3ab253fc9b70607
      https://github.com/boxbackup/boxbackup/commit/1d30471d165540949f2d83bbf3ab253fc9b70607
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Move loading configuration into a separate method.

Add -W<level> option to set warning level explicitly.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2177 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8c1e03931d8238476a85978bff063f2f3210e1bb
      https://github.com/boxbackup/boxbackup/commit/8c1e03931d8238476a85978bff063f2f3210e1bb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Demangle C++ names in backtrace on GCC using C++ ABI routines.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2178 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9c70fc3594f13bcaa709bafb310d17d802306226
      https://github.com/boxbackup/boxbackup/commit/9c70fc3594f13bcaa709bafb310d17d802306226
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp

  Log Message:
  -----------
  Catch exception on reading a directory that doesn't exist, and return a 
protocol error message instead.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2179 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ab98fc40bc7ebe13f0def0dd3055afe53e82e137
      https://github.com/boxbackup/boxbackup/commit/ab98fc40bc7ebe13f0def0dd3055afe53e82e137
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M bin/bbackupd/bbackupd.cpp
    M bin/bbstored/bbstored.cpp

  Log Message:
  -----------
  Shorten names used by daemons.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2180 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b2299cb8a6f267a610e5c8366a51bad751d148e
      https://github.com/boxbackup/boxbackup/commit/0b2299cb8a6f267a610e5c8366a51bad751d148e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDeleteList.cpp
    M bin/bbackupd/BackupClientDeleteList.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Track and log file deletions by name.

Split crypto init and file sync process into its own method, to reduce 
call depth and facilitate calling in process from tests.

Differentiate between 3 uses of stat in BackupClientDirectoryRecord by 
renaming the structures.

Use stat instead of lstat when checking the filesystem that's holding an 
entity, in case it's a symbolic link to a different filesystem.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2181 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4aab9fd5cd55bd06d5b42a01f307fadd18ada91a
      https://github.com/boxbackup/boxbackup/commit/4aab9fd5cd55bd06d5b42a01f307fadd18ada91a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  Use symbolic names instead of #defines for return codes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2182 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2fa1e24d1b79bcfa8baddea7731055957f5785bb
      https://github.com/boxbackup/boxbackup/commit/2fa1e24d1b79bcfa8baddea7731055957f5785bb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/intercept/intercept.cpp
    M lib/intercept/intercept.h

  Log Message:
  -----------
  Add stat() intercept and stat() and lstat() post call hooks.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2183 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 174dc36423253155708067e79fccf911d5835a10
      https://github.com/boxbackup/boxbackup/commit/174dc36423253155708067e79fccf911d5835a10
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp
    M test/backupstorefix/testbackupstorefix.cpp
    M test/backupstorefix/testfiles/testbackupstorefix.pl.in
    M test/bbackupd/testbbackupd.cpp
    M test/bbackupd/testfiles/extcheck1.pl.in
    M test/bbackupd/testfiles/extcheck2.pl.in

  Log Message:
  -----------
  Add bbackupquery -W<level> option to set explicit warning level, 

Obsolete old (inconsistent) meaning of -q in bbackupquery.

Replace -q with -Wwarning or -Werror in tests to reduce noise and fix 
tests.

Test that reading a nonexistent directory on the server doesn't crash 
server or client.

Test that bbackupd does continue backup run and delete files when 
storage limit is exceeded.

Use logging guards to hide expected warnings in testbbackupd.

Remove apparently pointless listing files on server at the end of 
testbbackupd.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2184 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 602c082f854f208775c1f0c8412bac429ade86ed
      https://github.com/boxbackup/boxbackup/commit/602c082f854f208775c1f0c8412bac429ade86ed
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/common/Test.cpp

  Log Message:
  -----------
  Include "Box.h" in the right place.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2185 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9516006edaafff790eeae12976838706157b1185
      https://github.com/boxbackup/boxbackup/commit/9516006edaafff790eeae12976838706157b1185
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Check that Box.h has been included early enough.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2186 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c12fc4d2cc3215481b75371155af82736a5a7ae4
      https://github.com/boxbackup/boxbackup/commit/c12fc4d2cc3215481b75371155af82736a5a7ae4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Fix possible memory corruption while dumping stack trace due to 
mismatching new []/delete.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2187 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: be0ca79c2716d1109ac77953c60863b85c6c6203
      https://github.com/boxbackup/boxbackup/commit/be0ca79c2716d1109ac77953c60863b85c6c6203
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-28 (Wed, 28 May 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix compile error on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2188 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78b5eb54f6ad0b63bb07397bd49b7a0b0c198886
      https://github.com/boxbackup/boxbackup/commit/78b5eb54f6ad0b63bb07397bd49b7a0b0c198886
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-29 (Thu, 29 May 2008)

  Changed paths:
    M contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Fix paths to bbreporter files

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2189 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1fd957a42e09ad5bd633ab6113205a8936fa6d0e
      https://github.com/boxbackup/boxbackup/commit/1fd957a42e09ad5bd633ab6113205a8936fa6d0e
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-05-29 (Thu, 29 May 2008)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Fix strerror include. Needed for gcc 4.3

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2190 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7584a0243fd0264d9a7c04f9f8d6ebaf117a7064
      https://github.com/boxbackup/boxbackup/commit/7584a0243fd0264d9a7c04f9f8d6ebaf117a7064
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-06-15 (Sun, 15 Jun 2008)

  Changed paths:
    M contrib/debian/bbackupd.in
    M contrib/debian/bbstored.in

  Log Message:
  -----------
  Fix default locations of PID files.

Wait for daemons to stop before starting them again during restart.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2191 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d5699ed877ab722ad66e2ba98b5648b3bd43b641
      https://github.com/boxbackup/boxbackup/commit/d5699ed877ab722ad66e2ba98b5648b3bd43b641
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-06-15 (Sun, 15 Jun 2008)

  Changed paths:
    M contrib/debian/bbackupd.in
    M contrib/debian/bbstored.in

  Log Message:
  -----------
  Refactor and fix Debian init scripts.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2192 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f82c12fdbe6c915cb84113def478ffbc339bd382
      https://github.com/boxbackup/boxbackup/commit/f82c12fdbe6c915cb84113def478ffbc339bd382
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-06-15 (Sun, 15 Jun 2008)

  Changed paths:
    M contrib/suse/bbackupd.in
    M contrib/suse/bbstored.in

  Log Message:
  -----------
  Correct locations for PID files in SuSE initscript


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2193 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f54f42e60e5527a260f009e1a50d2d9fbf5c6adb
      https://github.com/boxbackup/boxbackup/commit/f54f42e60e5527a260f009e1a50d2d9fbf5c6adb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-06-19 (Thu, 19 Jun 2008)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Larger buffer size for extended attributes, and better debugging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2194 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 74680163aa394089c8f5a02f4dcc0b98f30bd771
      https://github.com/boxbackup/boxbackup/commit/74680163aa394089c8f5a02f4dcc0b98f30bd771
  Author: per <per at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-06-27 (Fri, 27 Jun 2008)

  Changed paths:
    A contrib/mac_osx/org.boxbackup.bbackupd.plist
    A contrib/mac_osx/org.boxbackup.bbstored.plist

  Log Message:
  -----------
  Mac OS X launchd files for bbackupd and bbstored.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2195 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5e1732d3e66f9ed36010dffd65ad6205a998ff10
      https://github.com/boxbackup/boxbackup/commit/5e1732d3e66f9ed36010dffd65ad6205a998ff10
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-06-30 (Mon, 30 Jun 2008)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Compile fix for strerror() on RedHat 9, thanks to Alex Howansky.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2196 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9e4918820b89c7bde6ff6d7f92f8211014883d52
      https://github.com/boxbackup/boxbackup/commit/9e4918820b89c7bde6ff6d7f92f8211014883d52
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-02 (Wed, 02 Jul 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Add missing #include, thanks to Alex Howansky.

Reset notification state for backup-error after a successful backup,
thanks to Wolfgang Trexler.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2197 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b7a6f56db0ef1f6080e7d5c8678700f9b1f59f92
      https://github.com/boxbackup/boxbackup/commit/b7a6f56db0ef1f6080e7d5c8678700f9b1f59f92
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-03 (Thu, 03 Jul 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Don't warn about ignoring sockets and FIFOs during backup, thanks to
Tollef Fog Heen (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479145)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2198 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6a53e27baf4495f5d97be4ebd81f3a1cf83e7aec
      https://github.com/boxbackup/boxbackup/commit/6a53e27baf4495f5d97be4ebd81f3a1cf83e7aec
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-06 (Sun, 06 Jul 2008)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Remove comma from last item in enum, to silence warnings from solaris cc.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2199 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d149c3197479e1de5a276dcdedeb777d0748e825
      https://github.com/boxbackup/boxbackup/commit/d149c3197479e1de5a276dcdedeb777d0748e825
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-06 (Sun, 06 Jul 2008)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Fix includes to get getpid() on Solaris and to make them easier to read.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2200 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3f4c1acc882f8aecad1ef0e4c5c6fc3ae5242ecb
      https://github.com/boxbackup/boxbackup/commit/3f4c1acc882f8aecad1ef0e4c5c6fc3ae5242ecb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-26 (Sat, 26 Jul 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Remove -rdynamic flag from mingw gcc which doesn't support it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2201 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 266929bc515c66b8580dde5a7784ca2a465a2881
      https://github.com/boxbackup/boxbackup/commit/266929bc515c66b8580dde5a7784ca2a465a2881
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-26 (Sat, 26 Jul 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Add spaces before Make progress output lines to visually separate
them better from error messages.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2202 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3a8b7204a2fc9f8995b6550b46d6b4fc59769b7d
      https://github.com/boxbackup/boxbackup/commit/3a8b7204a2fc9f8995b6550b46d6b4fc59769b7d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-27 (Sun, 27 Jul 2008)

  Changed paths:
    M lib/common/BoxTime.cpp
    M lib/common/BoxTime.h

  Log Message:
  -----------
  Add a function to format a BoxTime as a human-readable time only
(for use in logging).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2203 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c3fd51e890c3c7de42f4593b2fc876ef6b2352b2
      https://github.com/boxbackup/boxbackup/commit/c3fd51e890c3c7de42f4593b2fc876ef6b2352b2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-27 (Sun, 27 Jul 2008)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Use the new time function when generating console log messages.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2204 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3caba72b4951b5420875cc862cac04df3b861980
      https://github.com/boxbackup/boxbackup/commit/3caba72b4951b5420875cc862cac04df3b861980
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-27 (Sun, 27 Jul 2008)

  Changed paths:
    M lib/common/Test.cpp

  Log Message:
  -----------
  On Windows XP, you can open a process even after it's terminated, to
retrieve the exit code, so the check for process liveness has to be
modified to make the basicserver test pass.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2205 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5e49f0d4f368b2ad45d18c0e2259eb8445dcd0e0
      https://github.com/boxbackup/boxbackup/commit/5e49f0d4f368b2ad45d18c0e2259eb8445dcd0e0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-07-27 (Sun, 27 Jul 2008)

  Changed paths:
    M lib/common/Timer.cpp
    M lib/common/Timer.h

  Log Message:
  -----------
  New timer implementation using TimerQueue on Windows to avoid the need
to create and manage a separate thread ourselves.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2206 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b9c22dfbb1bff6ae7f8ed897ddc64ac283d0dba2
      https://github.com/boxbackup/boxbackup/commit/b9c22dfbb1bff6ae7f8ed897ddc64ac283d0dba2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Add getpid() emulation.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2207 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6f44112c3e02c1a95054af6e137ee6adf582ff1d
      https://github.com/boxbackup/boxbackup/commit/6f44112c3e02c1a95054af6e137ee6adf582ff1d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Remove Windows limitation on Logging that showing PID was not possible.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2208 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78619198ca70b040d69bd03de12e96dfad33e995
      https://github.com/boxbackup/boxbackup/commit/78619198ca70b040d69bd03de12e96dfad33e995
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Kill running daemons using kill -f on Windows (cygwin) which kills
by Windows PID.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2209 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 153d66a1d62d5f31b5710b346c9d8b776e860913
      https://github.com/boxbackup/boxbackup/commit/153d66a1d62d5f31b5710b346c9d8b776e860913
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Log error when rename over RaidFile fails on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2210 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eb6eeada778b4d878fd54e2dcff265ba4a7f48a4
      https://github.com/boxbackup/boxbackup/commit/eb6eeada778b4d878fd54e2dcff265ba4a7f48a4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Enable logging of PID on Windows.

Enable both -k and -K options on all platforms.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2211 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cdab51c7a52f0f4f36f7771b3f176df807951f55
      https://github.com/boxbackup/boxbackup/commit/cdab51c7a52f0f4f36f7771b3f176df807951f55
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Really enable PID logging on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2212 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 37a25efc0410824e7b6afb158ab4a84158d1a472
      https://github.com/boxbackup/boxbackup/commit/37a25efc0410824e7b6afb158ab4a84158d1a472
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Log the error code returned by NotifyScript.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2213 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 97622a22a39ed5a4e137ad5013079bbaec7e0085
      https://github.com/boxbackup/boxbackup/commit/97622a22a39ed5a4e137ad5013079bbaec7e0085
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Log file uploads at NOTIFY level so that all you need to do to get them
(and just them) logged is to set LogAllFileAccess = yes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2214 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a7ec4dbaab4c3d868c8b6aafc2a56ae17b0196b
      https://github.com/boxbackup/boxbackup/commit/5a7ec4dbaab4c3d868c8b6aafc2a56ae17b0196b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Name the timers to help with debugging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2215 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1b19597addb6a2001684462ce9a93b7a9e42ec1a
      https://github.com/boxbackup/boxbackup/commit/1b19597addb6a2001684462ce9a93b7a9e42ec1a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-03 (Sun, 03 Aug 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Windows compile and deletion/housekeeping test fix.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2216 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 812a2abbcde02f62648ea1ba449e9d6756f985d3
      https://github.com/boxbackup/boxbackup/commit/812a2abbcde02f62648ea1ba449e9d6756f985d3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-06 (Wed, 06 Aug 2008)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Log a warning with the file that couldn't be opened and the error code,
to help debus issues Pete Jalajas is having with Amazon S3 and fuse.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2217 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 655097fc3da9e509e88017e20d444ee5ade43ea9
      https://github.com/boxbackup/boxbackup/commit/655097fc3da9e509e88017e20d444ee5ade43ea9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-06 (Wed, 06 Aug 2008)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Allow passing C strings into TEST_FAIL_WITH_MESSAGE, not just string constants.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2218 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c4841ecf3c0da31fdf38aa3ffddcd823ad8d984c
      https://github.com/boxbackup/boxbackup/commit/c4841ecf3c0da31fdf38aa3ffddcd823ad8d984c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-06 (Wed, 06 Aug 2008)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Formatting fix.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2219 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 54de05b383036c65e62ed83009066007628ec2df
      https://github.com/boxbackup/boxbackup/commit/54de05b383036c65e62ed83009066007628ec2df
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-06 (Wed, 06 Aug 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix conflict with local variables called "line".


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2220 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c76c1de57aa6b11687ae3058adefc09fe6ceef51
      https://github.com/boxbackup/boxbackup/commit/c76c1de57aa6b11687ae3058adefc09fe6ceef51
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-06 (Wed, 06 Aug 2008)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  When dumping stack traces, allow libc to allocate its own memory, rather
than trying to manage a buffer ourselves, and free it with std::free 
without memory leak tracing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2221 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fef7a8dd12d5a627d3304cb17f0d86e212549ec5
      https://github.com/boxbackup/boxbackup/commit/fef7a8dd12d5a627d3304cb17f0d86e212549ec5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-07 (Thu, 07 Aug 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/common/Utils.cpp
    M lib/common/Utils.h

  Log Message:
  -----------
  Add machine-readable output mode (with -m option) to bbstoreaccounts info.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2222 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ca2df2cf4243df0b34a7baacb7fefe664014b532
      https://github.com/boxbackup/boxbackup/commit/ca2df2cf4243df0b34a7baacb7fefe664014b532
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-07 (Thu, 07 Aug 2008)

  Changed paths:
    M lib/server/Daemon.h

  Log Message:
  -----------
  Allow externally controllic whether a daemon will run in the foreground
or not, will need this for running tests with internal bbstored.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2223 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 993bdf3d8b3a4edcd1cddf235b15efe2ed495c8d
      https://github.com/boxbackup/boxbackup/commit/993bdf3d8b3a4edcd1cddf235b15efe2ed495c8d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-07 (Thu, 07 Aug 2008)

  Changed paths:
    M lib/server/ServerControl.cpp
    M lib/server/ServerControl.h

  Log Message:
  -----------
  Allow waiting for a process while killing it, will be needed for tests
that fork() to avoid zombies and for ServerIsAlive to work.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2224 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7af3260fee4337ff4d4c84df1ff3a5f58646b730
      https://github.com/boxbackup/boxbackup/commit/7af3260fee4337ff4d4c84df1ff3a5f58646b730
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-07 (Thu, 07 Aug 2008)

  Changed paths:
    M lib/common/Test.cpp
    M lib/common/Test.h

  Log Message:
  -----------
  Separate LaunchServer and WaitForServerStartup.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2225 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f49582671937561dd11fc81ccbbfd6d11b567a6e
      https://github.com/boxbackup/boxbackup/commit/f49582671937561dd11fc81ccbbfd6d11b567a6e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-07 (Thu, 07 Aug 2008)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp
    R bin/bbstored/BackupContext.cpp
    R bin/bbstored/BackupContext.h
    A bin/bbstored/BackupStoreContext.cpp
    A bin/bbstored/BackupStoreContext.h
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M bin/bbstored/backupprotocol.txt

  Log Message:
  -----------
  Rename BackupContext to BackupStoreContext.

Add a TestHook to help test weird server behaviour such as crashes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2226 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 77c1e12008952f897b63f425e727401b4cd57ad6
      https://github.com/boxbackup/boxbackup/commit/77c1e12008952f897b63f425e727401b4cd57ad6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-08 (Fri, 08 Aug 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix redundant logging of command socket messages.

Reformat for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2227 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 59c7f4a85e5d8c14a06cc914d549fbfe3930972d
      https://github.com/boxbackup/boxbackup/commit/59c7f4a85e5d8c14a06cc914d549fbfe3930972d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-08 (Fri, 08 Aug 2008)

  Changed paths:
    M lib/common/Configuration.cpp

  Log Message:
  -----------
  Replace manual pointer management with std::auto_ptr.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2228 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 711d675ac70d71c1f4c6a3c0ecb8104781553992
      https://github.com/boxbackup/boxbackup/commit/711d675ac70d71c1f4c6a3c0ecb8104781553992
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-08 (Fri, 08 Aug 2008)

  Changed paths:
    M lib/common/Test.cpp

  Log Message:
  -----------
  Win32 compile fix for WaitForServerStartup.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2229 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 467fa32a707a55e8e6e6768cd43722944886e693
      https://github.com/boxbackup/boxbackup/commit/467fa32a707a55e8e6e6768cd43722944886e693
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-09 (Sat, 09 Aug 2008)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Map ERROR_SHARING_VIOLATION to EBUSY in openfile().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2230 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 756a409fb943317ac4a6d8a9896f94a59ea2a2a1
      https://github.com/boxbackup/boxbackup/commit/756a409fb943317ac4a6d8a9896f94a59ea2a2a1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-09 (Sat, 09 Aug 2008)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Convert console logging output to console encoding on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2231 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fb93388e2aab72faf85899addf10c4ecaf15ebb8
      https://github.com/boxbackup/boxbackup/commit/fb93388e2aab72faf85899addf10c4ecaf15ebb8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-10 (Sun, 10 Aug 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Handle multiple-line dependencies in Makefile.extra


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2232 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b758bddede696f8c3eebffca5d98f4cc0269c4d8
      https://github.com/boxbackup/boxbackup/commit/b758bddede696f8c3eebffca5d98f4cc0269c4d8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-10 (Sun, 10 Aug 2008)

  Changed paths:
    M test/bbackupd/Makefile.extra

  Log Message:
  -----------
  Link bbackupd test with objects from bin/bbstored.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2233 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1114e78acf3972407d520dc895a586376c27d3c8
      https://github.com/boxbackup/boxbackup/commit/1114e78acf3972407d520dc895a586376c27d3c8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-10 (Sun, 10 Aug 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Check for waitpid() function in configure.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2234 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 14fa1d43c8beb49ced9474342e6d507c3318555f
      https://github.com/boxbackup/boxbackup/commit/14fa1d43c8beb49ced9474342e6d507c3318555f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-10 (Sun, 10 Aug 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Reformat comments for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2235 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b94470f1a083f166a5a1d304ddf1d29b9341b7e4
      https://github.com/boxbackup/boxbackup/commit/b94470f1a083f166a5a1d304ddf1d29b9341b7e4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-10 (Sun, 10 Aug 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Move the code that runs a backup with exception handling into its own
method, to allow testbbackupd to call it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2236 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 71fa58f8103eab05d0b81cd94085e6084e74e408
      https://github.com/boxbackup/boxbackup/commit/71fa58f8103eab05d0b81cd94085e6084e74e408
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-10 (Sun, 10 Aug 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test that store-full error is not wrongly generated on aborted connections.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2237 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 737b9606f985403bccde08767a5ac20bdf2e1df7
      https://github.com/boxbackup/boxbackup/commit/737b9606f985403bccde08767a5ac20bdf2e1df7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-11 (Mon, 11 Aug 2008)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Make test failures more obvious, and log them through logging framework.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2238 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ac45da66b7f8afbb1af1a008d785bba56b170fbd
      https://github.com/boxbackup/boxbackup/commit/ac45da66b7f8afbb1af1a008d785bba56b170fbd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-11 (Mon, 11 Aug 2008)

  Changed paths:
    M bin/bbackupd/win32/NotifySysAdmin.vbs

  Log Message:
  -----------
  Add handling of backup-error events to NotifySysAdmin.vbs.

Fix spelling errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2239 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d2103ca8650d982ba38b43dfb73f03e9a9e40f71
      https://github.com/boxbackup/boxbackup/commit/d2103ca8650d982ba38b43dfb73f03e9a9e40f71
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Build lib/win32.a (even if empty) on all platforms, to help Boxi 
linking.

Allow overriding CXXFLAGS from Configure (was broken before).

Use make -q to test whether module dependencies should be rebuilt, more 
quietly than before.

Reformat for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2240 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6d30d1b923084ae62be2ffe78e6c3ef6dacb6ced
      https://github.com/boxbackup/boxbackup/commit/6d30d1b923084ae62be2ffe78e6c3ef6dacb6ced
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Remove built binaries and libraries in clean target, so that it behaves 
in a more conventional way, making way for a complete rebuild.

Add proper parcel dependencies in GNU make to allow rebuilding just 
those parcels whose contents have changed. "make" now does what "make 
clean" would have done before, i.e. rebuild just those files which have 
changed, and their corresponding parcels.

Use cp -p to copy files into parcel directory, so that files which have 
not changed will not cause the parcel tarball containing them to be 
rebuilt (-p is specified by POSIX 2004).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2241 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cbb10bbf5ed92b168e20bef7967715bff7815896
      https://github.com/boxbackup/boxbackup/commit/cbb10bbf5ed92b168e20bef7967715bff7815896
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Understand Boxi SVN URLs and build an appropriate version string for Box 
Backup from them.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2242 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6a57cf019dc67a56575788956e96dad7b0349d26
      https://github.com/boxbackup/boxbackup/commit/6a57cf019dc67a56575788956e96dad7b0349d26
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h

  Log Message:
  -----------
  Change FileStream constructor to take a const std::string& instead of a 
char array pointer, for C++ style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2243 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c15de82fa9d314c1e8ddaf8de91bcf89446c546d
      https://github.com/boxbackup/boxbackup/commit/c15de82fa9d314c1e8ddaf8de91bcf89446c546d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    A lib/backupclient/RunStatusProvider.h

  Log Message:
  -----------
  Run status provider interface, needed to connect Box Backup to Boxi and 
potentially other frontends and allow stopping a backup in progress.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2244 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1beeed679f6b6410533a72e58005634fbd87dead
      https://github.com/boxbackup/boxbackup/commit/1beeed679f6b6410533a72e58005634fbd87dead
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileEncodeStream.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.h
    M lib/common/ReadLoggingStream.cpp
    M lib/common/ReadLoggingStream.h

  Log Message:
  -----------
  Pass a RunStatusProvider and a ReadLoggingStream::Logger from 
BackupDaemon through BackupClientDirectoryRecord, BackupStoreFile and 
BackupStoreFileEncodeStream to ReadLoggingStream, to allow progress 
callbacks during file upload and cancelling upload part-way.

Implement ReadLoggingStream::Logger in 
BackupClientDirectoryRecord::SyncParams, which thunks the notifications 
back to the ProgressNotifier.

Add the SysadminNotifier interface from Boxi.

Add NotifyIDMapsSetup() to ProgressNotifier.

Change BackupClientDirectoryRecord::SyncParams to store references to 
the individual callback interfaces rather than BackupDaemon.

Initialise all members in BackupDaemon.

Add ability for BackupDaemon user to override the ProgressNotifier, 
LocationResolver, SysadminNotifier and RunStatusProvider that will be 
used during the backup.

Make BackupDaemon::Location class public and provide access to the 
configured locations for Boxi (dangerous, they could be modified without 
BackupDaemon knowing it).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2245 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 02380b595dd06cc922f1847b948957894f885f03
      https://github.com/boxbackup/boxbackup/commit/02380b595dd06cc922f1847b948957894f885f03
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  More use of new interfaces, compile fix for [2245].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2246 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 11f154383da6f99a3c942c1e29214fa49f77119d
      https://github.com/boxbackup/boxbackup/commit/11f154383da6f99a3c942c1e29214fa49f77119d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Propagate BackupStoreException::SignalReceived up to BackupDaemon to 
abort the run, rather than treating it as a failure to upload a single 
file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2247 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5aafa798442debcd91b82d96ebcd583736c18960
      https://github.com/boxbackup/boxbackup/commit/5aafa798442debcd91b82d96ebcd583736c18960
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Handle sysadmin notifications and calculate next sync time in 
BackupDaemon::RunSyncNow, moved from RunSyncNowWithExceptionHandling, 
which just does the exception handling. We want to replace the exception 
handling in Boxi, but not the other stuff.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2248 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e1e7e71f5c6a4fdcb038cf4342e9ad14fe3eb02
      https://github.com/boxbackup/boxbackup/commit/7e1e7e71f5c6a4fdcb038cf4342e9ad14fe3eb02
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/backupclient/BackupClientCryptoKeys.cpp
    M lib/backupclient/BackupClientCryptoKeys.h

  Log Message:
  -----------
  Take a const std::string& for the filename rather than a const char *, 
for C++ style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2249 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 50c4de1c9153c787a34e6dc4cfdfcf9326ecb1cf
      https://github.com/boxbackup/boxbackup/commit/50c4de1c9153c787a34e6dc4cfdfcf9326ecb1cf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/backupclient/BackupStoreFileDiff.cpp

  Log Message:
  -----------
  Spelling fix.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2250 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f36c65626e82e49e951c6cfadd20a06479cac378
      https://github.com/boxbackup/boxbackup/commit/f36c65626e82e49e951c6cfadd20a06479cac378
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/common/Configuration.cpp
    M lib/common/Configuration.h

  Log Message:
  -----------
  Allow constructing Configuration objects from scratch (for Boxi).

Add a separate Verify() method.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2251 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 157b9c25f52f4c03d889b894867f8fdd737279b2
      https://github.com/boxbackup/boxbackup/commit/157b9c25f52f4c03d889b894867f8fdd737279b2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Only set spDaemon in Daemon::Main, to allow Boxi to have a BackupDaemon 
and a BackupStoreDaemon in the same process in separate threads.

Separate out Configure(filename) and Configure(Configuration) for Boxi.

Use a std::auto_ptr to hold the Configuration so that we don't have to 
worry about releasing it ourselves.

Remove some #ifdef WIN32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2252 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3d445c3c6160f6f7cc4685bf82039d216346bb09
      https://github.com/boxbackup/boxbackup/commit/3d445c3c6160f6f7cc4685bf82039d216346bb09
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/server/Socket.cpp
    M lib/server/Socket.h
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h
    M lib/server/SocketStreamTLS.cpp
    M lib/server/SocketStreamTLS.h

  Log Message:
  -----------
  Make Open() take a const std::string& for the socket name instead of a 
const char *, for C++ style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2253 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8359840657b1dedf375bce1279f858fc16ed35a9
      https://github.com/boxbackup/boxbackup/commit/8359840657b1dedf375bce1279f858fc16ed35a9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/common/IOStream.cpp
    M lib/common/IOStream.h
    A lib/common/SelfFlushingStream.h

  Log Message:
  -----------
  Add a Flush() method to IOStream to read and discard all remaining data, 
and a SelfFlushingStream class which can be used to ensure that protocol 
streams are always flushed, to avoid breaking protocol.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2254 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a4b95b1c57b0042e1465263999429c8cd83967b
      https://github.com/boxbackup/boxbackup/commit/5a4b95b1c57b0042e1465263999429c8cd83967b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/server/ServerTLS.h

  Log Message:
  -----------
  Use ForkToHandleRequests in ServerStream template call to avoid compiler 
errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2255 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 04ddbd0e22517ef41bec978a81d06de8b803cc60
      https://github.com/boxbackup/boxbackup/commit/04ddbd0e22517ef41bec978a81d06de8b803cc60
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Call virtual NotifyListenerIsReady() method when listening socket is 
ready, for Boxi thread synchronisation.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2256 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9c8229190af18d2a648f054b7d1e4de39af931d9
      https://github.com/boxbackup/boxbackup/commit/9c8229190af18d2a648f054b7d1e4de39af931d9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Better handle the case where __MSVCRT_VERSION__ is already defined (e.g. 
by wxWidgets) before including Box.h, as long as the defined version is 
high enough, to avoid mutual incompatibility with wxWidgets (needed for 
Boxi).

Define O_BINARY if it's not already defined rather than using configury. 


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2257 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dd33ee436dcb73fe6b4cc51bbab800af44422e32
      https://github.com/boxbackup/boxbackup/commit/dd33ee436dcb73fe6b4cc51bbab800af44422e32
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Don't use private direct access to Configuration.mSubConfigurations.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2258 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 425531711041779ab26cd5d02b0e27db7b10a10f
      https://github.com/boxbackup/boxbackup/commit/425531711041779ab26cd5d02b0e27db7b10a10f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Reformat for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2259 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0eb460b4bd663c678ee746aaedf4ee14340215a8
      https://github.com/boxbackup/boxbackup/commit/0eb460b4bd663c678ee746aaedf4ee14340215a8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Use SelfFlushingStream to ensure that protocol streams are always 
flushed, fixes a problem where local file is not readable during 
compare, and stream was not flushed, breaking the rest of the compare.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2260 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 992d74e57ffff67f40e0f6c7caad51610e4d5daa
      https://github.com/boxbackup/boxbackup/commit/992d74e57ffff67f40e0f6c7caad51610e4d5daa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Report when directory modification time is later than last sync time as 
a possible cause of compare failure, just as we do with files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2261 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5eda76e2237298ce00e2e08ceb52e1ff967064a8
      https://github.com/boxbackup/boxbackup/commit/5eda76e2237298ce00e2e08ceb52e1ff967064a8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupStoreContext.cpp
    M bin/bbstored/BackupStoreContext.h
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  Run housekeeping synchronously on all platforms if daemon is run in 
single process mode (-D), not just on Windows.

Add a housekeeping interface to allow Boxi to run housekeeping.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2262 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 80b0b9c96d92556562b680e2a724884977017742
      https://github.com/boxbackup/boxbackup/commit/80b0b9c96d92556562b680e2a724884977017742
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-21 (Thu, 21 Aug 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  Make BackupQueries::CompareParams public so that Boxi can use it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2263 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5ca17c9a51e42a39f99e57c3c837dc922eab6a9b
      https://github.com/boxbackup/boxbackup/commit/5ca17c9a51e42a39f99e57c3c837dc922eab6a9b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-22 (Fri, 22 Aug 2008)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Make statistics back into a NOTICE level log again, as they're pretty 
important and useful.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2264 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0744a4ec6321129f91d9db9cdeb728e3c07fb243
      https://github.com/boxbackup/boxbackup/commit/0744a4ec6321129f91d9db9cdeb728e3c07fb243
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-08-25 (Mon, 25 Aug 2008)

  Changed paths:
    A documentation/bblogo-alpha.xcf
    A documentation/favicon.ico

  Log Message:
  -----------
  Add favicon images to version control.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2265 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 36578544667bf174fe91fd03cd6abed941f98544
      https://github.com/boxbackup/boxbackup/commit/36578544667bf174fe91fd03cd6abed941f98544
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-03 (Wed, 03 Sep 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Include signal.h if it exists.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2266 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2410dacfabae59b90966b8b47b4b3929e857334a
      https://github.com/boxbackup/boxbackup/commit/2410dacfabae59b90966b8b47b4b3929e857334a
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-05 (Fri, 05 Sep 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Fix GNUism in use of xargs (xargs -r is a GNU extension) - just get find to perform the delete using -exec.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2267 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d1169843063f66ceefcfa9549aba5e950dad206f
      https://github.com/boxbackup/boxbackup/commit/d1169843063f66ceefcfa9549aba5e950dad206f
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-05 (Fri, 05 Sep 2008)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Remove LICENSE.txt from being installed into the binary location. This is definitely not the right place for it.

The license needs to be in the distribution tarball but should not be installed.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2268 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 03868a9d9c93c409360cde1904d8ce62b2839115
      https://github.com/boxbackup/boxbackup/commit/03868a9d9c93c409360cde1904d8ce62b2839115
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-06 (Sat, 06 Sep 2008)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Shorten long line


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2269 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5041ff40fbb54b49fb3d8bb3e4a380fea53c0bb6
      https://github.com/boxbackup/boxbackup/commit/5041ff40fbb54b49fb3d8bb3e4a380fea53c0bb6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-06 (Sat, 06 Sep 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Don't try to kill daemons if not running, avoid error messages.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2270 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5675ff0cee45e6f6aa2f84506b9150f756fbf58a
      https://github.com/boxbackup/boxbackup/commit/5675ff0cee45e6f6aa2f84506b9150f756fbf58a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-06 (Sat, 06 Sep 2008)

  Changed paths:
    M infrastructure/msvc/2005/bbackupctl.vcproj
    M infrastructure/msvc/2005/bbackupd.vcproj
    M infrastructure/msvc/2005/boxquery.vcproj
    M infrastructure/msvc/2005/common.vcproj
    M infrastructure/msvc/2005/win32test.vcproj

  Log Message:
  -----------
  Add missing include dirs for pcre, and missing link to advapi32.dll.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2271 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 21e70298541db209ccec2ce574d8a3b7c93999ee
      https://github.com/boxbackup/boxbackup/commit/21e70298541db209ccec2ce574d8a3b7c93999ee
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-06 (Sat, 06 Sep 2008)

  Changed paths:
    M lib/backupclient/BackupClientCryptoKeys.cpp

  Log Message:
  -----------
  Reformat for readability.

Use SecureZeroMemory rather than memset() to wipe key material on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2272 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1e5c8162eb6d48b67f45c1b602d194e13ed243cb
      https://github.com/boxbackup/boxbackup/commit/1e5c8162eb6d48b67f45c1b602d194e13ed243cb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-06 (Sat, 06 Sep 2008)

  Changed paths:
    A contrib/windows/installer/boxbackup.mpi
    A contrib/windows/installer/tools/InstallService.bat
    A contrib/windows/installer/tools/KillBackupProcess.bat
    A contrib/windows/installer/tools/QueryOutputAll.bat
    A contrib/windows/installer/tools/QueryOutputCurrent.bat
    A contrib/windows/installer/tools/ReloadConfig.bat
    A contrib/windows/installer/tools/RemoteControl.exe
    A contrib/windows/installer/tools/RemoveService.bat
    A contrib/windows/installer/tools/RestartService.bat
    A contrib/windows/installer/tools/ShowUsage.bat
    A contrib/windows/installer/tools/StartService.bat
    A contrib/windows/installer/tools/StopService.bat
    A contrib/windows/installer/tools/Sync.bat

  Log Message:
  -----------
  Add Windows Installer (InstallJammer) to version control, thanks to
Pete Jalajas.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2274 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: abeb042646d42c41b198b5ff646c8be1de47ee04
      https://github.com/boxbackup/boxbackup/commit/abeb042646d42c41b198b5ff646c8be1de47ee04
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-07 (Sun, 07 Sep 2008)

  Changed paths:
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h

  Log Message:
  -----------
  Fix test regression on Windows where a const char pointer was treated
as a file handle instead of as a string.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2275 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7f1fba23f6c5a59bc6af9b4afdf5ce79a1c6b512
      https://github.com/boxbackup/boxbackup/commit/7f1fba23f6c5a59bc6af9b4afdf5ce79a1c6b512
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-12 (Fri, 12 Sep 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Test for read errors being reported at more points during the tests.

Test that symlink to self does not cause restore to fail.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2276 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c7305c4b8eca5928cfe322337a1a4943e2bf9ac2
      https://github.com/boxbackup/boxbackup/commit/c7305c4b8eca5928cfe322337a1a4943e2bf9ac2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-13 (Sat, 13 Sep 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Fix cross-compiling checks for ar, ranlib and windres.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2277 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bb46458921167e6c9b72e38f7065ebaa56d41be9
      https://github.com/boxbackup/boxbackup/commit/bb46458921167e6c9b72e38f7065ebaa56d41be9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-13 (Sat, 13 Sep 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Use cross-compiling windres detected by configure.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2278 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b5c6e2b6593323ede9f30f96a0734b133675c339
      https://github.com/boxbackup/boxbackup/commit/b5c6e2b6593323ede9f30f96a0734b133675c339
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-13 (Sat, 13 Sep 2008)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp
    M lib/common/Logging.cpp
    M lib/common/Logging.h
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Unify program name and console logging tags.

Add a new class, Logging::Tagger, which can be used to temporarily
add information to the program name, such as the client ID in bbstored.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2279 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0765be76311e421f65bd934f2ded697403e612d6
      https://github.com/boxbackup/boxbackup/commit/0765be76311e421f65bd934f2ded697403e612d6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-13 (Sat, 13 Sep 2008)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Use logging tagger to identify clients during connections, both
in syslog and on the console.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2280 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 481f2bc93039bd0721ed0fec52d5ad1ea7aab4ab
      https://github.com/boxbackup/boxbackup/commit/481f2bc93039bd0721ed0fec52d5ad1ea7aab4ab
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-13 (Sat, 13 Sep 2008)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp

  Log Message:
  -----------
  Allow stopping housekeeping during a run, between accounts, when the
daemon is requested to terminate or to reload its configuration.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2281 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 857a6efeaac51c6962d575197357cded5ee4d424
      https://github.com/boxbackup/boxbackup/commit/857a6efeaac51c6962d575197357cded5ee4d424
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-13 (Sat, 13 Sep 2008)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp
    M bin/bbstored/BackupStoreContext.cpp
    M bin/bbstored/BackupStoreContext.h
    M bin/bbstored/backupprotocol.txt

  Log Message:
  -----------
  Add command to undelete a file, to complete the set of commands
implemented by the bbstored server.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2282 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: be52977b3fb197aad82a0e59c42e61016a778fe3
      https://github.com/boxbackup/boxbackup/commit/be52977b3fb197aad82a0e59c42e61016a778fe3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-13 (Sat, 13 Sep 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbackupquery/documentation.txt

  Log Message:
  -----------
  Allow undelete command to work on files as well as directories.

Add delete command that works on files and directories.

Document both commands.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2283 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 43ab4a2e93a680a2aafb6a0124ebf20e61922678
      https://github.com/boxbackup/boxbackup/commit/43ab4a2e93a680a2aafb6a0124ebf20e61922678
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-13 (Sat, 13 Sep 2008)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  Log which command succeeded or failed, rather than just "Succeeded",
which is not very helpful in system logs.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2284 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3c7cf88cbe736567f83f431db99fd68007fe4a68
      https://github.com/boxbackup/boxbackup/commit/3c7cf88cbe736567f83f431db99fd68007fe4a68
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-14 (Sun, 14 Sep 2008)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Prefix event log application name with Box Backup, and remove it from
all calls to SetProgramName, for better consistency on Unix.

Make bbstoreaccounts and bbackupctl set their program names for logging.

Don't override supplied tag with service name when BackupDaemon
is run as a service.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2285 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d68fc89a04d044f6c4d45203312299471ea1895f
      https://github.com/boxbackup/boxbackup/commit/d68fc89a04d044f6c4d45203312299471ea1895f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-14 (Sun, 14 Sep 2008)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Compile fix for [2285].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2286 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 53ba9a81d3607674a9aa6e42075ea852183cc80a
      https://github.com/boxbackup/boxbackup/commit/53ba9a81d3607674a9aa6e42075ea852183cc80a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-14 (Sun, 14 Sep 2008)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  FIx [2285] properly for Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2287 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a7ec4f0a7915a78b4f689427d972970554bbde6b
      https://github.com/boxbackup/boxbackup/commit/a7ec4f0a7915a78b4f689427d972970554bbde6b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-15 (Mon, 15 Sep 2008)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  Improve wording of control command message.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2289 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bb5bb9f939d88ab25518df3a6da0582483a0b249
      https://github.com/boxbackup/boxbackup/commit/bb5bb9f939d88ab25518df3a6da0582483a0b249
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-16 (Tue, 16 Sep 2008)

  Changed paths:
    M LICENSE.txt
    M bin/bbackupd/win32/bbackupd.conf
    M configure.ac
    M contrib/rpm/boxbackup.spec
    M distribution/boxbackup/DOCUMENTATION.txt
    M docs/backup/win32_build_on_cygwin_using_mingw.txt
    M docs/backup/win32_build_on_linux_using_mingw.txt
    M documentation/instguide.xml
    M runtest.pl.in

  Log Message:
  -----------
  s/(bbdev.)?fluffy.co.uk/boxbackup.org/



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2290 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4a6b9d7c8fc5fc9cc35678a6c367b1171687b71a
      https://github.com/boxbackup/boxbackup/commit/4a6b9d7c8fc5fc9cc35678a6c367b1171687b71a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Reinstate and fix the intercept tests for SSL keepalives.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2291 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ba8d99160f5b03fe2aa4afc365825bacb033bd21
      https://github.com/boxbackup/boxbackup/commit/ba8d99160f5b03fe2aa4afc365825bacb033bd21
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M lib/backupclient/BackupStoreFileDiff.cpp

  Log Message:
  -----------
  Use named timer for MaximumDiffingTime.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2292 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 787a32a6adb92772791da0d5c132723fc0ef5c8e
      https://github.com/boxbackup/boxbackup/commit/787a32a6adb92772791da0d5c132723fc0ef5c8e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Set console and syslog logging levels rather than global logging level,
as we may want to do something different when logging to a file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2293 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9e2efaa7072bcd8684bae911bf1726435308d264
      https://github.com/boxbackup/boxbackup/commit/9e2efaa7072bcd8684bae911bf1726435308d264
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M lib/server/ServerControl.cpp

  Log Message:
  -----------
  Log reason for any waitpid() failure.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2294 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3a0959831445e040a6a68795b1d51efa4fed0d3d
      https://github.com/boxbackup/boxbackup/commit/3a0959831445e040a6a68795b1d51efa4fed0d3d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Replace timer name when assigning from another timer.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2295 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: abe87e31b4d84d2b17e1125d532c807c4716b428
      https://github.com/boxbackup/boxbackup/commit/abe87e31b4d84d2b17e1125d532c807c4716b428
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Add file logger class.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2296 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 748f43d3d17e5c6bd04b2df5a20bab9ac3f7d9e8
      https://github.com/boxbackup/boxbackup/commit/748f43d3d17e5c6bd04b2df5a20bab9ac3f7d9e8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Log reason for failing to write to a file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2297 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 831914f23759c6360ca26ace0c00bde9caa5b822
      https://github.com/boxbackup/boxbackup/commit/831914f23759c6360ca26ace0c00bde9caa5b822
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M lib/common/FileStream.h

  Log Message:
  -----------
  Remove #ifdef WIN32 as we now define O_BINARY to 0 on Unixes, so
the same code can be used for both.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2298 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4ffc46d27fb7c2299c392e0928496073a1e76378
      https://github.com/boxbackup/boxbackup/commit/4ffc46d27fb7c2299c392e0928496073a1e76378
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M lib/intercept/intercept.cpp
    M lib/intercept/intercept.h

  Log Message:
  -----------
  Fix compilation of open64() intercept.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2299 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1d39bf48e9d3681044f389b9fab9c3a805a588c2
      https://github.com/boxbackup/boxbackup/commit/1d39bf48e9d3681044f389b9fab9c3a805a588c2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp

  Log Message:
  -----------
  Use named timer for KeepAliveTime.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2300 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e2a412a6c787486a0931a2cfca77fad1608d953a
      https://github.com/boxbackup/boxbackup/commit/e2a412a6c787486a0931a2cfca77fad1608d953a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Make upload decision messages (logged with LogAllFileAccess) clearer
to help automated log processing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2301 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1029001dcb5010cf5cdbc460f3108042c8f2dcd7
      https://github.com/boxbackup/boxbackup/commit/1029001dcb5010cf5cdbc460f3108042c8f2dcd7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-26 (Fri, 26 Sep 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M lib/backupclient/BackupDaemonConfigVerify.cpp

  Log Message:
  -----------
  Add file logging support (LogFile and LogFileLevel config options).

Ensure that backup-finish is always called, and add a new event,
backup-ok, which is called just before backup-finish when the backup
run was successful.

Keep track of the last backup status notification sent (excluding
backup-start and backup-finish) and send a notification whenever it
changes.

Add a new boolean option, NotifyAlways, to override that check and
always send notifications to the NotifyScript after every backup run,
for notify scripts which do their own state tracking or otherwise
require notification on every event.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2302 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d7106b667c10ec2f027ee7dcaa95282470d243d7
      https://github.com/boxbackup/boxbackup/commit/d7106b667c10ec2f027ee7dcaa95282470d243d7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-30 (Tue, 30 Sep 2008)

  Changed paths:
    M lib/server/Protocol.cpp
    M lib/server/ProtocolUncertainStream.cpp

  Log Message:
  -----------
  Additional debugging for protocol stream deadlock reported by
Matt Brown.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2303 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a593fba14b9aef2750f9288b0c76bf3d09a8b57d
      https://github.com/boxbackup/boxbackup/commit/a593fba14b9aef2750f9288b0c76bf3d09a8b57d
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-30 (Tue, 30 Sep 2008)

  Changed paths:
    M documentation/Makefile
    R documentation/bb-man.xsl
    A documentation/bb-man.xsl.tmpl

  Log Message:
  -----------
  Update documentation Makefile to include a few more man pages and to make the man page stylesheet dynamic (whether it downloads the XSL stylesheet from the Internet or uses a local copy).



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2304 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ea6ce9db1d7cfc39808468382545a961f0e8e1e
      https://github.com/boxbackup/boxbackup/commit/8ea6ce9db1d7cfc39808468382545a961f0e8e1e
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-30 (Tue, 30 Sep 2008)

  Changed paths:
    M documentation/bbackupctl.xml
    A documentation/bbackupd-config.xml
    A documentation/bbackupd.conf.xml
    A documentation/bbackupd.xml
    M documentation/bbackupquery.xml
    M documentation/bbstoreaccounts.xml
    M documentation/bbstored-certs.xml
    M documentation/bbstored-config.xml
    A documentation/bbstored.conf.xml
    A documentation/bbstored.xml
    M documentation/raidfile-config.xml
    A documentation/raidfile.conf.xml

  Log Message:
  -----------
  Documentation!

Add new documents for:
 * bbackupd
 * bbstored
 * bbackupd-config
 * bbackupd.conf
 * bbstored.conf
 * raidfile.conf

Update all other existing docs with a little more info.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2305 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 71afe997e3ec9f577131b37f6f95cbaf9af62055
      https://github.com/boxbackup/boxbackup/commit/71afe997e3ec9f577131b37f6f95cbaf9af62055
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-09-30 (Tue, 30 Sep 2008)

  Changed paths:
    M documentation/bbackupctl.xml

  Log Message:
  -----------
  Type o fox.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2306 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6923c621e23216cc227579b4ece0b3e3a565d394
      https://github.com/boxbackup/boxbackup/commit/6923c621e23216cc227579b4ece0b3e3a565d394
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-03 (Fri, 03 Oct 2008)

  Changed paths:
    M lib/server/Protocol.cpp

  Log Message:
  -----------
  More debugging, log type of stream received and fix logging of header byte.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2311 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 30ffc8ea0dc51d199b76c5869b5c79a2299c52a7
      https://github.com/boxbackup/boxbackup/commit/30ffc8ea0dc51d199b76c5869b5c79a2299c52a7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-03 (Fri, 03 Oct 2008)

  Changed paths:
    M lib/server/ProtocolUncertainStream.cpp

  Log Message:
  -----------
  Spacing and additional stream header byte logging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2312 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 86b8f2ef8b9e9a07eb7c1e869d0628e3195c54f3
      https://github.com/boxbackup/boxbackup/commit/86b8f2ef8b9e9a07eb7c1e869d0628e3195c54f3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-03 (Fri, 03 Oct 2008)

  Changed paths:
    A lib/server/OverlappedIO.h
    A lib/server/WinNamedPipeListener.h

  Log Message:
  -----------
  Utility classes to be used by new Windows named pipe framework.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2313 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 48c30c116d5bb0d5406555aa5d6e58f21a5d046d
      https://github.com/boxbackup/boxbackup/commit/48c30c116d5bb0d5406555aa5d6e58f21a5d046d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-03 (Fri, 03 Oct 2008)

  Changed paths:
    M bin/bbackupd/BackupClientInodeToIDMap.cpp

  Log Message:
  -----------
  Reformat for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2314 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6bd298731a95f465a657f6aea7b4770a1ee55a48
      https://github.com/boxbackup/boxbackup/commit/6bd298731a95f465a657f6aea7b4770a1ee55a48
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-03 (Fri, 03 Oct 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Log creation of directory records and warn on conflicting records.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2315 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 739d06ca7f3a7b0d674f833db035b7924a87ead7
      https://github.com/boxbackup/boxbackup/commit/739d06ca7f3a7b0d674f833db035b7924a87ead7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-03 (Fri, 03 Oct 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp
    M test/bbackupd/testfiles/bbackupd-temploc.conf

  Log Message:
  -----------
  Fix directory record conflicts caused by including the same directory
twice.

Fix/reduce locked file timing conflict problems.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2316 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1c2719ac8cc7c59c831b3475e42801f02b39f113
      https://github.com/boxbackup/boxbackup/commit/1c2719ac8cc7c59c831b3475e42801f02b39f113
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-03 (Fri, 03 Oct 2008)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Remove -K option which now does nothing on Windows.

Add -Q option which disables all logging instead.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2317 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 27e3c4fef5f032a74b715623fd8f1ef37cf5ba6a
      https://github.com/boxbackup/boxbackup/commit/27e3c4fef5f032a74b715623fd8f1ef37cf5ba6a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-03 (Fri, 03 Oct 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M lib/server/WinNamedPipeStream.cpp
    M lib/server/WinNamedPipeStream.h

  Log Message:
  -----------
  Remove Win32 command socket thread, as it has caused too much trouble.

Handle command socket on Win32 the same as all other platforms, removing
#ifdefs from BackupDaemon.

Will replace this thread with regular but not excessive command socket
polling using timers in future.

Change error messages when command socket comms fail to make them clearer.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2318 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8de39a06afee7c6570f34453b136e7e8aa0505e7
      https://github.com/boxbackup/boxbackup/commit/8de39a06afee7c6570f34453b136e7e8aa0505e7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-03 (Fri, 03 Oct 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Reformat comments for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2319 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3dc8f9d8e06cd044d4a9c43875ca5ea3790fa141
      https://github.com/boxbackup/boxbackup/commit/3dc8f9d8e06cd044d4a9c43875ca5ea3790fa141
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-04 (Sat, 04 Oct 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix bbackupd/housekeeping deletion test for Unix again, and hopefully
make it work on Windows too. Improve comments about this test.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2320 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5309a05cab9f755675e1166c2547bfaefaaec089
      https://github.com/boxbackup/boxbackup/commit/5309a05cab9f755675e1166c2547bfaefaaec089
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-04 (Sat, 04 Oct 2008)

  Log Message:
  -----------
  Update svn:ignore property to remove a few generated files from contrib and documentation.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2321 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ecba01533e36584193bfaa6f86174050724cf1ee
      https://github.com/boxbackup/boxbackup/commit/ecba01533e36584193bfaa6f86174050724cf1ee
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-04 (Sat, 04 Oct 2008)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  No need for pcreposix.dll in parcels, now that it's statically linked.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2322 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 130f503f6a2a2cc2129dc83ced20dc9fc517e344
      https://github.com/boxbackup/boxbackup/commit/130f503f6a2a2cc2129dc83ced20dc9fc517e344
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-04 (Sat, 04 Oct 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Use xargs to delete files on Cygwin, as it's much faster than find -exec.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2323 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 292b490e8597d82e502952ce85607c80049113c0
      https://github.com/boxbackup/boxbackup/commit/292b490e8597d82e502952ce85607c80049113c0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-04 (Sat, 04 Oct 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Log statistics before BackupFinish event, so that they can be used
in reporting in the NotifyScript.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2324 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 577646f04615fd9d85f5ceb03d8270ac9c0127e8
      https://github.com/boxbackup/boxbackup/commit/577646f04615fd9d85f5ceb03d8270ac9c0127e8
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-04 (Sat, 04 Oct 2008)

  Changed paths:
    M documentation/bbackupctl.xml
    M documentation/bbackupd-config.xml
    M documentation/bbackupd.conf.xml
    M documentation/bbackupd.xml
    M documentation/bbackupquery.xml
    M documentation/bbstoreaccounts.xml
    M documentation/bbstored-certs.xml
    M documentation/bbstored-config.xml
    M documentation/bbstored.conf.xml
    M documentation/bbstored.xml
    M documentation/raidfile-config.xml
    M documentation/raidfile.conf.xml

  Log Message:
  -----------
  Add some more <refmiscinfo> tags to silence warnings from xsltproc.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2325 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dca7d41667cbc93de8b36b22c0074bc735d20e15
      https://github.com/boxbackup/boxbackup/commit/dca7d41667cbc93de8b36b22c0074bc735d20e15
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-04 (Sat, 04 Oct 2008)

  Changed paths:
    M documentation/bbackupctl.xml

  Log Message:
  -----------
  Reintroducing old typos isn't very helpful.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2326 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f874fb2d28c7b41763ffa6d14e8e6c197012069e
      https://github.com/boxbackup/boxbackup/commit/f874fb2d28c7b41763ffa6d14e8e6c197012069e
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-05 (Sun, 05 Oct 2008)

  Changed paths:
    M configure.ac
    M infrastructure/m4/ax_bswap64.m4
    M infrastructure/m4/ax_check_define_pragma.m4
    M infrastructure/m4/ax_check_dirent_d_type.m4
    M infrastructure/m4/ax_check_malloc_workaround.m4
    M infrastructure/m4/ax_check_nonaligned_access.m4
    M infrastructure/m4/ax_check_syscall_lseek.m4
    M infrastructure/m4/ax_func_syscall.m4

  Log Message:
  -----------
  Update autoconf to silence warnings on autoconf >= 2.62

 * AC_SUBST now only works with one variable per call
 * When using AC_CACHE the variable must contain the string '_cv_', thus prefix all cache variables with box_cv_


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2327 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9e6a9bd16d1d3130b645b02aff9a1e4fbab6b814
      https://github.com/boxbackup/boxbackup/commit/9e6a9bd16d1d3130b645b02aff9a1e4fbab6b814
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-05 (Sun, 05 Oct 2008)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in
    M infrastructure/makeparcels.pl.in
    A infrastructure/parcelpath.pl

  Log Message:
  -----------
  Move parcel_* functions into BoxPlatform package to share them with
other scripts.

Add a script to print the path to the current parcel directory, for
use in configure.ac to allow this to be placed in substitutions
(contrib/windows/installer/boxbackup.mpi in particular).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2328 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8993690641b444d13b55168e166c2559cd319281
      https://github.com/boxbackup/boxbackup/commit/8993690641b444d13b55168e166c2559cd319281
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-05 (Sun, 05 Oct 2008)

  Changed paths:
    A infrastructure/printversion.pl

  Log Message:
  -----------
  Add a script to print the Box software version, to substitute into the
installer and the documentation.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2329 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a09d430343f1424cd3c1f324c6e4848b3ae8755a
      https://github.com/boxbackup/boxbackup/commit/a09d430343f1424cd3c1f324c6e4848b3ae8755a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-05 (Sun, 05 Oct 2008)

  Changed paths:
    M configure.ac
    R contrib/windows/installer/boxbackup.mpi
    A contrib/windows/installer/boxbackup.mpi.in

  Log Message:
  -----------
  Substitute parcel directory and Box version into InstallJammer config
file for Windows installer.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2330 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e85ace2838d1c77238ab24c2e5ef20e90a3d5b49
      https://github.com/boxbackup/boxbackup/commit/e85ace2838d1c77238ab24c2e5ef20e90a3d5b49
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-05 (Sun, 05 Oct 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Parcel path must have backslashes replaced with forward slashes for
boxbackup.mpi.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2331 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7eefa383062a8eaeb7622f27440fdd731e40f21b
      https://github.com/boxbackup/boxbackup/commit/7eefa383062a8eaeb7622f27440fdd731e40f21b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-05 (Sun, 05 Oct 2008)

  Changed paths:
    M contrib/windows/installer/boxbackup.mpi.in

  Log Message:
  -----------
  Use program version for installer version as well.

Default to installing on drive C, not drive D.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2332 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6512b28af258ad31b9d7cb8e8222720db8a91ed0
      https://github.com/boxbackup/boxbackup/commit/6512b28af258ad31b9d7cb8e8222720db8a91ed0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-05 (Sun, 05 Oct 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Add missing closing quote to path substitution for parcel path.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2333 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1374f435003bec2bf24d0bbe288708146906d2fe
      https://github.com/boxbackup/boxbackup/commit/1374f435003bec2bf24d0bbe288708146906d2fe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-05 (Sun, 05 Oct 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Really fix sed expression.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2334 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9e1b08b0fa7b4d030cb2d3b5ed681dc6b378e5ec
      https://github.com/boxbackup/boxbackup/commit/9e1b08b0fa7b4d030cb2d3b5ed681dc6b378e5ec
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-05 (Sun, 05 Oct 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Yet more backslashes required :(


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2335 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a144a8c6d67aa630d0a01fc46d4f40eb17937fc8
      https://github.com/boxbackup/boxbackup/commit/a144a8c6d67aa630d0a01fc46d4f40eb17937fc8
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-07 (Tue, 07 Oct 2008)

  Changed paths:
    R docs/backup/INDEX.txt
    R docs/backup/Win32_Clients.txt
    R docs/backup/backup_encryption.txt
    R docs/backup/bin_bbackupd.txt
    R docs/backup/bin_bbstored.txt
    R docs/backup/encrypt_rsync.txt
    R docs/backup/lib_backupclient.txt
    R docs/backup/lib_backupstore.txt
    R docs/backup/win32_build_on_cygwin_using_mingw.txt
    R docs/backup/win32_build_on_linux_using_mingw.txt
    R docs/backup/windows_porting.txt
    R docs/common/lib_common.txt
    R docs/common/lib_common/BoxTime.txt
    R docs/common/lib_common/CollectInBufferStream.txt
    R docs/common/lib_common/Configuration.txt
    R docs/common/lib_common/Conversion.txt
    R docs/common/lib_common/ExcludeList.txt
    R docs/common/lib_common/FdGetLine.txt
    R docs/common/lib_common/Guards.txt
    R docs/common/lib_common/IOStream.txt
    R docs/common/lib_common/IOStreamGetLine.txt
    R docs/common/lib_common/MainHelper.txt
    R docs/common/lib_common/WaitForEvent.txt
    R docs/common/lib_common/xStream.txt
    R docs/common/lib_compress.txt
    R docs/common/lib_compress/CompressStream.txt
    R docs/common/lib_crypto.txt
    R docs/common/lib_crypto/CipherContext.txt
    R docs/common/lib_crypto/RollingChecksum.txt
    R docs/common/lib_server.txt
    R docs/common/lib_server/Daemon.txt
    R docs/common/lib_server/Protocol.txt
    R docs/common/lib_server/ServerStream.txt
    R docs/common/lib_server/ServerTLS.txt
    R docs/common/lib_server/SocketStream.txt
    R docs/common/lib_server/SocketStreamTLS.txt
    R docs/common/lib_server/TLSContext.txt
    R docs/common/memory_leaks.txt
    R docs/raidfile/lib_raidfile.txt
    R docs/raidfile/lib_raidfile/RaidFileRead.txt
    R docs/raidfile/lib_raidfile/RaidFileWrite.txt
    A documentation/api-docs/backup/INDEX.txt
    A documentation/api-docs/backup/Win32_Clients.txt
    A documentation/api-docs/backup/backup_encryption.txt
    A documentation/api-docs/backup/bin_bbackupd.txt
    A documentation/api-docs/backup/bin_bbstored.txt
    A documentation/api-docs/backup/encrypt_rsync.txt
    A documentation/api-docs/backup/lib_backupclient.txt
    A documentation/api-docs/backup/lib_backupstore.txt
    A documentation/api-docs/backup/win32_build_on_cygwin_using_mingw.txt
    A documentation/api-docs/backup/win32_build_on_linux_using_mingw.txt
    A documentation/api-docs/backup/windows_porting.txt
    A documentation/api-docs/common/lib_common.txt
    A documentation/api-docs/common/lib_common/BoxTime.txt
    A documentation/api-docs/common/lib_common/CollectInBufferStream.txt
    A documentation/api-docs/common/lib_common/Configuration.txt
    A documentation/api-docs/common/lib_common/Conversion.txt
    A documentation/api-docs/common/lib_common/ExcludeList.txt
    A documentation/api-docs/common/lib_common/FdGetLine.txt
    A documentation/api-docs/common/lib_common/Guards.txt
    A documentation/api-docs/common/lib_common/IOStream.txt
    A documentation/api-docs/common/lib_common/IOStreamGetLine.txt
    A documentation/api-docs/common/lib_common/MainHelper.txt
    A documentation/api-docs/common/lib_common/WaitForEvent.txt
    A documentation/api-docs/common/lib_common/xStream.txt
    A documentation/api-docs/common/lib_compress.txt
    A documentation/api-docs/common/lib_compress/CompressStream.txt
    A documentation/api-docs/common/lib_crypto.txt
    A documentation/api-docs/common/lib_crypto/CipherContext.txt
    A documentation/api-docs/common/lib_crypto/RollingChecksum.txt
    A documentation/api-docs/common/lib_server.txt
    A documentation/api-docs/common/lib_server/Daemon.txt
    A documentation/api-docs/common/lib_server/Protocol.txt
    A documentation/api-docs/common/lib_server/ServerStream.txt
    A documentation/api-docs/common/lib_server/ServerTLS.txt
    A documentation/api-docs/common/lib_server/SocketStream.txt
    A documentation/api-docs/common/lib_server/SocketStreamTLS.txt
    A documentation/api-docs/common/lib_server/TLSContext.txt
    A documentation/api-docs/common/memory_leaks.txt
    A documentation/api-docs/raidfile/lib_raidfile.txt
    A documentation/api-docs/raidfile/lib_raidfile/RaidFileRead.txt
    A documentation/api-docs/raidfile/lib_raidfile/RaidFileWrite.txt

  Log Message:
  -----------
  Documentation restructuring: part 1 of 2.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2336 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4fa52f5e175cef0c66245ea6839f09c563ce3c8f
      https://github.com/boxbackup/boxbackup/commit/4fa52f5e175cef0c66245ea6839f09c563ce3c8f
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-07 (Tue, 07 Oct 2008)

  Changed paths:
    A docs/Makefile
    A docs/adminguide.xml
    A docs/api-docs/backup/INDEX.txt
    A docs/api-docs/backup/Win32_Clients.txt
    A docs/api-docs/backup/backup_encryption.txt
    A docs/api-docs/backup/bin_bbackupd.txt
    A docs/api-docs/backup/bin_bbstored.txt
    A docs/api-docs/backup/encrypt_rsync.txt
    A docs/api-docs/backup/lib_backupclient.txt
    A docs/api-docs/backup/lib_backupstore.txt
    A docs/api-docs/backup/win32_build_on_cygwin_using_mingw.txt
    A docs/api-docs/backup/win32_build_on_linux_using_mingw.txt
    A docs/api-docs/backup/windows_porting.txt
    A docs/api-docs/common/lib_common.txt
    A docs/api-docs/common/lib_common/BoxTime.txt
    A docs/api-docs/common/lib_common/CollectInBufferStream.txt
    A docs/api-docs/common/lib_common/Configuration.txt
    A docs/api-docs/common/lib_common/Conversion.txt
    A docs/api-docs/common/lib_common/ExcludeList.txt
    A docs/api-docs/common/lib_common/FdGetLine.txt
    A docs/api-docs/common/lib_common/Guards.txt
    A docs/api-docs/common/lib_common/IOStream.txt
    A docs/api-docs/common/lib_common/IOStreamGetLine.txt
    A docs/api-docs/common/lib_common/MainHelper.txt
    A docs/api-docs/common/lib_common/WaitForEvent.txt
    A docs/api-docs/common/lib_common/xStream.txt
    A docs/api-docs/common/lib_compress.txt
    A docs/api-docs/common/lib_compress/CompressStream.txt
    A docs/api-docs/common/lib_crypto.txt
    A docs/api-docs/common/lib_crypto/CipherContext.txt
    A docs/api-docs/common/lib_crypto/RollingChecksum.txt
    A docs/api-docs/common/lib_server.txt
    A docs/api-docs/common/lib_server/Daemon.txt
    A docs/api-docs/common/lib_server/Protocol.txt
    A docs/api-docs/common/lib_server/ServerStream.txt
    A docs/api-docs/common/lib_server/ServerTLS.txt
    A docs/api-docs/common/lib_server/SocketStream.txt
    A docs/api-docs/common/lib_server/SocketStreamTLS.txt
    A docs/api-docs/common/lib_server/TLSContext.txt
    A docs/api-docs/common/memory_leaks.txt
    A docs/api-docs/raidfile/lib_raidfile.txt
    A docs/api-docs/raidfile/lib_raidfile/RaidFileRead.txt
    A docs/api-docs/raidfile/lib_raidfile/RaidFileWrite.txt
    A docs/bb-book.xsl
    A docs/bb-man.xsl.tmpl
    A docs/bb-nochunk-book.xsl
    A docs/bbackupctl.xml
    A docs/bbackupd-config.xml
    A docs/bbackupd.conf.xml
    A docs/bbackupd.xml
    A docs/bbackupquery.xml
    A docs/bblogo-alpha.xcf
    A docs/bbstoreaccounts.xml
    A docs/bbstored-certs.xml
    A docs/bbstored-config.xml
    A docs/bbstored.conf.xml
    A docs/bbstored.xml
    A docs/favicon.ico
    A docs/generate_except_xml.pl
    A docs/html/bbdoc-man.css
    A docs/html/bbdoc.css
    A docs/html/images/arrow.png
    A docs/html/images/bblogo.png
    A docs/html/images/stepahead.png
    A docs/instguide.xml
    A docs/raidfile-config.xml
    A docs/raidfile.conf.xml
    R documentation/Makefile
    R documentation/adminguide.xml
    R documentation/api-docs/backup/INDEX.txt
    R documentation/api-docs/backup/Win32_Clients.txt
    R documentation/api-docs/backup/backup_encryption.txt
    R documentation/api-docs/backup/bin_bbackupd.txt
    R documentation/api-docs/backup/bin_bbstored.txt
    R documentation/api-docs/backup/encrypt_rsync.txt
    R documentation/api-docs/backup/lib_backupclient.txt
    R documentation/api-docs/backup/lib_backupstore.txt
    R documentation/api-docs/backup/win32_build_on_cygwin_using_mingw.txt
    R documentation/api-docs/backup/win32_build_on_linux_using_mingw.txt
    R documentation/api-docs/backup/windows_porting.txt
    R documentation/api-docs/common/lib_common.txt
    R documentation/api-docs/common/lib_common/BoxTime.txt
    R documentation/api-docs/common/lib_common/CollectInBufferStream.txt
    R documentation/api-docs/common/lib_common/Configuration.txt
    R documentation/api-docs/common/lib_common/Conversion.txt
    R documentation/api-docs/common/lib_common/ExcludeList.txt
    R documentation/api-docs/common/lib_common/FdGetLine.txt
    R documentation/api-docs/common/lib_common/Guards.txt
    R documentation/api-docs/common/lib_common/IOStream.txt
    R documentation/api-docs/common/lib_common/IOStreamGetLine.txt
    R documentation/api-docs/common/lib_common/MainHelper.txt
    R documentation/api-docs/common/lib_common/WaitForEvent.txt
    R documentation/api-docs/common/lib_common/xStream.txt
    R documentation/api-docs/common/lib_compress.txt
    R documentation/api-docs/common/lib_compress/CompressStream.txt
    R documentation/api-docs/common/lib_crypto.txt
    R documentation/api-docs/common/lib_crypto/CipherContext.txt
    R documentation/api-docs/common/lib_crypto/RollingChecksum.txt
    R documentation/api-docs/common/lib_server.txt
    R documentation/api-docs/common/lib_server/Daemon.txt
    R documentation/api-docs/common/lib_server/Protocol.txt
    R documentation/api-docs/common/lib_server/ServerStream.txt
    R documentation/api-docs/common/lib_server/ServerTLS.txt
    R documentation/api-docs/common/lib_server/SocketStream.txt
    R documentation/api-docs/common/lib_server/SocketStreamTLS.txt
    R documentation/api-docs/common/lib_server/TLSContext.txt
    R documentation/api-docs/common/memory_leaks.txt
    R documentation/api-docs/raidfile/lib_raidfile.txt
    R documentation/api-docs/raidfile/lib_raidfile/RaidFileRead.txt
    R documentation/api-docs/raidfile/lib_raidfile/RaidFileWrite.txt
    R documentation/bb-book.xsl
    R documentation/bb-man.xsl.tmpl
    R documentation/bb-nochunk-book.xsl
    R documentation/bbackupctl.xml
    R documentation/bbackupd-config.xml
    R documentation/bbackupd.conf.xml
    R documentation/bbackupd.xml
    R documentation/bbackupquery.xml
    R documentation/bblogo-alpha.xcf
    R documentation/bbstoreaccounts.xml
    R documentation/bbstored-certs.xml
    R documentation/bbstored-config.xml
    R documentation/bbstored.conf.xml
    R documentation/bbstored.xml
    R documentation/favicon.ico
    R documentation/generate_except_xml.pl
    R documentation/html/bbdoc-man.css
    R documentation/html/bbdoc.css
    R documentation/html/images/arrow.png
    R documentation/html/images/bblogo.png
    R documentation/html/images/stepahead.png
    R documentation/instguide.xml
    R documentation/raidfile-config.xml
    R documentation/raidfile.conf.xml

  Log Message:
  -----------
  Documentation restructuring: part 2 of 2.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2337 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e8fc3ca2a3508563ea0b0bfac9bebedc33240d8a
      https://github.com/boxbackup/boxbackup/commit/e8fc3ca2a3508563ea0b0bfac9bebedc33240d8a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-08 (Wed, 08 Oct 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in
    M parcels.txt

  Log Message:
  -----------
  Include LICENSE.txt in parcels, but don't install it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2338 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8c8d3973bcc34ab2ad839a236c211d87fa0edb96
      https://github.com/boxbackup/boxbackup/commit/8c8d3973bcc34ab2ad839a236c211d87fa0edb96
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-08 (Wed, 08 Oct 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Add @build_dir@ as a substituted variable in autoconf script.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2339 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8e57931c74775adc899245b885a6747587abbf64
      https://github.com/boxbackup/boxbackup/commit/8e57931c74775adc899245b885a6747587abbf64
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-08 (Wed, 08 Oct 2008)

  Changed paths:
    M contrib/windows/installer/boxbackup.mpi.in

  Log Message:
  -----------
  Rebranding of installer.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2340 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 53fd923f5106d302e4dea7ffbd1dc1baeebf137c
      https://github.com/boxbackup/boxbackup/commit/53fd923f5106d302e4dea7ffbd1dc1baeebf137c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-08 (Wed, 08 Oct 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Compile fix for makeparcels.pl (missing definition of @args).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2341 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 79cce59b209f3d5d43da005bf817814c36edfc77
      https://github.com/boxbackup/boxbackup/commit/79cce59b209f3d5d43da005bf817814c36edfc77
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-08 (Wed, 08 Oct 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Determine whether to use find | xargs at build time, not at run time,
as Solaris/SunOS doesn't have "uname -o".


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2342 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 936cec70808cf76dbfb4a6f550ab216ebaef0b18
      https://github.com/boxbackup/boxbackup/commit/936cec70808cf76dbfb4a6f550ab216ebaef0b18
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-08 (Wed, 08 Oct 2008)

  Changed paths:
    M lib/server/SSLLib.cpp

  Log Message:
  -----------
  Use Windows Crypto API to seed the random number generator, and remove
warning that it hasn't been seeded on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2343 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d7881f041055b10b17cf1df57be576ba222729a2
      https://github.com/boxbackup/boxbackup/commit/d7881f041055b10b17cf1df57be576ba222729a2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-08 (Wed, 08 Oct 2008)

  Changed paths:
    M contrib/windows/installer/boxbackup.mpi.in

  Log Message:
  -----------
  Remove non-working icons for now.

Fix creation of configuration file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2344 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 86eb5f372a7c575ebc4d2c43c8bcd6f62e735cf2
      https://github.com/boxbackup/boxbackup/commit/86eb5f372a7c575ebc4d2c43c8bcd6f62e735cf2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-11 (Sat, 11 Oct 2008)

  Changed paths:
    M lib/intercept/intercept.h

  Log Message:
  -----------
  Fix intercept compile problem on Solaris, and hopefully on other platforms
with large file support.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2345 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 09aa6873855c7e91d1c2e2a6995c6dd95a20cb54
      https://github.com/boxbackup/boxbackup/commit/09aa6873855c7e91d1c2e2a6995c6dd95a20cb54
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-11 (Sat, 11 Oct 2008)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Fix spurious memory leak warnings on Solaris when using Sun Studio
compiler.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2346 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9fabf7ce842f416e6b7ea7d94b5fb86d19c3bd59
      https://github.com/boxbackup/boxbackup/commit/9fabf7ce842f416e6b7ea7d94b5fb86d19c3bd59
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-11 (Sat, 11 Oct 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add missing extern "C" on intercept function definitions in
testbbackupd.

Fix assignment of string constants to non-const char pointers.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2347 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5923ea07165690745722b520520c2f8a88e2e909
      https://github.com/boxbackup/boxbackup/commit/5923ea07165690745722b520520c2f8a88e2e909
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-11 (Sat, 11 Oct 2008)

  Changed paths:
    M configure.ac
    M lib/common/BoxPlatform.h
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Use getpeerucred() to identify connecting socket clients on Solaris,
and silence warnings that the peer cannot be identified on this
platform.

Remove another use of uname -o which doesn't work on Solaris.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2348 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7cfa58a80f739f62a0e0d336e57d71a2e830cc99
      https://github.com/boxbackup/boxbackup/commit/7cfa58a80f739f62a0e0d336e57d71a2e830cc99
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-11 (Sat, 11 Oct 2008)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Don't blindly use an undefined symbol in #if.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2349 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c5b2953275fd67819877b599bd63368987590363
      https://github.com/boxbackup/boxbackup/commit/c5b2953275fd67819877b599bd63368987590363
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-11 (Sat, 11 Oct 2008)

  Changed paths:
    M lib/intercept/intercept.cpp

  Log Message:
  -----------
  FreeBSD is very strict about vararg types and aborts at runtime if
the type passed to va_arg() has been promoted, so let's keep it happy
by using ints instead.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2350 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b9e1c2c72b275e0611ef026263c5747381740375
      https://github.com/boxbackup/boxbackup/commit/b9e1c2c72b275e0611ef026263c5747381740375
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-11 (Sat, 11 Oct 2008)

  Changed paths:
    M lib/intercept/intercept.cpp
    M lib/intercept/intercept.h

  Log Message:
  -----------
  Ensure that _FILE_OFFSET_BITS is defined before testing its value.

Move definition of DEFINE_ONLY_OPEN64 into intercept.cpp which is
the only place that should use it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2351 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8493cf70cfb330fbeaf2fe12db8f1c4532444638
      https://github.com/boxbackup/boxbackup/commit/8493cf70cfb330fbeaf2fe12db8f1c4532444638
  Author: cbkm <cbkm at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-13 (Mon, 13 Oct 2008)

  Changed paths:
    M contrib/bbreporter/bbreporter.py

  Log Message:
  -----------
  - fix issue with log format change, but stay backwards compatible.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2352 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cc1207c3e0bc983b3f7f8f88ac0b5f003bdcea41
      https://github.com/boxbackup/boxbackup/commit/cc1207c3e0bc983b3f7f8f88ac0b5f003bdcea41
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-16 (Thu, 16 Oct 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/documentation.txt

  Log Message:
  -----------
  Add -m option to bbackupquery usage command for machine-readable output.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2353 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6dff51d1068e7a6694277928ec976eadb8e5831f
      https://github.com/boxbackup/boxbackup/commit/6dff51d1068e7a6694277928ec976eadb8e5831f
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-17 (Fri, 17 Oct 2008)

  Changed paths:
    M docs/bbackupquery.xml

  Log Message:
  -----------
  Update bbackupquery man page for new -m option for the usage command.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2354 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 031dbfc72538e831d00b95ce457d4511fb587a24
      https://github.com/boxbackup/boxbackup/commit/031dbfc72538e831d00b95ce457d4511fb587a24
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-17 (Fri, 17 Oct 2008)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Fix warning about converting string constant to char * on debian lenny.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2355 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ef8bd2c8c04d0fa74a5fc62cd7869996561fced7
      https://github.com/boxbackup/boxbackup/commit/ef8bd2c8c04d0fa74a5fc62cd7869996561fced7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-17 (Fri, 17 Oct 2008)

  Changed paths:
    M lib/common/Utils.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Fix compile errors on Debian Lenny, reported by Torsten.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2356 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9bd6f4ab9d261d743cd505d21354804500e9a6ce
      https://github.com/boxbackup/boxbackup/commit/9bd6f4ab9d261d743cd505d21354804500e9a6ce
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-18 (Sat, 18 Oct 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Create destination directory before installing into it, as requested
by David Kaufman for Gentoo.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2357 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cbad85e93eca73ee574d4d47ba5c0d24f0bc8af3
      https://github.com/boxbackup/boxbackup/commit/cbad85e93eca73ee574d4d47ba5c0d24f0bc8af3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-18 (Sat, 18 Oct 2008)

  Changed paths:
    M bin/bbstored/BackupConstants.h

  Log Message:
  -----------
  Remove unused and wrong default path for accounts database.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2358 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ee2798f40b70b9e15e9506a6f0bdfe03178a9480
      https://github.com/boxbackup/boxbackup/commit/ee2798f40b70b9e15e9506a6f0bdfe03178a9480
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-21 (Tue, 21 Oct 2008)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Report the filename that failed when various file attribute syscalls
fail, for example setting, listing or reading extended attributes,
or creating or changing the owner of a symlink. Thanks to Torsten for
noticing that the filename was not reported in these cases.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2359 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5140aff891018ff6212baa45cbc47d3f2748805e
      https://github.com/boxbackup/boxbackup/commit/5140aff891018ff6212baa45cbc47d3f2748805e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-24 (Fri, 24 Oct 2008)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Add missing #include <errno.h>, needed by FreeBSD and Solaris at least.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2360 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 975031f2c427f7cce4851e422162a511b91d7bb0
      https://github.com/boxbackup/boxbackup/commit/975031f2c427f7cce4851e422162a511b91d7bb0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-24 (Fri, 24 Oct 2008)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Check whether HAVE_UCRED_H is defined, not whether its value is 1.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2361 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 75b620cdccbcf0c51fa2fa3f38df814263f90e0b
      https://github.com/boxbackup/boxbackup/commit/75b620cdccbcf0c51fa2fa3f38df814263f90e0b
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-26 (Sun, 26 Oct 2008)

  Changed paths:
    M docs/Makefile

  Log Message:
  -----------
   * Create man pages in man/ instead of man-pages/ (slightly more standard location)
 * Fix a bug in the creation of the HTML man pages dir
 * Make the output quieter (don't display commands when making)



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2362 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 362cc0289bc6b0caff7a041bbce6505080cb3a2c
      https://github.com/boxbackup/boxbackup/commit/362cc0289bc6b0caff7a041bbce6505080cb3a2c
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-26 (Sun, 26 Oct 2008)

  Log Message:
  -----------
  Ignore generated Windows installer file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2363 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1549daa78886b600f6cf589fa65f42d81707f785
      https://github.com/boxbackup/boxbackup/commit/1549daa78886b600f6cf589fa65f42d81707f785
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-26 (Sun, 26 Oct 2008)

  Changed paths:
    M cleanupforcvs.pl

  Log Message:
  -----------
  Don't include docs/ in the cleanup search.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2364 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 927039921ac43ed65cd785133e1a6b890acda128
      https://github.com/boxbackup/boxbackup/commit/927039921ac43ed65cd785133e1a6b890acda128
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-26 (Sun, 26 Oct 2008)

  Changed paths:
    M infrastructure/m4/ax_func_syscall.m4

  Log Message:
  -----------
  Reverse the test for __syscall(), remove the test for syscall(),
remove the definition and reverse the sense in ax_func_syscall.m4
(which checks for __syscall() needing definition).

Autoconf's AC_CHECK_FUNC defines it when testing for its presence,
so HAVE___SYSCALL will be true even if __syscall has no definition
in the system libraries, and this is precisely the case that we
want to test for, so now we test whether the test program compiles
with no explicit definition (only the system headers) and if that
fails, we set HAVE___SYSCALL_NEED_DEFN to 1.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2365 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b28e1662a6a75eae26c01bddcaca1c87a3ba53f0
      https://github.com/boxbackup/boxbackup/commit/b28e1662a6a75eae26c01bddcaca1c87a3ba53f0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-26 (Sun, 26 Oct 2008)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp
    M lib/server/Socket.cpp

  Log Message:
  -----------
  Silence warnings from openbsd gcc by using strncpy instead of strcpy.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2366 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3fa99615b9e718ce544ff7891dfb2b9daf42eee6
      https://github.com/boxbackup/boxbackup/commit/3fa99615b9e718ce544ff7891dfb2b9daf42eee6
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-27 (Mon, 27 Oct 2008)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Use $PERL instead of perl in configure.ac


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2367 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b122108aeed8cf2d356ae7b37e7334e5bcd5b0d1
      https://github.com/boxbackup/boxbackup/commit/b122108aeed8cf2d356ae7b37e7334e5bcd5b0d1
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-27 (Mon, 27 Oct 2008)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/CONTACT.txt
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt
    M distribution/boxbackup/VERSION.txt
    M docs/Makefile
    M infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Update distribution generator.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2368 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9c83b4f92a2f64763d0299f6a065c635beff73a0
      https://github.com/boxbackup/boxbackup/commit/9c83b4f92a2f64763d0299f6a065c635beff73a0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-29 (Wed, 29 Oct 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use the same ostringstream formatting for protocol logging to file
that we use for standard logging, to fix 64bit platform warnings
reported by Matt Brown.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2369 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 93edd214343f546cf0cb920aea8bc75b9df2dcef
      https://github.com/boxbackup/boxbackup/commit/93edd214343f546cf0cb920aea8bc75b9df2dcef
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-29 (Wed, 29 Oct 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Revert incorrectly committed file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2370 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 430ae6110efe79a3bb425c33284e88914d43ec59
      https://github.com/boxbackup/boxbackup/commit/430ae6110efe79a3bb425c33284e88914d43ec59
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-29 (Wed, 29 Oct 2008)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Use the same ostringstream formatting for protocol logging to file
that we use for standard logging, to fix 64bit platform warnings
reported by Matt Brown.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2371 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 29dd418fcca6a18be944e0d6180346c760c16df3
      https://github.com/boxbackup/boxbackup/commit/29dd418fcca6a18be944e0d6180346c760c16df3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-10-29 (Wed, 29 Oct 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix test for slight change to logging format.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2372 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b306dd07e78d35a39dc9f521bad5562d752a384
      https://github.com/boxbackup/boxbackup/commit/0b306dd07e78d35a39dc9f521bad5562d752a384
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-02 (Sun, 02 Nov 2008)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Update distribution manifest to include the DocBook XML sources, as requested by Reinhard Tartler.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2373 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 10441579255f74b3642e154b530751088d035d1a
      https://github.com/boxbackup/boxbackup/commit/10441579255f74b3642e154b530751088d035d1a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-08 (Sat, 08 Nov 2008)

  Log Message:
  -----------
  Create directory for admin web interface. See WebManagementInterface.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2374 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0830f626b73e63fdbd78ec61d2103406e29c6b37
      https://github.com/boxbackup/boxbackup/commit/0830f626b73e63fdbd78ec61d2103406e29c6b37
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-08 (Sat, 08 Nov 2008)

  Changed paths:
    A contrib/bbadmin/accounts.cgi
    A contrib/bbadmin/apache.conf
    A contrib/bbadmin/bb.css

  Log Message:
  -----------
  Add the WebManagementInterface to contribs.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2375 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0ab7dc24aad37bf5fc3c849b09f0f928b3d46178
      https://github.com/boxbackup/boxbackup/commit/0ab7dc24aad37bf5fc3c849b09f0f928b3d46178
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-11 (Tue, 11 Nov 2008)

  Changed paths:
    M contrib/bbadmin/accounts.cgi

  Log Message:
  -----------
  Additional debugging for value format error reported by Scott McNee.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2376 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: de2de3e6557a486986ca155c39208fd57f4c844a
      https://github.com/boxbackup/boxbackup/commit/de2de3e6557a486986ca155c39208fd57f4c844a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-11 (Tue, 11 Nov 2008)

  Changed paths:
    M bin/bbackupd/win32/NotifySysAdmin.vbs

  Log Message:
  -----------
  Fix NotifyScript syntax error reported by Roy.

Ignore "backup-ok" messages in NotifyScript by default.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2377 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6e4876aae99c62e852e554f5893913f53a423e99
      https://github.com/boxbackup/boxbackup/commit/6e4876aae99c62e852e554f5893913f53a423e99
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-15 (Sat, 15 Nov 2008)

  Changed paths:
    M lib/raidfile/RaidFileUtil.cpp

  Log Message:
  -----------
  Fix typo in variable name.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2378 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2c3359dc92eed2c02a9467e0dafabbd87012ca89
      https://github.com/boxbackup/boxbackup/commit/2c3359dc92eed2c02a9467e0dafabbd87012ca89
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-22 (Sat, 22 Nov 2008)

  Changed paths:
    M configure.ac
    R contrib/mac_osx/org.boxbackup.bbackupd.plist
    A contrib/mac_osx/org.boxbackup.bbackupd.plist.in
    R contrib/mac_osx/org.boxbackup.bbstored.plist
    A contrib/mac_osx/org.boxbackup.bbstored.plist.in

  Log Message:
  -----------
  Autoconfify the OS X plist files

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2379 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 708b0f7b13d0abfb9cc020b1760e6c597e3f8ab3
      https://github.com/boxbackup/boxbackup/commit/708b0f7b13d0abfb9cc020b1760e6c597e3f8ab3
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-22 (Sat, 22 Nov 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Allow use of literal paths in parcels.txt (i.e. files to be installed outside of $prefix)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2380 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cd861683d7c2a2515832aacd14bc966d67170c59
      https://github.com/boxbackup/boxbackup/commit/cd861683d7c2a2515832aacd14bc966d67170c59
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-22 (Sat, 22 Nov 2008)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Install plist files for OS X

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2381 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f82d468ccf7b0c0a4e2300f32904ea5f2576e6d6
      https://github.com/boxbackup/boxbackup/commit/f82d468ccf7b0c0a4e2300f32904ea5f2576e6d6
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-23 (Sun, 23 Nov 2008)

  Changed paths:
    M configure.ac
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
   * Add OS X plists to the distribution
 * Revert the docs Makefile after distribution generation (certain parts are commented out for the distribution)
 * Reorder generated files in configure.ac so that files are not unnecessarily created executable


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2382 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d671bcf910d1ec31c67477c5c44d8f31d088b0c0
      https://github.com/boxbackup/boxbackup/commit/d671bcf910d1ec31c67477c5c44d8f31d088b0c0
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-23 (Sun, 23 Nov 2008)

  Changed paths:
    M infrastructure/makeparcels.pl.in
    M parcels.txt

  Log Message:
  -----------
  Hook the man pages into the build/install system. Man pages are now included in the client and server parcels and installed to $prefix/man.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2385 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3ede052684bd3d4fe8a0b0f1d80da4c48e7a6906
      https://github.com/boxbackup/boxbackup/commit/3ede052684bd3d4fe8a0b0f1d80da4c48e7a6906
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-24 (Mon, 24 Nov 2008)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix permissions on restored files after test, so that test build
system stops complaining that it can't delete them.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2386 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d2f21cc3ff1d358d2e37a993e79f58833be2d474
      https://github.com/boxbackup/boxbackup/commit/d2f21cc3ff1d358d2e37a993e79f58833be2d474
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-24 (Mon, 24 Nov 2008)

  Changed paths:
    M docs/Makefile

  Log Message:
  -----------
  Fix docs Makefile on non-BSD systems.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2387 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc1e61cff318a2d682049e75dc504317cdc4326d
      https://github.com/boxbackup/boxbackup/commit/bc1e61cff318a2d682049e75dc504317cdc4326d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-30 (Sun, 30 Nov 2008)

  Changed paths:
    A lib/win32/getopt_long.cpp
    R lib/win32/getopt_long.cxx

  Log Message:
  -----------
  Cygwin/MinGW getopt no longer seems to have optreset, so now would be
the time to start using that implementation we stole from BSD.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2388 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8171ede7e03da229928e06ddc5ea148deb87d97c
      https://github.com/boxbackup/boxbackup/commit/8171ede7e03da229928e06ddc5ea148deb87d97c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-30 (Sun, 30 Nov 2008)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  openfile() stores its Windows error code (from GetLastError() or
synthetic) in winerrno, to enable better error handling outside.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2389 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ff23af54b42751842c4e6d5144223a429cbcdb4f
      https://github.com/boxbackup/boxbackup/commit/ff23af54b42751842c4e6d5144223a429cbcdb4f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-30 (Sun, 30 Nov 2008)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Log the Windows error code if openfile() fails on Windows, as
the default strerror() seems borked and reports EBUSY (file in
use) as"Resource device".


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2390 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bdf8e57219ca8a02ffbc5082340d4de9f671a099
      https://github.com/boxbackup/boxbackup/commit/bdf8e57219ca8a02ffbc5082340d4de9f671a099
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-30 (Sun, 30 Nov 2008)

  Changed paths:
    M lib/common/FileStream.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Compile fix and log the error number recorded by winerrno, not
the "last" error, whatever that was.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2391 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5b0ac50541f8ddeaabff1c185d5726b796ea2823
      https://github.com/boxbackup/boxbackup/commit/5b0ac50541f8ddeaabff1c185d5726b796ea2823
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-30 (Sun, 30 Nov 2008)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix support for O_APPEND on files opened with openfile() on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2392 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b06ed7131b3f064b729433820190761d918dce79
      https://github.com/boxbackup/boxbackup/commit/b06ed7131b3f064b729433820190761d918dce79
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-11-30 (Sun, 30 Nov 2008)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Add support for using the logging framework to log (most) bbackupquery
output to a file, with its own verbosity level.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2393 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c68e4a68d59aa4520c7af80ced4e89b2248a0219
      https://github.com/boxbackup/boxbackup/commit/c68e4a68d59aa4520c7af80ced4e89b2248a0219
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-01 (Mon, 01 Dec 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Fix missing parentheses on stored file ID messages.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2394 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 24971d96d3237c1ddb6098f27b141a8ef4acb76f
      https://github.com/boxbackup/boxbackup/commit/24971d96d3237c1ddb6098f27b141a8ef4acb76f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-01 (Mon, 01 Dec 2008)

  Changed paths:
    M lib/common/BoxPlatform.h
    M lib/win32/emu.h

  Log Message:
  -----------
  Fix the use of an unreasonably short type as the temporary storage
for inode numbers on Windows, resulting in all inode numbers being
coerced into 2^16 space and many duplicates on systems with large
numbers of files being backed up, possibly resulting in store
corruption due to unwanted file rename operations.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2395 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bf0d5bcbe698021f71ade3c0791fa089427d1aab
      https://github.com/boxbackup/boxbackup/commit/bf0d5bcbe698021f71ade3c0791fa089427d1aab
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-01 (Mon, 01 Dec 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Reduce severity of some log messages about notifying system
administrator. It's not an error to have no NotifyScript.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2396 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 76219002bfad7312d6779cd234f2cf7f684901f3
      https://github.com/boxbackup/boxbackup/commit/76219002bfad7312d6779cd234f2cf7f684901f3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-05 (Fri, 05 Dec 2008)

  Changed paths:
    M lib/server/SSLLib.cpp

  Log Message:
  -----------
  Grammar fix in SSL error message when SSL library initialisation fails.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2397 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ecd8ec13589485762bffb123a8bedb9e1a7695c
      https://github.com/boxbackup/boxbackup/commit/8ecd8ec13589485762bffb123a8bedb9e1a7695c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-05 (Fri, 05 Dec 2008)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Reformat ASSERT macro for readability.

Reformat THROW_EXCEPTION macro to avoid overlong lines.

Add THROW_EXCEPTION_MESSAGE macro to allow throwing an exception with
a message, such as the file name that caused the exception.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2398 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 05d364ae789ba832b017416f90c5433f3d0bc4c7
      https://github.com/boxbackup/boxbackup/commit/05d364ae789ba832b017416f90c5433f3d0bc4c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-05 (Fri, 05 Dec 2008)

  Changed paths:
    M lib/common/makeexception.pl.in

  Log Message:
  -----------
  Allow exceptions to contain a message string.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2399 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d538accc9c65c4d759f679826d06e7b40755b274
      https://github.com/boxbackup/boxbackup/commit/d538accc9c65c4d759f679826d06e7b40755b274
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-05 (Fri, 05 Dec 2008)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Add BOX_LOG_NATIVE_ERROR and BOX_LOG_NATIVE_WARNING macros, which call
BOX_LOG_SYS_* or BOX_LOG_WIN_* depending on platform, as this is a
common reason for #ifdefs elsewhere in the code.

Add BOX_LOG_SOCKET_ERROR macro to log socket errors with the type,
name and port of the socket that suffered the error.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2400 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 89e6b95cc77ab4347cca38a1423ab90c9f2c6e1c
      https://github.com/boxbackup/boxbackup/commit/89e6b95cc77ab4347cca38a1423ab90c9f2c6e1c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-05 (Fri, 05 Dec 2008)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Catch exceptions from BackupClientFileAttributes::ReadAttributes
during backup, and report which file caused them.

If we cannot read the attributes of a directory to find its inode
number, assume that it hasn't been renamed.

Reformat "Storing uploaded file ID" log line to shorten source code
lines.

Change "Storing uploaded file ID" and "Found conflicting parent ID"
messages not to print the path, which duplicates data earlier in the
same message.

Fix typo in comment.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2401 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c57d2ded23b551dc31eea8b6ef5a425c40ad7382
      https://github.com/boxbackup/boxbackup/commit/c57d2ded23b551dc31eea8b6ef5a425c40ad7382
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-05 (Fri, 05 Dec 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Simplify code for killing old fart processes on Windows/Cygwin
and make it actually work at the end of the test. man kill for
why we use /bin/kill instead of just kill on cygwin.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2402 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 92a4879782125d1d220b934460b8c6d8a4b7cc93
      https://github.com/boxbackup/boxbackup/commit/92a4879782125d1d220b934460b8c6d8a4b7cc93
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-05 (Fri, 05 Dec 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Fix missing curly brace.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2403 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f323a3afb798bf954a8e52faf4d7b608c2cb77a2
      https://github.com/boxbackup/boxbackup/commit/f323a3afb798bf954a8e52faf4d7b608c2cb77a2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-06 (Sat, 06 Dec 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  More backslashes, I said, MORE BACKSLASHES!


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2404 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7215aef6771732d2c482cadbc11f128cfb1c0a54
      https://github.com/boxbackup/boxbackup/commit/7215aef6771732d2c482cadbc11f128cfb1c0a54
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-06 (Sat, 06 Dec 2008)

  Changed paths:
    M docs/Makefile

  Log Message:
  -----------
   * Look for DocBook stylesheet under /opt/local (Darwin/Macports)
 * Make each man page depend on bb-man.xsl so that it is regenerated if necessary



git-svn-id: https://www.boxbackup.org/svn/box/trunk@2405 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bbc862deffd144bda50c42fc1de9509c25a72301
      https://github.com/boxbackup/boxbackup/commit/bbc862deffd144bda50c42fc1de9509c25a72301
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-08 (Mon, 08 Dec 2008)

  Changed paths:
    M lib/win32/getopt_long.cpp

  Log Message:
  -----------
  Only use replacement BSD getopt on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2406 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a2995720b8868fe236e8383be9082150e3cf8c4
      https://github.com/boxbackup/boxbackup/commit/5a2995720b8868fe236e8383be9082150e3cf8c4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-08 (Mon, 08 Dec 2008)

  Changed paths:
    M lib/common/BoxException.h

  Log Message:
  -----------
  Include <string> header in all exception classes, as it's required by
exceptions that can have a message assigned in their constructors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2407 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c74cce7186ea9129b76fa2ed7d180099a25e68e9
      https://github.com/boxbackup/boxbackup/commit/c74cce7186ea9129b76fa2ed7d180099a25e68e9
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-10 (Wed, 10 Dec 2008)

  Changed paths:
    M docs/Makefile

  Log Message:
  -----------
  Check for DocBook stylesheet on CentOS/RHEL

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2408 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0658cc0e1552be8ab5bb32ef8e5bf60540d5175a
      https://github.com/boxbackup/boxbackup/commit/0658cc0e1552be8ab5bb32ef8e5bf60540d5175a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-16 (Tue, 16 Dec 2008)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Fix process kill function, fixes [2402] [2404].

Delete stale PID files after killing processes on Windows, as that
fine OS doesn't give them a chance to clean up for themselves.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2409 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0368a9cf63417a78a0983eae17566f813dad897d
      https://github.com/boxbackup/boxbackup/commit/0368a9cf63417a78a0983eae17566f813dad897d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-26 (Fri, 26 Dec 2008)

  Changed paths:
    M docs/Makefile

  Log Message:
  -----------
  Make clean in docs directory should delete built docs.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2410 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b48a03d3c06050ffe9b0c329b016f3b6e163c433
      https://github.com/boxbackup/boxbackup/commit/b48a03d3c06050ffe9b0c329b016f3b6e163c433
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-26 (Fri, 26 Dec 2008)

  Changed paths:
    M lib/raidfile/RaidFileController.cpp

  Log Message:
  -----------
  Allow reinitialising the RaidFileController by removing any existing 
disc sets before adding new ones.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2411 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e46e0d778f0550b4987145861533c61c2a180878
      https://github.com/boxbackup/boxbackup/commit/e46e0d778f0550b4987145861533c61c2a180878
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-27 (Sat, 27 Dec 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Reformat comment.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2412 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7b9501565d65bc756ce573f48c31462916845c67
      https://github.com/boxbackup/boxbackup/commit/7b9501565d65bc756ce573f48c31462916845c67
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-27 (Sat, 27 Dec 2008)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Make BackupDaemon::TouchFileInWorkingDir accessible for Boxi.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2413 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5fe1e56f289b10b6c7782febc28e243e0331fb55
      https://github.com/boxbackup/boxbackup/commit/5fe1e56f289b10b6c7782febc28e243e0331fb55
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-30 (Tue, 30 Dec 2008)

  Changed paths:
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDirectoryRecord.h
    A bin/bbackupd/BackupDaemonInterface.h

  Log Message:
  -----------
  Separate out daemon control interfaces into BackupDaemonInterface, for 
use by Boxi without dragging the implementation details into lots of 
headers.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2414 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3cb9531f4119187643951ce5a350cac64deb0bf4
      https://github.com/boxbackup/boxbackup/commit/3cb9531f4119187643951ce5a350cac64deb0bf4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-30 (Tue, 30 Dec 2008)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstored/BackupStoreContext.cpp
    M infrastructure/buildenv-testmain-template.cpp
    M infrastructure/makebuildenv.pl.in
    M infrastructure/msvc/2003/bbackupctl.vcproj
    M infrastructure/msvc/2003/bbackupd.vcproj
    M infrastructure/msvc/2003/boxquery.vcproj
    M infrastructure/msvc/2003/common.vcproj
    M infrastructure/msvc/2003/win32test.vcproj
    M infrastructure/msvc/2005/bbackupctl.vcproj
    M infrastructure/msvc/2005/bbackupd.vcproj
    M infrastructure/msvc/2005/boxquery.vcproj
    M infrastructure/msvc/2005/common.vcproj
    M infrastructure/msvc/2005/win32test.vcproj
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreCheckData.cpp
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/backupstore/StoreStructure.h
    M lib/common/Box.h
    M lib/common/DebugAssertFailed.cpp
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/DebugPrintf.cpp
    M lib/common/FdGetLine.h
    M lib/common/IOStreamGetLine.h
    M lib/common/Timer.cpp
    M lib/common/Utils.cpp
    M lib/compress/CompressStream.cpp
    M lib/raidfile/RaidFileUtil.cpp
    M lib/raidfile/RaidFileWrite.cpp
    M lib/server/Daemon.cpp
    M lib/server/Protocol.cpp
    M lib/server/SSLLib.cpp
    M lib/server/SSLLib.h
    M lib/server/ServerStream.h
    M lib/server/SocketStreamTLS.cpp
    M test/backupdiff/testbackupdiff.cpp
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as 
well (e.g. wxWidgets) and it causes conflicts which are difficult to 
resolve.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2415 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 659a87e77af3e05b8a5ac32bfbe4a253d41598db
      https://github.com/boxbackup/boxbackup/commit/659a87e77af3e05b8a5ac32bfbe4a253d41598db
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-30 (Tue, 30 Dec 2008)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Change ConvertTo/FromUtf8 to take a std::string instead of a const char 
*, for convenience and C++ style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2416 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5f76f99a882290ebe1594a33ccffd6de8220bbcb
      https://github.com/boxbackup/boxbackup/commit/5f76f99a882290ebe1594a33ccffd6de8220bbcb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-30 (Tue, 30 Dec 2008)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Add a function to return a native error message as a string.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2417 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 06d6af2579a67c62b1092a4cc9a8392295424d13
      https://github.com/boxbackup/boxbackup/commit/06d6af2579a67c62b1092a4cc9a8392295424d13
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-30 (Tue, 30 Dec 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    A bin/bbackupquery/BoxBackupCompareParams.h

  Log Message:
  -----------
  Separate out compare parameters and notification from 
BackupQueries::CompareParams to allow Boxi to reuse this code.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2418 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d88c2fac0fd6dba3730fa665f4fcea4fbd085056
      https://github.com/boxbackup/boxbackup/commit/d88c2fac0fd6dba3730fa665f4fcea4fbd085056
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2008-12-31 (Wed, 31 Dec 2008)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/BoxBackupCompareParams.h

  Log Message:
  -----------
  Compare interface tweaks to reduce the number of methods.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2419 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a77cb3a1e5ec7551c399974fdcb87cd3d7dd2c02
      https://github.com/boxbackup/boxbackup/commit/a77cb3a1e5ec7551c399974fdcb87cd3d7dd2c02
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    A lib/httpserver/HTTPException.txt
    A lib/httpserver/HTTPQueryDecoder.cpp
    A lib/httpserver/HTTPQueryDecoder.h
    A lib/httpserver/HTTPRequest.cpp
    A lib/httpserver/HTTPRequest.h
    A lib/httpserver/HTTPResponse.cpp
    A lib/httpserver/HTTPResponse.h
    A lib/httpserver/HTTPServer.cpp
    A lib/httpserver/HTTPServer.h
    A lib/httpserver/Makefile.extra

  Log Message:
  -----------
  Copy HTTP server into Box, for use with S3 testing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2420 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f55a9afd1dc6d17b1fbf427057fdb02746b9de01
      https://github.com/boxbackup/boxbackup/commit/f55a9afd1dc6d17b1fbf427057fdb02746b9de01
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    A test/httpserver/testfiles/httpserver.conf
    A test/httpserver/testfiles/testrequests.pl
    A test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Copy tests for HTTP server.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2421 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3f6bac97ee97dfffd3433730abe1c75a412ce63c
      https://github.com/boxbackup/boxbackup/commit/3f6bac97ee97dfffd3433730abe1c75a412ce63c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    M modules.txt

  Log Message:
  -----------
  Dependencies for HTTP server.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2422 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 599f2afaccfd05f1dadd4f60d0c3800f9033df4e
      https://github.com/boxbackup/boxbackup/commit/599f2afaccfd05f1dadd4f60d0c3800f9033df4e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPRequest.cpp
    M lib/httpserver/HTTPServer.cpp
    M lib/httpserver/HTTPServer.h
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Compile and config verify fixes for HTTP server code.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2423 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: feea28574ad9ee5bd5efe9c577405e1e27e565c2
      https://github.com/boxbackup/boxbackup/commit/feea28574ad9ee5bd5efe9c577405e1e27e565c2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    M lib/server/Socket.cpp
    M lib/server/Socket.h
    M lib/server/SocketListen.h
    M lib/server/SocketStream.h
    M lib/server/SocketStreamTLS.cpp

  Log Message:
  -----------
  Change use of int to identify a socket type to the proper enum.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2424 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a5ca1054bcd97d5c62f48f9f6ae04cd3a5c33db5
      https://github.com/boxbackup/boxbackup/commit/a5ca1054bcd97d5c62f48f9f6ae04cd3a5c33db5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Reset read and write closed state of a socket after Open() and Attach().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2425 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: df2dfd1c55f3579912af5a19148a6d6da780f461
      https://github.com/boxbackup/boxbackup/commit/df2dfd1c55f3579912af5a19148a6d6da780f461
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    M lib/common/IOStream.h

  Log Message:
  -----------
  Add a method to write a C style string directly to an IOStream.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2426 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 670502f0e7fa6572c4472ae0a63d2eedfafe5105
      https://github.com/boxbackup/boxbackup/commit/670502f0e7fa6572c4472ae0a63d2eedfafe5105
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    M lib/common/Test.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Move TEST_EQUAL macro into lib/common/Test.h, rename to TEST_EQUAL_LINE, 
provide TEST_EQUAL that only takes two arguments for simplicity.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2427 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 42cba62429f21e63e81b29b2226b682cc732faeb
      https://github.com/boxbackup/boxbackup/commit/42cba62429f21e63e81b29b2226b682cc732faeb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPException.txt
    M lib/httpserver/HTTPQueryDecoder.cpp
    M lib/httpserver/HTTPRequest.cpp
    M lib/httpserver/HTTPRequest.h
    M lib/httpserver/HTTPResponse.cpp
    M lib/httpserver/HTTPResponse.h
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Add ability to send an HTTPRequest to a socket and to parse an 
HTTPResponse from a socket, to create a simple HTTP client.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2428 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 05854d9e6e48b689645a4c3fc868ac0a303c7332
      https://github.com/boxbackup/boxbackup/commit/05854d9e6e48b689645a4c3fc868ac0a303c7332
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    M lib/server/SocketStreamTLS.h

  Log Message:
  -----------
  Change socket type from int to Socket::Type enum.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2429 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 44e172a9797358403781b4c2cb30d741785214a2
      https://github.com/boxbackup/boxbackup/commit/44e172a9797358403781b4c2cb30d741785214a2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-03 (Sat, 03 Jan 2009)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/BoxBackupCompareParams.h

  Log Message:
  -----------
  Compare API for notification on starting to compare a file or directory.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2430 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fbc2c424299254182676dbdf768a013fd7d8de1d
      https://github.com/boxbackup/boxbackup/commit/fbc2c424299254182676dbdf768a013fd7d8de1d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-04 (Sun, 04 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPResponse.cpp

  Log Message:
  -----------
  Add HTTP status code 400, method not allowed.

Fix calculation of remaining content size when some bytes were buffered 
by the IOStreamGetLine.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2431 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 349df6b9067b8a63b35b13cc1eb67a745fda1652
      https://github.com/boxbackup/boxbackup/commit/349df6b9067b8a63b35b13cc1eb67a745fda1652
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-04 (Sun, 04 Jan 2009)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h

  Log Message:
  -----------
  Move stream comparison code out of BackupQueries::Compare to 
FileStream class.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2432 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ae73be177b1f6add3b21c78f0aa0ac90c37a034
      https://github.com/boxbackup/boxbackup/commit/8ae73be177b1f6add3b21c78f0aa0ac90c37a034
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-04 (Sun, 04 Jan 2009)

  Changed paths:
    M lib/common/IOStream.cpp
    M lib/common/IOStream.h

  Log Message:
  -----------
  Move IOStream::Write(char *) out of line for debugging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2433 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9214e8b9a4e9820a16add4fb03d1bd70f40edd02
      https://github.com/boxbackup/boxbackup/commit/9214e8b9a4e9820a16add4fb03d1bd70f40edd02
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-04 (Sun, 04 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPRequest.cpp
    M lib/httpserver/HTTPRequest.h
    M lib/httpserver/HTTPResponse.h
    M lib/httpserver/HTTPServer.cpp

  Log Message:
  -----------
  Allow adding headers to an HTTPRequest.

Allow getting response headers out of HTTPResponse.

Rename HTTPRequest Read and Write methods to Send and Receive, to avoid 
confusion with IOStream.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2434 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2098568e63e97ea7ad1abea86d3a4e9857d4bbd9
      https://github.com/boxbackup/boxbackup/commit/2098568e63e97ea7ad1abea86d3a4e9857d4bbd9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-04 (Sun, 04 Jan 2009)

  Changed paths:
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  First part of S3 Simulator, read-only GET requests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2435 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3dd59e055defaa1e8aeecb164e4154053a1e406d
      https://github.com/boxbackup/boxbackup/commit/3dd59e055defaa1e8aeecb164e4154053a1e406d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-05 (Mon, 05 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPResponse.cpp
    M lib/httpserver/HTTPResponse.h

  Log Message:
  -----------
  Add support for sending an HTTP/1.0 100 Continue response during 
processing of a request by HTTPServer, by keeping a pointer to the 
socket object.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2436 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e1b217018fec6ad347c83f60e66ee3874fd673a
      https://github.com/boxbackup/boxbackup/commit/3e1b217018fec6ad347c83f60e66ee3874fd673a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-05 (Mon, 05 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPException.txt

  Log Message:
  -----------
  New exception code for sending an HTTP response when it was not created 
with a stream to send to.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2437 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8358831a460965dc14d7500506286019c0f3d41a
      https://github.com/boxbackup/boxbackup/commit/8358831a460965dc14d7500506286019c0f3d41a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-05 (Mon, 05 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPRequest.cpp
    M lib/httpserver/HTTPRequest.h

  Log Message:
  -----------
  Don't read the whole uploaded body in HTTPRequest::Receive, as the 
client may be expecting a 100 Continue header (or other response) before 
sending it, and only the HTTPServer should send that for us.

Keep track of the stream that we're reading from, in case there's a body 
to read later.

Simplify parsing of HTTP method, and add support for PUT requests.

Add support for parsing Expect headers and storing and retrieving any
unrecognised headers.

Add support for sending a streaming upload from an IOStream with an HTTP 
request as the body (e.g. for PUT requests).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2438 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 33434e5a5714fde0d0fc8c49fb7294f5c5a9eabd
      https://github.com/boxbackup/boxbackup/commit/33434e5a5714fde0d0fc8c49fb7294f5c5a9eabd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-05 (Mon, 05 Jan 2009)

  Changed paths:
    M lib/common/IOStream.cpp
    M lib/common/IOStream.h

  Log Message:
  -----------
  Remove definitions of unwanted copy constructor and assignment operator, 
to avoid accidentally calling them.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2439 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e9eb7d9542b3f470c49fe59aaa08dbf312088125
      https://github.com/boxbackup/boxbackup/commit/e9eb7d9542b3f470c49fe59aaa08dbf312088125
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-05 (Mon, 05 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPServer.cpp
    M lib/httpserver/HTTPServer.h

  Log Message:
  -----------
  Create HTTP responses with the stream that they will be sent to, for 100 
Continue support.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2440 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1f2c2dcd895b5498bceaff299e69207fb8b002af
      https://github.com/boxbackup/boxbackup/commit/1f2c2dcd895b5498bceaff299e69207fb8b002af
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-05 (Mon, 05 Jan 2009)

  Changed paths:
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Add support for HTTP PUT requests (uploads) in S3 simulator.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2441 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4db35f4b8828d22c3dd88c123070b80117c84ed6
      https://github.com/boxbackup/boxbackup/commit/4db35f4b8828d22c3dd88c123070b80117c84ed6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-06 (Tue, 06 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPRequest.cpp
    M lib/httpserver/HTTPRequest.h
    A lib/httpserver/cdecode.cpp
    A lib/httpserver/cdecode.h
    A lib/httpserver/cencode.cpp
    A lib/httpserver/cencode.h
    A lib/httpserver/decode.h
    A lib/httpserver/encode.h
    A test/httpserver/testfiles/photos/puppy.jpg
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Add Amazon S3 signature checking to simulator.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2442 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c19128257b6baa44927daf631c73202aed67d6b9
      https://github.com/boxbackup/boxbackup/commit/c19128257b6baa44927daf631c73202aed67d6b9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-07 (Wed, 07 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPResponse.h

  Log Message:
  -----------
  Allow copying an HTTPResponse so that it can be returned by S3Client 
methods.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2443 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e4e55d7ca344b74c71ab0599ff40da553be661a
      https://github.com/boxbackup/boxbackup/commit/7e4e55d7ca344b74c71ab0599ff40da553be661a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-07 (Wed, 07 Jan 2009)

  Changed paths:
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Initial implementations of S3Client class.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2444 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ab83be3da7820bb8e4e542ffd7bf3eb608a0cca3
      https://github.com/boxbackup/boxbackup/commit/ab83be3da7820bb8e4e542ffd7bf3eb608a0cca3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-09 (Fri, 09 Jan 2009)

  Changed paths:
    M lib/httpserver/HTTPResponse.h

  Log Message:
  -----------
  Reset to remove old content in HTTPResponse in assignment operator.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2445 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b096cae411c2b5539e239db7daae30fc5e6c0bde
      https://github.com/boxbackup/boxbackup/commit/b096cae411c2b5539e239db7daae30fc5e6c0bde
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-09 (Fri, 09 Jan 2009)

  Changed paths:
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Add support for PUT requests in HTTP simulator.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2446 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: feefdfe203d657813a678b8951cc8790243d0722
      https://github.com/boxbackup/boxbackup/commit/feefdfe203d657813a678b8951cc8790243d0722
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-09 (Fri, 09 Jan 2009)

  Changed paths:
    A lib/httpserver/S3Client.cpp
    A lib/httpserver/S3Client.h
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Move S3Client class into its own files for public access.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2447 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 615aa80c734a6ab52bf766b61dd37bf31f054b48
      https://github.com/boxbackup/boxbackup/commit/615aa80c734a6ab52bf766b61dd37bf31f054b48
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-01-24 (Sat, 24 Jan 2009)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Compile fix.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2448 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7dd2e2ddaf2ee6096d6d57b7e2432f35e5642066
      https://github.com/boxbackup/boxbackup/commit/7dd2e2ddaf2ee6096d6d57b7e2432f35e5642066
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-15 (Sun, 15 Mar 2009)

  Changed paths:
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Fix compile error on FreeBSD due to missing #include of signal.h


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2449 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4ec2ba178f196258a737d8a0410698ff152d946c
      https://github.com/boxbackup/boxbackup/commit/4ec2ba178f196258a737d8a0410698ff152d946c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-15 (Sun, 15 Mar 2009)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Fix crash when freebsd (maybe *bsd) returns ECONNRESET on close(), which
presumably means that the socket is already closed, causing bbackupd test
to fail. Thanks to Victor Meirans for reporting the problem. See
http://wiki.powerdns.com/cgi-bin/trac.fcgi/changeset/1280 and
http://wiki.powerdns.com/cgi-bin/trac.fcgi/ticket/192 for example.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2451 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: be062e8df1e6833cdba479fa69cdb462edf48606
      https://github.com/boxbackup/boxbackup/commit/be062e8df1e6833cdba479fa69cdb462edf48606
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-15 (Sun, 15 Mar 2009)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix race condition where bbackupd would run just before test finished 
waiting for its 90 second error timeout on slow machines, e.g.
FreeBSD VM, causing bbackupd test to fail.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2452 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 81dce814f0940c28357a3bc5700aecc86b236e93
      https://github.com/boxbackup/boxbackup/commit/81dce814f0940c28357a3bc5700aecc86b236e93
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-16 (Mon, 16 Mar 2009)

  Changed paths:
    M lib/httpserver/HTTPRequest.cpp

  Log Message:
  -----------
  Fix type of string position variable to avoid failure (and warning) on
platforms where size_t is signed, e.g. FreeBSD.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2453 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6c75867c3ff438448c915ff42138c30f0d223bdd
      https://github.com/boxbackup/boxbackup/commit/6c75867c3ff438448c915ff42138c30f0d223bdd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-16 (Mon, 16 Mar 2009)

  Changed paths:
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Add comment about running test as root.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2454 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cf9f51291a4099c409ee04e45f602dfcd7d49488
      https://github.com/boxbackup/boxbackup/commit/cf9f51291a4099c409ee04e45f602dfcd7d49488
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-19 (Thu, 19 Mar 2009)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Wrap long lines for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2455 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c7f38a98caa1537b9c0a4dd3629f048f6310e819
      https://github.com/boxbackup/boxbackup/commit/c7f38a98caa1537b9c0a4dd3629f048f6310e819
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-20 (Fri, 20 Mar 2009)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  We no longer require mgwz.dll as we build zlib as a static library.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2457 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 226de476bdcb1b65053f63a71bd16b11384c35b8
      https://github.com/boxbackup/boxbackup/commit/226de476bdcb1b65053f63a71bd16b11384c35b8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-20 (Fri, 20 Mar 2009)

  Changed paths:
    M docs/api-docs/backup/win32_build_on_linux_using_mingw.txt

  Log Message:
  -----------
  Note that Wine and binfmts are required to cross-compile successfully.

Note that you have to find mingwm10.dll yourself, and where to find it 
on Debian/Ubuntu, and to modify parcels.txt to match.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2458 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dda3dd2f9e9c12b4f009242dbda3d20fb4a199f0
      https://github.com/boxbackup/boxbackup/commit/dda3dd2f9e9c12b4f009242dbda3d20fb4a199f0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-21 (Sat, 21 Mar 2009)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/Win32ServiceFunctions.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientFileAttributes.h
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupstore/BackupStoreAccountDatabase.cpp
    M lib/common/BoxPlatform.h
    M lib/common/FileModificationTime.h
    M lib/common/FileStream.cpp
    M lib/common/Test.cpp
    M lib/common/Utils.cpp
    M lib/raidfile/RaidFileUtil.cpp
    M lib/server/Daemon.cpp
    M lib/win32/emu.cpp
    M lib/win32/emu.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 to
64 bits.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2460 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: be04a25bddbea95dc6e952454ba12c6ee1d30ab7
      https://github.com/boxbackup/boxbackup/commit/be04a25bddbea95dc6e952454ba12c6ee1d30ab7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-21 (Sat, 21 Mar 2009)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Include emu.h on all platforms to support EMU_*_STAT.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2461 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 37e6a62c0b631d7fb45840943e2a57ef09ca0a55
      https://github.com/boxbackup/boxbackup/commit/37e6a62c0b631d7fb45840943e2a57ef09ca0a55
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-22 (Sun, 22 Mar 2009)

  Changed paths:
    M docs/api-docs/backup/win32_build_on_linux_using_mingw.txt

  Log Message:
  -----------
  Need to copy libpcre.a from PCRE as well as libpcreposix.a.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2463 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1d5cf1bbcf3fe862d0205723a08eb0e5efe3bdb8
      https://github.com/boxbackup/boxbackup/commit/1d5cf1bbcf3fe862d0205723a08eb0e5efe3bdb8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-24 (Tue, 24 Mar 2009)

  Changed paths:
    M test/httpserver/testfiles/testrequests.pl

  Log Message:
  -----------
  Debug logging of reason for request failure.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2464 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ccf91d76ca4decbe759fddf92fee5ef281a7d4df
      https://github.com/boxbackup/boxbackup/commit/ccf91d76ca4decbe759fddf92fee5ef281a7d4df
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-24 (Tue, 24 Mar 2009)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/common/Logging.cpp
    M lib/common/Timer.cpp
    M lib/common/WaitForEvent.h
    M lib/raidfile/RaidFileRead.cpp

  Log Message:
  -----------
  Switch to C++ include file names.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2465 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 60f93adcbf211c368a7f8d63db5f6ce6c8dd205a
      https://github.com/boxbackup/boxbackup/commit/60f93adcbf211c368a7f8d63db5f6ce6c8dd205a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-24 (Tue, 24 Mar 2009)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Add ability to specify a named log facility for syslog loggins, 
requested by Kenny Millington.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2466 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ef15db091f182d23b5e41f5cf2be08e8c2aedf52
      https://github.com/boxbackup/boxbackup/commit/ef15db091f182d23b5e41f5cf2be08e8c2aedf52
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-24 (Tue, 24 Mar 2009)

  Changed paths:
    M bin/bbackupquery/BoxBackupCompareParams.h

  Log Message:
  -----------
  Include <memory> for std::auto_ptr


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2467 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 70bf41b88d57871a7202b73e45bf88d4823971d0
      https://github.com/boxbackup/boxbackup/commit/70bf41b88d57871a7202b73e45bf88d4823971d0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-27 (Fri, 27 Mar 2009)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Fix patching of ExceptionCodes.txt to actually work on Linux, where sed 
-i can't have an empty argument.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2468 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f4ed333c359013bfe290ef9336dacc13f0eb35ea
      https://github.com/boxbackup/boxbackup/commit/f4ed333c359013bfe290ef9336dacc13f0eb35ea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-27 (Fri, 27 Mar 2009)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Don't skip building docs if we can't find a SVN version, as it breaks 
build on exported copies. It doesn't do any harm in distributions 
either, as long as timestamps on the pre-built man pages are correct, 
and allows users to modify the docbook source and rebuild as long as 
they have xsltproc.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2469 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 77a98cef4411388599ede1e0c92577cef4e6331b
      https://github.com/boxbackup/boxbackup/commit/77a98cef4411388599ede1e0c92577cef4e6331b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-27 (Fri, 27 Mar 2009)

  Changed paths:
    M infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Allow substitutions and removing private sections for distribution in 
.in files. Simplify code a little and improve comments.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2470 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 82602f88a42621a9f95e8699f7383c3619c7717a
      https://github.com/boxbackup/boxbackup/commit/82602f88a42621a9f95e8699f7383c3619c7717a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-27 (Fri, 27 Mar 2009)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt

  Log Message:
  -----------
  No need to include makedistribution.pl in a distribution.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2471 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 79734d62b07dae97d093ed1f689071bc2d23bae8
      https://github.com/boxbackup/boxbackup/commit/79734d62b07dae97d093ed1f689071bc2d23bae8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-27 (Fri, 27 Mar 2009)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt

  Log Message:
  -----------
  Undo that, configure won't work without it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2472 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9dc10bf22a37b0454c0400c9d20fbfc9eadff7e1
      https://github.com/boxbackup/boxbackup/commit/9dc10bf22a37b0454c0400c9d20fbfc9eadff7e1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-28 (Sat, 28 Mar 2009)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Put the sed -i parameter back, but without the space, to make both linux 
and bsd happy.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2473 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2681663c5aa3450a54801efdd62157f5725f2381
      https://github.com/boxbackup/boxbackup/commit/2681663c5aa3450a54801efdd62157f5725f2381
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-28 (Sat, 28 Mar 2009)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt
    M docs/Makefile
    R docs/adminguide.xml
    R docs/api-docs/backup/INDEX.txt
    R docs/api-docs/backup/Win32_Clients.txt
    R docs/api-docs/backup/backup_encryption.txt
    R docs/api-docs/backup/bin_bbackupd.txt
    R docs/api-docs/backup/bin_bbstored.txt
    R docs/api-docs/backup/encrypt_rsync.txt
    R docs/api-docs/backup/lib_backupclient.txt
    R docs/api-docs/backup/lib_backupstore.txt
    R docs/api-docs/backup/win32_build_on_cygwin_using_mingw.txt
    R docs/api-docs/backup/win32_build_on_linux_using_mingw.txt
    R docs/api-docs/backup/windows_porting.txt
    R docs/api-docs/common/lib_common.txt
    R docs/api-docs/common/lib_common/BoxTime.txt
    R docs/api-docs/common/lib_common/CollectInBufferStream.txt
    R docs/api-docs/common/lib_common/Configuration.txt
    R docs/api-docs/common/lib_common/Conversion.txt
    R docs/api-docs/common/lib_common/ExcludeList.txt
    R docs/api-docs/common/lib_common/FdGetLine.txt
    R docs/api-docs/common/lib_common/Guards.txt
    R docs/api-docs/common/lib_common/IOStream.txt
    R docs/api-docs/common/lib_common/IOStreamGetLine.txt
    R docs/api-docs/common/lib_common/MainHelper.txt
    R docs/api-docs/common/lib_common/WaitForEvent.txt
    R docs/api-docs/common/lib_common/xStream.txt
    R docs/api-docs/common/lib_compress.txt
    R docs/api-docs/common/lib_compress/CompressStream.txt
    R docs/api-docs/common/lib_crypto.txt
    R docs/api-docs/common/lib_crypto/CipherContext.txt
    R docs/api-docs/common/lib_crypto/RollingChecksum.txt
    R docs/api-docs/common/lib_server.txt
    R docs/api-docs/common/lib_server/Daemon.txt
    R docs/api-docs/common/lib_server/Protocol.txt
    R docs/api-docs/common/lib_server/ServerStream.txt
    R docs/api-docs/common/lib_server/ServerTLS.txt
    R docs/api-docs/common/lib_server/SocketStream.txt
    R docs/api-docs/common/lib_server/SocketStreamTLS.txt
    R docs/api-docs/common/lib_server/TLSContext.txt
    R docs/api-docs/common/memory_leaks.txt
    R docs/api-docs/raidfile/lib_raidfile.txt
    R docs/api-docs/raidfile/lib_raidfile/RaidFileRead.txt
    R docs/api-docs/raidfile/lib_raidfile/RaidFileWrite.txt
    A docs/api-notes/backup/INDEX.txt
    A docs/api-notes/backup/Win32_Clients.txt
    A docs/api-notes/backup/backup_encryption.txt
    A docs/api-notes/backup/bin_bbackupd.txt
    A docs/api-notes/backup/bin_bbstored.txt
    A docs/api-notes/backup/encrypt_rsync.txt
    A docs/api-notes/backup/lib_backupclient.txt
    A docs/api-notes/backup/lib_backupstore.txt
    A docs/api-notes/backup/win32_build_on_cygwin_using_mingw.txt
    A docs/api-notes/backup/win32_build_on_linux_using_mingw.txt
    A docs/api-notes/backup/windows_porting.txt
    A docs/api-notes/common/lib_common.txt
    A docs/api-notes/common/lib_common/BoxTime.txt
    A docs/api-notes/common/lib_common/CollectInBufferStream.txt
    A docs/api-notes/common/lib_common/Configuration.txt
    A docs/api-notes/common/lib_common/Conversion.txt
    A docs/api-notes/common/lib_common/ExcludeList.txt
    A docs/api-notes/common/lib_common/FdGetLine.txt
    A docs/api-notes/common/lib_common/Guards.txt
    A docs/api-notes/common/lib_common/IOStream.txt
    A docs/api-notes/common/lib_common/IOStreamGetLine.txt
    A docs/api-notes/common/lib_common/MainHelper.txt
    A docs/api-notes/common/lib_common/WaitForEvent.txt
    A docs/api-notes/common/lib_common/xStream.txt
    A docs/api-notes/common/lib_compress.txt
    A docs/api-notes/common/lib_compress/CompressStream.txt
    A docs/api-notes/common/lib_crypto.txt
    A docs/api-notes/common/lib_crypto/CipherContext.txt
    A docs/api-notes/common/lib_crypto/RollingChecksum.txt
    A docs/api-notes/common/lib_server.txt
    A docs/api-notes/common/lib_server/Daemon.txt
    A docs/api-notes/common/lib_server/Protocol.txt
    A docs/api-notes/common/lib_server/ServerStream.txt
    A docs/api-notes/common/lib_server/ServerTLS.txt
    A docs/api-notes/common/lib_server/SocketStream.txt
    A docs/api-notes/common/lib_server/SocketStreamTLS.txt
    A docs/api-notes/common/lib_server/TLSContext.txt
    A docs/api-notes/common/memory_leaks.txt
    A docs/api-notes/raidfile/lib_raidfile.txt
    A docs/api-notes/raidfile/lib_raidfile/RaidFileRead.txt
    A docs/api-notes/raidfile/lib_raidfile/RaidFileWrite.txt
    R docs/bb-book.xsl
    R docs/bb-man.xsl.tmpl
    R docs/bb-nochunk-book.xsl
    R docs/bbackupctl.xml
    R docs/bbackupd-config.xml
    R docs/bbackupd.conf.xml
    R docs/bbackupd.xml
    R docs/bbackupquery.xml
    R docs/bblogo-alpha.xcf
    R docs/bbstoreaccounts.xml
    R docs/bbstored-certs.xml
    R docs/bbstored-config.xml
    R docs/bbstored.conf.xml
    R docs/bbstored.xml
    A docs/docbook/adminguide.xml
    A docs/docbook/bb-book.xsl
    A docs/docbook/bb-man.xsl.tmpl
    A docs/docbook/bb-nochunk-book.xsl
    A docs/docbook/bbackupctl.xml
    A docs/docbook/bbackupd-config.xml
    A docs/docbook/bbackupd.conf.xml
    A docs/docbook/bbackupd.xml
    A docs/docbook/bbackupquery.xml
    A docs/docbook/bbstoreaccounts.xml
    A docs/docbook/bbstored-certs.xml
    A docs/docbook/bbstored-config.xml
    A docs/docbook/bbstored.conf.xml
    A docs/docbook/bbstored.xml
    A docs/docbook/html/bbdoc-man.css
    A docs/docbook/html/bbdoc.css
    A docs/docbook/html/favicon.ico
    A docs/docbook/html/images/arrow.png
    A docs/docbook/html/images/bblogo.png
    A docs/docbook/html/images/stepahead.png
    A docs/docbook/instguide.xml
    A docs/docbook/raidfile-config.xml
    A docs/docbook/raidfile.conf.xml
    R docs/favicon.ico
    R docs/generate_except_xml.pl
    R docs/html/bbdoc-man.css
    R docs/html/bbdoc.css
    R docs/html/images/arrow.png
    R docs/html/images/bblogo.png
    R docs/html/images/stepahead.png
    A docs/images/bblogo-alpha.xcf
    R docs/instguide.xml
    R docs/raidfile-config.xml
    R docs/raidfile.conf.xml
    A docs/tools/generate_except_xml.pl

  Log Message:
  -----------
  Reorganise docs in trunk to match distribution layout, which is cleaner, 
and makes Makefile work on distributions and trunk equally.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2474 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 96492b678342ad7341bd073e8f628026bc0d13b9
      https://github.com/boxbackup/boxbackup/commit/96492b678342ad7341bd073e8f628026bc0d13b9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-28 (Sat, 28 Mar 2009)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Use the Makefile in docs/ to build and clean documentation.

Don't rely on location of bb-man.xsl any more.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2475 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 019f7aead0552c7cecb7562ae15555b808dddc5f
      https://github.com/boxbackup/boxbackup/commit/019f7aead0552c7cecb7562ae15555b808dddc5f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-28 (Sat, 28 Mar 2009)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt
    M infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Preserve timestamps when doing a binary copy to make a distribution, so 
that the built gzipped man pages are still newer than the XML source.

Make NO-LICENSE also copy the file, to avoid redundancy in manifests.

Fix location of API docs.

Create docs/docbook directory to avoid error in making distribution.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2476 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 680ddf5dae220510c7e251d920d2bdb9f6a95b60
      https://github.com/boxbackup/boxbackup/commit/680ddf5dae220510c7e251d920d2bdb9f6a95b60
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-28 (Sat, 28 Mar 2009)

  Changed paths:
    M docs/Makefile

  Log Message:
  -----------
  Fix the docs Makefile to work on both linux and BSD again.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2477 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 56ba53c858f27629b29c31456e8c426df5fcf877
      https://github.com/boxbackup/boxbackup/commit/56ba53c858f27629b29c31456e8c426df5fcf877
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-28 (Sat, 28 Mar 2009)

  Changed paths:
    A docs/api-notes/INDEX.txt
    A docs/api-notes/Win32_Clients.txt
    R docs/api-notes/backup/INDEX.txt
    R docs/api-notes/backup/Win32_Clients.txt
    R docs/api-notes/backup/backup_encryption.txt
    R docs/api-notes/backup/bin_bbackupd.txt
    R docs/api-notes/backup/bin_bbstored.txt
    R docs/api-notes/backup/encrypt_rsync.txt
    R docs/api-notes/backup/lib_backupclient.txt
    R docs/api-notes/backup/lib_backupstore.txt
    R docs/api-notes/backup/win32_build_on_cygwin_using_mingw.txt
    R docs/api-notes/backup/win32_build_on_linux_using_mingw.txt
    R docs/api-notes/backup/windows_porting.txt
    A docs/api-notes/backup_encryption.txt
    A docs/api-notes/bin_bbackupd.txt
    A docs/api-notes/bin_bbstored.txt
    A docs/api-notes/encrypt_rsync.txt
    A docs/api-notes/lib_backupclient.txt
    A docs/api-notes/lib_backupstore.txt
    A docs/api-notes/raidfile/RaidFileRead.txt
    A docs/api-notes/raidfile/RaidFileWrite.txt
    R docs/api-notes/raidfile/lib_raidfile/RaidFileRead.txt
    R docs/api-notes/raidfile/lib_raidfile/RaidFileWrite.txt
    A docs/api-notes/win32_build_on_cygwin_using_mingw.txt
    A docs/api-notes/win32_build_on_linux_using_mingw.txt
    A docs/api-notes/windows_porting.txt

  Log Message:
  -----------
  Rearrangement of api-notes directory.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2478 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6511cdcee4715546103ce233f4cdd29c6411a278
      https://github.com/boxbackup/boxbackup/commit/6511cdcee4715546103ce233f4cdd29c6411a278
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-28 (Sat, 28 Mar 2009)

  Log Message:
  -----------
  Update svn:ignore attributes for new docs layout.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2479 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f6f9b50f7c2a9743407b93c52f34c603259f81f8
      https://github.com/boxbackup/boxbackup/commit/f6f9b50f7c2a9743407b93c52f34c603259f81f8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-29 (Sun, 29 Mar 2009)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Hopefully fix compile error reported by Mirko on cross-compiler.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2480 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8a53c057c8d6ee1c319803c2a65dda419d231af5
      https://github.com/boxbackup/boxbackup/commit/8a53c057c8d6ee1c319803c2a65dda419d231af5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-29 (Sun, 29 Mar 2009)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbstored/HousekeepStoreAccount.cpp
    M lib/backupclient/BackupStoreFilename.cpp
    M lib/backupclient/BackupStoreFilename.h
    M lib/backupclient/BackupStoreFilenameClear.cpp
    M lib/backupclient/BackupStoreObjectDump.cpp
    M lib/backupstore/BackupStoreCheck2.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Change type of BackupStoreFilename not to derive from std::string, so
it can't accidentally be used as one.

Fix use of encrypted filename in deleted file message, thanks to Kenny
Millington for reporting.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2481 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3d119c5dae3c24d9aa22f765202681f137c5b89a
      https://github.com/boxbackup/boxbackup/commit/3d119c5dae3c24d9aa22f765202681f137c5b89a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-29 (Sun, 29 Mar 2009)

  Changed paths:
    M lib/common/BoxTime.cpp
    M lib/common/BoxTime.h
    M lib/common/Logging.cpp
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Add date to file logger, as requested by Kenny Millington.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2482 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 159e7e8a9cc2318120ee30437edfca7cbfe9bb2f
      https://github.com/boxbackup/boxbackup/commit/159e7e8a9cc2318120ee30437edfca7cbfe9bb2f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-31 (Tue, 31 Mar 2009)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Remove unused check for unaligned accesses, fails on cross-compiling.

Disable large file support when cross-compiling, as the check cannot
run in this environment.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2483 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b7a193b1398ce9a372652b95410e14b16584cc85
      https://github.com/boxbackup/boxbackup/commit/b7a193b1398ce9a372652b95410e14b16584cc85
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-31 (Tue, 31 Mar 2009)

  Changed paths:
    M infrastructure/m4/ax_check_syscall_lseek.m4

  Log Message:
  -----------
  Assume that lseek does not take a "dummy parameter" when cross-compiling,
as this is only relevent for intercept tests anyway, and was probably
fixed by casting the offset parameter to off_t anyway.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2484 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6390d72656fd044de397ce112522c4f47c954b0e
      https://github.com/boxbackup/boxbackup/commit/6390d72656fd044de397ce112522c4f47c954b0e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-31 (Tue, 31 Mar 2009)

  Changed paths:
    M infrastructure/m4/ax_check_dirent_d_type.m4

  Log Message:
  -----------
  Assume that we have no way to determine whether struct dirent has a
valid d_type when cross-compiling, as this should be the safest option.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2485 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 31dc7caf82e478d8a60e554c641d4101aac823c0
      https://github.com/boxbackup/boxbackup/commit/31dc7caf82e478d8a60e554c641d4101aac823c0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-31 (Tue, 31 Mar 2009)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Win32 build instructions updated thanks to Achim.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2486 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 37b3a4040b92fcb554a75bfc578f6c13c014b8cf
      https://github.com/boxbackup/boxbackup/commit/37b3a4040b92fcb554a75bfc578f6c13c014b8cf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-31 (Tue, 31 Mar 2009)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Merge some wiki formatting from Trac page, and installation instructions.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2487 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0afaa88edca731dc898a1070d4b701922eee19fd
      https://github.com/boxbackup/boxbackup/commit/0afaa88edca731dc898a1070d4b701922eee19fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-31 (Tue, 31 Mar 2009)

  Changed paths:
    M docs/Makefile

  Log Message:
  -----------
  Remove generated bb-man.xsl when making clean.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2488 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 53663b42331309510faf413d420232690cab0e0f
      https://github.com/boxbackup/boxbackup/commit/53663b42331309510faf413d420232690cab0e0f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-31 (Tue, 31 Mar 2009)

  Changed paths:
    M docs/Makefile

  Log Message:
  -----------
  Hopefully fix building and cleaning of bb-man.xsl.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2489 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d77ad0714f67391146b6adc779c0f0fae2c8a6c6
      https://github.com/boxbackup/boxbackup/commit/d77ad0714f67391146b6adc779c0f0fae2c8a6c6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-03-31 (Tue, 31 Mar 2009)

  Changed paths:
    M contrib/mac_osx/org.boxbackup.bbackupd.plist.in
    M contrib/mac_osx/org.boxbackup.bbstored.plist.in

  Log Message:
  -----------
  OSX Plist file updates, thanks to Achim.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2490 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9593946a94e0d33440137b4a07fefd2e5af6ad37
      https://github.com/boxbackup/boxbackup/commit/9593946a94e0d33440137b4a07fefd2e5af6ad37
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-02 (Thu, 02 Apr 2009)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Fix missing LOG_* defines on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2491 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 727572d2fc9bc75f3b8cb8b26b3a0b4ba7063ffe
      https://github.com/boxbackup/boxbackup/commit/727572d2fc9bc75f3b8cb8b26b3a0b4ba7063ffe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-03 (Fri, 03 Apr 2009)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Use update copy to speed up rebuilds on windows/cygwin.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2492 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c720b129e003a55c596fa4f485e6782a136d4169
      https://github.com/boxbackup/boxbackup/commit/c720b129e003a55c596fa4f485e6782a136d4169
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-03 (Fri, 03 Apr 2009)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupobjdump/bbackupobjdump.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileDiff.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.cpp
    M lib/common/Configuration.cpp
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/Logging.cpp
    M lib/common/MemLeakFinder.h
    M lib/common/StreamableMemBlock.cpp
    M lib/common/Test.h
    M lib/common/WaitForEvent.h
    M lib/raidfile/RaidFileRead.h

  Log Message:
  -----------
  gcc 4.3 and 4.4 compile fixes, thanks to Reinhard Tartler and the Debian
project. See also:

http://patch-tracking.debian.net/package/boxbackup/0.11~rc2+r2072-1
http://lists.warhead.org.uk/pipermail/boxbackup/2009-April/005159.html


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2493 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 07bec6ecef96678aa47a7d574584ea99976f075a
      https://github.com/boxbackup/boxbackup/commit/07bec6ecef96678aa47a7d574584ea99976f075a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-04 (Sat, 04 Apr 2009)

  Changed paths:
    M infrastructure/m4/ax_check_dirent_d_type.m4
    M infrastructure/m4/ax_check_syscall_lseek.m4

  Log Message:
  -----------
  Blind fix for autoconf problems introduced by earlier attempt to support
cross-compiling.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2494 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e65fe6e108da395126aab61413b3cd906bd09677
      https://github.com/boxbackup/boxbackup/commit/e65fe6e108da395126aab61413b3cd906bd09677
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-04 (Sat, 04 Apr 2009)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Hopefully fix another autoconf problem caused by attempt to support
cross-compiling.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2495 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 523d5a3387da0c563841a04b4c646c4e22bed012
      https://github.com/boxbackup/boxbackup/commit/523d5a3387da0c563841a04b4c646c4e22bed012
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-09 (Thu, 09 Apr 2009)

  Changed paths:
    M lib/common/Test.cpp
    M lib/common/Test.h
    M test/backupstorepatch/testbackupstorepatch.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Show reasons for waiting during bbackupd and backupstorepatch tests,
to help with interpreting test output.

When running at Trace level, where extra output from bbackupd etc. is
common, log a single line at the start of waiting, instead of progress
dots, to help with interpreting output.

Show number of seconds waited for on Windows as well as Unixes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2496 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a112e3c129f7582b7a5585d4df009e85a1d032e3
      https://github.com/boxbackup/boxbackup/commit/a112e3c129f7582b7a5585d4df009e85a1d032e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-09 (Thu, 09 Apr 2009)

  Changed paths:
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Fix compile error due to misisng signals on Windows. httpserver test
still does not pass.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2497 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: da9cbecd79123eb3d611e10fe10d9496169e6e07
      https://github.com/boxbackup/boxbackup/commit/da9cbecd79123eb3d611e10fe10d9496169e6e07
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-09 (Thu, 09 Apr 2009)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in
    M bin/bbstored/bbstored-config.in
    M contrib/debian/bbackupd.in
    M contrib/debian/bbstored.in
    M lib/common/BoxPortsAndFiles.h.in
    M lib/raidfile/RaidFileController.h
    M lib/raidfile/raidfile-config.in
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Change default location for config files from /etc/box to 
/etc/boxbackup, thanks to Reinhard Tartler and the Debian Project.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2498 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d3885115579a3b224ce6e08af7ab5b37fcb42eb9
      https://github.com/boxbackup/boxbackup/commit/d3885115579a3b224ce6e08af7ab5b37fcb42eb9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-09 (Thu, 09 Apr 2009)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix race conditions where backups happen too slowly and tests fail.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2499 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2665c75ed7716649d3d2ad0438a6e8c53343282e
      https://github.com/boxbackup/boxbackup/commit/2665c75ed7716649d3d2ad0438a6e8c53343282e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-09 (Thu, 09 Apr 2009)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Include missing Utils.h header, needed for FileExists().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2500 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 083d828f72cb6a2928b6999fc15ac31e4f2fe5a9
      https://github.com/boxbackup/boxbackup/commit/083d828f72cb6a2928b6999fc15ac31e4f2fe5a9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-09 (Thu, 09 Apr 2009)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix speeling misteak.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2501 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 780a266bd62d2449278e9d34ec85937c73078080
      https://github.com/boxbackup/boxbackup/commit/780a266bd62d2449278e9d34ec85937c73078080
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-10 (Fri, 10 Apr 2009)

  Changed paths:
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Add missing #include <algorithm> to fix compile on lenny.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2502 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c87159b838f28d8fe97c99fb3ff96d1d71f7d5db
      https://github.com/boxbackup/boxbackup/commit/c87159b838f28d8fe97c99fb3ff96d1d71f7d5db
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-13 (Mon, 13 Apr 2009)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Log unexpected test results using logging framework rather than printf.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2503 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6e23f5a03c5b5de17d6636fb4404fa4f0cb1d085
      https://github.com/boxbackup/boxbackup/commit/6e23f5a03c5b5de17d6636fb4404fa4f0cb1d085
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-13 (Mon, 13 Apr 2009)

  Changed paths:
    A bin/s3simulator/s3simulator.cpp
    M infrastructure/makebuildenv.pl.in
    M lib/httpserver/HTTPRequest.cpp
    M lib/httpserver/HTTPRequest.h
    M lib/httpserver/HTTPServer.cpp
    M lib/httpserver/HTTPServer.h
    A lib/httpserver/S3Simulator.cpp
    A lib/httpserver/S3Simulator.h
    M modules.txt
    A test/httpserver/testfiles/s3simulator.conf
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Move S3Simulator into its own class, like S3Client, for reuse elsewhere.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2504 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e56a662a699884bc903784d87e81ece66fd94bef
      https://github.com/boxbackup/boxbackup/commit/e56a662a699884bc903784d87e81ece66fd94bef
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-23 (Thu, 23 Apr 2009)

  Changed paths:
    M contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Use dist tag in version for rpm spec

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2505 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4e236126654f7df1304e3756b8941d6c48a5ccfe
      https://github.com/boxbackup/boxbackup/commit/4e236126654f7df1304e3756b8941d6c48a5ccfe
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-23 (Thu, 23 Apr 2009)

  Changed paths:
    M lib/common/Test.cpp
    M lib/common/Test.h
    M lib/raidfile/RaidFileUtil.h
    M lib/server/ServerControl.cpp
    M test/backupdiff/difftestfiles.cpp
    M test/bbackupd/testbbackupd.cpp
    M test/common/testcommon.cpp
    M test/raidfile/testraidfile.cpp

  Log Message:
  -----------
  Fixes for gcc 4.4.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2506 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eb69ea9b9fadeb0394db16205be5f02e4deda80d
      https://github.com/boxbackup/boxbackup/commit/eb69ea9b9fadeb0394db16205be5f02e4deda80d
  Author: martin <martin at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-23 (Thu, 23 Apr 2009)

  Changed paths:
    M lib/httpserver/S3Simulator.cpp

  Log Message:
  -----------
  Fixes for gcc 4.4.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2507 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6688113f8641f273954547a196ceed48ea2a5424
      https://github.com/boxbackup/boxbackup/commit/6688113f8641f273954547a196ceed48ea2a5424
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Show expected and actual return codes from shell commands in tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2508 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d7d7efe6a8171ef2917e2027edd3a50884d461c3
      https://github.com/boxbackup/boxbackup/commit/d7d7efe6a8171ef2917e2027edd3a50884d461c3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M test/bbackupd/testfiles/extcheck1.pl.in

  Log Message:
  -----------
  Improve debugging output from external check script.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2509 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d76190723ba356290255e96b0baaa790f174ddf6
      https://github.com/boxbackup/boxbackup/commit/d76190723ba356290255e96b0baaa790f174ddf6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Log while sleeping in test/bbackupd.

Only show warning about diff test time taken if it's out of bounds.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2510 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 69c9d4d03cda8a944b322aba2b7e9c72ba17cfc0
      https://github.com/boxbackup/boxbackup/commit/69c9d4d03cda8a944b322aba2b7e9c72ba17cfc0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Provide a function to close a file handle on Windows, analogous to
openfile().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2511 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 23be05b8540630292821fa075fa854a413bc474f
      https://github.com/boxbackup/boxbackup/commit/23be05b8540630292821fa075fa854a413bc474f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M lib/common/BoxPlatform.h
    M lib/common/FileStream.h

  Log Message:
  -----------
  Move definition of INVALID_HANDLE_VALUE and tOSFileHandle to
BoxPlatform.h, to make them available in other files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2512 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ceae59562d1d8005cf910d50845639fcef2e2c09
      https://github.com/boxbackup/boxbackup/commit/ceae59562d1d8005cf910d50845639fcef2e2c09
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Fix httpserver tests on win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2513 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2def53dcabed949213a2653b7227dde4b902f70c
      https://github.com/boxbackup/boxbackup/commit/2def53dcabed949213a2653b7227dde4b902f70c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Put the shell script that kills all running daemons into a shell
function to avoid repetition.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2514 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fb4373899432db986df4d818a7f2fbb451ac941e
      https://github.com/boxbackup/boxbackup/commit/fb4373899432db986df4d818a7f2fbb451ac941e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M docs/Makefile
    A docs/docbook/bb-man.xsl
    R docs/docbook/bb-man.xsl.tmpl
    A docs/xsl-generic/VERSION
    A docs/xsl-generic/common/af.xml
    A docs/xsl-generic/common/am.xml
    A docs/xsl-generic/common/ar.xml
    A docs/xsl-generic/common/autoidx-kimber.xsl
    A docs/xsl-generic/common/autoidx-kosek.xsl
    A docs/xsl-generic/common/az.xml
    A docs/xsl-generic/common/bg.xml
    A docs/xsl-generic/common/bn.xml
    A docs/xsl-generic/common/bs.xml
    A docs/xsl-generic/common/ca.xml
    A docs/xsl-generic/common/charmap.xml
    A docs/xsl-generic/common/charmap.xsl
    A docs/xsl-generic/common/common.xml
    A docs/xsl-generic/common/common.xsl
    A docs/xsl-generic/common/cs.xml
    A docs/xsl-generic/common/cy.xml
    A docs/xsl-generic/common/da.xml
    A docs/xsl-generic/common/de.xml
    A docs/xsl-generic/common/el.xml
    A docs/xsl-generic/common/en.xml
    A docs/xsl-generic/common/entities.ent
    A docs/xsl-generic/common/eo.xml
    A docs/xsl-generic/common/es.xml
    A docs/xsl-generic/common/et.xml
    A docs/xsl-generic/common/eu.xml
    A docs/xsl-generic/common/fa.xml
    A docs/xsl-generic/common/fi.xml
    A docs/xsl-generic/common/fr.xml
    A docs/xsl-generic/common/ga.xml
    A docs/xsl-generic/common/gentext.xsl
    A docs/xsl-generic/common/gu.xml
    A docs/xsl-generic/common/he.xml
    A docs/xsl-generic/common/hi.xml
    A docs/xsl-generic/common/hr.xml
    A docs/xsl-generic/common/hu.xml
    A docs/xsl-generic/common/id.xml
    A docs/xsl-generic/common/insertfile.xsl
    A docs/xsl-generic/common/it.xml
    A docs/xsl-generic/common/ja.xml
    A docs/xsl-generic/common/kn.xml
    A docs/xsl-generic/common/ko.xml
    A docs/xsl-generic/common/l10n.dtd
    A docs/xsl-generic/common/l10n.xml
    A docs/xsl-generic/common/l10n.xsl
    A docs/xsl-generic/common/la.xml
    A docs/xsl-generic/common/labels.xsl
    A docs/xsl-generic/common/lt.xml
    A docs/xsl-generic/common/lv.xml
    A docs/xsl-generic/common/mn.xml
    A docs/xsl-generic/common/nl.xml
    A docs/xsl-generic/common/nn.xml
    A docs/xsl-generic/common/no.xml
    A docs/xsl-generic/common/olink.xsl
    A docs/xsl-generic/common/or.xml
    A docs/xsl-generic/common/pa.xml
    A docs/xsl-generic/common/pi.xsl
    A docs/xsl-generic/common/pl.xml
    A docs/xsl-generic/common/pt.xml
    A docs/xsl-generic/common/pt_br.xml
    A docs/xsl-generic/common/refentry.xml
    A docs/xsl-generic/common/refentry.xsl
    A docs/xsl-generic/common/ro.xml
    A docs/xsl-generic/common/ru.xml
    A docs/xsl-generic/common/sk.xml
    A docs/xsl-generic/common/sl.xml
    A docs/xsl-generic/common/sq.xml
    A docs/xsl-generic/common/sr.xml
    A docs/xsl-generic/common/sr_Latn.xml
    A docs/xsl-generic/common/stripns.xsl
    A docs/xsl-generic/common/subtitles.xsl
    A docs/xsl-generic/common/sv.xml
    A docs/xsl-generic/common/ta.xml
    A docs/xsl-generic/common/table.xsl
    A docs/xsl-generic/common/targetdatabase.dtd
    A docs/xsl-generic/common/targets.xsl
    A docs/xsl-generic/common/th.xml
    A docs/xsl-generic/common/titles.xsl
    A docs/xsl-generic/common/tl.xml
    A docs/xsl-generic/common/tr.xml
    A docs/xsl-generic/common/uk.xml
    A docs/xsl-generic/common/utility.xml
    A docs/xsl-generic/common/utility.xsl
    A docs/xsl-generic/common/vi.xml
    A docs/xsl-generic/common/xh.xml
    A docs/xsl-generic/common/zh_cn.xml
    A docs/xsl-generic/common/zh_tw.xml
    A docs/xsl-generic/highlighting/c-hl.xml
    A docs/xsl-generic/highlighting/common.xsl
    A docs/xsl-generic/highlighting/delphi-hl.xml
    A docs/xsl-generic/highlighting/ini-hl.xml
    A docs/xsl-generic/highlighting/java-hl.xml
    A docs/xsl-generic/highlighting/m2-hl.xml
    A docs/xsl-generic/highlighting/myxml-hl.xml
    A docs/xsl-generic/highlighting/php-hl.xml
    A docs/xsl-generic/highlighting/xslthl-config.xml
    A docs/xsl-generic/html/admon.xsl
    A docs/xsl-generic/html/annotations.xsl
    A docs/xsl-generic/html/autoidx-kimber.xsl
    A docs/xsl-generic/html/autoidx-kosek.xsl
    A docs/xsl-generic/html/autoidx-ng.xsl
    A docs/xsl-generic/html/autoidx.xsl
    A docs/xsl-generic/html/autotoc.xsl
    A docs/xsl-generic/html/biblio-iso690.xsl
    A docs/xsl-generic/html/biblio.xsl
    A docs/xsl-generic/html/block.xsl
    A docs/xsl-generic/html/callout.xsl
    A docs/xsl-generic/html/changebars.xsl
    A docs/xsl-generic/html/chunk-code.xsl
    A docs/xsl-generic/html/chunk-common.xsl
    A docs/xsl-generic/html/chunk.xsl
    A docs/xsl-generic/html/chunker.xsl
    A docs/xsl-generic/html/chunkfast.xsl
    A docs/xsl-generic/html/chunktoc.xsl
    A docs/xsl-generic/html/component.xsl
    A docs/xsl-generic/html/division.xsl
    A docs/xsl-generic/html/docbook.xsl
    A docs/xsl-generic/html/ebnf.xsl
    A docs/xsl-generic/html/footnote.xsl
    A docs/xsl-generic/html/formal.xsl
    A docs/xsl-generic/html/glossary.xsl
    A docs/xsl-generic/html/graphics.xsl
    A docs/xsl-generic/html/highlight.xsl
    A docs/xsl-generic/html/html-rtf.xsl
    A docs/xsl-generic/html/html.xsl
    A docs/xsl-generic/html/htmltbl.xsl
    A docs/xsl-generic/html/index.xsl
    A docs/xsl-generic/html/info.xsl
    A docs/xsl-generic/html/inline.xsl
    A docs/xsl-generic/html/keywords.xsl
    A docs/xsl-generic/html/lists.xsl
    A docs/xsl-generic/html/maketoc.xsl
    A docs/xsl-generic/html/manifest.xsl
    A docs/xsl-generic/html/math.xsl
    A docs/xsl-generic/html/oldchunker.xsl
    A docs/xsl-generic/html/onechunk.xsl
    A docs/xsl-generic/html/param.xsl
    A docs/xsl-generic/html/pi.xsl
    A docs/xsl-generic/html/profile-chunk-code.xsl
    A docs/xsl-generic/html/profile-chunk.xsl
    A docs/xsl-generic/html/profile-docbook.xsl
    A docs/xsl-generic/html/profile-onechunk.xsl
    A docs/xsl-generic/html/qandaset.xsl
    A docs/xsl-generic/html/refentry.xsl
    A docs/xsl-generic/html/sections.xsl
    A docs/xsl-generic/html/synop.xsl
    A docs/xsl-generic/html/table.xsl
    A docs/xsl-generic/html/task.xsl
    A docs/xsl-generic/html/titlepage.templates.xml
    A docs/xsl-generic/html/titlepage.templates.xsl
    A docs/xsl-generic/html/titlepage.xsl
    A docs/xsl-generic/html/toc.xsl
    A docs/xsl-generic/html/verbatim.xsl
    A docs/xsl-generic/html/xref.xsl
    A docs/xsl-generic/lib/lib.xsl
    A docs/xsl-generic/manpages/block.xsl
    A docs/xsl-generic/manpages/charmap.groff.xsl
    A docs/xsl-generic/manpages/docbook.xsl
    A docs/xsl-generic/manpages/endnotes.xsl
    A docs/xsl-generic/manpages/html-synop.xsl
    A docs/xsl-generic/manpages/info.xsl
    A docs/xsl-generic/manpages/inline.xsl
    A docs/xsl-generic/manpages/lists.xsl
    A docs/xsl-generic/manpages/other.xsl
    A docs/xsl-generic/manpages/param.xsl
    A docs/xsl-generic/manpages/profile-docbook.xsl
    A docs/xsl-generic/manpages/refentry.xsl
    A docs/xsl-generic/manpages/synop.xsl
    A docs/xsl-generic/manpages/table.xsl
    A docs/xsl-generic/manpages/utility.xsl

  Log Message:
  -----------
  Add a local copy of the XSL stylesheets needed to build Box Backup docs,
as remote copies are slow and prone to failure and weird behaviour with
different versions of xsltproc (e.g. on Cygwin).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2515 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f25f31cd2ad3c50ff203aa1e7f446a6e3954887e
      https://github.com/boxbackup/boxbackup/commit/f25f31cd2ad3c50ff203aa1e7f446a6e3954887e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Add a note to win32 build instructions that libxslt is required.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2516 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a162e5022b7a89ad9c253c54f0679e4051a3eda7
      https://github.com/boxbackup/boxbackup/commit/a162e5022b7a89ad9c253c54f0679e4051a3eda7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Log Message:
  -----------
  Remove svn:mergeinfo property, not needed.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2517 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e1d6616fd66f49cf62a1b07f081d6a966f5bfb48
      https://github.com/boxbackup/boxbackup/commit/e1d6616fd66f49cf62a1b07f081d6a966f5bfb48
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Changed paths:
    M infrastructure/makeparcels.pl.in
    M parcels.txt

  Log Message:
  -----------
  Include html docs in parcels.

Don't include man pages in parcels for Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2518 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8a4a48f5c7aeb65ea996d4f33e1df25f8ec45090
      https://github.com/boxbackup/boxbackup/commit/8a4a48f5c7aeb65ea996d4f33e1df25f8ec45090
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Log Message:
  -----------
  Remove more svn:mergeinfo properties.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2519 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6037de098ec892dd714af07168cedc208a4ba412
      https://github.com/boxbackup/boxbackup/commit/6037de098ec892dd714af07168cedc208a4ba412
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-26 (Sun, 26 Apr 2009)

  Log Message:
  -----------
  Remove more svn:mergeinfo properties.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2520 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a9a49fe089d103365ae883d2c9ea267036ac5521
      https://github.com/boxbackup/boxbackup/commit/a9a49fe089d103365ae883d2c9ea267036ac5521
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-04-27 (Mon, 27 Apr 2009)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Fix test failure due to operator precedence problem with recently
checked in system exit code comparison.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2522 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 137bc390a3bc7b61ac608ea1e7ccffc3fad83460
      https://github.com/boxbackup/boxbackup/commit/137bc390a3bc7b61ac608ea1e7ccffc3fad83460
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-05-21 (Thu, 21 May 2009)

  Changed paths:
    M docs/docbook/bb-nochunk-book.xsl

  Log Message:
  -----------
  Reference local copy of HTML stylesheets rather than online copy.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2525 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 818e270558caf76df107bb7e0a637a33a66eb4c4
      https://github.com/boxbackup/boxbackup/commit/818e270558caf76df107bb7e0a637a33a66eb4c4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-05-22 (Fri, 22 May 2009)

  Changed paths:
    M lib/common/InvisibleTempFileStream.cpp

  Log Message:
  -----------
  Improve debugging when opening temp file fails, by calling the
filename constructor of FileStream.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2526 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 252d076423a683efb92fcbfa176db995fef33db1
      https://github.com/boxbackup/boxbackup/commit/252d076423a683efb92fcbfa176db995fef33db1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-05-22 (Fri, 22 May 2009)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Log the file name that could not be opened, even for access denied errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2527 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2eee58c0ffda43e6c86ae418be4a69c415ecb8e5
      https://github.com/boxbackup/boxbackup/commit/2eee58c0ffda43e6c86ae418be4a69c415ecb8e5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-22 (Mon, 22 Jun 2009)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Ignore stat() errors on excluded directories.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2528 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aee6843f8b5f5065e9e0d9a88d67d3b8dfd4418e
      https://github.com/boxbackup/boxbackup/commit/aee6843f8b5f5065e9e0d9a88d67d3b8dfd4418e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-27 (Sat, 27 Jun 2009)

  Changed paths:
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Improve RaidFileWrite error logging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2529 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 30778afe3639c3d841327794859edaef374f1ebc
      https://github.com/boxbackup/boxbackup/commit/30778afe3639c3d841327794859edaef374f1ebc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-27 (Sat, 27 Jun 2009)

  Changed paths:
    M lib/backupstore/BackupStoreAccountDatabase.cpp
    M lib/backupstore/BackupStoreAccountDatabase.h

  Log Message:
  -----------
  Make BackupStoreAccountDatabase::AddEntry and 
BackupStoreAccountDatabase::GetEntry return a copy of the new entry. 


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2530 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 82d6d211c5185ea9afb2c257b01b8fb6d4bfc149
      https://github.com/boxbackup/boxbackup/commit/82d6d211c5185ea9afb2c257b01b8fb6d4bfc149
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-27 (Sat, 27 Jun 2009)

  Changed paths:
    M lib/backupclient/BackupStoreException.txt

  Log Message:
  -----------
  Add a new exception type for refcount database errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2531 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e1aaa25e8dbf8814eae879a949064480706caa82
      https://github.com/boxbackup/boxbackup/commit/e1aaa25e8dbf8814eae879a949064480706caa82
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-27 (Sat, 27 Jun 2009)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Make FileExists take a std::string instead of a const char * for C++ 
style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2532 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: de1ee4dfd211cce29304ed60013d02680d17383f
      https://github.com/boxbackup/boxbackup/commit/de1ee4dfd211cce29304ed60013d02680d17383f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-27 (Sat, 27 Jun 2009)

  Changed paths:
    M lib/common/Utils.h

  Log Message:
  -----------
  Second part of FileExists change.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2533 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c3f999fbfacedd856418d1cc9f41c1767354b87c
      https://github.com/boxbackup/boxbackup/commit/c3f999fbfacedd856418d1cc9f41c1767354b87c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-27 (Sat, 27 Jun 2009)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreAccounts.h
    A lib/backupstore/BackupStoreRefCountDatabase.cpp
    A lib/backupstore/BackupStoreRefCountDatabase.h

  Log Message:
  -----------
  Add code for BackupStoreRefCountDatabase.

Create a refcount database when creating a new account.

Add an easier way to get the account root directory.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2534 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a8d8935e205520f8e25e712124229794cce4e3bf
      https://github.com/boxbackup/boxbackup/commit/a8d8935e205520f8e25e712124229794cce4e3bf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-28 (Sun, 28 Jun 2009)

  Changed paths:
    M bin/bbstored/BackupStoreContext.cpp
    M bin/bbstored/BackupStoreContext.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Update reference counts when files and directories are uploaded.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2535 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9f8a0d2ae210154ceea7520066c41adfa52e2bb9
      https://github.com/boxbackup/boxbackup/commit/9f8a0d2ae210154ceea7520066c41adfa52e2bb9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-28 (Sun, 28 Jun 2009)

  Changed paths:
    M lib/common/NamedLock.cpp
    M lib/common/NamedLock.h

  Log Message:
  -----------
  Make NamedLock take a std::string instead of a char pointer for C++ 
style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2536 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 97cd0931d6bc77f1398e28da929f05a9ddf77047
      https://github.com/boxbackup/boxbackup/commit/97cd0931d6bc77f1398e28da929f05a9ddf77047
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-28 (Sun, 28 Jun 2009)

  Changed paths:
    M lib/common/BoxPortsAndFiles.h.in

  Log Message:
  -----------
  Add a #define for the Box Backup test port, 22011.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2537 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5f53ce57cacc8938d8f94088f5b35ee91ac8dca0
      https://github.com/boxbackup/boxbackup/commit/5f53ce57cacc8938d8f94088f5b35ee91ac8dca0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-28 (Sun, 28 Jun 2009)

  Changed paths:
    A test/backupstore/Makefile.extra

  Log Message:
  -----------
  Link testbackupstore against HousekeepStoreAccount so that it can call 
housekeeping directly.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2538 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 736f464ddf79c048b36822cdf46c97b4da47a2a6
      https://github.com/boxbackup/boxbackup/commit/736f464ddf79c048b36822cdf46c97b4da47a2a6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-28 (Sun, 28 Jun 2009)

  Changed paths:
    M lib/backupstore/BackupStoreRefCountDatabase.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.h

  Log Message:
  -----------
  Make GetRefCount return a refcount_t rather than an int32_t.

Make refcount_t unsigned and make its definition public.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2539 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 19c3609f5b6763755194ebc74374fe1bd03eb43c
      https://github.com/boxbackup/boxbackup/commit/19c3609f5b6763755194ebc74374fe1bd03eb43c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-28 (Sun, 28 Jun 2009)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Allow std::ostringstream formatting on the "line" part of 
TEST_EQUAL_LINE, so that it can be used to report object IDs for 
example.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2540 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8dfe3c7b23c1d0c72950d7625edda7e882926aba
      https://github.com/boxbackup/boxbackup/commit/8dfe3c7b23c1d0c72950d7625edda7e882926aba
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-28 (Sun, 28 Jun 2009)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M bin/bbstored/HousekeepStoreAccount.cpp
    M bin/bbstored/HousekeepStoreAccount.h

  Log Message:
  -----------
  Make housekeeping check the object reference counts and fix them if 
they're wrong.

Add a callback interface to decouple housekeeping from the 
BackupStoreDaemon, allowing it to be called directly in tests.

Allow housekeeping callers to request it to keep trying forever to get a 
lock on the account if it's busy.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2541 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a8198973e61e60ce50bf7723a90fa8499e748fc0
      https://github.com/boxbackup/boxbackup/commit/a8198973e61e60ce50bf7723a90fa8499e748fc0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-06-28 (Sun, 28 Jun 2009)

  Changed paths:
    M test/backupstore/testbackupstore.cpp
    M test/backupstore/testfiles/bbstored.conf

  Log Message:
  -----------
  Test that housekeeping can recreate the refcount database if it's 
missing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2542 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 81a5d75e19ebb0ffb2bce89ec6c33ef1630c2351
      https://github.com/boxbackup/boxbackup/commit/81a5d75e19ebb0ffb2bce89ec6c33ef1630c2351
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-07-05 (Sun, 05 Jul 2009)

  Changed paths:
    M lib/raidfile/RaidFileException.txt
    M lib/raidfile/RaidFileWrite.cpp
    M lib/raidfile/RaidFileWrite.h
    M test/raidfile/testraidfile.cpp

  Log Message:
  -----------
  Allow RaidFileWrite to test that the reference count of an object is 
correct before overwriting or deleting it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2543 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dc8354bcea4057e2b293937e75941af1aaf472bd
      https://github.com/boxbackup/boxbackup/commit/dc8354bcea4057e2b293937e75941af1aaf472bd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-07-05 (Sun, 05 Jul 2009)

  Changed paths:
    M lib/common/Box.h
    M lib/common/Logging.h
    M lib/common/Test.h

  Log Message:
  -----------
  Suppress exception warnings when they are expected during a test.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2544 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 12acc5b38120c5b3ccc208faad4c8a42960b85f8
      https://github.com/boxbackup/boxbackup/commit/12acc5b38120c5b3ccc208faad4c8a42960b85f8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-07-05 (Sun, 05 Jul 2009)

  Changed paths:
    M lib/backupstore/BackupStoreRefCountDatabase.h

  Log Message:
  -----------
  Comment the return value of 
BackupStoreRefCountDatabase::RemoveReference.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2545 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6ce53feb0f2cce10a5ccc8290f7d40e66ae00445
      https://github.com/boxbackup/boxbackup/commit/6ce53feb0f2cce10a5ccc8290f7d40e66ae00445
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-07-05 (Sun, 05 Jul 2009)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Add a static variable to store the exceptions suppressed flag.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2546 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8c513f177d0927e15123fe2b54af2e65b2e214a8
      https://github.com/boxbackup/boxbackup/commit/8c513f177d0927e15123fe2b54af2e65b2e214a8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-07-10 (Fri, 10 Jul 2009)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Change bbstored port in backupstorepatch test to 22011.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2547 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ed76844ee94dfe697b19f9b540563b1179d6c0b
      https://github.com/boxbackup/boxbackup/commit/8ed76844ee94dfe697b19f9b540563b1179d6c0b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-08-01 (Sat, 01 Aug 2009)

  Changed paths:
    M lib/backupstore/BackupStoreRefCountDatabase.cpp

  Log Message:
  -----------
  Fix compile failure reported by Achim.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2548 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 25e11966b807bd67be932b17e3dfffb63a33d11e
      https://github.com/boxbackup/boxbackup/commit/25e11966b807bd67be932b17e3dfffb63a33d11e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-08-02 (Sun, 02 Aug 2009)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Add handling of relative paths to emu.cpp's openfile(), needed to handle
relative paths in test configuration on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2549 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2a281509b42f9bcffa43d0ae2dbd516d915d800d
      https://github.com/boxbackup/boxbackup/commit/2a281509b42f9bcffa43d0ae2dbd516d915d800d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-08-22 (Sat, 22 Aug 2009)

  Changed paths:
    M docs/Makefile

  Log Message:
  -----------
  Make generation of documentation quieter.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2550 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 475b7b48d0d11c7513cfe703f708e102443eeebe
      https://github.com/boxbackup/boxbackup/commit/475b7b48d0d11c7513cfe703f708e102443eeebe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-08-25 (Tue, 25 Aug 2009)

  Changed paths:
    M lib/common/Utils.cpp
    M lib/common/Utils.h

  Log Message:
  -----------
  Make the version of Box Backup available for use in Boxi.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2551 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fc014b1edbc281c9fc17309965104a1a196e55a0
      https://github.com/boxbackup/boxbackup/commit/fc014b1edbc281c9fc17309965104a1a196e55a0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-14 (Mon, 14 Sep 2009)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Update distribution manifest to fix errors with documentation files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2554 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fdeda316ed98b13356c3ae404238b94a49de7a53
      https://github.com/boxbackup/boxbackup/commit/fdeda316ed98b13356c3ae404238b94a49de7a53
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-17 (Thu, 17 Sep 2009)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Remove check for soft limit being less than 97% of the hard limit, as
some users want to set them equal to ensure that no files are ever
deleted by housekeeping.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2560 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4321e618410ecd4bb95d987b20925275b131b98f
      https://github.com/boxbackup/boxbackup/commit/4321e618410ecd4bb95d987b20925275b131b98f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-21 (Mon, 21 Sep 2009)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Print info lines to STDERR so that they don't confuse the configure
scripts when they capture stdout to get the box version, for example.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2561 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1d5574ba3453e3a56f8f0503d95384b6d8b31abd
      https://github.com/boxbackup/boxbackup/commit/1d5574ba3453e3a56f8f0503d95384b6d8b31abd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-21 (Mon, 21 Sep 2009)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Fix missing docs/xsl-generic directory in releases, thanks to
Nick Suckling.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2562 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 797a0ca3e3e69efc08da9b84a86a4b422364b881
      https://github.com/boxbackup/boxbackup/commit/797a0ca3e3e69efc08da9b84a86a4b422364b881
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-21 (Mon, 21 Sep 2009)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Add remaining missing docs/xsl-generic subdirs.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2568 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e25db2cdbe1bf75892e4e37f6efe77522da5a8fe
      https://github.com/boxbackup/boxbackup/commit/e25db2cdbe1bf75892e4e37f6efe77522da5a8fe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-21 (Mon, 21 Sep 2009)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Add missing docs/html/images directory.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2570 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c220f2bdb51c5d8a0b30962777d7f5c9a633849b
      https://github.com/boxbackup/boxbackup/commit/c220f2bdb51c5d8a0b30962777d7f5c9a633849b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-21 (Mon, 21 Sep 2009)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Add more missing documentation to distribution manifests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2572 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6c32b849ea871697b761ae07bf6029c1224b72fd
      https://github.com/boxbackup/boxbackup/commit/6c32b849ea871697b761ae07bf6029c1224b72fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-21 (Mon, 21 Sep 2009)

  Changed paths:
    M distribution/COMMON-MANIFEST.txt
    M infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Check that source and text file copies are successful.

Fix missing docs/common in common manifest.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2574 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fbd99fc3b8d35f5c2f8a4c5808b1e68cb9ae905c
      https://github.com/boxbackup/boxbackup/commit/fbd99fc3b8d35f5c2f8a4c5808b1e68cb9ae905c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-21 (Mon, 21 Sep 2009)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Fix wrong name of html manual directory.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2576 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d29e92ad38630dd83dab1be7e595ee57e12cd51d
      https://github.com/boxbackup/boxbackup/commit/d29e92ad38630dd83dab1be7e595ee57e12cd51d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-09-21 (Mon, 21 Sep 2009)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Remove reference to missing file TODO.txt

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2578 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a9e75f21d5b6c96dc1f0920c111de7b6bf79044a
      https://github.com/boxbackup/boxbackup/commit/a9e75f21d5b6c96dc1f0920c111de7b6bf79044a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-11-11 (Wed, 11 Nov 2009)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Add support for Makefile.pre in build infrastructure.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2583 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a024802f8d6559764c16791593867c7d583a6e30
      https://github.com/boxbackup/boxbackup/commit/a024802f8d6559764c16791593867c7d583a6e30
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-11-11 (Wed, 11 Nov 2009)

  Changed paths:
    M lib/common/Archive.h

  Log Message:
  -----------
  Add methods to read and write exact 32-bit and 64-bit types.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2584 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b1f1bd83158f8b106d7c24b3ea0c0ac13a5f39f
      https://github.com/boxbackup/boxbackup/commit/0b1f1bd83158f8b106d7c24b3ea0c0ac13a5f39f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-11-11 (Wed, 11 Nov 2009)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Add method to get the number of refcounts adjusted by the last 
housekeeping, for use by tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2585 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0c258bb4a7965989df7901274d1fcab04623bcc3
      https://github.com/boxbackup/boxbackup/commit/0c258bb4a7965989df7901274d1fcab04623bcc3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-11-11 (Wed, 11 Nov 2009)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.h

  Log Message:
  -----------
  Add methods to get the number of refcounts adjusted by the last 
housekeeping, for testing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2586 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 118b2278ad37ff1efe393de1ae50086b9811fedc
      https://github.com/boxbackup/boxbackup/commit/118b2278ad37ff1efe393de1ae50086b9811fedc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-11-24 (Tue, 24 Nov 2009)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Add debugging for child processes terminating normally or abnormally,
as Brendon Baumgartner reported symptoms that sound like a bbstored 
child process crashing, and nothing in the logs indicates what happened 
to it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2587 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cc22d28fffef78572db7cb40be1bcfbfe20b2eef
      https://github.com/boxbackup/boxbackup/commit/cc22d28fffef78572db7cb40be1bcfbfe20b2eef
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-11-26 (Thu, 26 Nov 2009)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Add location of config file as an additional parameter to the 
SyncAllowScript and the NotifyScript, thanks to Achim J. Latz.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2588 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cd8b95b7714b978997a5760ef95e4c61108c3b54
      https://github.com/boxbackup/boxbackup/commit/cd8b95b7714b978997a5760ef95e4c61108c3b54
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2009-11-26 (Thu, 26 Nov 2009)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Add missing space before file age in not uploading log message.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2589 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c0533aaf4a9af744f233f6c0eeec4b10fb06fbea
      https://github.com/boxbackup/boxbackup/commit/c0533aaf4a9af744f233f6c0eeec4b10fb06fbea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-01-09 (Sat, 09 Jan 2010)

  Changed paths:
    A qdbm/COPYING
    A qdbm/ChangeLog
    A qdbm/LTmakefile.in
    A qdbm/Makefile.in
    A qdbm/NEWS
    A qdbm/README
    A qdbm/RISCmakefile
    A qdbm/THANKS
    A qdbm/VCmakefile
    A qdbm/cabin.c
    A qdbm/cabin.h
    A qdbm/cbcodec.c
    A qdbm/cbtest.c
    A qdbm/configure
    A qdbm/configure.in
    A qdbm/crmgr.c
    A qdbm/crtest.c
    A qdbm/crtsv.c
    A qdbm/curia.c
    A qdbm/curia.h
    A qdbm/depot.c
    A qdbm/depot.h
    A qdbm/dpmgr.c
    A qdbm/dptest.c
    A qdbm/dptsv.c
    A qdbm/hovel.c
    A qdbm/hovel.h
    A qdbm/hvmgr.c
    A qdbm/hvtest.c
    A qdbm/misc/COPYING.txt
    A qdbm/misc/README-win32.txt
    A qdbm/misc/VCmakefile-old
    A qdbm/misc/benchmark.pdf
    A qdbm/misc/icon16.png
    A qdbm/misc/icon20.png
    A qdbm/misc/index.html
    A qdbm/misc/index.ja.html
    A qdbm/misc/logo.png
    A qdbm/misc/makevcdef
    A qdbm/misc/mymemo-ja.html
    A qdbm/misc/tutorial-ja.html
    A qdbm/misc/win32check.bat
    A qdbm/myconf.c
    A qdbm/myconf.h
    A qdbm/odeum.c
    A qdbm/odeum.h
    A qdbm/odidx.c
    A qdbm/odmgr.c
    A qdbm/odtest.c
    A qdbm/qdbm.def
    A qdbm/qdbm.pc.in
    A qdbm/qdbm.spec.in
    A qdbm/qmttest.c
    A qdbm/relic.c
    A qdbm/relic.h
    A qdbm/rlmgr.c
    A qdbm/rltest.c
    A qdbm/spex-ja.html
    A qdbm/spex.html
    A qdbm/villa.c
    A qdbm/villa.h
    A qdbm/vista.c
    A qdbm/vista.h
    A qdbm/vlmgr.c
    A qdbm/vltest.c
    A qdbm/vltsv.c

  Log Message:
  -----------
  Add QDBM 1.8.77 dbm-compatible database library to sources, will 
probably be used as a default for the reference tracking implementation 
as it's smaller than BDB and apparently faster.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2590 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 58685e890bba897077cc29fdc311c0c12ac0311f
      https://github.com/boxbackup/boxbackup/commit/58685e890bba897077cc29fdc311c0c12ac0311f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-01-23 (Sat, 23 Jan 2010)

  Changed paths:
    A COPYING.txt
    A LICENSE-DUAL.txt
    A LICENSE-GPL.txt
    R LICENSE.txt
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt
    R distribution/boxbackup/LICENSE.txt
    M infrastructure/makedistribution.pl.in

  Log Message:
  -----------
  Switch license to GPL for backup parts, and dual GPL/BSD for common 
parts, as discussed and agreed in this thread:

http://lists.boxbackup.org/pipermail/boxbackup/2010-January/000005.html


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2596 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 07c0cf7833c164e230a7fcc5f4eedea79dae96ae
      https://github.com/boxbackup/boxbackup/commit/07c0cf7833c164e230a7fcc5f4eedea79dae96ae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-01-24 (Sun, 24 Jan 2010)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M lib/server/LocalProcessStream.cpp
    M lib/server/LocalProcessStream.h

  Log Message:
  -----------
  Revert the quotes part of [2588] as it breaks the unit tests.

Make LocalProcessStream constructor take a std::string& for C++ style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2597 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2221e0cc34e328fb0637243374ddc91b9b3f3790
      https://github.com/boxbackup/boxbackup/commit/2221e0cc34e328fb0637243374ddc91b9b3f3790
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-01-24 (Sun, 24 Jan 2010)

  Changed paths:
    M bin/bbackupd/Makefile.extra
    M bin/bbackupquery/Makefile.extra
    M bin/bbstored/Makefile.extra
    M infrastructure/makebuildenv.pl.in
    M lib/backupclient/Makefile.extra
    M lib/common/Makefile.extra
    M lib/compress/Makefile.extra
    M lib/crypto/Makefile.extra
    M lib/httpserver/Makefile.extra
    M lib/raidfile/Makefile.extra
    M lib/server/Makefile.extra
    M test/basicserver/Makefile.extra

  Log Message:
  -----------
  Run Perl scripts quietly during make.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2598 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3ead201df075abab36da763c856fb577b5b83293
      https://github.com/boxbackup/boxbackup/commit/3ead201df075abab36da763c856fb577b5b83293
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-01-24 (Sun, 24 Jan 2010)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Update parcels.txt for new license files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2599 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ef723773f4769704d733e3ce1d629d0eb6b39970
      https://github.com/boxbackup/boxbackup/commit/ef723773f4769704d733e3ce1d629d0eb6b39970
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-01-31 (Sun, 31 Jan 2010)

  Changed paths:
    M COPYING.txt
    M LICENSE-GPL.txt

  Log Message:
  -----------
  Create a new license that allows Box Backup to be linked with OpenSSL 
and Microsoft VSS SDK.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2600 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 89ec250b26c239d426f35fe26d423b2eb195523d
      https://github.com/boxbackup/boxbackup/commit/89ec250b26c239d426f35fe26d423b2eb195523d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-01-31 (Sun, 31 Jan 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Don't try to stat excluded directories, reported by Ben Bennett
[http://lists.boxbackup.org/pipermail/boxbackup/2010-January/000013.html].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2601 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4c89a7a78bf6a77f1149b3aa71546f1e54958d19
      https://github.com/boxbackup/boxbackup/commit/4c89a7a78bf6a77f1149b3aa71546f1e54958d19
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-01-31 (Sun, 31 Jan 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Comment why excluded directories are excluded before statting them.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2602 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1be57ac3dc5781c02b87c6a2f4d003db830d67c5
      https://github.com/boxbackup/boxbackup/commit/1be57ac3dc5781c02b87c6a2f4d003db830d67c5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-07 (Sun, 07 Feb 2010)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Allow logging any std::ostringstream expression in 
THROW_EXCEPTION_MESSAGE, fixes compile error.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2603 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f007699962710c62db1ac632e61d55fd7fef9c5f
      https://github.com/boxbackup/boxbackup/commit/f007699962710c62db1ac632e61d55fd7fef9c5f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-10 (Wed, 10 Feb 2010)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Log more detailed info about backup comparison failures, for debugging.

Enable -V option in bbackupquery, and document that -q, -v, -V and 
-W<level> are allowed in the command-line help.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2604 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 11f687075aa2f33d6748216532039e52f9adaceb
      https://github.com/boxbackup/boxbackup/commit/11f687075aa2f33d6748216532039e52f9adaceb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-15 (Mon, 15 Feb 2010)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Support throwing exception with more complex stringstream-formatted 
messages.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2606 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8fdf74e6ec056c047b6d4886f7b1893a82f800f4
      https://github.com/boxbackup/boxbackup/commit/8fdf74e6ec056c047b6d4886f7b1893a82f800f4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-15 (Mon, 15 Feb 2010)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Add support for linking to qdbm and other imported libraries with 
external build systems.

Rewrite some library dependency code for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2607 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a51aa21a84a3647e3c092d2907ec84bf3cee3a83
      https://github.com/boxbackup/boxbackup/commit/a51aa21a84a3647e3c092d2907ec84bf3cee3a83
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-15 (Mon, 15 Feb 2010)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Fix the default and clean targets by moving cleaning lines back where 
they belong.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2608 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5371c3a78192a0ffeb5fed68bd765b5a2d32ea50
      https://github.com/boxbackup/boxbackup/commit/5371c3a78192a0ffeb5fed68bd765b5a2d32ea50
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-15 (Mon, 15 Feb 2010)

  Changed paths:
    M bin/bbackupd/win32/installer.iss

  Log Message:
  -----------
  Remove the obsolete win32 InstallShield installer script.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2609 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d3bad51332f55d1170d071008e91e2d184664a31
      https://github.com/boxbackup/boxbackup/commit/d3bad51332f55d1170d071008e91e2d184664a31
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-16 (Tue, 16 Feb 2010)

  Changed paths:
    M modules.txt

  Log Message:
  -----------
  Add qdbm to library dependencies for bbackupd.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2610 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bb9de55db7ce359a9aad195e3d6403e3e8bf0a96
      https://github.com/boxbackup/boxbackup/commit/bb9de55db7ce359a9aad195e3d6403e3e8bf0a96
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-16 (Tue, 16 Feb 2010)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Reformat for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2611 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 29820f220b9a7c220310e34957805864c9b7c7c6
      https://github.com/boxbackup/boxbackup/commit/29820f220b9a7c220310e34957805864c9b7c7c6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-16 (Tue, 16 Feb 2010)

  Changed paths:
    A lib/common/FileModificationTime.cpp
    M lib/common/FileModificationTime.h

  Log Message:
  -----------
  Move modification time functions out-of-line to help with debugging 
them.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2612 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9b88e9e9f045e162f266b77f2c627ca7c77f9deb
      https://github.com/boxbackup/boxbackup/commit/9b88e9e9f045e162f266b77f2c627ca7c77f9deb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-16 (Tue, 16 Feb 2010)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Add overloaded hton() and ntoh() functions for file attribute comparison
macro.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2613 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fae7877cd577f42fd60857bd36db4c7a31d6aa00
      https://github.com/boxbackup/boxbackup/commit/fae7877cd577f42fd60857bd36db4c7a31d6aa00
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-16 (Tue, 16 Feb 2010)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Convert attributes to host byte order when reporting errors.

Convert timestamps to host byte order before dividing from usecs to secs,
store in uint64_t variables to avoid truncation, and display in host byte
order.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2614 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4f031964fe1d06d2567da7a58471f8fee1d4dcf4
      https://github.com/boxbackup/boxbackup/commit/4f031964fe1d06d2567da7a58471f8fee1d4dcf4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-17 (Wed, 17 Feb 2010)

  Changed paths:
    M lib/common/BannerText.h

  Log Message:
  -----------
  Update banner to say 2003-2010.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2616 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 008c574b14cf3adea6b9223dea3bbc3159985e3e
      https://github.com/boxbackup/boxbackup/commit/008c574b14cf3adea6b9223dea3bbc3159985e3e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-18 (Thu, 18 Feb 2010)

  Changed paths:
    M modules.txt

  Log Message:
  -----------
  Remove qdbm again, not all infrastructure is there yet.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2617 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: abfb9160e2acb8d5a3ef751b4b91ba9916be4e40
      https://github.com/boxbackup/boxbackup/commit/abfb9160e2acb8d5a3ef751b4b91ba9916be4e40
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-18 (Thu, 18 Feb 2010)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Log the mismatched timestamps of files during compare in a human-readable
format as well as the raw numbers.

Use existing helper functions to convert box_time_t to seconds, rather than
just arbitrarily dividing by 1000000.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2618 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 047e16d30228ddbc7ff7b81c83fdf19ef1ce200c
      https://github.com/boxbackup/boxbackup/commit/047e16d30228ddbc7ff7b81c83fdf19ef1ce200c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-18 (Thu, 18 Feb 2010)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Configure subdirectories specified in modules.txt.

Detect C compiler as well as C++.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2619 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cdcdcce7ddb941ef23f27f0697d86160f0659c84
      https://github.com/boxbackup/boxbackup/commit/cdcdcce7ddb941ef23f27f0697d86160f0659c84
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-18 (Thu, 18 Feb 2010)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Add qdbm as additional subdir to be configured.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2620 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0f382eaf0c2c3e5a1a2594a68beefaac1abf2e9f
      https://github.com/boxbackup/boxbackup/commit/0f382eaf0c2c3e5a1a2594a68beefaac1abf2e9f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-18 (Thu, 18 Feb 2010)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Pass target to sub-configure as well, for mingw, as boxi does to box 
backup.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2621 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1850c719dfd475468e153296312cf3a66d52e13a
      https://github.com/boxbackup/boxbackup/commit/1850c719dfd475468e153296312cf3a66d52e13a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-19 (Fri, 19 Feb 2010)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Make the explicit target of each dependency, including libraries, to solve
problems with integrating QDBM into build system (default target tries to
build stuff we don't want).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2622 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 04a01b97c0fec9d7003472f8f16186ab759722ee
      https://github.com/boxbackup/boxbackup/commit/04a01b97c0fec9d7003472f8f16186ab759722ee
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-19 (Fri, 19 Feb 2010)

  Changed paths:
    M qdbm/Makefile.in

  Log Message:
  -----------
  Honour CFLAGS in QDBM so that Cygwin/MinGW builds work.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2623 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fb444124564c0f5c7e7174cddefa8804a71acfe4
      https://github.com/boxbackup/boxbackup/commit/fb444124564c0f5c7e7174cddefa8804a71acfe4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-19 (Fri, 19 Feb 2010)

  Changed paths:
    M modules.txt

  Log Message:
  -----------
  Put qdbm back into module dependencies of bin/bbackupd.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2624 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 45420ec96182d4846ecb40e2ece2f70d6829ac9f
      https://github.com/boxbackup/boxbackup/commit/45420ec96182d4846ecb40e2ece2f70d6829ac9f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-21 (Sun, 21 Feb 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Move the test for excluded dirs inside the emu_lstat failure, as 
otherwise we don't know whether the file that we couldn't stat was 
really a file or a directory, so we can't know whether it should have 
been excluded, and the old code allowed dir excludes to make files 
appear not to exist locally, and therefore tests to fail.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2625 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0e2286e03c2ee3da22952d7beb7f9191650fa542
      https://github.com/boxbackup/boxbackup/commit/0e2286e03c2ee3da22952d7beb7f9191650fa542
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-22 (Mon, 22 Feb 2010)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Add CC to exports for mingw configure script.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2626 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b152c45f8f56015ccd6d0cfc147a9249dd641a72
      https://github.com/boxbackup/boxbackup/commit/b152c45f8f56015ccd6d0cfc147a9249dd641a72
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-22 (Mon, 22 Feb 2010)

  Changed paths:
    M qdbm/Makefile.in

  Log Message:
  -----------
  Remove -O3 -fomit-frame-pointer from qdbm gcc options, as they make 
debugging impossible.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2627 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d627ed82e5827858d98134683016d813f1ebc280
      https://github.com/boxbackup/boxbackup/commit/d627ed82e5827858d98134683016d813f1ebc280
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-22 (Mon, 22 Feb 2010)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Don't echo twice before configuring sub-project.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2628 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f5e7d39132cd6e35cd86529ccf66d842aff721e7
      https://github.com/boxbackup/boxbackup/commit/f5e7d39132cd6e35cd86529ccf66d842aff721e7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-22 (Mon, 22 Feb 2010)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Rename LOG_AND_THROW_ERROR macro to THROW_SYS_ERROR for consistency and 
brevity. Add THROW_SYS_FILE_ERROR which adds a filename to the message.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2629 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9f87bcb878c0c2c2c14c66be39169f07a1b777c8
      https://github.com/boxbackup/boxbackup/commit/9f87bcb878c0c2c2c14c66be39169f07a1b777c8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-22 (Mon, 22 Feb 2010)

  Changed paths:
    M lib/common/CommonException.txt

  Log Message:
  -----------
  Add some exceptions for use by database handling classes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2630 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e706d7800e9956ac26fdc30430b1966186d56926
      https://github.com/boxbackup/boxbackup/commit/e706d7800e9956ac26fdc30430b1966186d56926
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-22 (Mon, 22 Feb 2010)

  Changed paths:
    M bin/bbackupd/BackupClientInodeToIDMap.cpp
    M bin/bbackupd/BackupClientInodeToIDMap.h
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Remove all references to bdb databases, use QDBM instead.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2631 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b81166340c55d68ac07fdab5651ec4c0460f3b0a
      https://github.com/boxbackup/boxbackup/commit/b81166340c55d68ac07fdab5651ec4c0460f3b0a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-24 (Wed, 24 Feb 2010)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Undo compile breakage due to bad paste.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2632 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a51e900acb3306d95b39aa70eb9f37ce6ca9b6e
      https://github.com/boxbackup/boxbackup/commit/5a51e900acb3306d95b39aa70eb9f37ce6ca9b6e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-24 (Wed, 24 Feb 2010)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/BackupDaemonInterface.h
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Add notification about uploading new file attributes.

Add check for changing file creation times on Windows, to cause the 
attributes to be uploaded again.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2633 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 07556d2436de82714edf4bba34bf1e853ad5f6c7
      https://github.com/boxbackup/boxbackup/commit/07556d2436de82714edf4bba34bf1e853ad5f6c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-24 (Wed, 24 Feb 2010)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Notify about uploading changed attributes for files as well as 
directories.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2634 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e48efa106aac97d55fe9c222f4dcadcb9a29964
      https://github.com/boxbackup/boxbackup/commit/3e48efa106aac97d55fe9c222f4dcadcb9a29964
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-24 (Wed, 24 Feb 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientFileAttributes.h

  Log Message:
  -----------
  Add method to get updated modification time of 
BackupClientFileAttributes.

Add listing of attribute modification time to bbackupquery "list -t" 
command.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2635 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 624ff44e5166b68327f299f8135b7e80e3595a2a
      https://github.com/boxbackup/boxbackup/commit/624ff44e5166b68327f299f8135b7e80e3595a2a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-24 (Wed, 24 Feb 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientFileAttributes.h

  Log Message:
  -----------
  Add option to display attribute modification times from additional 
attributes if available in bbackupquery.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2636 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 486db9cb8db44f40ef5e0f27a247743aeee629f3
      https://github.com/boxbackup/boxbackup/commit/486db9cb8db44f40ef5e0f27a247743aeee629f3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-24 (Wed, 24 Feb 2010)

  Changed paths:
    M bin/bbackupquery/documentation.txt

  Log Message:
  -----------
  Updated bbackupquery help to list some undocumented options.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2637 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c5a9468d9f0961ee593a82ee09592a3f0c1e3ada
      https://github.com/boxbackup/boxbackup/commit/c5a9468d9f0961ee593a82ee09592a3f0c1e3ada
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-25 (Thu, 25 Feb 2010)

  Changed paths:
    M infrastructure/makeparcels.pl.in
    M parcels.txt

  Log Message:
  -----------
  Only build the static library part of QDBM, as the default dynamic build 
doesn't work on OSX and we don't care about the binary tools. Thanks to 
Melissa for the bug report.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2639 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7b896ad5d5725f3799289ca19aac559b67e1d6fd
      https://github.com/boxbackup/boxbackup/commit/7b896ad5d5725f3799289ca19aac559b67e1d6fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-25 (Thu, 25 Feb 2010)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Quieten the Perl scripts that generate autogen exceptions when building 
in the default quiet mode.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2640 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: edc1a719c540861353ad7c83d2fe0b3e56130a2a
      https://github.com/boxbackup/boxbackup/commit/edc1a719c540861353ad7c83d2fe0b3e56130a2a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-25 (Thu, 25 Feb 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  First attempt at tab completion for readline/libedit in bbackupquery, 
with commands and local file names, because it's easy and will help to 
find compatibility problems.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2641 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8c952d28b6561ff39d81cb6a80801b07b561dd38
      https://github.com/boxbackup/boxbackup/commit/8c952d28b6561ff39d81cb6a80801b07b561dd38
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-26 (Fri, 26 Feb 2010)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Add instructions and support for building with readline on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2642 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a4f518f8a4d07334a15a711bcffc7743d0d6c17c
      https://github.com/boxbackup/boxbackup/commit/a4f518f8a4d07334a15a711bcffc7743d0d6c17c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-26 (Fri, 26 Feb 2010)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp
    M infrastructure/m4/vl_lib_readline.m4

  Log Message:
  -----------
  Detect whether rl_completion_matches or completion_matches is declared 
by readline headers at configure time, and use the appropriate one in 
bbackupquery. Thanks to Melissa Jenkins for reporting the compilation 
failure on OSX and providing additional details.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2643 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e9733a7863f0577a74c127a183df1267dbba10d0
      https://github.com/boxbackup/boxbackup/commit/e9733a7863f0577a74c127a183df1267dbba10d0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-26 (Fri, 26 Feb 2010)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Try again to fix QDBM build on OSX.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2644 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8d5e68f8b19526b53b42253141404c37744f7f72
      https://github.com/boxbackup/boxbackup/commit/8d5e68f8b19526b53b42253141404c37744f7f72
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-28 (Sun, 28 Feb 2010)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Log keeping referenced files and deleting unreferenced ones on the 
store.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2645 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a2f95b35ed2473cfc7ed77378a61cd6ce248db11
      https://github.com/boxbackup/boxbackup/commit/a2f95b35ed2473cfc7ed77378a61cd6ce248db11
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-28 (Sun, 28 Feb 2010)

  Changed paths:
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Add test for failure to remove an unreferenced object as expected during 
housekeeping.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2646 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8f8dfb6ca9c4534358631785bd878556486ba30f
      https://github.com/boxbackup/boxbackup/commit/8f8dfb6ca9c4534358631785bd878556486ba30f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-28 (Sun, 28 Feb 2010)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Build the reference counts for a directory before we start deleting 
files, to ensure that it's initialized and memory allocated for it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2647 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 93ef36205cf5121b8478c013fda40b316e0436ff
      https://github.com/boxbackup/boxbackup/commit/93ef36205cf5121b8478c013fda40b316e0436ff
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-02-28 (Sun, 28 Feb 2010)

  Changed paths:
    M lib/common/Test.cpp

  Log Message:
  -----------
  Workaround for problem with nanosleep() return values on OSX causing test
to hang.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2648 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a4145d396d9c7b3b43f17bb096d84e442ff82bb1
      https://github.com/boxbackup/boxbackup/commit/a4145d396d9c7b3b43f17bb096d84e442ff82bb1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-03-02 (Tue, 02 Mar 2010)

  Changed paths:
    M lib/common/Test.cpp

  Log Message:
  -----------
  typo


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2649 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5ff6cc578326d55f076b376f43a0f57ab7746fb3
      https://github.com/boxbackup/boxbackup/commit/5ff6cc578326d55f076b376f43a0f57ab7746fb3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-03-02 (Tue, 02 Mar 2010)

  Changed paths:
    M lib/common/Test.cpp

  Log Message:
  -----------
  Undo


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2650 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 38b71d612f67a4c7d56b38c48238163d725c302a
      https://github.com/boxbackup/boxbackup/commit/38b71d612f67a4c7d56b38c48238163d725c302a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-03-02 (Tue, 02 Mar 2010)

  Changed paths:
    M lib/common/Test.cpp

  Log Message:
  -----------
  fix typo properly


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2651 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fc4f977131213f9e6b865634043e36349fc40736
      https://github.com/boxbackup/boxbackup/commit/fc4f977131213f9e6b865634043e36349fc40736
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-03-09 (Tue, 09 Mar 2010)

  Changed paths:
    R contrib/cygwin/README.txt
    R contrib/cygwin/install-cygwin-service.pl.in
    R contrib/cygwin/remove-cygwin-service.sh
    M distribution/COMMON-MANIFEST.txt
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Remove obsolete cygwin directory.

Update distribution manifests to fix missing files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2672 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8568c38de7c1925efffa0d52cad29391cd206f10
      https://github.com/boxbackup/boxbackup/commit/8568c38de7c1925efffa0d52cad29391cd206f10
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-03-18 (Thu, 18 Mar 2010)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Add a new exception macro for throwing exceptions that are related to a 
file but not system errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2676 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1eaae738c3dd1890a54deac3547a01df45c68cac
      https://github.com/boxbackup/boxbackup/commit/1eaae738c3dd1890a54deac3547a01df45c68cac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-03-18 (Thu, 18 Mar 2010)

  Changed paths:
    M lib/common/Test.cpp
    M lib/common/Test.h

  Log Message:
  -----------
  Make TestGetFileSize take a std::string instead of a char * for C++ 
style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2677 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 29173b2ec97d6a3195d9e4bb96564aeeec45930f
      https://github.com/boxbackup/boxbackup/commit/29173b2ec97d6a3195d9e4bb96564aeeec45930f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-03-18 (Thu, 18 Mar 2010)

  Changed paths:
    M lib/common/CommonException.txt

  Log Message:
  -----------
  Add new exception codes for database errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2678 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ba75f1aa53e9bab7a0aa6a2b2eb2791cdb19c940
      https://github.com/boxbackup/boxbackup/commit/ba75f1aa53e9bab7a0aa6a2b2eb2791cdb19c940
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-03-18 (Thu, 18 Mar 2010)

  Changed paths:
    A lib/common/Database.h

  Log Message:
  -----------
  Add header with macros for QDBM error logging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2679 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2899ab0835d532ed2638279ebb10ceefd344501f
      https://github.com/boxbackup/boxbackup/commit/2899ab0835d532ed2638279ebb10ceefd344501f
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-04-11 (Sun, 11 Apr 2010)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Play nicely with versions of make which don't support -C <dir>.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2680 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d2941dec1b9b95262aa3d8e4408fae0af71527fd
      https://github.com/boxbackup/boxbackup/commit/d2941dec1b9b95262aa3d8e4408fae0af71527fd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-04-30 (Fri, 30 Apr 2010)

  Changed paths:
    M contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Fix RPM spec broken by license file changes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2681 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1b4e55b68e1a334560c778a4f14c0b78501ed5a7
      https://github.com/boxbackup/boxbackup/commit/1b4e55b68e1a334560c778a4f14c0b78501ed5a7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-05-01 (Sat, 01 May 2010)

  Changed paths:
    M contrib/rpm/boxbackup.spec

  Log Message:
  -----------
  Really fix boxbackup spec.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2685 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 134c3b515021bb305c5f722a9a446add9a12b7b7
      https://github.com/boxbackup/boxbackup/commit/134c3b515021bb305c5f722a9a446add9a12b7b7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-05-20 (Thu, 20 May 2010)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Don't back up sockets and pipes, thanks to Mick Kappenburg for spotting 
that the fix for Debian bug was incorrect.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2693 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4429d78e373fe38f5e6e91ea64f62a07dd6f3460
      https://github.com/boxbackup/boxbackup/commit/4429d78e373fe38f5e6e91ea64f62a07dd6f3460
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-06-06 (Sun, 06 Jun 2010)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/bbackupd.cpp
    M lib/common/BoxPortsAndFiles.h.in
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Replace BOX_FILE_BBACKUPD_DEFAULT_CONFIG with 
BOX_GET_DEFAULT_BBACKUPD_CONFIG_FILE.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2694 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 43b24f3933df42b81521e0719fa5abfbde0fae2f
      https://github.com/boxbackup/boxbackup/commit/43b24f3933df42b81521e0719fa5abfbde0fae2f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-06-06 (Sun, 06 Jun 2010)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M bin/bbstored/bbstored.cpp
    M lib/backupstore/BackupStoreConfigVerify.cpp

  Log Message:
  -----------
  Compile  fix for [2694].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2695 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2575dec011f37f66dd8e30614b9bd5b9c4bfc234
      https://github.com/boxbackup/boxbackup/commit/2575dec011f37f66dd8e30614b9bd5b9c4bfc234
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-06-06 (Sun, 06 Jun 2010)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupDaemon.cpp
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/common/Configuration.cpp
    M lib/common/Configuration.h

  Log Message:
  -----------
  Add support for account numbers greater than 0x7fffffff without wrapping.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2696 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1a19723a2698bb77f50f294353ab4a4662706b08
      https://github.com/boxbackup/boxbackup/commit/1a19723a2698bb77f50f294353ab4a4662706b08
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-06-06 (Sun, 06 Jun 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Initial support for command and local file completion with readline.

Improve bbackupquery command-line help.

Add -E option to disable readline/editline as it causes problems with 
entering international characters on some systems (see #73).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2697 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c697aac1efb65e9abe8a9e49bafbccba838d1bd8
      https://github.com/boxbackup/boxbackup/commit/c697aac1efb65e9abe8a9e49bafbccba838d1bd8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-06-06 (Sun, 06 Jun 2010)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Compile fix for [2697].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2698 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b092b6b383050cee4619a372e70b489b41378e5e
      https://github.com/boxbackup/boxbackup/commit/b092b6b383050cee4619a372e70b489b41378e5e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-07-06 (Tue, 06 Jul 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Fix Windows compile errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2699 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5273ad870e9fa30aaef01793bc2eee5240624c6e
      https://github.com/boxbackup/boxbackup/commit/5273ad870e9fa30aaef01793bc2eee5240624c6e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M lib/backupclient/BackupStoreDirectory.h

  Log Message:
  -----------
  Add inline helpers to check whether a directory entry is a file, 
directory, old or deleted.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2700 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c497caf3ba46aaa21af5ab7d7c7ea40f3bebb291
      https://github.com/boxbackup/boxbackup/commit/c497caf3ba46aaa21af5ab7d7c7ea40f3bebb291
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h

  Log Message:
  -----------
  Count the number of files and directories in the account during account 
check.

Move directory entry checking code into its own method for readability.

Reformat long lines for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2701 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ff8a51fc98aa0cade2b0c3d3b153c2d67896189
      https://github.com/boxbackup/boxbackup/commit/8ff8a51fc98aa0cade2b0c3d3b153c2d67896189
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/backupstore/BackupStoreInfo.h

  Log Message:
  -----------
  Change the store info file format to include an account name and the 
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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2702 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b6dd28bbaa0246b1707ca196dfae9fc9dd1be7dd
      https://github.com/boxbackup/boxbackup/commit/b6dd28bbaa0246b1707ca196dfae9fc9dd1be7dd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp

  Log Message:
  -----------
  Count the root directory when creating a new account.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2703 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6ced2fd906278485801fe091cf688e3c1d86eee2
      https://github.com/boxbackup/boxbackup/commit/6ced2fd906278485801fe091cf688e3c1d86eee2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M lib/backupclient/BackupStoreFile.cpp

  Log Message:
  -----------
  Reformat comments for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2704 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e27c31b1a97ee2b9aaa3e22f72fdc4b87deddd58
      https://github.com/boxbackup/boxbackup/commit/e27c31b1a97ee2b9aaa3e22f72fdc4b87deddd58
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Reformat TEST_CHECK_THROWS macro for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2705 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 39163c4669669ab521ce556079489911387aec18
      https://github.com/boxbackup/boxbackup/commit/39163c4669669ab521ce556079489911387aec18
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Report changes to object and block counts that are made by housekeeping.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2706 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b3a478c2342044b753d6a0922d0490087b6c5689
      https://github.com/boxbackup/boxbackup/commit/b3a478c2342044b753d6a0922d0490087b6c5689
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M bin/bbstored/BackupStoreContext.cpp
    M bin/bbstored/BackupStoreContext.h

  Log Message:
  -----------
  Adjust numbers of files and blocks in current files during backup store 
operations.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2707 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f620506c8d39f6f9e04555a06edc338426ccf31f
      https://github.com/boxbackup/boxbackup/commit/f620506c8d39f6f9e04555a06edc338426ccf31f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Test that numbers of files are adjusted correctly during normal store 
operations.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2708 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: be42e8ec3bd508e104be2e1b97625f2daf8ea450
      https://github.com/boxbackup/boxbackup/commit/be42e8ec3bd508e104be2e1b97625f2daf8ea450
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Allow setting the account name using bbstoreaccounts.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2709 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3382eeca0a028f3cabeadbd948e361a39922ec84
      https://github.com/boxbackup/boxbackup/commit/3382eeca0a028f3cabeadbd948e361a39922ec84
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    A bundled/replace/.checker_innocent
    A bundled/replace/.revinfo.git
    A bundled/replace/Makefile.in
    A bundled/replace/README
    A bundled/replace/aclocal.m4
    A bundled/replace/autoconf-2.60.m4
    A bundled/replace/autogen-waf.sh
    A bundled/replace/autogen.sh
    A bundled/replace/build_macros.m4
    A bundled/replace/config.guess
    A bundled/replace/config.h.in
    A bundled/replace/config.sub
    A bundled/replace/configure
    A bundled/replace/configure.ac
    A bundled/replace/crypt.c
    A bundled/replace/crypt.m4
    A bundled/replace/dlfcn.c
    A bundled/replace/dlfcn.m4
    A bundled/replace/getaddrinfo.c
    A bundled/replace/getaddrinfo.h
    A bundled/replace/getifaddrs.c
    A bundled/replace/getpass.c
    A bundled/replace/getpass.m4
    A bundled/replace/hdr_replace.h
    A bundled/replace/inet_aton.c
    A bundled/replace/inet_ntoa.c
    A bundled/replace/inet_ntop.c
    A bundled/replace/inet_pton.c
    A bundled/replace/install-sh
    A bundled/replace/libreplace.m4
    A bundled/replace/libreplace_cc.m4
    A bundled/replace/libreplace_ld.m4
    A bundled/replace/libreplace_macros.m4
    A bundled/replace/libreplace_network.m4
    A bundled/replace/repdir.m4
    A bundled/replace/repdir_getdents.c
    A bundled/replace/repdir_getdirentries.c
    A bundled/replace/replace.c
    A bundled/replace/replace.h
    A bundled/replace/samba.m4
    A bundled/replace/snprintf.c
    A bundled/replace/socket.c
    A bundled/replace/socketpair.c
    A bundled/replace/strptime.c
    A bundled/replace/strptime.m4
    A bundled/replace/system/README
    A bundled/replace/system/aio.h
    A bundled/replace/system/capability.h
    A bundled/replace/system/config.m4
    A bundled/replace/system/dir.h
    A bundled/replace/system/filesys.h
    A bundled/replace/system/glob.h
    A bundled/replace/system/iconv.h
    A bundled/replace/system/kerberos.h
    A bundled/replace/system/locale.h
    A bundled/replace/system/network.h
    A bundled/replace/system/passwd.h
    A bundled/replace/system/readline.h
    A bundled/replace/system/select.h
    A bundled/replace/system/shmem.h
    A bundled/replace/system/syslog.h
    A bundled/replace/system/terminal.h
    A bundled/replace/system/time.h
    A bundled/replace/system/wait.h
    A bundled/replace/system/wscript_configure
    A bundled/replace/test/getifaddrs.c
    A bundled/replace/test/main.c
    A bundled/replace/test/os2_delete.c
    A bundled/replace/test/shared_mmap.c
    A bundled/replace/test/snprintf.c
    A bundled/replace/test/strptime.c
    A bundled/replace/test/testsuite.c
    A bundled/replace/timegm.c
    A bundled/replace/timegm.m4
    A bundled/replace/win32.m4
    A bundled/replace/win32_replace.h
    A bundled/replace/wscript
    A bundled/tdb/.revinfo.git
    A bundled/tdb/.tmp_waflock
    A bundled/tdb/ABI/tdb-1.2.1.sigs
    A bundled/tdb/ABI/tdb-1.2.2.sigs
    A bundled/tdb/ABI/tdb-1.2.3.sigs
    A bundled/tdb/Makefile.in
    A bundled/tdb/aclocal.m4
    A bundled/tdb/autogen-waf.sh
    A bundled/tdb/autogen.sh
    A bundled/tdb/build_macros.m4
    A bundled/tdb/common/check.c
    A bundled/tdb/common/dump.c
    A bundled/tdb/common/error.c
    A bundled/tdb/common/freelist.c
    A bundled/tdb/common/freelistcheck.c
    A bundled/tdb/common/io.c
    A bundled/tdb/common/lock.c
    A bundled/tdb/common/open.c
    A bundled/tdb/common/tdb.c
    A bundled/tdb/common/tdb_private.h
    A bundled/tdb/common/transaction.c
    A bundled/tdb/common/traverse.c
    A bundled/tdb/config.guess
    A bundled/tdb/config.mk
    A bundled/tdb/config.sub
    A bundled/tdb/configure.ac
    A bundled/tdb/docs/README
    A bundled/tdb/docs/tdb.magic
    A bundled/tdb/docs/tracing.txt
    A bundled/tdb/include/tdb.h
    A bundled/tdb/install-sh
    A bundled/tdb/libtdb.m4
    A bundled/tdb/manpages/tdbbackup.8.xml
    A bundled/tdb/manpages/tdbdump.8.xml
    A bundled/tdb/manpages/tdbtool.8.xml
    A bundled/tdb/pytdb.c
    A bundled/tdb/python.mk
    A bundled/tdb/python/tdbdump.py
    A bundled/tdb/python/tests/simple.py
    A bundled/tdb/rules.mk
    A bundled/tdb/script/abi_checks.sh
    A bundled/tdb/script/abi_checks_gcc.sh
    A bundled/tdb/script/mksigs.pl
    A bundled/tdb/script/mksyms.awk
    A bundled/tdb/script/mksyms.sh
    A bundled/tdb/script/release-script.sh
    A bundled/tdb/tdb.exports
    A bundled/tdb/tdb.mk
    A bundled/tdb/tdb.pc.in
    A bundled/tdb/tdb.signatures
    A bundled/tdb/tools/tdbbackup.c
    A bundled/tdb/tools/tdbdump.c
    A bundled/tdb/tools/tdbtest.c
    A bundled/tdb/tools/tdbtool.c
    A bundled/tdb/tools/tdbtorture.c
    A bundled/tdb/web/index.html
    A bundled/tdb/wscript

  Log Message:
  -----------
  Add bundled tdb from latest trunk, rsynced from http://tdb.samba.org/.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2710 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bebde8c6ed9e87a5110455bd86d0f18957ee16fe
      https://github.com/boxbackup/boxbackup/commit/bebde8c6ed9e87a5110455bd86d0f18957ee16fe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-27 (Fri, 27 Aug 2010)

  Changed paths:
    M lib/server/SocketListen.h

  Log Message:
  -----------
  It's not an error to be interrupted by a signal while waiting for an 
incoming connection. This is the normal way to shut down or reload 
bbackupd.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2711 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 967399685a7879f5e2ff1a98c6006f28059ca6eb
      https://github.com/boxbackup/boxbackup/commit/967399685a7879f5e2ff1a98c6006f28059ca6eb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-28 (Sat, 28 Aug 2010)

  Changed paths:
    M bin/bbackupd/BackupClientInodeToIDMap.cpp
    M bin/bbackupd/BackupClientInodeToIDMap.h
    M bootstrap
    M configure.ac
    M infrastructure/makebuildenv.pl.in
    M infrastructure/makeparcels.pl.in
    M modules.txt
    M parcels.txt
    R qdbm/COPYING
    R qdbm/ChangeLog
    R qdbm/LTmakefile.in
    R qdbm/Makefile.in
    R qdbm/NEWS
    R qdbm/README
    R qdbm/RISCmakefile
    R qdbm/THANKS
    R qdbm/VCmakefile
    R qdbm/cabin.c
    R qdbm/cabin.h
    R qdbm/cbcodec.c
    R qdbm/cbtest.c
    R qdbm/configure
    R qdbm/configure.in
    R qdbm/crmgr.c
    R qdbm/crtest.c
    R qdbm/crtsv.c
    R qdbm/curia.c
    R qdbm/curia.h
    R qdbm/depot.c
    R qdbm/depot.h
    R qdbm/dpmgr.c
    R qdbm/dptest.c
    R qdbm/dptsv.c
    R qdbm/hovel.c
    R qdbm/hovel.h
    R qdbm/hvmgr.c
    R qdbm/hvtest.c
    R qdbm/misc/COPYING.txt
    R qdbm/misc/README-win32.txt
    R qdbm/misc/VCmakefile-old
    R qdbm/misc/benchmark.pdf
    R qdbm/misc/icon16.png
    R qdbm/misc/icon20.png
    R qdbm/misc/index.html
    R qdbm/misc/index.ja.html
    R qdbm/misc/logo.png
    R qdbm/misc/makevcdef
    R qdbm/misc/mymemo-ja.html
    R qdbm/misc/tutorial-ja.html
    R qdbm/misc/win32check.bat
    R qdbm/myconf.c
    R qdbm/myconf.h
    R qdbm/odeum.c
    R qdbm/odeum.h
    R qdbm/odidx.c
    R qdbm/odmgr.c
    R qdbm/odtest.c
    R qdbm/qdbm.def
    R qdbm/qdbm.pc.in
    R qdbm/qdbm.spec.in
    R qdbm/qmttest.c
    R qdbm/relic.c
    R qdbm/relic.h
    R qdbm/rlmgr.c
    R qdbm/rltest.c
    R qdbm/spex-ja.html
    R qdbm/spex.html
    R qdbm/villa.c
    R qdbm/villa.h
    R qdbm/vista.c
    R qdbm/vista.h
    R qdbm/vlmgr.c
    R qdbm/vltest.c
    R qdbm/vltsv.c

  Log Message:
  -----------
  Remove QDBM, and switch BackupClientInodeToIDMap to use the bundled TDB 
instead.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2717 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: efc24f97fab7b0b9dfe28a408460bb9721cfd574
      https://github.com/boxbackup/boxbackup/commit/efc24f97fab7b0b9dfe28a408460bb9721cfd574
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-28 (Sat, 28 Aug 2010)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Log which features are enabled in a file for future reference during 
testing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2719 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e92bb4a51cad64e82133b50efbfc62d27911c13
      https://github.com/boxbackup/boxbackup/commit/3e92bb4a51cad64e82133b50efbfc62d27911c13
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-28 (Sat, 28 Aug 2010)

  Changed paths:
    M lib/httpserver/HTTPRequest.h

  Log Message:
  -----------
  Fix compile error on OpenSolaris 10/Sun Studio 12. (merges [2720])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2721 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a34c2a8f0f5f50aaca47ef546a14f555420776e
      https://github.com/boxbackup/boxbackup/commit/5a34c2a8f0f5f50aaca47ef546a14f555420776e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-31 (Tue, 31 Aug 2010)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Log the invalid log level.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2725 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ea7861e5152bdfcc3eb89423fa01dbb8f9346102
      https://github.com/boxbackup/boxbackup/commit/ea7861e5152bdfcc3eb89423fa01dbb8f9346102
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-31 (Tue, 31 Aug 2010)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Allow setting the verbosity level of bbstoreaccounts.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2726 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8c6b8b567aa7f88a2d0ccc72a0a6b53c2851c50b
      https://github.com/boxbackup/boxbackup/commit/8c6b8b567aa7f88a2d0ccc72a0a6b53c2851c50b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-08-31 (Tue, 31 Aug 2010)

  Changed paths:
    M configure.ac
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Fix demangled logging of backtraces on OSX by using dladdr to get function
names rather than trying to parse the results of backtrace_strings().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2727 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ad715506120e6c9837f4fe79d0ac31d759e460e7
      https://github.com/boxbackup/boxbackup/commit/ad715506120e6c9837f4fe79d0ac31d759e460e7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-09-13 (Mon, 13 Sep 2010)

  Changed paths:
    M bin/bbstored/BackupStoreContext.cpp
    M lib/common/BufferedStream.cpp
    M lib/common/BufferedStream.h
    A lib/common/BufferedWriteStream.cpp
    A lib/common/BufferedWriteStream.h
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Implement write buffering on directories.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2728 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f8688b6d5c2fa4919fb1c2e0e670925fa3a71ae2
      https://github.com/boxbackup/boxbackup/commit/f8688b6d5c2fa4919fb1c2e0e670925fa3a71ae2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-09-13 (Mon, 13 Sep 2010)

  Changed paths:
    M lib/common/BufferedWriteStream.cpp

  Log Message:
  -----------
  Fix calculation error in buffered writer.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2732 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fd879ea7c0bd9de0d4816865f660a0e9a6155f5b
      https://github.com/boxbackup/boxbackup/commit/fd879ea7c0bd9de0d4816865f660a0e9a6155f5b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-09-13 (Mon, 13 Sep 2010)

  Changed paths:
    M configure.ac
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Fix compile on Debian Squeeze with libbsd-dev and libedit-dev installed,
thanks to Dave Bamford for reporting and debugging. (merges [2734] from 
0.11)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2735 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 540eac4a416412ecfac1c5fe876669018ed958e9
      https://github.com/boxbackup/boxbackup/commit/540eac4a416412ecfac1c5fe876669018ed958e9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-09-14 (Tue, 14 Sep 2010)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Fix HTML documentation installation. (merges [2737] from trunk)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2738 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d3f0ecf6365922029e82131ee4d873af03c695ee
      https://github.com/boxbackup/boxbackup/commit/d3f0ecf6365922029e82131ee4d873af03c695ee
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-09-22 (Wed, 22 Sep 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/documentation.txt
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Allow restoring directories with a single argument, using the remote name
as the local destination name also.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2754 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ad35e438164c972b1f8c83c5eee3b90fa643182e
      https://github.com/boxbackup/boxbackup/commit/ad35e438164c972b1f8c83c5eee3b90fa643182e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-09-29 (Wed, 29 Sep 2010)

  Changed paths:
    M infrastructure/m4/vl_lib_readline.m4

  Log Message:
  -----------
  Workaround for Mac OSX where readline.h doesn't compile if stdio.h is
not included first.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2758 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5eccfe0df6b68412149c1b2250ed1310c0e78974
      https://github.com/boxbackup/boxbackup/commit/5eccfe0df6b68412149c1b2250ed1310c0e78974
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-09-29 (Wed, 29 Sep 2010)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Check for rl_filename_completion_function, because it's just called
filename_completion_function in Mac OSX.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2759 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 270fbc121ce1994e096027f3192bc78f8326fd74
      https://github.com/boxbackup/boxbackup/commit/270fbc121ce1994e096027f3192bc78f8326fd74
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-09-29 (Wed, 29 Sep 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Implement basic readline/editline completion of remote file and directory
names, object IDs, and command options.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2760 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1d50604f7ceb90a4136b5fb9c3ede925f1224007
      https://github.com/boxbackup/boxbackup/commit/1d50604f7ceb90a4136b5fb9c3ede925f1224007
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-09-29 (Wed, 29 Sep 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Fix compile when there is no readline/editline support.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2761 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 46f31e4a5357f429e69a2d92cccd33213d574eec
      https://github.com/boxbackup/boxbackup/commit/46f31e4a5357f429e69a2d92cccd33213d574eec
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-10-07 (Thu, 07 Oct 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Finish support for -i option in bbackupquery (thanks to Achim for 
noticing) (forward port to trunk).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2783 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 87310c3aa5689b5b61e05a3d6bd1966fc4f857dc
      https://github.com/boxbackup/boxbackup/commit/87310c3aa5689b5b61e05a3d6bd1966fc4f857dc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-10-07 (Thu, 07 Oct 2010)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Quick fix to stop deletion of redundant locations when 
DeleteRedundantLocationsAfter is set to zero, which is supposed to mean 
that it's disabled.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2784 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 59cf63186b86c2ea2fee7b58b2e79bfc91a525df
      https://github.com/boxbackup/boxbackup/commit/59cf63186b86c2ea2fee7b58b2e79bfc91a525df
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-10-18 (Mon, 18 Oct 2010)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix location of memleaks file to fix test/bbackupd again.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2793 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 69b662037487e42b20e4ca676721fc4b59eda37f
      https://github.com/boxbackup/boxbackup/commit/69b662037487e42b20e4ca676721fc4b59eda37f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-10-18 (Mon, 18 Oct 2010)

  Changed paths:
    M bin/bbackupd/BackupClientInodeToIDMap.cpp
    M bin/bbackupd/BackupClientInodeToIDMap.h
    M bootstrap
    R bundled/replace/.checker_innocent
    R bundled/replace/.revinfo.git
    R bundled/replace/Makefile.in
    R bundled/replace/README
    R bundled/replace/aclocal.m4
    R bundled/replace/autoconf-2.60.m4
    R bundled/replace/autogen-waf.sh
    R bundled/replace/autogen.sh
    R bundled/replace/build_macros.m4
    R bundled/replace/config.guess
    R bundled/replace/config.h.in
    R bundled/replace/config.sub
    R bundled/replace/configure
    R bundled/replace/configure.ac
    R bundled/replace/crypt.c
    R bundled/replace/crypt.m4
    R bundled/replace/dlfcn.c
    R bundled/replace/dlfcn.m4
    R bundled/replace/getaddrinfo.c
    R bundled/replace/getaddrinfo.h
    R bundled/replace/getifaddrs.c
    R bundled/replace/getpass.c
    R bundled/replace/getpass.m4
    R bundled/replace/hdr_replace.h
    R bundled/replace/inet_aton.c
    R bundled/replace/inet_ntoa.c
    R bundled/replace/inet_ntop.c
    R bundled/replace/inet_pton.c
    R bundled/replace/install-sh
    R bundled/replace/libreplace.m4
    R bundled/replace/libreplace_cc.m4
    R bundled/replace/libreplace_ld.m4
    R bundled/replace/libreplace_macros.m4
    R bundled/replace/libreplace_network.m4
    R bundled/replace/repdir.m4
    R bundled/replace/repdir_getdents.c
    R bundled/replace/repdir_getdirentries.c
    R bundled/replace/replace.c
    R bundled/replace/replace.h
    R bundled/replace/samba.m4
    R bundled/replace/snprintf.c
    R bundled/replace/socket.c
    R bundled/replace/socketpair.c
    R bundled/replace/strptime.c
    R bundled/replace/strptime.m4
    R bundled/replace/system/README
    R bundled/replace/system/aio.h
    R bundled/replace/system/capability.h
    R bundled/replace/system/config.m4
    R bundled/replace/system/dir.h
    R bundled/replace/system/filesys.h
    R bundled/replace/system/glob.h
    R bundled/replace/system/iconv.h
    R bundled/replace/system/kerberos.h
    R bundled/replace/system/locale.h
    R bundled/replace/system/network.h
    R bundled/replace/system/passwd.h
    R bundled/replace/system/readline.h
    R bundled/replace/system/select.h
    R bundled/replace/system/shmem.h
    R bundled/replace/system/syslog.h
    R bundled/replace/system/terminal.h
    R bundled/replace/system/time.h
    R bundled/replace/system/wait.h
    R bundled/replace/system/wscript_configure
    R bundled/replace/test/getifaddrs.c
    R bundled/replace/test/main.c
    R bundled/replace/test/os2_delete.c
    R bundled/replace/test/shared_mmap.c
    R bundled/replace/test/snprintf.c
    R bundled/replace/test/strptime.c
    R bundled/replace/test/testsuite.c
    R bundled/replace/timegm.c
    R bundled/replace/timegm.m4
    R bundled/replace/win32.m4
    R bundled/replace/win32_replace.h
    R bundled/replace/wscript
    R bundled/tdb/.revinfo.git
    R bundled/tdb/.tmp_waflock
    R bundled/tdb/ABI/tdb-1.2.1.sigs
    R bundled/tdb/ABI/tdb-1.2.2.sigs
    R bundled/tdb/ABI/tdb-1.2.3.sigs
    R bundled/tdb/Makefile.in
    R bundled/tdb/aclocal.m4
    R bundled/tdb/autogen-waf.sh
    R bundled/tdb/autogen.sh
    R bundled/tdb/build_macros.m4
    R bundled/tdb/common/check.c
    R bundled/tdb/common/dump.c
    R bundled/tdb/common/error.c
    R bundled/tdb/common/freelist.c
    R bundled/tdb/common/freelistcheck.c
    R bundled/tdb/common/io.c
    R bundled/tdb/common/lock.c
    R bundled/tdb/common/open.c
    R bundled/tdb/common/tdb.c
    R bundled/tdb/common/tdb_private.h
    R bundled/tdb/common/transaction.c
    R bundled/tdb/common/traverse.c
    R bundled/tdb/config.guess
    R bundled/tdb/config.mk
    R bundled/tdb/config.sub
    R bundled/tdb/configure.ac
    R bundled/tdb/docs/README
    R bundled/tdb/docs/tdb.magic
    R bundled/tdb/docs/tracing.txt
    R bundled/tdb/include/tdb.h
    R bundled/tdb/install-sh
    R bundled/tdb/libtdb.m4
    R bundled/tdb/manpages/tdbbackup.8.xml
    R bundled/tdb/manpages/tdbdump.8.xml
    R bundled/tdb/manpages/tdbtool.8.xml
    R bundled/tdb/pytdb.c
    R bundled/tdb/python.mk
    R bundled/tdb/python/tdbdump.py
    R bundled/tdb/python/tests/simple.py
    R bundled/tdb/rules.mk
    R bundled/tdb/script/abi_checks.sh
    R bundled/tdb/script/abi_checks_gcc.sh
    R bundled/tdb/script/mksigs.pl
    R bundled/tdb/script/mksyms.awk
    R bundled/tdb/script/mksyms.sh
    R bundled/tdb/script/release-script.sh
    R bundled/tdb/tdb.exports
    R bundled/tdb/tdb.mk
    R bundled/tdb/tdb.pc.in
    R bundled/tdb/tdb.signatures
    R bundled/tdb/tools/tdbbackup.c
    R bundled/tdb/tools/tdbdump.c
    R bundled/tdb/tools/tdbtest.c
    R bundled/tdb/tools/tdbtool.c
    R bundled/tdb/tools/tdbtorture.c
    R bundled/tdb/web/index.html
    R bundled/tdb/wscript
    M configure.ac
    M infrastructure/makebuildenv.pl.in
    M infrastructure/makeparcels.pl.in
    M modules.txt
    M parcels.txt
    A qdbm/COPYING
    A qdbm/ChangeLog
    A qdbm/LTmakefile.in
    A qdbm/Makefile.in
    A qdbm/NEWS
    A qdbm/README
    A qdbm/RISCmakefile
    A qdbm/THANKS
    A qdbm/VCmakefile
    A qdbm/cabin.c
    A qdbm/cabin.h
    A qdbm/cbcodec.c
    A qdbm/cbtest.c
    A qdbm/configure
    A qdbm/configure.in
    A qdbm/crmgr.c
    A qdbm/crtest.c
    A qdbm/crtsv.c
    A qdbm/curia.c
    A qdbm/curia.h
    A qdbm/depot.c
    A qdbm/depot.h
    A qdbm/dpmgr.c
    A qdbm/dptest.c
    A qdbm/dptsv.c
    A qdbm/hovel.c
    A qdbm/hovel.h
    A qdbm/hvmgr.c
    A qdbm/hvtest.c
    A qdbm/misc/COPYING.txt
    A qdbm/misc/README-win32.txt
    A qdbm/misc/VCmakefile-old
    A qdbm/misc/benchmark.pdf
    A qdbm/misc/icon16.png
    A qdbm/misc/icon20.png
    A qdbm/misc/index.html
    A qdbm/misc/index.ja.html
    A qdbm/misc/logo.png
    A qdbm/misc/makevcdef
    A qdbm/misc/mymemo-ja.html
    A qdbm/misc/tutorial-ja.html
    A qdbm/misc/win32check.bat
    A qdbm/myconf.c
    A qdbm/myconf.h
    A qdbm/odeum.c
    A qdbm/odeum.h
    A qdbm/odidx.c
    A qdbm/odmgr.c
    A qdbm/odtest.c
    A qdbm/qdbm.def
    A qdbm/qdbm.pc.in
    A qdbm/qdbm.spec.in
    A qdbm/qmttest.c
    A qdbm/relic.c
    A qdbm/relic.h
    A qdbm/rlmgr.c
    A qdbm/rltest.c
    A qdbm/spex-ja.html
    A qdbm/spex.html
    A qdbm/villa.c
    A qdbm/villa.h
    A qdbm/vista.c
    A qdbm/vista.h
    A qdbm/vlmgr.c
    A qdbm/vltest.c
    A qdbm/vltsv.c

  Log Message:
  -----------
  Revert [2710] and [2717], remove TDB and replace with QDBM again, to fix 
build on Windows and make it easier to merge Charles' work.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2794 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e6c61706e234a2b67fe0672052632b4403917375
      https://github.com/boxbackup/boxbackup/commit/e6c61706e234a2b67fe0672052632b4403917375
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-10-20 (Wed, 20 Oct 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Fix missing closing parenthesis after bbackupquery pwd outputs object 
ID.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2795 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e2e06217e2a6d1cdd52513979d95f33c2436c1a
      https://github.com/boxbackup/boxbackup/commit/7e2e06217e2a6d1cdd52513979d95f33c2436c1a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-10-20 (Wed, 20 Oct 2010)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Show the output of "pwd" at NOTICE level, so that it gets displayed in 
release builds as well.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2797 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4bc1491339bc84f4dbf777c90628586d169b8036
      https://github.com/boxbackup/boxbackup/commit/4bc1491339bc84f4dbf777c90628586d169b8036
  Author: invisnet <invisnet at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-10-22 (Fri, 22 Oct 2010)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  This should fix Trac #14.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@2799 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 973ebfe4a128b9586543e108e98d134fc84c92c7
      https://github.com/boxbackup/boxbackup/commit/973ebfe4a128b9586543e108e98d134fc84c92c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-11-17 (Wed, 17 Nov 2010)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/BackupDaemonInterface.h
    M lib/backupclient/BackupStoreFile.cpp
    M lib/backupclient/BackupStoreFile.h
    M lib/backupclient/BackupStoreFileEncodeStream.cpp
    M lib/backupclient/BackupStoreFileEncodeStream.h

  Log Message:
  -----------
  Log the total number of bytes uploaded to the server for each file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2804 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 71b44482b077c2883cb19078a3d9494bf478d371
      https://github.com/boxbackup/boxbackup/commit/71b44482b077c2883cb19078a3d9494bf478d371
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-11-17 (Wed, 17 Nov 2010)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Log the device and inode numbers of directories and their entries while
scanning them, to debug Toke's report of symlinks appearing to be mounts.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2805 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b127d82b7e3a54188da887d05b6a3130f32a6377
      https://github.com/boxbackup/boxbackup/commit/b127d82b7e3a54188da887d05b6a3130f32a6377
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-11-17 (Wed, 17 Nov 2010)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Add log file logging to all daemons.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2806 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 72132bb47118cd6317219b40125afd4c5a6bbf01
      https://github.com/boxbackup/boxbackup/commit/72132bb47118cd6317219b40125afd4c5a6bbf01
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-11-17 (Wed, 17 Nov 2010)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Finish enabling the file logging option for daemons.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2807 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3f05707ea6c77a6f692418676866e287922bcb25
      https://github.com/boxbackup/boxbackup/commit/3f05707ea6c77a6f692418676866e287922bcb25
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-11-17 (Wed, 17 Nov 2010)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Improve accuracy and utility of FileStream::StreamClosed().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2808 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4c1d7db3c53ff1bd9506d3dfb774f678049cd1bd
      https://github.com/boxbackup/boxbackup/commit/4c1d7db3c53ff1bd9506d3dfb774f678049cd1bd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2010-11-17 (Wed, 17 Nov 2010)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Avoid fatal error caused by recursive logging if we fail to open the
file we're supposed to log to.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2809 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e3afcc994e4c9ef744e02ec6802f943dda10665e
      https://github.com/boxbackup/boxbackup/commit/e3afcc994e4c9ef744e02ec6802f943dda10665e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-08 (Sat, 08 Jan 2011)

  Changed paths:
    M bin/bbstored/bbstored-certs.in

  Log Message:
  -----------
  Fix date overflow in new CA certificates, make them valid until 2038,
thanks to JP Vossen for reporting this.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2819 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: deae41218aae1462d20f004cc3d376372f554901
      https://github.com/boxbackup/boxbackup/commit/deae41218aae1462d20f004cc3d376372f554901
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-08 (Sat, 08 Jan 2011)

  Changed paths:
    M configure.ac
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Log more useful information when makebuildenv.pl fails.

Fix hang waiting for console input at the end of ./configure
on some shells. (merges [2823])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2824 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4a2f61bdb709c8649f98a7ae82c4bb80f2ae0db4
      https://github.com/boxbackup/boxbackup/commit/4a2f61bdb709c8649f98a7ae82c4bb80f2ae0db4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-08 (Sat, 08 Jan 2011)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M lib/backupclient/BackupClientFileAttributes.cpp
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupClientRestore.h
    M lib/backupclient/BackupStoreFile.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Log the path, name and size of files being restored at TRACE level for
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]).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2828 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5c19b78b436f49830ce30e4f88e38227126cfa31
      https://github.com/boxbackup/boxbackup/commit/5c19b78b436f49830ce30e4f88e38227126cfa31
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-08 (Sat, 08 Jan 2011)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Add a macro for logging timespec structures. (merges [2744])


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2830 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2deb2b233fbb2a095578099adb4b0b302bb47a3b
      https://github.com/boxbackup/boxbackup/commit/2deb2b233fbb2a095578099adb4b0b302bb47a3b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-08 (Sat, 08 Jan 2011)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Log the adjusted time, not the unadjusted one, as it's the adjusted time
that may cause an error if it's invalid. (merges [2743] from 0.11)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2831 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 80866033e989e24a65d2db73d1e56c826b59e447
      https://github.com/boxbackup/boxbackup/commit/80866033e989e24a65d2db73d1e56c826b59e447
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-08 (Sat, 08 Jan 2011)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Update instructions for OpenSSL 1.0.0a and PCRE 8.10.

Instruct users to install PCRE in the MinGW cross-compiler's directory
instead of /usr/{lib,include}/mingw, as it's more standard.

(merges [2742] from 0.11)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2832 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f5aeaba18db8f0d2a8e9c6c2e9947966cf42ab9d
      https://github.com/boxbackup/boxbackup/commit/f5aeaba18db8f0d2a8e9c6c2e9947966cf42ab9d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-08 (Sat, 08 Jan 2011)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix syslog of longer messages on Windows. (merges [2741] from 0.11)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2833 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fb9e10391babdbae2123abe99d6a1988a4d8477a
      https://github.com/boxbackup/boxbackup/commit/fb9e10391babdbae2123abe99d6a1988a4d8477a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-08 (Sat, 08 Jan 2011)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Fix reported store file name and reported side of local missing files.
(merges [2740] from 0.11)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2834 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 73963ac774b016b062dd41876eb89e7f9311d70a
      https://github.com/boxbackup/boxbackup/commit/73963ac774b016b062dd41876eb89e7f9311d70a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-09 (Sun, 09 Jan 2011)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp

  Log Message:
  -----------
  Fix incorrect generation of temporary file name for applying
patches while restoring old versions of files, many thanks to
Matto Marjanovic for debugging this issue and submitting a
patch!


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2835 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9badef3712a2d91cc35bb24453c26a857cc8d61e
      https://github.com/boxbackup/boxbackup/commit/9badef3712a2d91cc35bb24453c26a857cc8d61e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-09 (Sun, 09 Jan 2011)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add intercept logging, seems to work around intermittent failures in
testbbackupd:

{{{
Waiting for internal daemon to scan spacetest/d1: ............ done.
Waiting for server to die (pid 6307): .............................. failed!
ERROR:   **** TEST FAILURE: Condition [killed_server] failed at testbbackupd.cpp:718
ERROR:   **** TEST FAILURE: Condition [stop_internal_daemon(pid)] failed at testbbackupd.cpp:1153
}}}


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2838 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c3182cff0ba2ca242a47a7eb36d4b064e8fcf667
      https://github.com/boxbackup/boxbackup/commit/c3182cff0ba2ca242a47a7eb36d4b064e8fcf667
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-09 (Sun, 09 Jan 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Workaround for apparent btrfs bug, where symlinks appear to be on a
different filesystem than their containing directory, by only checking
for a different filesystem when checking directories, because files and
special files can't be mount points anyway. Thanks to Toke
Hoiland-Jorgensen.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2839 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e2e785de0e330bd14b8d7a4c9f9c8554e0529b7b
      https://github.com/boxbackup/boxbackup/commit/e2e785de0e330bd14b8d7a4c9f9c8554e0529b7b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-09 (Sun, 09 Jan 2011)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Fix compile error on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2841 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c443e5888cd01da72c15f9495a5b0d1e2cb201c2
      https://github.com/boxbackup/boxbackup/commit/c443e5888cd01da72c15f9495a5b0d1e2cb201c2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-09 (Sun, 09 Jan 2011)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Update build instructions for latest Cygwin, OpenSSL 1.0.0c, PCRE 8.11,
and add download link and license notes for readline.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2842 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e08faabfcedfc7f71908dbb81db4a4798e1cda8f
      https://github.com/boxbackup/boxbackup/commit/e08faabfcedfc7f71908dbb81db4a4798e1cda8f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-09 (Sun, 09 Jan 2011)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Correct link to openssl 1.0.0c.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2843 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 806b491f1edf86c17a0c0a7568022cc2a3ad2921
      https://github.com/boxbackup/boxbackup/commit/806b491f1edf86c17a0c0a7568022cc2a3ad2921
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-12 (Wed, 12 Jan 2011)

  Changed paths:
    M lib/backupclient/BackupDaemonConfigVerify.cpp

  Log Message:
  -----------
  Add a configuration option for upload rate limiting, MaxUploadRate.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2844 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6b14bf25e1e3f92b99933bf881b53034454cf7bc
      https://github.com/boxbackup/boxbackup/commit/6b14bf25e1e3f92b99933bf881b53034454cf7bc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-12 (Wed, 12 Jan 2011)

  Changed paths:
    M lib/common/BoxTime.cpp
    M lib/common/BoxTime.h
    M lib/common/Test.cpp

  Log Message:
  -----------
  Move accurate sleep code from Test.cpp to BoxTime, allow requesting times
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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2845 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 857ca3d05eee7edadeeb0169518cd5b69ff08210
      https://github.com/boxbackup/boxbackup/commit/857ca3d05eee7edadeeb0169518cd5b69ff08210
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-12 (Wed, 12 Jan 2011)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Add some more logging and exception macros. Refactor to reduce nesting
depth and increase modularity. 


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2846 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4305553495ba45a58cefef0b39241e44f606733e
      https://github.com/boxbackup/boxbackup/commit/4305553495ba45a58cefef0b39241e44f606733e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-12 (Wed, 12 Jan 2011)

  Changed paths:
    A lib/common/RateLimitingStream.cpp
    A lib/common/RateLimitingStream.h

  Log Message:
  -----------
  Add an implementation of a stream wrapper that limits reading rate, to
control bandwidth usage.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2847 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d0fc04f4d5e8567738cdd42ca9b56661c8e9f914
      https://github.com/boxbackup/boxbackup/commit/d0fc04f4d5e8567738cdd42ca9b56661c8e9f914
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-12 (Wed, 12 Jan 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Rate limit file uploads using the configured MaxUploadRate, if any.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2848 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: da20388e3bcd34ca2720172ea5dfff40757a26d3
      https://github.com/boxbackup/boxbackup/commit/da20388e3bcd34ca2720172ea5dfff40757a26d3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-12 (Wed, 12 Jan 2011)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Improve messages on failure to load store info.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2849 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eaf8cddfbc9d1454b7153af4c9a9d1f91d7fce16
      https://github.com/boxbackup/boxbackup/commit/eaf8cddfbc9d1454b7153af4c9a9d1f91d7fce16
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-12 (Wed, 12 Jan 2011)

  Changed paths:
    M lib/raidfile/RaidFileRead.cpp

  Log Message:
  -----------
  Improve error messages on failure to open a RaidFile for reading.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2850 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0fd2a88f8dc40287058b1d8b4761cbbefcbc206a
      https://github.com/boxbackup/boxbackup/commit/0fd2a88f8dc40287058b1d8b4761cbbefcbc206a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-16 (Sun, 16 Jan 2011)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/BoxBackupCompareParams.h

  Log Message:
  -----------
  Move code for comparing file data out of line for readability.

Add a new notification function for local file access errors, to distinguish them from download errors (remote server errors).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2851 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 499b9f9cb55a999913e3ff0f897f399f1914acb2
      https://github.com/boxbackup/boxbackup/commit/499b9f9cb55a999913e3ff0f897f399f1914acb2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-17 (Mon, 17 Jan 2011)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Fix compile failure, thanks to Achim.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2852 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1705cee6048171039def7bf00f889f7c86ab9181
      https://github.com/boxbackup/boxbackup/commit/1705cee6048171039def7bf00f889f7c86ab9181
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-19 (Wed, 19 Jan 2011)

  Changed paths:
    M contrib/mac_osx/org.boxbackup.bbackupd.plist.in
    M contrib/mac_osx/org.boxbackup.bbstored.plist.in

  Log Message:
  -----------
  Tell launchd that the daemon is not on-demand and should always run.

Ref: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystemStartup/Articles/LaunchOnDemandDaemons.html#//apple_ref/doc/uid/TP40001762-104142
Submitted by: Achim J. Latz


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2854 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b9b0b66d6da7d7f71880e3bdceb10ad0bf3cf10a
      https://github.com/boxbackup/boxbackup/commit/b9b0b66d6da7d7f71880e3bdceb10ad0bf3cf10a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-21 (Fri, 21 Jan 2011)

  Changed paths:
    R lib/common/TemporaryDirectory.h
    M lib/common/Utils.cpp
    M lib/common/Utils.h

  Log Message:
  -----------
  Move TemporaryDirectory.h into Utils.h and Utils.cpp to avoid duplicate
definitions of inline functions.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2855 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3482266b8cf73ba7a58f6a53420b923ac53bd7e9
      https://github.com/boxbackup/boxbackup/commit/3482266b8cf73ba7a58f6a53420b923ac53bd7e9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-21 (Fri, 21 Jan 2011)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    A bin/bbackupquery/CommandCompletion.cpp

  Log Message:
  -----------
  Separate the readline-specific stuff into CommandCompletion.cpp so that
Boxi doesn't have to depend on readline to include BackupQueries.o.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2856 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0966ef3e02aca1e5fdd5c0fca30644e7b3b1be9c
      https://github.com/boxbackup/boxbackup/commit/0966ef3e02aca1e5fdd5c0fca30644e7b3b1be9c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-21 (Fri, 21 Jan 2011)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Fix compile errors using readline on win32.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2857 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: adce3a892e87422d56088cf28cf89803bf63e052
      https://github.com/boxbackup/boxbackup/commit/adce3a892e87422d56088cf28cf89803bf63e052
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-23 (Sun, 23 Jan 2011)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Fix the new compile failures introduced by the previous botched readline fix.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2858 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a18f641bc0bb608a7b59fca685e7af3d5bd216ae
      https://github.com/boxbackup/boxbackup/commit/a18f641bc0bb608a7b59fca685e7af3d5bd216ae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-01-31 (Mon, 31 Jan 2011)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Don't install "subdir" targets, they'll need special instructions.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2859 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 68fff6a632262b596655f3050b37e0e0f575464c
      https://github.com/boxbackup/boxbackup/commit/68fff6a632262b596655f3050b37e0e0f575464c
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-02-19 (Sat, 19 Feb 2011)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Fix backtrace by linking to libexecinfo when execinfo.h is found.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2860 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5e4114025228ad7be043b6e394fd0e076eae20d8
      https://github.com/boxbackup/boxbackup/commit/5e4114025228ad7be043b6e394fd0e076eae20d8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-02-23 (Wed, 23 Feb 2011)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Debugging for Sune Molgaard's issue with non-existent files being
detected as unattached and crashing later in CheckUnattachedObjects().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2861 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d334cdaa59892ba3bea209fa79a2b69249400fab
      https://github.com/boxbackup/boxbackup/commit/d334cdaa59892ba3bea209fa79a2b69249400fab
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-02-26 (Sat, 26 Feb 2011)

  Changed paths:
    M lib/common/RateLimitingStream.cpp

  Log Message:
  -----------
  Hopefully fix divide by zero error on rate limiting stream.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2862 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5c0ddd16b89c727e01a8288098638bc7c4496c3c
      https://github.com/boxbackup/boxbackup/commit/5c0ddd16b89c727e01a8288098638bc7c4496c3c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-02-27 (Sun, 27 Feb 2011)

  Changed paths:
    M infrastructure/m4/vl_lib_readline.m4

  Log Message:
  -----------
  Test whether pdcurses is required to compile with readline support.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2863 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c90aae8b048025dddb77748bd4354df80569522f
      https://github.com/boxbackup/boxbackup/commit/c90aae8b048025dddb77748bd4354df80569522f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-02-27 (Sun, 27 Feb 2011)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Update build docs to show how to build with readline using pdcurses
on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2864 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 63a1d653cd3f6480530576f12aea74f265025219
      https://github.com/boxbackup/boxbackup/commit/63a1d653cd3f6480530576f12aea74f265025219
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-02-27 (Sun, 27 Feb 2011)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Update to OpenSSL 1.0.0d and PCRE 8.12.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2865 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7a4a40048b15f7e8e7379c5b9c6323977d3f7ccd
      https://github.com/boxbackup/boxbackup/commit/7a4a40048b15f7e8e7379c5b9c6323977d3f7ccd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-02-27 (Sun, 27 Feb 2011)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Fix build on solaris/gcc by checking whether -rdynamic is supported or not.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2866 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 57c587a77907c9c9e28737c89d0d70dbfbe0be1d
      https://github.com/boxbackup/boxbackup/commit/57c587a77907c9c9e28737c89d0d70dbfbe0be1d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-02-28 (Mon, 28 Feb 2011)

  Changed paths:
    M infrastructure/m4/vl_lib_readline.m4

  Log Message:
  -----------
  Restore the newline in the includes variable, it is actually required
even though it causes a warning.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2867 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c5c3778135215590a3982111afb3233b9e353589
      https://github.com/boxbackup/boxbackup/commit/c5c3778135215590a3982111afb3233b9e353589
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-01 (Tue, 01 Mar 2011)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Instruct to build PCRE with shared libs disabled, to avoid dependency
on DLL in a directory not in the path.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2868 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eb70ab378d3c133cc8377896e089d52ab335bbeb
      https://github.com/boxbackup/boxbackup/commit/eb70ab378d3c133cc8377896e089d52ab335bbeb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-01 (Tue, 01 Mar 2011)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Hopefully fix crash on unknown commands when readline is not supported
by bbackupqyuery, thanks to Achim J Latz for reporting and helping to debug.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2869 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4145fcd73b8d3885667684a00eebc5210657ddda
      https://github.com/boxbackup/boxbackup/commit/4145fcd73b8d3885667684a00eebc5210657ddda
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-17 (Thu, 17 Mar 2011)

  Changed paths:
    M bin/bbackupd/bbackupd-config.in

  Log Message:
  -----------
  Fix errors reported by default Unix notify script on backup-ok events,
thanks to Steve Haeck for the bug report.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2870 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f0b72b44a2cd95c2756307b52972cf0775ec312c
      https://github.com/boxbackup/boxbackup/commit/f0b72b44a2cd95c2756307b52972cf0775ec312c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    R contrib/windows/installer/tools/RemoteControl.exe

  Log Message:
  -----------
  Remove RemoteControl.exe from Box Backup.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2871 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2b6b75a081ac7c347584f12629535c6dc056d11c
      https://github.com/boxbackup/boxbackup/commit/2b6b75a081ac7c347584f12629535c6dc056d11c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Define WINVER and _WIN32_WINNT to Windows 2000 to avoid importing WSAPoll
from winsock2.h, which conflicts with our definition of struct pollfd,
on Windows Vista and above.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2873 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 89032d1c48493cc0b30ffe355e7c7039487e1d00
      https://github.com/boxbackup/boxbackup/commit/89032d1c48493cc0b30ffe355e7c7039487e1d00
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    M win32.bat

  Log Message:
  -----------
  Generate lib/common/BoxPortsAndFiles.h for MSVC builds.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2874 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b4f52d50f3f0d7ce55d39045673e93f5be6539ec
      https://github.com/boxbackup/boxbackup/commit/b4f52d50f3f0d7ce55d39045673e93f5be6539ec
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp

  Log Message:
  -----------
  Ensure external text strings are declared as const, to fix compile error
on MSVC 2010.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2875 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b2085bc9249ba98176ec183e4bda4c793483e1c8
      https://github.com/boxbackup/boxbackup/commit/b2085bc9249ba98176ec183e4bda4c793483e1c8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Avoid conflicting declarations of O_BINARY on MSVC compiles.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2876 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a2920ec53efa73e9cdca82a4110202c33bb9087f
      https://github.com/boxbackup/boxbackup/commit/a2920ec53efa73e9cdca82a4110202c33bb9087f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  There is no S_FIFO on Windows, fixes MSVC compile.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2877 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d55673962e44b6a7e9994f8d3a2396690af497c1
      https://github.com/boxbackup/boxbackup/commit/d55673962e44b6a7e9994f8d3a2396690af497c1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    M bin/bbackupquery/CommandCompletion.cpp

  Log Message:
  -----------
  Eliminate nested macros to fix compile with MSVC 2010.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2878 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 40930466ba3e937256fe8a3e5e15d43c44c8f0ae
      https://github.com/boxbackup/boxbackup/commit/40930466ba3e937256fe8a3e5e15d43c44c8f0ae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Log Message:
  -----------
  Ignore BoxVersion.h which is not version controlled.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2879 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 39006159215b0fff01a2a9dd332d6b4a8b8a7af7
      https://github.com/boxbackup/boxbackup/commit/39006159215b0fff01a2a9dd332d6b4a8b8a7af7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    A infrastructure/msvc/2010/bbackupctl.vcxproj
    A infrastructure/msvc/2010/bbackupd.vcxproj
    A infrastructure/msvc/2010/boxbackup.sln
    A infrastructure/msvc/2010/boxbackup.suo
    A infrastructure/msvc/2010/boxquery.vcxproj
    A infrastructure/msvc/2010/common.vcxproj
    A infrastructure/msvc/2010/qdbm.vcxproj
    A infrastructure/msvc/2010/win32test.vcxproj

  Log Message:
  -----------
  Add a solution and project for building on MSVC 2010.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2880 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1b136e92e3884b421ef1315f3656cfe9c8a29b1c
      https://github.com/boxbackup/boxbackup/commit/1b136e92e3884b421ef1315f3656cfe9c8a29b1c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    M infrastructure/msvc/2010/bbackupd.vcxproj
    M infrastructure/msvc/2010/boxbackup.suo
    M infrastructure/msvc/2010/boxquery.vcxproj

  Log Message:
  -----------
  Remove unwanted definitions from solution.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2881 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f6452f399248f57ff488fc4697014358bab34658
      https://github.com/boxbackup/boxbackup/commit/f6452f399248f57ff488fc4697014358bab34658
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-26 (Sat, 26 Mar 2011)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix off-by-one error in path translation.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2882 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 55c7e4305861ff1d771484f6d762e76efc7009e3
      https://github.com/boxbackup/boxbackup/commit/55c7e4305861ff1d771484f6d762e76efc7009e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M lib/common/FdGetLine.cpp
    M lib/common/IOStreamGetLine.cpp

  Log Message:
  -----------
  Fix off-by-one errors caught by MSVC.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2883 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1fad9ad25140300b0867c56658653419fa4e72c7
      https://github.com/boxbackup/boxbackup/commit/1fad9ad25140300b0867c56658653419fa4e72c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/bbackupd.cpp

  Log Message:
  -----------
  Fix abort if the local data directory doesn't exist.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2884 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 64221c772b97a4772fd8a0ab740d7b42a5dd64af
      https://github.com/boxbackup/boxbackup/commit/64221c772b97a4772fd8a0ab740d7b42a5dd64af
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix off-by-one causing incomplete normalisation of relative paths.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2885 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cfecdd530f1ed342740b80b61f335f2422afa04f
      https://github.com/boxbackup/boxbackup/commit/cfecdd530f1ed342740b80b61f335f2422afa04f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Pass a C++ string instead of a char pointer for efficiency.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2886 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 60b1bfcec0166124314d40b188436afef89acd5c
      https://github.com/boxbackup/boxbackup/commit/60b1bfcec0166124314d40b188436afef89acd5c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    R infrastructure/msvc/2010/boxbackup.suo

  Log Message:
  -----------
  Remove SUO file that doesn't need to be in version control.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2887 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b6aa31ca5a49f1b7a014d4112545b9eb8be9e417
      https://github.com/boxbackup/boxbackup/commit/b6aa31ca5a49f1b7a014d4112545b9eb8be9e417
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M win32.bat

  Log Message:
  -----------
  Auto-generate classes for bbstored for MSVC.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2888 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 83e690a64d17a26f766af0431912a108e5f8e61a
      https://github.com/boxbackup/boxbackup/commit/83e690a64d17a26f766af0431912a108e5f8e61a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Work around lack of unistd.h on MSVC.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2889 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 456e03dac92dd9bdfa55625dbd9d43f25a1a2855
      https://github.com/boxbackup/boxbackup/commit/456e03dac92dd9bdfa55625dbd9d43f25a1a2855
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M configure.ac
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Detect whether we have sys/file.h and don't include it if not, fixes MSVC compile issue.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2890 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0e2d5ad57a24c89bc4a3db13a13f466982232b55
      https://github.com/boxbackup/boxbackup/commit/0e2d5ad57a24c89bc4a3db13a13f466982232b55
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Check for ftruncate() function, not present on MSVC.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2891 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 27514d7681c366c2a3ab0c9c945310d387902844
      https://github.com/boxbackup/boxbackup/commit/27514d7681c366c2a3ab0c9c945310d387902844
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Add inline definition of ftruncate to fix MSVC compile.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2892 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c61540b6e93889eff73318b3248b881c36e7d47f
      https://github.com/boxbackup/boxbackup/commit/c61540b6e93889eff73318b3248b881c36e7d47f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    A infrastructure/msvc/2010/bbstoreaccounts.vcxproj
    A infrastructure/msvc/2010/bbstored.vcxproj
    M infrastructure/msvc/2010/boxbackup.sln
    M infrastructure/msvc/2010/common.vcxproj
    A infrastructure/msvc/2010/libbackupstore.vcxproj

  Log Message:
  -----------
  Move backupstore common code to its own library, libbackupstore.

Add projects for bbstored and bbstoreaccounts.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2893 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8676d25ec323afd138243ce9b8e3ca85c26011e5
      https://github.com/boxbackup/boxbackup/commit/8676d25ec323afd138243ce9b8e3ca85c26011e5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Fix another off-by-one error.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2894 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 458e992b128995792bf3bc6cf4143b877a93889c
      https://github.com/boxbackup/boxbackup/commit/458e992b128995792bf3bc6cf4143b877a93889c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Add some macros for Windows specific error logging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2895 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5f2c5d3d14c30a05feb392e58a53772be472ab22
      https://github.com/boxbackup/boxbackup/commit/5f2c5d3d14c30a05feb392e58a53772be472ab22
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Improve RaidFile error logging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2896 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fbd04589048568c2b185fdd629d98aa8d0231556
      https://github.com/boxbackup/boxbackup/commit/fbd04589048568c2b185fdd629d98aa8d0231556
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Fix compile of bbstoreaccounts on MSVC.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2897 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 544cd0d75f7716ea2027c1713332689ea3bc3e4a
      https://github.com/boxbackup/boxbackup/commit/544cd0d75f7716ea2027c1713332689ea3bc3e4a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-27 (Sun, 27 Mar 2011)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Fix double path separator in account info filename, prevents its deletion
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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2898 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 63e98ba3f1679bba97291b0c4aa1dc27b2db24c0
      https://github.com/boxbackup/boxbackup/commit/63e98ba3f1679bba97291b0c4aa1dc27b2db24c0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-28 (Mon, 28 Mar 2011)

  Changed paths:
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Make ConvertFromWideString available to other modules.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2899 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 49db49cdb73147bdbef5884a6ee27d524917e04f
      https://github.com/boxbackup/boxbackup/commit/49db49cdb73147bdbef5884a6ee27d524917e04f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-03-28 (Mon, 28 Mar 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M infrastructure/msvc/2010/bbackupd.vcxproj

  Log Message:
  -----------
  First attempt to extract some data from VSS, not useful yet.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2900 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2f27e647de3b910fd3e8999ecd29b83492b0207d
      https://github.com/boxbackup/boxbackup/commit/2f27e647de3b910fd3e8999ecd29b83492b0207d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-06 (Wed, 06 Apr 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Add VSS: prefix to VSS log messages.

Start a snapshot set and add backup locations as volumes.

Modularise IVssAsync waiting code.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2901 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1ccb29602732298df06fb3f4f1ae22918c819daf
      https://github.com/boxbackup/boxbackup/commit/1ccb29602732298df06fb3f4f1ae22918c819daf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-06 (Wed, 06 Apr 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix string access violation.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2902 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c63361ec03ef958a34f28c9974fdcf69df1dfcad
      https://github.com/boxbackup/boxbackup/commit/c63361ec03ef958a34f28c9974fdcf69df1dfcad
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-08 (Fri, 08 Apr 2011)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Fix double path separator in new store info filename which causes unlink()
to fail on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2903 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78081b9cd1406a644d63210db127c4cb2097a18a
      https://github.com/boxbackup/boxbackup/commit/78081b9cd1406a644d63210db127c4cb2097a18a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-08 (Fri, 08 Apr 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Actually create a VSS snapshot.

Clean up writer metadata and writer status after use.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2904 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 171d27d719cf9c1c18ed22345a9e4553e95175a1
      https://github.com/boxbackup/boxbackup/commit/171d27d719cf9c1c18ed22345a9e4553e95175a1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-08 (Fri, 08 Apr 2011)

  Changed paths:
    M infrastructure/msvc/getversion.pl

  Log Message:
  -----------
  Avoid unnecessary rewriting of BoxVersion.h to speed up MSVC build. 


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2905 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fd8018a0d4b5c8a1248c7e11264200baff0b627a
      https://github.com/boxbackup/boxbackup/commit/fd8018a0d4b5c8a1248c7e11264200baff0b627a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-08 (Fri, 08 Apr 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Store the snapshot ID and lookup the resulting device name, building the
Windows path to the snapshot for each location.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2906 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9314b3a14d8510e8b17237352fbc4fa0cb99adb0
      https://github.com/boxbackup/boxbackup/commit/9314b3a14d8510e8b17237352fbc4fa0cb99adb0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-09 (Sat, 09 Apr 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Actually try to back up from the VSS snapshot volume.

Clean up VSS resources at end of backup.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2907 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1fc4af2845464b53a4f134132256591f3864fcb4
      https://github.com/boxbackup/boxbackup/commit/1fc4af2845464b53a4f134132256591f3864fcb4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-14 (Thu, 14 Apr 2011)

  Changed paths:
    M infrastructure/msvc/2010/bbackupctl.vcxproj
    M infrastructure/msvc/2010/bbackupd.vcxproj
    M infrastructure/msvc/2010/bbstoreaccounts.vcxproj
    M infrastructure/msvc/2010/bbstored.vcxproj
    M infrastructure/msvc/2010/boxbackup.sln
    M infrastructure/msvc/2010/boxquery.vcxproj
    M infrastructure/msvc/2010/common.vcxproj
    M infrastructure/msvc/2010/libbackupstore.vcxproj
    M infrastructure/msvc/2010/qdbm.vcxproj
    M infrastructure/msvc/2010/win32test.vcxproj

  Log Message:
  -----------
  Switch from solution dependencies to project-to-project dependencies.

Convert pre-build event to a custom build step.

Store intermediates for each project in their own subdirectory for tidyness,
to avoid overwriting, and to fix parallel builds.

Use automatic library dependencies from required projects.

These changes eliminate unnecessary rebuilds in MSVC 2010.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2908 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e60e4d23ef7a8ddc22bc1f07f99d0c1df379a42
      https://github.com/boxbackup/boxbackup/commit/7e60e4d23ef7a8ddc22bc1f07f99d0c1df379a42
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-14 (Thu, 14 Apr 2011)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Support paths starting with \\?\, to fix support for backing up VSS
snapshots.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2909 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6cf01851a0433eb0ebe01bf13fc3349823d43824
      https://github.com/boxbackup/boxbackup/commit/6cf01851a0433eb0ebe01bf13fc3349823d43824
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-14 (Thu, 14 Apr 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Only initialise COM once, at bbackupd startup.

Reduce verbosity of some VSS messages.

Fix erroneous errro message when VSS iterator reaches end.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2910 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 87e161e9c2b1f7e652f625a18df3522a180414c4
      https://github.com/boxbackup/boxbackup/commit/87e161e9c2b1f7e652f625a18df3522a180414c4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-15 (Fri, 15 Apr 2011)

  Changed paths:
    M infrastructure/msvc/2010/bbackupctl.vcxproj
    M infrastructure/msvc/2010/bbackupd.vcxproj
    M infrastructure/msvc/2010/bbstoreaccounts.vcxproj
    M infrastructure/msvc/2010/bbstored.vcxproj
    M infrastructure/msvc/2010/boxquery.vcxproj
    M infrastructure/msvc/2010/common.vcxproj
    M infrastructure/msvc/2010/libbackupstore.vcxproj
    M infrastructure/msvc/2010/qdbm.vcxproj
    M infrastructure/msvc/2010/win32test.vcxproj

  Log Message:
  -----------
  Refactor MSVC library dependencies onto the common project, and remove
optional settings that should be left at their defaults.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2922 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ffad4ab724807fbd7406101b0e57b871259f29e5
      https://github.com/boxbackup/boxbackup/commit/ffad4ab724807fbd7406101b0e57b871259f29e5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-16 (Sat, 16 Apr 2011)

  Changed paths:
    A infrastructure/msvc/fake-config.sub.pl
    M win32.bat

  Log Message:
  -----------
  Substitute variables in boxbackup.mpi.in to build a valid InstallJammer
config file for use with MSVC.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2925 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8fc758098ddd423af521e9bbcf1ad7d475169d6d
      https://github.com/boxbackup/boxbackup/commit/8fc758098ddd423af521e9bbcf1ad7d475169d6d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-16 (Sat, 16 Apr 2011)

  Changed paths:
    M infrastructure/msvc/getversion.pl

  Log Message:
  -----------
  Remove redundant copy of the version string from getversion.pl.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2926 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 181c75be14be23c1953304e8c50bfb7e3be03b01
      https://github.com/boxbackup/boxbackup/commit/181c75be14be23c1953304e8c50bfb7e3be03b01
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-16 (Sat, 16 Apr 2011)

  Changed paths:
    M infrastructure/msvc/2010/common.vcxproj

  Log Message:
  -----------
  Remove some redundant imports to reduce compile warnings in MSVC 2010.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2927 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f0057b4d3950301526dfd2753af254dbce983081
      https://github.com/boxbackup/boxbackup/commit/f0057b4d3950301526dfd2753af254dbce983081
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-20 (Wed, 20 Apr 2011)

  Changed paths:
    A LICENSE.txt

  Log Message:
  -----------
  Add a shorter statement of the combined license.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2928 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fcc8321d3328eb4e5035b3d522c02ca804a5c504
      https://github.com/boxbackup/boxbackup/commit/fcc8321d3328eb4e5035b3d522c02ca804a5c504
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-20 (Wed, 20 Apr 2011)

  Changed paths:
    M lib/win32/emu.h

  Log Message:
  -----------
  Remove getpid() emulation now that it's included in the SDK, which causes
a conflict.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2929 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3d8cb2ab7016bf39864923b090859f30f04b23c4
      https://github.com/boxbackup/boxbackup/commit/3d8cb2ab7016bf39864923b090859f30f04b23c4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-20 (Wed, 20 Apr 2011)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Include <process.h> to get a definition for getpid() from the Windows CRT,
to replace the emulated one in emu.cpp.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2930 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dbda7e9fe38ff7f721bde19559b9bf137b1cddbf
      https://github.com/boxbackup/boxbackup/commit/dbda7e9fe38ff7f721bde19559b9bf137b1cddbf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-20 (Wed, 20 Apr 2011)

  Changed paths:
    A contrib/windows/installer/bbackupd.conf.template
    M contrib/windows/installer/boxbackup.mpi.in

  Log Message:
  -----------
  Update InstallJammer script to use the correct syntax and fix a few bugs,
still not complete.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2931 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b99f6169593dfc2f7b4aa9cd95d6295dec2a5b7
      https://github.com/boxbackup/boxbackup/commit/0b99f6169593dfc2f7b4aa9cd95d6295dec2a5b7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-20 (Wed, 20 Apr 2011)

  Changed paths:
    M lib/backupstore/BackupStoreRefCountDatabase.cpp

  Log Message:
  -----------
  Use the reference count database name constant rather than hard-coding it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2932 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f125e04789dfeb0c4489bdfe347c5fdc85b3ea12
      https://github.com/boxbackup/boxbackup/commit/f125e04789dfeb0c4489bdfe347c5fdc85b3ea12
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-22 (Fri, 22 Apr 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Remove duplicate code by caching the relative path of the backup location
after the volume name has been removed (VSS).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2933 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d3b538763d93c91cc555d2bb80719193be8c2cf5
      https://github.com/boxbackup/boxbackup/commit/d3b538763d93c91cc555d2bb80719193be8c2cf5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-22 (Fri, 22 Apr 2011)

  Changed paths:
    M lib/server/Daemon.cpp
    M modules.txt

  Log Message:
  -----------
  Link lib/server with qdbm and include the QDBM version in the daemon banner.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2934 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 12ecbe6fc3a6aa933f40074a47f63fe6bc08cf3c
      https://github.com/boxbackup/boxbackup/commit/12ecbe6fc3a6aa933f40074a47f63fe6bc08cf3c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-22 (Fri, 22 Apr 2011)

  Changed paths:
    M lib/common/FdGetLine.cpp
    M lib/common/FdGetLine.h
    A lib/common/GetLine.cpp
    A lib/common/GetLine.h
    M lib/common/IOStreamGetLine.cpp
    M lib/common/IOStreamGetLine.h

  Log Message:
  -----------
  Refactor GetLines to share common code, fix whitespace removal at end of line.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2935 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6d549557ffc85bb461eee8733e9f4425df031961
      https://github.com/boxbackup/boxbackup/commit/6d549557ffc85bb461eee8733e9f4425df031961
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-22 (Fri, 22 Apr 2011)

  Changed paths:
    M bin/bbstored/backupprotocol.txt
    M lib/backupclient/BackupStoreException.txt

  Log Message:
  -----------
  Add an exception code and a protocol error code for modifying a
multiply referenced object.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2936 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c50c8969e028f88f10bbe0f3f5cdd76014350915
      https://github.com/boxbackup/boxbackup/commit/c50c8969e028f88f10bbe0f3f5cdd76014350915
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-22 (Fri, 22 Apr 2011)

  Changed paths:
    M bin/bbstored/BackupCommands.cpp

  Log Message:
  -----------
  Add a macro to simplify sending protocol errors back to client. Check for
MultiplyReferencedObject exception and send the appropriate error code
back to the client rather than crashing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2937 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cac0acdd6e10c0b8fea3f20e032c58b105000659
      https://github.com/boxbackup/boxbackup/commit/cac0acdd6e10c0b8fea3f20e032c58b105000659
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-22 (Fri, 22 Apr 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Remove backslashes from comment, which could mean line continuation.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2938 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 08a71893753cbd699259bc05c305a8d304aff421
      https://github.com/boxbackup/boxbackup/commit/08a71893753cbd699259bc05c305a8d304aff421
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-22 (Fri, 22 Apr 2011)

  Changed paths:
    M lib/common/FdGetLine.cpp

  Log Message:
  -----------
  Move S3Simulator into its own class, like S3Client, for reuse elsewhere.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2939 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c56a4e177f172ff1337da5d0cbd4ecfea9cd4e2f
      https://github.com/boxbackup/boxbackup/commit/c56a4e177f172ff1337da5d0cbd4ecfea9cd4e2f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-23 (Sat, 23 Apr 2011)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Allow stream formatting in "line" parameter of TEST_LINE macro.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2940 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9fafec0c9c623d3cdbb59bb4a83d9e9750b394e4
      https://github.com/boxbackup/boxbackup/commit/9fafec0c9c623d3cdbb59bb4a83d9e9750b394e4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-23 (Sat, 23 Apr 2011)

  Changed paths:
    M lib/backupclient/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Log the name of the extended attribute that could not be read.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2941 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5835ff3570b7cfe55d86d7ff62ee6b4c91788d3d
      https://github.com/boxbackup/boxbackup/commit/5835ff3570b7cfe55d86d7ff62ee6b4c91788d3d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-23 (Sat, 23 Apr 2011)

  Changed paths:
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Log the line numbers where basicserver comms tests failed.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2942 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 09e8600fc0734c308825505c78e1df52507eba69
      https://github.com/boxbackup/boxbackup/commit/09e8600fc0734c308825505c78e1df52507eba69
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-23 (Sat, 23 Apr 2011)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Log the expected and actual values when comparison failed.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2943 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 88b495a3b19216e57fb4896d0a3cb2f42961068b
      https://github.com/boxbackup/boxbackup/commit/88b495a3b19216e57fb4896d0a3cb2f42961068b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-23 (Sat, 23 Apr 2011)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Reformat for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2944 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 66e373b2081a7a57a2efb435cad51c68f8cf0d26
      https://github.com/boxbackup/boxbackup/commit/66e373b2081a7a57a2efb435cad51c68f8cf0d26
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-26 (Tue, 26 Apr 2011)

  Changed paths:
    R bin/bbstored/BackupCommands.cpp
    R bin/bbstored/BackupConstants.h
    R bin/bbstored/BackupStoreContext.cpp
    R bin/bbstored/BackupStoreContext.h
    R bin/bbstored/Makefile.extra
    R bin/bbstored/backupprotocol.txt
    R lib/backupclient/BackupClientFileAttributes.cpp
    R lib/backupclient/BackupClientFileAttributes.h
    R lib/backupclient/BackupStoreConstants.h
    R lib/backupclient/BackupStoreDirectory.cpp
    R lib/backupclient/BackupStoreDirectory.h
    R lib/backupclient/BackupStoreException.h
    R lib/backupclient/BackupStoreException.txt
    R lib/backupclient/BackupStoreFile.cpp
    R lib/backupclient/BackupStoreFile.h
    R lib/backupclient/BackupStoreFileCryptVar.cpp
    R lib/backupclient/BackupStoreFileCryptVar.h
    R lib/backupclient/BackupStoreFileEncodeStream.cpp
    R lib/backupclient/BackupStoreFileEncodeStream.h
    R lib/backupclient/BackupStoreFileRevDiff.cpp
    R lib/backupclient/BackupStoreFileWire.h
    R lib/backupclient/BackupStoreFilename.cpp
    R lib/backupclient/BackupStoreFilename.h
    R lib/backupclient/BackupStoreFilenameClear.cpp
    R lib/backupclient/BackupStoreFilenameClear.h
    R lib/backupclient/BackupStoreObjectMagic.h
    R lib/backupclient/Makefile.extra
    R lib/backupclient/RunStatusProvider.h
    A lib/backupstore/BackupClientFileAttributes.cpp
    A lib/backupstore/BackupClientFileAttributes.h
    A lib/backupstore/BackupCommands.cpp
    A lib/backupstore/BackupConstants.h
    A lib/backupstore/BackupStoreConstants.h
    A lib/backupstore/BackupStoreContext.cpp
    A lib/backupstore/BackupStoreContext.h
    A lib/backupstore/BackupStoreDirectory.cpp
    A lib/backupstore/BackupStoreDirectory.h
    A lib/backupstore/BackupStoreException.h
    A lib/backupstore/BackupStoreException.txt
    A lib/backupstore/BackupStoreFile.cpp
    A lib/backupstore/BackupStoreFile.h
    A lib/backupstore/BackupStoreFileCryptVar.cpp
    A lib/backupstore/BackupStoreFileCryptVar.h
    A lib/backupstore/BackupStoreFileEncodeStream.cpp
    A lib/backupstore/BackupStoreFileEncodeStream.h
    A lib/backupstore/BackupStoreFileRevDiff.cpp
    A lib/backupstore/BackupStoreFileWire.h
    A lib/backupstore/BackupStoreFilename.cpp
    A lib/backupstore/BackupStoreFilename.h
    A lib/backupstore/BackupStoreFilenameClear.cpp
    A lib/backupstore/BackupStoreFilenameClear.h
    A lib/backupstore/BackupStoreObjectMagic.h
    A lib/backupstore/Makefile.extra
    A lib/backupstore/RunStatusProvider.h
    A lib/backupstore/backupprotocol.txt
    M modules.txt
    M test/bbackupd/Makefile.extra

  Log Message:
  -----------
  Major refactoring to make lib/backupclient depend on lib/backupstore rather
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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2945 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b2d6d1c21495dee68751b66b5a2b46c1a0901f4e
      https://github.com/boxbackup/boxbackup/commit/b2d6d1c21495dee68751b66b5a2b46c1a0901f4e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-26 (Tue, 26 Apr 2011)

  Changed paths:
    M lib/backupstore/BackupStoreFilenameClear.cpp
    M lib/backupstore/BackupStoreFilenameClear.h

  Log Message:
  -----------
  Add a method to BackupStoreFilenameClear to get the clear filename only if
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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2946 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: adb40bd4beb7e81fc1fe111df7d288fc75699f0f
      https://github.com/boxbackup/boxbackup/commit/adb40bd4beb7e81fc1fe111df7d288fc75699f0f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-26 (Tue, 26 Apr 2011)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Log which modules are both using the same autogen files, for debugging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2947 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 19fb2c705c3d9c840035d07f3d5bddd8500839de
      https://github.com/boxbackup/boxbackup/commit/19fb2c705c3d9c840035d07f3d5bddd8500839de
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-04-28 (Thu, 28 Apr 2011)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
  Minor fix to runtest.pl to allow it to fail if an invalid test name is given - otherwise it fails to chdir() and runs make in the wrong directory.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2948 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: abd97d4215a4127eb97f0fc6eb3016925d4e15ae
      https://github.com/boxbackup/boxbackup/commit/abd97d4215a4127eb97f0fc6eb3016925d4e15ae
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-01 (Sun, 01 May 2011)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Refine CPU detection code in BoxPlatform to allow use of multiple processors on systems other than Darwin.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2951 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aa6e45bf7c321b7a3297d589f6f90f4f687cc349
      https://github.com/boxbackup/boxbackup/commit/aa6e45bf7c321b7a3297d589f6f90f4f687cc349
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-01 (Sun, 01 May 2011)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Unbreak Solaris build: skip checking for -rdynamic with gcc as it's broken but yet returns 0 - this causes autoconf to think that the check succeeded when gcc actually threw an error. Bad gcc!


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2952 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5c7f040e440e010664239311ac9f8fc25573f34b
      https://github.com/boxbackup/boxbackup/commit/5c7f040e440e010664239311ac9f8fc25573f34b
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-02 (Mon, 02 May 2011)

  Changed paths:
    M docs/xsl-generic/html/biblio-iso690.xsl

  Log Message:
  -----------
  Change encoding of biblio-iso690.xsl from windows-1250 to utf-8 to match the other stylesheets. This reflects the change made upstream at the DocBook project.

This also fixes the man page build on Solaris, which has no support for windows-1250 in its libxml.

Ref: http://sourceforge.net/project/shownotes.php?release_id=603854


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2953 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c833894683472991d1993fb7bb6cdb4f8327ec04
      https://github.com/boxbackup/boxbackup/commit/c833894683472991d1993fb7bb6cdb4f8327ec04
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-02 (Mon, 02 May 2011)

  Changed paths:
    M configure.ac
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Finally unbreak build on Solaris!

 * Add code to configure to detect whether we should compile with -m32 or -m64. GCC on Solaris defaults to 32-bit even of the OS is running in 64-bit mode. (Solaris only)
 * Change the CFLAGS, CXXFLAGS and LDFLAGS definitions to be append rather than set. This allows passing them at compile-time to make(1).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2954 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bda6e7bfd09a99446579ffcb05d68e2cd0d5fad8
      https://github.com/boxbackup/boxbackup/commit/bda6e7bfd09a99446579ffcb05d68e2cd0d5fad8
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-02 (Mon, 02 May 2011)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Use /usr/ucb/install on Solaris as /usr/sbin/install has some odd behaviour.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2955 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e25598af13dad255cd1c729744a72ca17c422b19
      https://github.com/boxbackup/boxbackup/commit/e25598af13dad255cd1c729744a72ca17c422b19
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-02 (Mon, 02 May 2011)

  Changed paths:
    M configure.ac
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Define PACKAGE_TARNAME variable in autoconf, change doc install location from parcel name to this for neatness.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2956 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d054385fc52475a3dd2f79083f4b5a63ab3b4c36
      https://github.com/boxbackup/boxbackup/commit/d054385fc52475a3dd2f79083f4b5a63ab3b4c36
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-04 (Wed, 04 May 2011)

  Changed paths:
    M lib/common/FdGetLine.h
    M lib/common/GetLine.h

  Log Message:
  -----------
  Add virtual destructors to GetLine and FdGetLine to silence warnings.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2960 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e97bc98f2f0928dbeeac0f918ce42cd8f366662d
      https://github.com/boxbackup/boxbackup/commit/e97bc98f2f0928dbeeac0f918ce42cd8f366662d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-04 (Wed, 04 May 2011)

  Changed paths:
    M lib/common/IOStreamGetLine.h

  Log Message:
  -----------
  Another virtual destructor, this time for IOStreamGetLine.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2961 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 047ee0ea99c90d09fefdd47d969b71287d638e05
      https://github.com/boxbackup/boxbackup/commit/047ee0ea99c90d09fefdd47d969b71287d638e05
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-24 (Tue, 24 May 2011)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Blind fix for displaying error message as well as code when emu unicode conversion fails.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2962 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0a38f488e1e743971750c9c095a8c834577304d6
      https://github.com/boxbackup/boxbackup/commit/0a38f488e1e743971750c9c095a8c834577304d6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-24 (Tue, 24 May 2011)

  Changed paths:
    R lib/backupclient/BackupStoreFileCmbDiff.cpp
    R lib/backupclient/BackupStoreFileCmbIdx.cpp
    R lib/backupclient/BackupStoreFileCombine.cpp
    R lib/backupclient/BackupStoreFileDiff.cpp
    A lib/backupstore/BackupStoreFileCmbDiff.cpp
    A lib/backupstore/BackupStoreFileCmbIdx.cpp
    A lib/backupstore/BackupStoreFileCombine.cpp
    A lib/backupstore/BackupStoreFileDiff.cpp
    M modules.txt

  Log Message:
  -----------
  Move remaining parts of BackupStoreFile into lib/backupstore, and fix module
dependencies to fail if anything else required by bbstored is still in
lib/backupclient instead of lib/backupstore.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2963 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1cfdca57a6127dc6a74a4b724a793ec0c552cd0f
      https://github.com/boxbackup/boxbackup/commit/1cfdca57a6127dc6a74a4b724a793ec0c552cd0f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-24 (Tue, 24 May 2011)

  Changed paths:
    M infrastructure/msvc/2010/bbackupctl.vcxproj
    M infrastructure/msvc/2010/bbackupd.vcxproj
    M infrastructure/msvc/2010/bbstoreaccounts.vcxproj
    M infrastructure/msvc/2010/bbstored.vcxproj
    M infrastructure/msvc/2010/boxbackup.sln
    M infrastructure/msvc/2010/boxquery.vcxproj
    M infrastructure/msvc/2010/common.vcxproj
    A infrastructure/msvc/2010/libbackupclient.vcxproj
    M infrastructure/msvc/2010/libbackupstore.vcxproj
    M infrastructure/msvc/2010/qdbm.vcxproj
    M infrastructure/msvc/2010/win32test.vcxproj

  Log Message:
  -----------
  Fix MSVC 2010 project for new file locations. Separate libbackupclient files
out of libcommon. Silence CRT deprecation warnings in QDBM build.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2964 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 11e921c9704444923c88d603e64fb818f74ceb50
      https://github.com/boxbackup/boxbackup/commit/11e921c9704444923c88d603e64fb818f74ceb50
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-05-24 (Tue, 24 May 2011)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Fix line endings.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2965 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 63f57835384b567f4ec51f0dee3b9df5de9b95c7
      https://github.com/boxbackup/boxbackup/commit/63f57835384b567f4ec51f0dee3b9df5de9b95c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-06-16 (Thu, 16 Jun 2011)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.cpp

  Log Message:
  -----------
  Improve error logging for store info and refcount database errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2968 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 882eae549dffc082bc8a2adc44fbfae532721996
      https://github.com/boxbackup/boxbackup/commit/882eae549dffc082bc8a2adc44fbfae532721996
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-06-17 (Fri, 17 Jun 2011)

  Changed paths:
    M modules.txt

  Log Message:
  -----------
  test/backupstorepatch needs BackupClientCryptoKeys.h which is in lib/backupclient, not backupstore.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2969 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f73a92b54bd1573d46472b07d3f6abd9d836eca5
      https://github.com/boxbackup/boxbackup/commit/f73a92b54bd1573d46472b07d3f6abd9d836eca5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-06-22 (Wed, 22 Jun 2011)

  Changed paths:
    M lib/backupstore/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Fix type aliasing that's strictly speaking incompatible and may actually be skipped by the compiler
(according to http://blog.worldofcoding.com/2010/02/solving-gcc-44-strict-aliasing-problems.html).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2972 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9525646ddc90cbd7809275bd757a3548409bdda1
      https://github.com/boxbackup/boxbackup/commit/9525646ddc90cbd7809275bd757a3548409bdda1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-06-22 (Wed, 22 Jun 2011)

  Changed paths:
    M test/bbackupd/Makefile.extra

  Log Message:
  -----------
  Fix test/bbackupd build for new object locations.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2973 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c690314220326bd96b47e1527ed270bb71e5fb0d
      https://github.com/boxbackup/boxbackup/commit/c690314220326bd96b47e1527ed270bb71e5fb0d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-06-30 (Thu, 30 Jun 2011)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  make make clean remove all auto-generated files, and not use force where it's not necessary.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2974 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6a8ba1a8683bbbc7d7cbd0f8aa14fa77242ce333
      https://github.com/boxbackup/boxbackup/commit/6a8ba1a8683bbbc7d7cbd0f8aa14fa77242ce333
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-06-30 (Thu, 30 Jun 2011)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Hopefully fix off-by-4 read of old-style BackupStoreInfo header, thanks to Sune Mølgaard for reporting.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2975 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 075f47b7eafcf74c63c7cc54ba605b1db5fc2ba2
      https://github.com/boxbackup/boxbackup/commit/075f47b7eafcf74c63c7cc54ba605b1db5fc2ba2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-06-30 (Thu, 30 Jun 2011)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Reinstate the -f option to avoid failure if the files don't exist.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2976 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 21b07e5c55ea7d9f65a1339761a95b69d2cfedeb
      https://github.com/boxbackup/boxbackup/commit/21b07e5c55ea7d9f65a1339761a95b69d2cfedeb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-07-29 (Fri, 29 Jul 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h

  Log Message:
  -----------
  Warn users if a file with multiple hard links is encountered during backup.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2977 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c82b882e028050048877b61928ec6e308e6f7528
      https://github.com/boxbackup/boxbackup/commit/c82b882e028050048877b61928ec6e308e6f7528
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    M win32.bat

  Log Message:
  -----------
  Update locations of auto-generated files after recent reorganisation.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2978 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 86f8e4d5968275f0cb4a447a8b9fa9a3f64566e8
      https://github.com/boxbackup/boxbackup/commit/86f8e4d5968275f0cb4a447a8b9fa9a3f64566e8
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-21 (Sun, 21 Aug 2011)

  Changed paths:
    M distribution/boxbackup/DISTRIBUTION-MANIFEST.txt

  Log Message:
  -----------
  Include qdbm/ in distribution manifest.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2979 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 52e317bd76a1639eebd0b77e4ebbe2494744ae85
      https://github.com/boxbackup/boxbackup/commit/52e317bd76a1639eebd0b77e4ebbe2494744ae85
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-27 (Sat, 27 Aug 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Correct formatting of log message (missing bracket).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2980 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ccb6b19291c57fc0fef3d9365d39a493ce1dafde
      https://github.com/boxbackup/boxbackup/commit/ccb6b19291c57fc0fef3d9365d39a493ce1dafde
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-27 (Sat, 27 Aug 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/BackupDaemonInterface.h

  Log Message:
  -----------
  Log the number of files uploaded and directories created, as requested by Achim, closes #61.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2981 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a7c5be644a0454c77897b13c9eba2cdc538e5361
      https://github.com/boxbackup/boxbackup/commit/a7c5be644a0454c77897b13c9eba2cdc538e5361
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-27 (Sat, 27 Aug 2011)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp

  Log Message:
  -----------
  Log net traffic (in-out) in bbstored, as requested by Pete Jalajas.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2982 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9ab7696e50d8a0e076c63cd30d766657487f1252
      https://github.com/boxbackup/boxbackup/commit/9ab7696e50d8a0e076c63cd30d766657487f1252
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-27 (Sat, 27 Aug 2011)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientDeleteList.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/CommandCompletion.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstored/BackupStoreDaemon.cpp
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/BackupStoreFile.h
    M lib/backupstore/Makefile.extra
    M lib/backupstore/backupprotocol.txt
    A lib/server/Message.cpp
    A lib/server/Message.h
    M lib/server/Protocol.cpp
    M lib/server/Protocol.h
    R lib/server/ProtocolObject.cpp
    R lib/server/ProtocolObject.h
    M lib/server/makeprotocol.pl.in
    M test/backupstore/testbackupstore.cpp
    M test/backupstorepatch/testbackupstorepatch.cpp
    M test/basicserver/Makefile.extra
    M test/basicserver/TestCommands.cpp
    M test/basicserver/testbasicserver.cpp
    M test/bbackupd/Makefile.extra
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Combine client and server protocols to make way for an offline/local protocol.

Rename ProtocolObject to Message.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2983 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d28322cbde7afb19fef30c94f5f3ceb87c5cd26a
      https://github.com/boxbackup/boxbackup/commit/d28322cbde7afb19fef30c94f5f3ceb87c5cd26a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-27 (Sat, 27 Aug 2011)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Log failure to convert log string to console encoding on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2984 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 53d3f0940c2cf8d4d581ab3e921215a3cfb46a99
      https://github.com/boxbackup/boxbackup/commit/53d3f0940c2cf8d4d581ab3e921215a3cfb46a99
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-28 (Sun, 28 Aug 2011)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Finish renaming auto-generated classes to fix compilation errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2985 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 711d41e531eee60a5b7a7561310b20fde9ac7fc0
      https://github.com/boxbackup/boxbackup/commit/711d41e531eee60a5b7a7561310b20fde9ac7fc0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-28 (Sun, 28 Aug 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix incorrect "conversion failed" message when logging NULL VSS parameter.

Fix log level of VSS component type to TRACE instead of INFO.

Fix VSS path generation for absolute paths including drive letters.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2986 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7ba8e631e4360b8fd8382c03ce63571caf600229
      https://github.com/boxbackup/boxbackup/commit/7ba8e631e4360b8fd8382c03ce63571caf600229
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-28 (Sun, 28 Aug 2011)

  Changed paths:
    M win32.bat

  Log Message:
  -----------
  Fix generation of client and server protocols (now merged).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2987 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ba2e00c6c712dd0851b026f5358c2d0e0d407dda
      https://github.com/boxbackup/boxbackup/commit/ba2e00c6c712dd0851b026f5358c2d0e0d407dda
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-28 (Sun, 28 Aug 2011)

  Changed paths:
    M lib/backupstore/BackupStoreContext.h

  Log Message:
  -----------
  Add missing include of backup protocol.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2988 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 495935950df2f9d16af92a2250384828b1e1ef3d
      https://github.com/boxbackup/boxbackup/commit/495935950df2f9d16af92a2250384828b1e1ef3d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-28 (Sun, 28 Aug 2011)

  Changed paths:
    M infrastructure/msvc/2010/common.vcxproj
    M infrastructure/msvc/2010/libbackupstore.vcxproj

  Log Message:
  -----------
  Update MSVC project for new names of protocol files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2989 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d3fb8a96226304f6211ca3302dee7db8975c418e
      https://github.com/boxbackup/boxbackup/commit/d3fb8a96226304f6211ca3302dee7db8975c418e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-28 (Sun, 28 Aug 2011)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Output the names of protocol files being written.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2990 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 35585d62488fdf052f0418cffde6b065ebd1ee97
      https://github.com/boxbackup/boxbackup/commit/35585d62488fdf052f0418cffde6b065ebd1ee97
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-28 (Sun, 28 Aug 2011)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Fix potential conflict between WINVERs in Timers.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2991 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b86b5244ab49bf816978b766a7325fc63094697
      https://github.com/boxbackup/boxbackup/commit/0b86b5244ab49bf816978b766a7325fc63094697
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-28 (Sun, 28 Aug 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Use "more standard" Windows API functions FindFirstFileW and FindNextFileW
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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2992 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d0b22e4b6679964e17ee1332b953fde77b23f6fb
      https://github.com/boxbackup/boxbackup/commit/d0b22e4b6679964e17ee1332b953fde77b23f6fb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-28 (Sun, 28 Aug 2011)

  Changed paths:
    A qdbm/NO-AUTO-GEN

  Log Message:
  -----------
  Mark qdbm for no auto-generation by Boxi.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2994 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fe003bdfba00fc6190fed7b7fe3e4c36f6e012b2
      https://github.com/boxbackup/boxbackup/commit/fe003bdfba00fc6190fed7b7fe3e4c36f6e012b2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-08-29 (Mon, 29 Aug 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.h

  Log Message:
  -----------
  Add missing include of <memory> to fix compile.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2995 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e1f2ca357940580ccf4e5adfaff13ad6c1b6c23e
      https://github.com/boxbackup/boxbackup/commit/e1f2ca357940580ccf4e5adfaff13ad6c1b6c23e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-09-25 (Sun, 25 Sep 2011)

  Changed paths:
    M configure.ac
    A infrastructure/m4/boxbackup_tests.m4

  Log Message:
  -----------
  Move Box Backup's custom tests into own file, to share with Boxi.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@2999 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f924161b794081f39e131a742e0a6a6fd06c097c
      https://github.com/boxbackup/boxbackup/commit/f924161b794081f39e131a742e0a6a6fd06c097c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-09-25 (Sun, 25 Sep 2011)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  Don't regenerate zipped manpages unless needed.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3000 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d3392900ec1fbd08d410ae4763a775dc8de3a682
      https://github.com/boxbackup/boxbackup/commit/d3392900ec1fbd08d410ae4763a775dc8de3a682
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-09-25 (Sun, 25 Sep 2011)

  Log Message:
  -----------
  Ignore some auto-generated files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3001 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 518a134997f868152b5d6837dbcd558a8ca38f56
      https://github.com/boxbackup/boxbackup/commit/518a134997f868152b5d6837dbcd558a8ca38f56
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-09-29 (Thu, 29 Sep 2011)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp

  Log Message:
  -----------
  Flush stream after restore fails, thanks to Sune Molgaard for reporting.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3002 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 61204fe8c3ad658aec9d4660799ff78a3cdcd41f
      https://github.com/boxbackup/boxbackup/commit/61204fe8c3ad658aec9d4660799ff78a3cdcd41f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-05 (Wed, 05 Oct 2011)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Update to latest released versions of dependencies.

Don't install man pages for openssl, as they're not very useful and
it takes forever.

Itemise development dependencies and include an editor (vim).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3003 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 39a273e34a67489f1a462953040bf8335504016f
      https://github.com/boxbackup/boxbackup/commit/39a273e34a67489f1a462953040bf8335504016f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-05 (Wed, 05 Oct 2011)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Update for new names and locations of MinGW and zlib DLLs.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3004 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e5305e5c96ebacd7d5955b3a517e138e077396ea
      https://github.com/boxbackup/boxbackup/commit/e5305e5c96ebacd7d5955b3a517e138e077396ea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-05 (Wed, 05 Oct 2011)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4

  Log Message:
  -----------
  Skip -rdynamic on cygwin as well as Solaris.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3005 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 558dd288ecbc7ac8d7d5800eb2535db2218b891a
      https://github.com/boxbackup/boxbackup/commit/558dd288ecbc7ac8d7d5800eb2535db2218b891a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-05 (Wed, 05 Oct 2011)

  Changed paths:
    M parcels.txt

  Log Message:
  -----------
  Add libgcc.dll to dependencies, required by newer cygwin gcc.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3006 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 79d9292390a8da22694a4c52d6a994763aa579ba
      https://github.com/boxbackup/boxbackup/commit/79d9292390a8da22694a4c52d6a994763aa579ba
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-07 (Fri, 07 Oct 2011)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4

  Log Message:
  -----------
  Rephrase -rdynamic message.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3008 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: af3bc0e9d6ffaca16444b3b8070faa3559eb7eed
      https://github.com/boxbackup/boxbackup/commit/af3bc0e9d6ffaca16444b3b8070faa3559eb7eed
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-08 (Sat, 08 Oct 2011)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4
    M infrastructure/m4/vl_lib_readline.m4
    M lib/win32/emu.h
    M lib/win32/getopt_long.cpp

  Log Message:
  -----------
  Silence warnings from new MinGW headers that expect __MINGW_FEATURES__
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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3009 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a09aca859eb6a11680598aa7cff7a93def2d8d8f
      https://github.com/boxbackup/boxbackup/commit/a09aca859eb6a11680598aa7cff7a93def2d8d8f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-08 (Sat, 08 Oct 2011)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Only advertise -E option if readline support is built in.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3010 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bda3d8af46e252aff50872ffc0970d1163535426
      https://github.com/boxbackup/boxbackup/commit/bda3d8af46e252aff50872ffc0970d1163535426
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-08 (Sat, 08 Oct 2011)

  Changed paths:
    M lib/common/BoxConfig-MSVC.h
    M lib/win32/emu.h

  Log Message:
  -----------
  Recent Cygwin versions of MinGW now define O_BINARY as well, also in
fcntl.h, so include it if we can find it, and only define O_BINARY if
it turns out to be missing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3011 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 83c4b39ee66017a1d7dce616ed02c20942839788
      https://github.com/boxbackup/boxbackup/commit/83c4b39ee66017a1d7dce616ed02c20942839788
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-08 (Sat, 08 Oct 2011)

  Changed paths:
    M lib/common/BoxPlatform.h

  Log Message:
  -----------
  Recent Cygwin versions of MinGW now define O_BINARY as well, also in
fcntl.h, so include it if we can find it, and only define O_BINARY if
it turns out to be missing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3012 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ff39ac2943c77b25ae60970bece6bd51567948af
      https://github.com/boxbackup/boxbackup/commit/ff39ac2943c77b25ae60970bece6bd51567948af
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-09 (Sun, 09 Oct 2011)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Extra white space.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3013 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ed4d956108051fcb12487ae4f3c329c0433f60d9
      https://github.com/boxbackup/boxbackup/commit/ed4d956108051fcb12487ae4f3c329c0433f60d9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-09 (Sun, 09 Oct 2011)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Pass the correct LDFLAGS to Box Backup, to use mingw zlib instead of cygwin,
copied from new Boxi config. Thanks to Achim for finding this and testing
the fix.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3014 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 40ef3b7e7efc950b98338661697aed4d76ab8f92
      https://github.com/boxbackup/boxbackup/commit/40ef3b7e7efc950b98338661697aed4d76ab8f92
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-09 (Sun, 09 Oct 2011)

  Changed paths:
    M lib/win32/emu.h
    A lib/win32/emu_winver.h

  Log Message:
  -----------
  Split Win32 defines out of emu.h to enable Boxi to include them before
wx/wx.h (to set UNICODE properly) without also #including winnt.h before
UNICODE is set properly.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3015 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b402588de33e476f7706f2cac572fbce209e95bc
      https://github.com/boxbackup/boxbackup/commit/b402588de33e476f7706f2cac572fbce209e95bc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-09 (Sun, 09 Oct 2011)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Check for libz.dll.a installed in new location before configuring for
MinGW.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3016 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bd6f227b1cfe84a3eb234b90aefdbaa27527be7a
      https://github.com/boxbackup/boxbackup/commit/bd6f227b1cfe84a3eb234b90aefdbaa27527be7a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-09 (Sun, 09 Oct 2011)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Search for libraries in the path where Cygwin installs MinGW zlib as well

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3017 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 518ff6ef5d381edf5c639e5e24b755ce921936ac
      https://github.com/boxbackup/boxbackup/commit/518ff6ef5d381edf5c639e5e24b755ce921936ac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-09 (Sun, 09 Oct 2011)

  Changed paths:
    M lib/common/MainHelper.h

  Log Message:
  -----------
  Log fatal exceptions in main helper using BOX_FATAL instead of printf, to
ensure they get logged in all the right places.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3018 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b5c56b0bfe1aed429a78db8914129735ecc747b0
      https://github.com/boxbackup/boxbackup/commit/b5c56b0bfe1aed429a78db8914129735ecc747b0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-11 (Tue, 11 Oct 2011)

  Changed paths:
    M infrastructure/msvc/getversion.pl

  Log Message:
  -----------
  Don't die if BoxVersion.h doesn't exist yet.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3019 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ced2793149073e0964ccd204f64b8e4fe6b06f18
      https://github.com/boxbackup/boxbackup/commit/ced2793149073e0964ccd204f64b8e4fe6b06f18
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-11 (Tue, 11 Oct 2011)

  Changed paths:
    M win32.bat

  Log Message:
  -----------
  Copy a standard configuration to BoxConfig.h for MSVC users.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3020 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 563ce69d2a716858d7d23f14ece2c6d2d668810a
      https://github.com/boxbackup/boxbackup/commit/563ce69d2a716858d7d23f14ece2c6d2d668810a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-11 (Tue, 11 Oct 2011)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  Fix illegal use of Logging::Add and Logging::Remove while iterating over loggers

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3021 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a97845f751df9cff94609f37aa22a163eb389854
      https://github.com/boxbackup/boxbackup/commit/a97845f751df9cff94609f37aa22a163eb389854
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-11 (Tue, 11 Oct 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Fix excludions on VSS paths by converting back to original namespace before
checking for them. Also simplifies code.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3023 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1ee53b9feaff223dbbf489e4fd954eda9717b2a3
      https://github.com/boxbackup/boxbackup/commit/1ee53b9feaff223dbbf489e4fd954eda9717b2a3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-11 (Tue, 11 Oct 2011)

  Changed paths:
    M infrastructure/msvc/2010/common.vcxproj

  Log Message:
  -----------
  Switch back from custom build step to pre-build event, as the custom step just doesn't work

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3024 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c5b8ecaa1098bf94626f6cd5f1cd80f01710daa8
      https://github.com/boxbackup/boxbackup/commit/c5b8ecaa1098bf94626f6cd5f1cd80f01710daa8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-11 (Tue, 11 Oct 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Convert VSS path to original path for log messages in UpdateItems, to
help admins to interpret them.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3025 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ee2dcb8c729076bea03f92af57540aeff52eb826
      https://github.com/boxbackup/boxbackup/commit/ee2dcb8c729076bea03f92af57540aeff52eb826
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-11 (Tue, 11 Oct 2011)

  Changed paths:
    M infrastructure/msvc/2010/libbackupstore.vcxproj

  Log Message:
  -----------
  Make libbackupstore depend on common, so common can generate BoxVersion.h first

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3026 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 17f342cee6f480b769c3a71b10037915e4b37873
      https://github.com/boxbackup/boxbackup/commit/17f342cee6f480b769c3a71b10037915e4b37873
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-17 (Mon, 17 Oct 2011)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in
    M infrastructure/m4/boxbackup_tests.m4

  Log Message:
  -----------
  Patch to support building on MinGW, thanks to Paolo Tosco
(http://open3dalign.org, http://open3dqsar.org)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3027 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7a2a25d71b24eb8e323f075765c3b918ad0bcc7f
      https://github.com/boxbackup/boxbackup/commit/7a2a25d71b24eb8e323f075765c3b918ad0bcc7f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-23 (Sun, 23 Oct 2011)

  Changed paths:
    M lib/backupstore/BackupStoreFile.h

  Log Message:
  -----------
  Adjust for platforms where sizeof(long) < sizeof(void *), apparently
including Visual Studio 64-bit where sizeof(long) == 4. I don't fully
understand the code, so I hope this adjustment is correct!


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3028 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fa9db078e25e919cfc9c98084fa4e61f2e33b3bf
      https://github.com/boxbackup/boxbackup/commit/fa9db078e25e919cfc9c98084fa4e61f2e33b3bf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-24 (Mon, 24 Oct 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Add debug logging for conversion from VSS to real path.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3029 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b4ce8ff9cc33f0543fb658fc9587353e4debc8c3
      https://github.com/boxbackup/boxbackup/commit/b4ce8ff9cc33f0543fb658fc9587353e4debc8c3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-25 (Tue, 25 Oct 2011)

  Changed paths:
    M lib/common/BannerText.h
    M lib/common/BoxPlatform.h
    M lib/common/MainHelper.h
    M lib/common/Utils.cpp
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Avoid recompiling everything on MSVC when BoxVersion.h changes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3030 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2fd8aa03e43f66589be4875a52d6b2c20ed4e0e8
      https://github.com/boxbackup/boxbackup/commit/2fd8aa03e43f66589be4875a52d6b2c20ed4e0e8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-25 (Tue, 25 Oct 2011)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h

  Log Message:
  -----------
  Fix logging of real (non-VSS) paths in UploadFile*.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3031 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8b2a0cc22a927818d36d9efab5702755af83c6a7
      https://github.com/boxbackup/boxbackup/commit/8b2a0cc22a927818d36d9efab5702755af83c6a7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-25 (Tue, 25 Oct 2011)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Delete any incomplete ID map database that we find, so that we can start
afresh with a new one, should solve most corrupt database errors such as
the ones reported by Achim.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3032 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f44d727c1e292cf7ef47a6ba63f98ad9ddc4fde4
      https://github.com/boxbackup/boxbackup/commit/f44d727c1e292cf7ef47a6ba63f98ad9ddc4fde4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-31 (Mon, 31 Oct 2011)

  Changed paths:
    M lib/server/ServerException.txt
    M lib/server/SocketListen.h

  Log Message:
  -----------
  Improve error message on bbackupd command socket bind failure, thanks to Christophe.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3034 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d5f475e1379850e6ce9e77702ccc976a46db8518
      https://github.com/boxbackup/boxbackup/commit/d5f475e1379850e6ce9e77702ccc976a46db8518
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-10-31 (Mon, 31 Oct 2011)

  Changed paths:
    M contrib/mac_osx/org.boxbackup.bbstored.plist.in

  Log Message:
  -----------
  Fix double </array> in bbstored plist.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3035 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2d1cc2e6b4fee431742691f954c15a3b8d85b58b
      https://github.com/boxbackup/boxbackup/commit/2d1cc2e6b4fee431742691f954c15a3b8d85b58b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-11-01 (Tue, 01 Nov 2011)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  Remove debugging code.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3036 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: afd78b8aa8e4428fab7f9b8db6dc1a6c21c7bd0d
      https://github.com/boxbackup/boxbackup/commit/afd78b8aa8e4428fab7f9b8db6dc1a6c21c7bd0d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-11-01 (Tue, 01 Nov 2011)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.h

  Log Message:
  -----------
  Allow getting the number of errors found by a store checker object.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3037 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78a5e71eee2f3bf12b8bf00ab5160644bad70c29
      https://github.com/boxbackup/boxbackup/commit/78a5e71eee2f3bf12b8bf00ab5160644bad70c29
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-11-01 (Tue, 01 Nov 2011)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreDirectory.h

  Log Message:
  -----------
  Fix spelling error in AddUnattachedObject method name.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3038 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 91f0442fa0ab47897028323693eea743e35674ea
      https://github.com/boxbackup/boxbackup/commit/91f0442fa0ab47897028323693eea743e35674ea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-11-01 (Tue, 01 Nov 2011)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Use a macro to verify block count adjustments to reduce duplicate code.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3039 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 12548320b678361a69bed3286349debe9e8104f9
      https://github.com/boxbackup/boxbackup/commit/12548320b678361a69bed3286349debe9e8104f9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-11-01 (Tue, 01 Nov 2011)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Test that invalid directory entries (pointers to nonexistent objects) are removed properly.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3040 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2c373003818d6cafe4b0022a6fe6476f1e5ac769
      https://github.com/boxbackup/boxbackup/commit/2c373003818d6cafe4b0022a6fe6476f1e5ac769
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-12-03 (Sat, 03 Dec 2011)

  Changed paths:
    M lib/common/ExcludeList.cpp

  Log Message:
  -----------
  Fix regex case issues on Windows (\S converted to \s for example). Ensure that
filename comparison is always case insensitive on Windows, by convention.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3047 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bcbd866a245691d3006f45186d17cb2bd1dd364c
      https://github.com/boxbackup/boxbackup/commit/bcbd866a245691d3006f45186d17cb2bd1dd364c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-12-12 (Mon, 12 Dec 2011)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreContext.h

  Log Message:
  -----------
  Log the account name with connections, disconnections and statistics, requested by Pete Jalajas.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3048 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1a668104409dd5b10ee5762a3a197d7c62e676a5
      https://github.com/boxbackup/boxbackup/commit/1a668104409dd5b10ee5762a3a197d7c62e676a5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2011-12-13 (Tue, 13 Dec 2011)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/server/ServerStream.h
    M lib/server/Socket.cpp

  Log Message:
  -----------
  Add remote host and port to post-login login message, requested by Pete Jalajas.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3049 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f423be6ef6f8b25b4d7431ac01847f5a256f0b4b
      https://github.com/boxbackup/boxbackup/commit/f423be6ef6f8b25b4d7431ac01847f5a256f0b4b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Split option processing out of Daemon::Main() to ease use of Daemon class in tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3059 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ce1d58b457c0cdc94b2093361cc9d09a4fe5b212
      https://github.com/boxbackup/boxbackup/commit/ce1d58b457c0cdc94b2093361cc9d09a4fe5b212
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Log disabling of exception logging to help understand test output.

Allow std::ostringstream formatting in expected/actual output comparison.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3060 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e2aad62c8d3a6edd00fa7a34066d4c3f2c70235b
      https://github.com/boxbackup/boxbackup/commit/e2aad62c8d3a6edd00fa7a34066d4c3f2c70235b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Allow log level "everything" to log exceptions even if suppressed.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3061 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b86c4991bf0592ba5069404df2978b2da5c31d11
      https://github.com/boxbackup/boxbackup/commit/b86c4991bf0592ba5069404df2978b2da5c31d11
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/common/BoxException.h

  Log Message:
  -----------
  Allow getting the message out of a BoxException.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3062 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1945282cca0276bd99b68ca271bbab98d7ead61a
      https://github.com/boxbackup/boxbackup/commit/1945282cca0276bd99b68ca271bbab98d7ead61a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/common/FileModificationTime.cpp
    M lib/common/FileModificationTime.h

  Log Message:
  -----------
  File modification time helper functions don't need to modify their arguments, so make them const.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3063 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ab74482bf1bf2d87aa8c72f918445276c2c5b4d7
      https://github.com/boxbackup/boxbackup/commit/ab74482bf1bf2d87aa8c72f918445276c2c5b4d7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Remove unnecessary GetNativeErrorMessage(), add BOX_LOG_SOCKET_ERROR macro.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3064 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 159d17842770838d938b738cfc7caa0f4f3207ad
      https://github.com/boxbackup/boxbackup/commit/159d17842770838d938b738cfc7caa0f4f3207ad
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Log messages on failure to read, write, stat, seek and close files, with the filename.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3065 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 67b2437609886426195470be48acd8d6531fd76d
      https://github.com/boxbackup/boxbackup/commit/67b2437609886426195470be48acd8d6531fd76d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Improve logging of socket errors (create, bind, accept, and poll)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3066 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 39f736ae36b8045895c89bf6c3c1b5dc713bf28f
      https://github.com/boxbackup/boxbackup/commit/39f736ae36b8045895c89bf6c3c1b5dc713bf28f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/backupstore/BackupClientFileAttributes.cpp
    M lib/backupstore/BackupClientFileAttributes.h

  Log Message:
  -----------
  Allow constructing a BackupClientFileAttributes from a struct EMU_STAT.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3067 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6e566bab1a3f3e5884b2a594eb60f22e65a66e19
      https://github.com/boxbackup/boxbackup/commit/6e566bab1a3f3e5884b2a594eb60f22e65a66e19
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/backupstore/BackupStoreDirectory.h

  Log Message:
  -----------
  Rename the BackupStoreDirectory::AddEntry's AttributesModTime parameter to AttributesHash to avoid misleading the reader.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3068 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 484af97215a207cb6cb9f82304b02dca48b23f64
      https://github.com/boxbackup/boxbackup/commit/484af97215a207cb6cb9f82304b02dca48b23f64
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M lib/server/Protocol.cpp

  Log Message:
  -----------
  Catch trying to send a zero-length stream, which will cause an assertion failure on the other side.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3069 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9933baeaac206d55b108c7216d5fbb7cdf598ea8
      https://github.com/boxbackup/boxbackup/commit/9933baeaac206d55b108c7216d5fbb7cdf598ea8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Print the message of the exception that caused a test to fail.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3070 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e34472cb90a6c09521dfdb3985439180713dd252
      https://github.com/boxbackup/boxbackup/commit/e34472cb90a6c09521dfdb3985439180713dd252
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.h

  Log Message:
  -----------
  Allow getting the object ID out from a BackupClientDirectoryRecord.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3071 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5f1f88472fa6054eb6f7c3d89cb103e37b1cdf66
      https://github.com/boxbackup/boxbackup/commit/5f1f88472fa6054eb6f7c3d89cb103e37b1cdf66
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  Add missing typedef to allow use of ReturnCode enum.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3072 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d076d34feb3650a46ac1fc8c61014955b2d7795e
      https://github.com/boxbackup/boxbackup/commit/d076d34feb3650a46ac1fc8c61014955b2d7795e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-23 (Mon, 23 Jan 2012)

  Changed paths:
    M lib/common/Box.h

  Log Message:
  -----------
  Log exceptions with backtrace even if suppressed when log level is Log::EVERYTHING
also for exceptions with messages.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3073 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9b68acef4c97a5db40d36488e94e33fda716338c
      https://github.com/boxbackup/boxbackup/commit/9b68acef4c97a5db40d36488e94e33fda716338c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-01-23 (Mon, 23 Jan 2012)

  Changed paths:
    M lib/common/Box.h
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Allow overriding Logging::Guard to dump stack backtraces as well.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3074 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 18cd9cc7e7e16543d0be178c38499bba4cd4a59c
      https://github.com/boxbackup/boxbackup/commit/18cd9cc7e7e16543d0be178c38499bba4cd4a59c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-01 (Wed, 01 Feb 2012)

  Changed paths:
    M configure.ac
    R test/bbackupd/testfiles/bbackupd-temploc.conf
    A test/bbackupd/testfiles/bbackupd-temploc.conf.in

  Log Message:
  -----------
  Disable automatic backups in the temploc configuration, and enable the
NotifyScript, so that we can tell what kind of errors bbackupd reported
and reproduce them reliably.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3075 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ee79e345e89ecf63d48fbb918ec8671f6e11ef8b
      https://github.com/boxbackup/boxbackup/commit/ee79e345e89ecf63d48fbb918ec8671f6e11ef8b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-02 (Thu, 02 Feb 2012)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Add missing space in log message for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3076 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 526bfeef636376b9fdf6445bcf2fa24a8f5ccdd8
      https://github.com/boxbackup/boxbackup/commit/526bfeef636376b9fdf6445bcf2fa24a8f5ccdd8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-02 (Thu, 02 Feb 2012)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Set console log level as well as global level in tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3077 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 61c1de6df06342ec49c91e468447dbf830f47893
      https://github.com/boxbackup/boxbackup/commit/61c1de6df06342ec49c91e468447dbf830f47893
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-02 (Thu, 02 Feb 2012)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Store more details in protocol exceptions to help with debugging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3078 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8430f9ab330df4eb45113e0269f663cef169a34c
      https://github.com/boxbackup/boxbackup/commit/8430f9ab330df4eb45113e0269f663cef169a34c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-02 (Thu, 02 Feb 2012)

  Changed paths:
    M lib/common/BoxTime.h

  Log Message:
  -----------
  Make box_time_t signed so that we can subtract them without getting silly answers.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3079 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2a580f022f279d040b9f1cebd3e2a0a73bc8f83a
      https://github.com/boxbackup/boxbackup/commit/2a580f022f279d040b9f1cebd3e2a0a73bc8f83a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-02 (Thu, 02 Feb 2012)

  Changed paths:
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Log which account we're housekeeping, to help debug housekeeping crashes/failures.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3080 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: db794ab68a10b8b7dd58f6e24cbbd6d1a61a8304
      https://github.com/boxbackup/boxbackup/commit/db794ab68a10b8b7dd58f6e24cbbd6d1a61a8304
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-02 (Thu, 02 Feb 2012)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  If a location was not present (on disk) when bbackupd started, don't forget
about it but start backing it up if it appears subsequently.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3081 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0b2b4f3247cb599905b48c9f578e23cb2a568da5
      https://github.com/boxbackup/boxbackup/commit/0b2b4f3247cb599905b48c9f578e23cb2a568da5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-02 (Thu, 02 Feb 2012)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupClientRestore.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Force all options to be present to BackupClientRestore(), to fix 
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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3082 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 64d4e0586021ada44ad787d66d16196efa274964
      https://github.com/boxbackup/boxbackup/commit/64d4e0586021ada44ad787d66d16196efa274964
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-02 (Thu, 02 Feb 2012)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix compile error, thanks to James and Buildbot :)


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3083 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 973a9112af0c278f3e17d1c04b1fe58799128645
      https://github.com/boxbackup/boxbackup/commit/973a9112af0c278f3e17d1c04b1fe58799128645
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-12 (Sun, 12 Feb 2012)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M infrastructure/m4/boxbackup_tests.m4
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/backupstore/BackupStoreFileDiff.cpp
    M lib/common/BoxTime.h
    M lib/common/Timer.cpp
    M lib/common/Timer.h
    M lib/server/SocketStream.h
    A lib/server/TcpNice.cpp
    A lib/server/TcpNice.h

  Log Message:
  -----------
  Add experimental "TCP Nice" mode, disabled by default.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3084 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d6b684247f6cd2f5e0b305a89e4733701511109d
      https://github.com/boxbackup/boxbackup/commit/d6b684247f6cd2f5e0b305a89e4733701511109d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-02-12 (Sun, 12 Feb 2012)

  Changed paths:
    M lib/server/TcpNice.cpp

  Log Message:
  -----------
  Initialise the EWMA rate average to 0, and comment on variables in log message.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3085 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c704d591c0dacc2a7acc105f448b6aa7f9eac9cc
      https://github.com/boxbackup/boxbackup/commit/c704d591c0dacc2a7acc105f448b6aa7f9eac9cc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-03-10 (Sat, 10 Mar 2012)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add support for SyncAllowScript to set maximum upload bandwidth dynamically.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3086 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f0abe70cde74850ad51650a5c8acbc7c38c62062
      https://github.com/boxbackup/boxbackup/commit/f0abe70cde74850ad51650a5c8acbc7c38c62062
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-03-16 (Fri, 16 Mar 2012)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Really fix compile error this time.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3087 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c19f8cd5611c01f2f26972ea9c14124ec39ed4dd
      https://github.com/boxbackup/boxbackup/commit/c19f8cd5611c01f2f26972ea9c14124ec39ed4dd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-03-16 (Fri, 16 Mar 2012)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4
    M lib/server/TcpNice.cpp

  Log Message:
  -----------
  Hopefully fix TcpNice setsockopt/struct tcp_info compile errors on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3088 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e703cbaf3fff3426ef74f9e2cbacc06cb560c39c
      https://github.com/boxbackup/boxbackup/commit/e703cbaf3fff3426ef74f9e2cbacc06cb560c39c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-11 (Wed, 11 Apr 2012)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h

  Log Message:
  -----------
  Improve logging when decrypting a filename fails during UpdateItems().


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3089 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6ecd327005d1a59d49c015a0e965912891252b19
      https://github.com/boxbackup/boxbackup/commit/6ecd327005d1a59d49c015a0e965912891252b19
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-11 (Wed, 11 Apr 2012)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h

  Log Message:
  -----------
  Fix a memory leak when TcpNice is disabled.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3090 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 75821a9ea2ab85f7941b5e5577b4481f37f0ea3f
      https://github.com/boxbackup/boxbackup/commit/75821a9ea2ab85f7941b5e5577b4481f37f0ea3f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-15 (Sun, 15 Apr 2012)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Use C++ string instead of converting to C string and back.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3091 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4796a380f947e3681f108b91e61a9bf317df9c4c
      https://github.com/boxbackup/boxbackup/commit/4796a380f947e3681f108b91e61a9bf317df9c4c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-15 (Sun, 15 Apr 2012)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Treat corrupt filenames (not decryptable) as not existing, so that
the client will flag them for deletion, and the store will eventually
prune them. We could probably recover better by flagging them for
immediate deletion (Remove_ASAP) but this is a better-tested code path.

Remove unused variable hasMultipleHardLinks.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3092 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ce260d4f8b6c96e04eab089d8e7d73609c331e20
      https://github.com/boxbackup/boxbackup/commit/ce260d4f8b6c96e04eab089d8e7d73609c331e20
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4

  Log Message:
  -----------
  Move libdl tests before boxbackup tests in configure.ac to fix OpenSSL link errors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3093 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 60d6e128eecf3f00c7cc9b5e60072a8eb08a04eb
      https://github.com/boxbackup/boxbackup/commit/60d6e128eecf3f00c7cc9b5e60072a8eb08a04eb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M infrastructure/m4/ax_check_ssl.m4

  Log Message:
  -----------
  Check for -lcrypto before -lssl, to ensure correct order in LIBS and successful link.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3094 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2b8800d19ae3ea8644983790a7f2209e2518050b
      https://github.com/boxbackup/boxbackup/commit/2b8800d19ae3ea8644983790a7f2209e2518050b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M modules.txt

  Log Message:
  -----------
  Server module will shortly depend on crypto.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3095 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 63a43d71c40f42ec16d87a601dfd1b57779c10de
      https://github.com/boxbackup/boxbackup/commit/63a43d71c40f42ec16d87a601dfd1b57779c10de
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    A lib/crypto/CryptoUtils.cpp
    A lib/crypto/CryptoUtils.h
    M lib/server/SSLLib.cpp
    M lib/server/SSLLib.h
    M lib/server/SocketStreamTLS.cpp
    M lib/server/TLSContext.cpp

  Log Message:
  -----------
  Move LogError out of server/SSLLib so we can use it in Crypto.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3096 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9ef21d84fb0c65f3dc78f377b608a9b17bd61b8d
      https://github.com/boxbackup/boxbackup/commit/9ef21d84fb0c65f3dc78f377b608a9b17bd61b8d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M lib/crypto/CipherContext.cpp

  Log Message:
  -----------
  Log errors from OpenSSL and clear the error queue to avoid bad state.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3097 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9c10c4b28df6e4e3ba8fc54e112851751c7d3f60
      https://github.com/boxbackup/boxbackup/commit/9c10c4b28df6e4e3ba8fc54e112851751c7d3f60
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M lib/crypto/CipherAES.h
    M lib/crypto/CipherBlowfish.h
    M lib/crypto/CipherContext.h
    M lib/crypto/CipherDescription.h

  Log Message:
  -----------
  Allow ciphers to identify themselves for debugging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3098 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 22f6bf9fa3659c55aab1b2bd2730c7ac9597e0de
      https://github.com/boxbackup/boxbackup/commit/22f6bf9fa3659c55aab1b2bd2730c7ac9597e0de
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M lib/backupstore/BackupStoreDirectory.h

  Log Message:
  -----------
  Cosmetic improvements in comments.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3099 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 858e81350d8f8bb4b1c1cafa682c6e8d31b1a29f
      https://github.com/boxbackup/boxbackup/commit/858e81350d8f8bb4b1c1cafa682c6e8d31b1a29f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Defend against exceptions during logging, e.g. CipherException if filename decrypt fails.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3100 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5adacba17d789e138ec30452a156a7543281beff
      https://github.com/boxbackup/boxbackup/commit/5adacba17d789e138ec30452a156a7543281beff
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M lib/common/Box.h
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Allow hiding specific exceptions to keep test output cleaner.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3101 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e44a97b1773c6fa2178fb2edfb1d03aac72d2b7c
      https://github.com/boxbackup/boxbackup/commit/e44a97b1773c6fa2178fb2edfb1d03aac72d2b7c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Allow BackupDaemon user to reset state for testing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3102 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0c74a6682250fdf7726c746c20c19e089eb8e75f
      https://github.com/boxbackup/boxbackup/commit/0c74a6682250fdf7726c746c20c19e089eb8e75f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  Change BackupQueries List() to use C++ streams for output.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3103 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 09707813884919afe1650d8ef7ecf12ac91af2da
      https://github.com/boxbackup/boxbackup/commit/09707813884919afe1650d8ef7ecf12ac91af2da
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  Make BackupStoreDaemon::RunHousekeepingIfNeeded public to allow tests to call it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3104 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ce0b4fbe1e425f7cd3c3374ff77f32ab78f9f307
      https://github.com/boxbackup/boxbackup/commit/ce0b4fbe1e425f7cd3c3374ff77f32ab78f9f307
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M lib/common/ZeroStream.cpp

  Log Message:
  -----------
  Fix bug that caused sending a ZeroStream to end early, breaking protocol.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3105 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3fff3271321d08fb984e6632735eefa1d4017c11
      https://github.com/boxbackup/boxbackup/commit/3fff3271321d08fb984e6632735eefa1d4017c11
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-04-28 (Sat, 28 Apr 2012)

  Changed paths:
    M lib/backupstore/BackupStoreFilenameClear.cpp
    M lib/backupstore/BackupStoreFilenameClear.h

  Log Message:
  -----------
  Move private variables out of hidden namespace to help debugging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3106 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9d688ccaf58aa006a9559eb1f19d0bf413d8456d
      https://github.com/boxbackup/boxbackup/commit/9d688ccaf58aa006a9559eb1f19d0bf413d8456d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-05-03 (Thu, 03 May 2012)

  Changed paths:
    M bin/bbstored/bbstored.cpp

  Log Message:
  -----------
  Use the correct default config file for bbstored, thanks Pete!


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3107 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f01b49070c4c45e9087ae1ae1e4ccb62f56aec76
      https://github.com/boxbackup/boxbackup/commit/f01b49070c4c45e9087ae1ae1e4ccb62f56aec76
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-05-03 (Thu, 03 May 2012)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M bin/bbstored/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Tag housekeeping logging with the account number and name.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3108 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 943bbd84e90f234f7d3211463e1cdf14dd5d87cf
      https://github.com/boxbackup/boxbackup/commit/943bbd84e90f234f7d3211463e1cdf14dd5d87cf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-05-04 (Fri, 04 May 2012)

  Changed paths:
    M lib/backupstore/BackupStoreFilenameClear.cpp
    M lib/backupstore/BackupStoreFilenameClear.h

  Log Message:
  -----------
  Revert r3106 as it causes compile failures not seen locally.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3109 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8cb300b07e248280227d3a0f2782955cef7cec08
      https://github.com/boxbackup/boxbackup/commit/8cb300b07e248280227d3a0f2782955cef7cec08
  Author: jamesog <jamesog at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-05-24 (Thu, 24 May 2012)

  Changed paths:
    M infrastructure/BoxPlatform.pm.in

  Log Message:
  -----------
  Fix BuildPlatform.pm for Mac OS X 10.7+ and Xcode >= 4.

Xcode 4 no longer includes bsdmake so only try to use this if xcodebuild -version is less than 4.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3110 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a31d79211fce78e854a0cdb70c34118cf5530849
      https://github.com/boxbackup/boxbackup/commit/a31d79211fce78e854a0cdb70c34118cf5530849
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-05-26 (Sat, 26 May 2012)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/CommandCompletion.cpp
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  bbackupquery readline improvements, thanks to Paolo Tosco:

Automatically quote filenames including spaces on the readline input.

Ignore empty commands, don't generate a parse error message.

Close cleanly and quietly when EOF is input (Ctrl+D).

Simplify interactive mode code in bbackupquery.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3111 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 90a22984af9b3af01beadae719a32345a6ee1914
      https://github.com/boxbackup/boxbackup/commit/90a22984af9b3af01beadae719a32345a6ee1914
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-06-07 (Thu, 07 Jun 2012)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Fix typo.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3112 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 384f42c750fbb709e9db3986bce77ce0bc96443b
      https://github.com/boxbackup/boxbackup/commit/384f42c750fbb709e9db3986bce77ce0bc96443b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-06-11 (Mon, 11 Jun 2012)

  Changed paths:
    M lib/raidfile/RaidFileWrite.cpp
    M lib/raidfile/RaidFileWrite.h

  Log Message:
  -----------
  Fix double fault causing housekeeping to terminate, thanks to Dave Bamford.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3113 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 227d1ff84b9c0411fb19e132f0ecb9a097c757a2
      https://github.com/boxbackup/boxbackup/commit/227d1ff84b9c0411fb19e132f0ecb9a097c757a2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-06-29 (Fri, 29 Jun 2012)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    R bin/bbstored/HousekeepStoreAccount.cpp
    R bin/bbstored/HousekeepStoreAccount.h
    A lib/backupstore/HousekeepStoreAccount.cpp
    A lib/backupstore/HousekeepStoreAccount.h

  Log Message:
  -----------
  Add housekeep command to bbstoreaccounts to run housekeeping right now.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3114 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 433c77602632dd391ed40e3c8c887e2689da5b31
      https://github.com/boxbackup/boxbackup/commit/433c77602632dd391ed40e3c8c887e2689da5b31
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-06-29 (Fri, 29 Jun 2012)

  Changed paths:
    M lib/common/UnixUser.cpp
    M lib/common/UnixUser.h

  Log Message:
  -----------
  Allow UnixUser to be created with a std::string for C++ style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3115 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 39a592ea154f0c8bf78bc24dc605741eabf5e5dd
      https://github.com/boxbackup/boxbackup/commit/39a592ea154f0c8bf78bc24dc605741eabf5e5dd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-06-29 (Fri, 29 Jun 2012)

  Changed paths:
    M bin/bbackupd/BackupClientInodeToIDMap.cpp

  Log Message:
  -----------
  Throw an exception if we fail to open inode database, even in release builds.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3116 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: af9e0cfe255ead20783b3079e76839e417a1be22
      https://github.com/boxbackup/boxbackup/commit/af9e0cfe255ead20783b3079e76839e417a1be22
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-07-20 (Fri, 20 Jul 2012)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix compile error on MSVC due to attempt to convert a std::list::iterator
to a std::vector::iterator.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3117 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7749de554d3b1d7531768590d9586a05c0add536
      https://github.com/boxbackup/boxbackup/commit/7749de554d3b1d7531768590d9586a05c0add536
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-07-20 (Fri, 20 Jul 2012)

  Changed paths:
    M infrastructure/msvc/2010/bbstored.vcxproj
    M infrastructure/msvc/2010/common.vcxproj
    M infrastructure/msvc/2010/libbackupstore.vcxproj

  Log Message:
  -----------
  Update MSVC 2010 project to match recent changes to file locations.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3118 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 04c6ac872167cb191477385f0d5a5b0773277cca
      https://github.com/boxbackup/boxbackup/commit/04c6ac872167cb191477385f0d5a5b0773277cca
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-10-22 (Mon, 22 Oct 2012)

  Changed paths:
    M lib/raidfile/RaidFileController.cpp

  Log Message:
  -----------
  Log the number of the disc set that didn't exist, and the number actually configured.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3119 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1c6ca4d5e0baf496392344271eea9473775fa6ce
      https://github.com/boxbackup/boxbackup/commit/1c6ca4d5e0baf496392344271eea9473775fa6ce
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-10-22 (Mon, 22 Oct 2012)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.h

  Log Message:
  -----------
  Wrap line for readability.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3120 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6ee1ad5b9b1f829a6a468ecf049cc2acbee09dcd
      https://github.com/boxbackup/boxbackup/commit/6ee1ad5b9b1f829a6a468ecf049cc2acbee09dcd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-10-22 (Mon, 22 Oct 2012)

  Changed paths:
    M lib/common/Archive.h

  Log Message:
  -----------
  Add helper method to read a value that might not be present in an Archive
(end of Archive) to avoid duplicating this code many times.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3121 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6d43e4989d68800de72d54c297e4f273984970bb
      https://github.com/boxbackup/boxbackup/commit/6d43e4989d68800de72d54c297e4f273984970bb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-10-22 (Mon, 22 Oct 2012)

  Changed paths:
    M lib/common/StreamableMemBlock.cpp
    M lib/common/StreamableMemBlock.h

  Log Message:
  -----------
  Add a comment in header to indicate that StreamableMemBlock does not 
read/write raw memory blocks, but blocks with a header indicating their
size, which is not always what we want.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3122 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 89f8781ed4546075ab4c36799f2b4266b0bd28c7
      https://github.com/boxbackup/boxbackup/commit/89f8781ed4546075ab4c36799f2b4266b0bd28c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-10-22 (Mon, 22 Oct 2012)

  Changed paths:
    M lib/common/MemBlockStream.h

  Log Message:
  -----------
  Add helper methods to get read-only access to the buffer, and its size,
wrapped by a MemBlockStream.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3123 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0ab7f3dbdaac4809cfae0b342f0ae995bca1e132
      https://github.com/boxbackup/boxbackup/commit/0ab7f3dbdaac4809cfae0b342f0ae995bca1e132
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-10-22 (Mon, 22 Oct 2012)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/backupstore/BackupStoreInfo.h

  Log Message:
  -----------
  Keep and resave any extra data present at the end of a BackupStoreInfo
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.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3124 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ef7d04a139a90f023579b2e9fee4636440b9c699
      https://github.com/boxbackup/boxbackup/commit/ef7d04a139a90f023579b2e9fee4636440b9c699
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-10-22 (Mon, 22 Oct 2012)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Refactor bbstoreaccounts code to reduce duplication.

Add a bbstoreaccounts command to change the value of the AccountEnabled
flag, and print its value in "bbstoreaccounts info" output.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3125 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 16ba9feaa124937723e801333643b41b85032337
      https://github.com/boxbackup/boxbackup/commit/16ba9feaa124937723e801333643b41b85032337
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-10-22 (Mon, 22 Oct 2012)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/backupprotocol.txt

  Log Message:
  -----------
  Refuse login to disabled accounts.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3126 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 788deba1cdfc1bd1d004462bdaba3ee5543abdb6
      https://github.com/boxbackup/boxbackup/commit/788deba1cdfc1bd1d004462bdaba3ee5543abdb6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-10-22 (Mon, 22 Oct 2012)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Test that the BackupStoreInfo AccountEnabled flag works properly, and is
loaded and saved properly, and the "bbstoreaccounts enabled" command
works.

Test that the conversion of historic BackupStoreInfo v1 format files
works properly.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3127 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e095524bcc1ee27d65d8f4ceeb18dbdfb254b52e
      https://github.com/boxbackup/boxbackup/commit/e095524bcc1ee27d65d8f4ceeb18dbdfb254b52e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-06 (Tue, 06 Nov 2012)

  Changed paths:
    M lib/common/Logging.h
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Convert FORMAT_MICROSECONDS into a global utility macro.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3128 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d7a83108f7b16fbb912bf918f5430ff332201170
      https://github.com/boxbackup/boxbackup/commit/d7a83108f7b16fbb912bf918f5430ff332201170
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-06 (Tue, 06 Nov 2012)

  Changed paths:
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Timer arguments are in milliseconds, not seconds.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3129 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cf0f76505cd4fd29f389db67c032f15d68cdab8a
      https://github.com/boxbackup/boxbackup/commit/cf0f76505cd4fd29f389db67c032f15d68cdab8a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-07 (Wed, 07 Nov 2012)

  Changed paths:
    M lib/common/BoxTime.cpp

  Log Message:
  -----------
  Log the number of nanoseconds left to sleep, otherwise the log messages
don't make sense.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3130 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6fceece2d32728856672efbcc4e3209e1a40a04a
      https://github.com/boxbackup/boxbackup/commit/6fceece2d32728856672efbcc4e3209e1a40a04a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-07 (Wed, 07 Nov 2012)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  BOX_FORMAT_MICROSECONDS doesn't make sense unless the digits to the right
of the decimal point are padded properly.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3131 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8c46a95106644da8c18d8e3a8e41668aa875a2bb
      https://github.com/boxbackup/boxbackup/commit/8c46a95106644da8c18d8e3a8e41668aa875a2bb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-07 (Wed, 07 Nov 2012)

  Changed paths:
    M lib/common/Timer.cpp
    M lib/common/Timer.h

  Log Message:
  -----------
  Refactor and improve timer trace logging, fix subsecond formatting error.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3132 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4c105c544c78bd6618e7ddc940e0ef071d0672c9
      https://github.com/boxbackup/boxbackup/commit/4c105c544c78bd6618e7ddc940e0ef071d0672c9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-07 (Wed, 07 Nov 2012)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Fix incorrect logging of timer assignment, and format expiry time as a human time.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3133 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ee9e9421a9f89cdd98faee34ac46f58d9d7596dc
      https://github.com/boxbackup/boxbackup/commit/ee9e9421a9f89cdd98faee34ac46f58d9d7596dc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-07 (Wed, 07 Nov 2012)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M lib/backupstore/BackupStoreFileDiff.cpp

  Log Message:
  -----------
  Replace magic number 1000 with MILLI_SEC_IN_SEC when initialising timers.

Add the start of ExperimentalSnapshotMode support.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3134 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1ef5083142876fa3e75b6260ed6abd81bdb083c3
      https://github.com/boxbackup/boxbackup/commit/1ef5083142876fa3e75b6260ed6abd81bdb083c3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-07 (Wed, 07 Nov 2012)

  Changed paths:
    M lib/backupstore/BackupStoreRefCountDatabase.cpp

  Log Message:
  -----------
  Remove commented-out method copied from BackupStoreInfo and not used.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3135 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9341d4fcc53f2c7e59421e2f5c56ef30f29a4d41
      https://github.com/boxbackup/boxbackup/commit/9341d4fcc53f2c7e59421e2f5c56ef30f29a4d41
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M lib/common/MemBlockStream.cpp
    M lib/common/MemBlockStream.h

  Log Message:
  -----------
  Allow constructing an empty MemBlockStream, as it's useful for tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3136 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2940513034c2790e8f5146b20c4370ad3ecd0044
      https://github.com/boxbackup/boxbackup/commit/2940513034c2790e8f5146b20c4370ad3ecd0044
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/backupstore/BackupStoreInfo.h

  Log Message:
  -----------
  Make CreateForRegeneration save the AccountEnabled flag and any extra data
copied from the original info file.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3137 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e0b2af2202010d87e13e6e3bf4837873f770aa99
      https://github.com/boxbackup/boxbackup/commit/e0b2af2202010d87e13e6e3bf4837873f770aa99
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Test that BackupStoreInfo::CreateForRegeneration saves AccountEnabled
flag and ExtraData.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3138 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7f4af74fd0a60e6ca15169a25e8063202d707c6b
      https://github.com/boxbackup/boxbackup/commit/7f4af74fd0a60e6ca15169a25e8063202d707c6b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Fix missing #include for MemBlockStream.h


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3139 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2b9bf79535a05c1c3ebccdc2b3c6f8d452e89d97
      https://github.com/boxbackup/boxbackup/commit/2b9bf79535a05c1c3ebccdc2b3c6f8d452e89d97
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M test/backupstorefix/testfiles/testbackupstorefix.pl.in

  Log Message:
  -----------
  Fix additional space before [FILENAME NOT ENCRYPTED] causing test failures.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3140 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1294207b487eea0dbc066a3d6367dd796f49f6e1
      https://github.com/boxbackup/boxbackup/commit/1294207b487eea0dbc066a3d6367dd796f49f6e1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp

  Log Message:
  -----------
  Fix compile failure due to removal of fields from BackupClientContext.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3141 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a3369b50cda802a2a802140c8e59b74b6e718ab8
      https://github.com/boxbackup/boxbackup/commit/a3369b50cda802a2a802140c8e59b74b6e718ab8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Ensure that newly created accounts are enabled by default.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3142 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e4c475ab1c5c412bd9ca4b7c49f090090a0e5a70
      https://github.com/boxbackup/boxbackup/commit/e4c475ab1c5c412bd9ca4b7c49f090090a0e5a70
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Check for /dev/log and don't report if fds to it are leaked.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3143 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bd5e83ca0c31116506de875cac04a4f44f597037
      https://github.com/boxbackup/boxbackup/commit/bd5e83ca0c31116506de875cac04a4f44f597037
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M test/backupstore/Makefile.extra
    M test/bbackupd/Makefile.extra

  Log Message:
  -----------
  Link to HousekeepStoreAccount.o in the right directory since the big refactor.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3144 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5211e48b2ebb832a6c7ff04de9b12155fbea3932
      https://github.com/boxbackup/boxbackup/commit/5211e48b2ebb832a6c7ff04de9b12155fbea3932
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Don't flag an error if the only sockets "leaked" are syslog sockets.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3145 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 05aea5361f4e2e731ded3e3185660c541336fb6d
      https://github.com/boxbackup/boxbackup/commit/05aea5361f4e2e731ded3e3185660c541336fb6d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-14 (Wed, 14 Nov 2012)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Request linker to statically link libz.a, since the default now appears to
be dynamic linking, and that stops the tests from working since they can't
find zlib-1.dll in the PATH.

Remove redundant LIBS that should already be detected and used by the
m4 configury.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3146 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 845b95881621bdc3106112a22c2e0dc4cc7d46c3
      https://github.com/boxbackup/boxbackup/commit/845b95881621bdc3106112a22c2e0dc4cc7d46c3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-14 (Wed, 14 Nov 2012)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4

  Log Message:
  -----------
  Use AC_SEARCH_LIBS instead of AC_CHECK_LIB to search for EVP_CipherInit_ex,
as it should already be in LIBS by this point and we don't really want to
add a duplicate if we don't need it.

http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Libraries.html
also recommends the use of AC_SEARCH_LIBS instead.

Check whether we have getpeername() and sys/un.h to fix compile errors on
Windows with /dev/log fd leak test.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3147 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4f0766587bdda818a51a4cd4e803b8d18a859f76
      https://github.com/boxbackup/boxbackup/commit/4f0766587bdda818a51a4cd4e803b8d18a859f76
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-14 (Wed, 14 Nov 2012)

  Changed paths:
    M infrastructure/m4/ax_check_ssl.m4

  Log Message:
  -----------
  Use AC_SEARCH_LIBS instead of AC_CHECK_LIB when searching for SSL
libraries, to avoid adding duplicate libraries to LIBS.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3148 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 27b3f1186a3ba190e638e5de63327dfa84deaa40
      https://github.com/boxbackup/boxbackup/commit/27b3f1186a3ba190e638e5de63327dfa84deaa40
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-14 (Wed, 14 Nov 2012)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Don't use getpeername(), sys/socket.h or sys/un.h on platforms that don't
include them, to fix compile on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3149 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 97389a2c70124af466eb89414b7cd1a575a1a2c9
      https://github.com/boxbackup/boxbackup/commit/97389a2c70124af466eb89414b7cd1a575a1a2c9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-15 (Thu, 15 Nov 2012)

  Changed paths:
    M infrastructure/makeparcels.pl.in

  Log Message:
  -----------
  We need rm -f to remove read-only files from .svn directory copies in testfiles.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3150 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 763f0ff43bdfaf3f6fbf5ca7bad62fe23e8e9b3e
      https://github.com/boxbackup/boxbackup/commit/763f0ff43bdfaf3f6fbf5ca7bad62fe23e8e9b3e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-17 (Sat, 17 Nov 2012)

  Changed paths:
    M lib/common/BoxTime.h
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Fix timer miscalculation on Windows.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3151 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 85a76d0b7f048af46024872e8062af5b8b7a0eb4
      https://github.com/boxbackup/boxbackup/commit/85a76d0b7f048af46024872e8062af5b8b7a0eb4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-17 (Sat, 17 Nov 2012)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Fix account deletion on Windows by removing write lock before deleting
files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3152 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 994fcf703e3d20ef03b543861d3fe0223bf240bc
      https://github.com/boxbackup/boxbackup/commit/994fcf703e3d20ef03b543861d3fe0223bf240bc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-17 (Sat, 17 Nov 2012)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M lib/common/Timer.cpp
    M lib/common/Timer.h
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Use more efficient direct reset of Timers instead of assignment.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3153 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 97481c55c65b0259b1fa8d837e8264b9387eb7a9
      https://github.com/boxbackup/boxbackup/commit/97481c55c65b0259b1fa8d837e8264b9387eb7a9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-17 (Sat, 17 Nov 2012)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Fix missing space in log message.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3154 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aee66106b8bec2056182ad293102ef882c9f9d44
      https://github.com/boxbackup/boxbackup/commit/aee66106b8bec2056182ad293102ef882c9f9d44
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-17 (Sat, 17 Nov 2012)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/backupstore/HousekeepStoreAccount.h
    M lib/common/Logging.h

  Log Message:
  -----------
  Fix duplicate tagging of housekeeping messages.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3155 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ddbdd9d164122bc3f2d1731346cd0bcd3fcb7323
      https://github.com/boxbackup/boxbackup/commit/ddbdd9d164122bc3f2d1731346cd0bcd3fcb7323
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M lib/backupstore/BackupStoreAccountDatabase.cpp

  Log Message:
  -----------
  Allow passing a std::string instead of char* to BackupStoreAccountDatabase,
for C++ style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3156 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 555ae3b68c610209e516bc06846054eaf8786c9c
      https://github.com/boxbackup/boxbackup/commit/555ae3b68c610209e516bc06846054eaf8786c9c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreAccounts.h
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  Add a helper in BackupStoreAccounts to get a write lock on an account.
Use it in two places to simplify code (not in BackupStoreContext yet,
because that wants to communicate with HK process as well).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3157 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 64c6ed19f904eb0e16a53ff9ffae148c0f45e067
      https://github.com/boxbackup/boxbackup/commit/64c6ed19f904eb0e16a53ff9ffae148c0f45e067
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M lib/backupstore/BackupStoreAccountDatabase.h

  Log Message:
  -----------
  Finish incomplete checkin [3156].


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3158 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a4753f5e6097d0a2b6156b5ebaa054c4cd64eb05
      https://github.com/boxbackup/boxbackup/commit/a4753f5e6097d0a2b6156b5ebaa054c4cd64eb05
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M lib/backupstore/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Cosmetic improvements to bbstored log message tagging.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3159 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7095644cc67571496cf2f2acf219b374edbfe104
      https://github.com/boxbackup/boxbackup/commit/7095644cc67571496cf2f2acf219b374edbfe104
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix random failures of bbackupd test by locking the account before making
changes to it.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3160 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 123aaa7d8efa491397de2cc007c13f5ed0b32ada
      https://github.com/boxbackup/boxbackup/commit/123aaa7d8efa491397de2cc007c13f5ed0b32ada
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Fix testbackupstore: don't keep using a reference to a protocol object
that's been disposed (Windows only).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3161 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 37cf669cdcf1182a58ed69bd39393bf203353ff1
      https://github.com/boxbackup/boxbackup/commit/37cf669cdcf1182a58ed69bd39393bf203353ff1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-27 (Tue, 27 Nov 2012)

  Changed paths:
    M bin/bbstored/BBStoreDHousekeeping.cpp

  Log Message:
  -----------
  Log reason for housekeeping, or not (timer status).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3162 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 249f814fd7d780a25397953542802ac6a17e3c17
      https://github.com/boxbackup/boxbackup/commit/249f814fd7d780a25397953542802ac6a17e3c17
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-27 (Tue, 27 Nov 2012)

  Changed paths:
    M lib/backupstore/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Use THROW macro to report error getting file attributes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3163 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 12f0322caf4fc06444a4005d7d2910101a12078b
      https://github.com/boxbackup/boxbackup/commit/12f0322caf4fc06444a4005d7d2910101a12078b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-27 (Tue, 27 Nov 2012)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Allow getting the standard Console and Syslog loggers. Add a Guard class
that can be used to protect against permanent changes to their log levels.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3164 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 80a3f7125094128860c827616685d09813dd255e
      https://github.com/boxbackup/boxbackup/commit/80a3f7125094128860c827616685d09813dd255e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-27 (Tue, 27 Nov 2012)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  Fix failure to list files properly when not using a console on Win32
(e.g. from Cygwin command prompt).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3165 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 722183614243c5ccdf278a7d640f83548b56f677
      https://github.com/boxbackup/boxbackup/commit/722183614243c5ccdf278a7d640f83548b56f677
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2012-11-27 (Tue, 27 Nov 2012)

  Changed paths:
    M test/bbackupd/Makefile.extra

  Log Message:
  -----------
  Link testbbackupd with bbackupquery object files, so that we can use
BackupQueries directly for debugging compare failures.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3166 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: deb815b53ba56e5ff1af47b9bf99f934c81be4c6
      https://github.com/boxbackup/boxbackup/commit/deb815b53ba56e5ff1af47b9bf99f934c81be4c6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-02-13 (Wed, 13 Feb 2013)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix compile error due to missing mode on open(O_CREAT).


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3167 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 403aac54995e5f2ebacf3b1f3532e2afe25e885a
      https://github.com/boxbackup/boxbackup/commit/403aac54995e5f2ebacf3b1f3532e2afe25e885a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-02-13 (Wed, 13 Feb 2013)

  Changed paths:
    M lib/common/Box.h
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/MemLeakFinder.h

  Log Message:
  -----------
  Add ability to generate memory usage reports while running.

* ./configure CXXFLAGS=-DDEBUG_LEAKS
* Build and run the binary as normal (release or debug)
* Send SIGUSR1 to the process (e.g. killall -USR1 bbstored)
* Check the system logs, or the console.

Not safe for use on a production process, as it does illegal things in
a signal handler that may result in the process hanging. Use only for
debugging, and be prepared to kill any stuck processes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3168 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a92d638600f71aa9819d36e390cbb714f711f0bb
      https://github.com/boxbackup/boxbackup/commit/a92d638600f71aa9819d36e390cbb714f711f0bb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-21 (Wed, 21 Aug 2013)

  Changed paths:
    M lib/backupstore/BackupClientFileAttributes.cpp
    M lib/backupstore/BackupClientFileAttributes.h
    M lib/backupstore/BackupStoreFile.cpp
    M lib/backupstore/BackupStoreFile.h
    M lib/backupstore/BackupStoreFileDiff.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.h

  Log Message:
  -----------
  Pass std::strings to functions instead of const char *, for C++ style.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3169 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a587ba49196d1d96fd2e7ba4c1edd8b76948633
      https://github.com/boxbackup/boxbackup/commit/5a587ba49196d1d96fd2e7ba4c1edd8b76948633
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-21 (Wed, 21 Aug 2013)

  Changed paths:
    M lib/backupstore/BackupStoreContext.h

  Log Message:
  -----------
  Allow getting the name of the current phase of a BackupStoreContext.

Useful for debugging when the phase is not as expected.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3170 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ffebee49363a4119e5bef72ffa83bf4399cfc48f
      https://github.com/boxbackup/boxbackup/commit/ffebee49363a4119e5bef72ffa83bf4399cfc48f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-21 (Wed, 21 Aug 2013)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Add support for the -W option to test runner executable.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3171 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 28f4020d994c7bd5a77386c238c1b0bcef7eeb77
      https://github.com/boxbackup/boxbackup/commit/28f4020d994c7bd5a77386c238c1b0bcef7eeb77
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-21 (Wed, 21 Aug 2013)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add a ToString() method on protocol objects, to help with debugging them.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3172 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5786c3c91cb1ef0afdc3742fa8fd850781b3b628
      https://github.com/boxbackup/boxbackup/commit/5786c3c91cb1ef0afdc3742fa8fd850781b3b628
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreFile.cpp
    M lib/backupstore/BackupStoreFile.h
    M lib/backupstore/BackupStoreFileDiff.cpp
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Pass std::auto_ptr objects to Protocol for upload.

Passing raw pointers is bad C++ style, and dangerous, because Protocol
will free the passed-in pointers after uploading them, so we should not
keep using them.

Reduce code duplication in BackupClientDirectoryRecord patch/normal upload.

Return a std::auto_ptr<BackupStoreFileEncodeStream> instead of a
std::auto_ptr<IOStream> from BackupStoreFile::EncodeFile* functions.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3173 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8927261e01e91f32f08c868d0910a9bdd2e649c4
      https://github.com/boxbackup/boxbackup/commit/8927261e01e91f32f08c868d0910a9bdd2e649c4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Refactor testbackupstorefix.

Preparation work for better testing of fixing directories with entries
that no longer exist on disk. Related to debugging the problems reported
by Markus Grunwald.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3174 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d9af890cce00ebad19ede64359659c8698bcab48
      https://github.com/boxbackup/boxbackup/commit/d9af890cce00ebad19ede64359659c8698bcab48
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp

  Log Message:
  -----------
  Improve error messages from BackupCommands.

When a command is sent in the wrong phase, or a command that requires
write access is sent to a read-only session, log an error message with
the command details (and current phase in the former case).

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3175 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c42be7ab60fbe10a6dd48c6468928bac66cb561d
      https://github.com/boxbackup/boxbackup/commit/c42be7ab60fbe10a6dd48c6468928bac66cb561d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp

  Log Message:
  -----------
  Improve variable names and comments.

Makes the source code more readable.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3176 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a5ee63851e3f9ca28809e3ae46cfb892f3429875
      https://github.com/boxbackup/boxbackup/commit/a5ee63851e3f9ca28809e3ae46cfb892f3429875
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Fix a bug where bbstoreaccounts check could hang or crash.

It's not safe to use an iterator after the underlying collection has
been modified. We need to restart iterating over the directory in that
case. Otherwise we could loop forever looking for an end() that we've
already passed, or start accessing unallocated memory.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3177 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8743a6889781428d5e94dbfa2e575ec0c81202f4
      https://github.com/boxbackup/boxbackup/commit/8743a6889781428d5e94dbfa2e575ec0c81202f4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  Improve debugging messages after repairing a directory.

Report whether the directory still had errors after the first pass of
dir.CheckAndFix(), and also whether a file is marked as both Old and
Deleted, which means that its block usage is not accounted for anywhere.

There's possibly still a bug here where an invalid directory entry that
is itself a directory may not result in the parent directory being marked
as isModified and written back out afterwards, which may be what's
happening to Markus Grunwald (failure to correct the error with "check fix").

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3178 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bb04bdc5125e38d1eb3ddf9a93454c2c6f3d54f1
      https://github.com/boxbackup/boxbackup/commit/bb04bdc5125e38d1eb3ddf9a93454c2c6f3d54f1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Re-enable test_dir_fixing.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3179 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 02d68db74828a8836319114d6bb960eba6627534
      https://github.com/boxbackup/boxbackup/commit/02d68db74828a8836319114d6bb960eba6627534
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-08-25 (Sun, 25 Aug 2013)

  Changed paths:
    M lib/common/BoxConfig-MSVC.h
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Set process title on Windows.

Thanks to Arnaud for submitting the patch:

"I propose a little patch to enable the SetProcessTitle function on windows system."

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3180 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b3a9ffa87ff67139c2718de581400065aea6c905
      https://github.com/boxbackup/boxbackup/commit/b3a9ffa87ff67139c2718de581400065aea6c905
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-02 (Mon, 02 Sep 2013)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  Fix missing include, thanks Arnaud.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3181 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eee3b24b11fe21cfce32cf8cae08894854db69e0
      https://github.com/boxbackup/boxbackup/commit/eee3b24b11fe21cfce32cf8cae08894854db69e0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheckData.cpp
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Repeatedly "fix" directories until all errors are cleared.

Fixes some cases where a directory might refer to an object that doesn't
exist, which is removed from the directory, but an object that depends on
it (a patch) isn't removed, and requires a subsequent recheck.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3182 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3e336a38854c319a91eeecb66852a7545ea3d002
      https://github.com/boxbackup/boxbackup/commit/3e336a38854c319a91eeecb66852a7545ea3d002
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Fix misleading exception thrown.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3183 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7b2a1328933f94f2534a64c947e5e5969f330578
      https://github.com/boxbackup/boxbackup/commit/7b2a1328933f94f2534a64c947e5e5969f330578
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.h

  Log Message:
  -----------
  Add missing definition of CheckDirectory, fix CheckDirectoryEntry prototype.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3184 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 98ab69b17d72137feaaac216fc99ccce74b6400f
      https://github.com/boxbackup/boxbackup/commit/98ab69b17d72137feaaac216fc99ccce74b6400f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Report everything that increases mNumberErrorsFound as a BOX_ERROR.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3185 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7577d6e35f35a77bd42ed442bd4a67cf1ded07d1
      https://github.com/boxbackup/boxbackup/commit/7577d6e35f35a77bd42ed442bd4a67cf1ded07d1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/MemLeakFinder.h
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Add calloc() support to memory leak finder.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3186 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 33b20700489b12f78bbebedb041d240b271d6b91
      https://github.com/boxbackup/boxbackup/commit/33b20700489b12f78bbebedb041d240b271d6b91
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Ensure that all errors that increment mNumberErrorsFound are reported as BOX_ERROR.

Remove debugging code for Sune Molgaard's issue with non-existent files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3187 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9d3e091e195af4a77b7ddd989447df44d4307031
      https://github.com/boxbackup/boxbackup/commit/9d3e091e195af4a77b7ddd989447df44d4307031
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-20 (Fri, 20 Sep 2013)

  Changed paths:
    M lib/raidfile/RaidFileWrite.h

  Log Message:
  -----------
  Add a comment about removing one RaidFileWrite constructor.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3188 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 06033dbb55249534c8721ee621c7dfcd750cd197
      https://github.com/boxbackup/boxbackup/commit/06033dbb55249534c8721ee621c7dfcd750cd197
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-20 (Fri, 20 Sep 2013)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/raidfile/RaidFileController.cpp
    M lib/raidfile/RaidFileController.h
    M lib/raidfile/RaidFileRead.cpp
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Repair damaged Box RAID objects and non-transformed .rfw files.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3189 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 52ab3f3553f5110a004bd4a82b026bd5ef145ad8
      https://github.com/boxbackup/boxbackup/commit/52ab3f3553f5110a004bd4a82b026bd5ef145ad8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-28 (Sat, 28 Sep 2013)

  Changed paths:
    A contrib/suse/bbstored.service

  Log Message:
  -----------
  Add systemd initscript/configuration by Daniel Tihelka <dtihelka at gmail.com>

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3190 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b627161c24fcfd176dc40352661a08430326c8ea
      https://github.com/boxbackup/boxbackup/commit/b627161c24fcfd176dc40352661a08430326c8ea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-28 (Sat, 28 Sep 2013)

  Changed paths:
    M lib/common/makeexception.pl.in

  Log Message:
  -----------
  mSubType is unsigned, so clang complains that it can't be less than zero.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@3191 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c4226259b36f8f53bd64b248f7f0059fd16cdaa6
      https://github.com/boxbackup/boxbackup/commit/c4226259b36f8f53bd64b248f7f0059fd16cdaa6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-28 (Sat, 28 Sep 2013)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Clang complains that numDelObj is not initialised.

I don't think this has any effect in practice, but this patch ensures
that it is initialised anyway.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@3192 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 12d0f4dcfa095cb2870b7e152e2bfe1d09657acf
      https://github.com/boxbackup/boxbackup/commit/12d0f4dcfa095cb2870b7e152e2bfe1d09657acf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-28 (Sat, 28 Sep 2013)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Clang complains that "enabled" is not initialised.

It doesn't know that we call a function that exits the program
prematurely. In any case, this patch stops it from complaining.



git-svn-id: https://www.boxbackup.org/svn/box/trunk@3193 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9f1a747eb5e631b266db49af9017217937509305
      https://github.com/boxbackup/boxbackup/commit/9f1a747eb5e631b266db49af9017217937509305
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-30 (Mon, 30 Sep 2013)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M infrastructure/buildenv-testmain-template.cpp
    M lib/server/Daemon.cpp
    A lib/win32/box_getopt.h
    A lib/win32/bsd_getopt.h
    R lib/win32/getopt.h
    M lib/win32/getopt_long.cpp

  Log Message:
  -----------
  Fix getopt header confusion.

Our copy of getopt.h in lib/win32 was beating the system getopt.h in the
search path, and providing different definitions, which clang picked up.

Renamed our getopt.h to bsd_getopt.h, and added a box_getopt.h to decide
whether to include this one instead of the system getopt.h.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3198 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e60f3892cc6d237de7c6acbe389b7801754e88c0
      https://github.com/boxbackup/boxbackup/commit/e60f3892cc6d237de7c6acbe389b7801754e88c0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-09-30 (Mon, 30 Sep 2013)

  Changed paths:
    M test/backupdiff/testbackupdiff.cpp
    M test/backupstore/testbackupstore.cpp
    M test/backupstorepatch/testbackupstorepatch.cpp
    M test/basicserver/TestCommands.cpp
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Fix test fallout from SendStream ptr to auto_ptr change.

You can only pass a std::auto_ptr<IOStream> to SendStream now. Nothing
else will do for Clang. But you can cast a std::auto_ptr<subclass>.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3199 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f9b86d4f4b149d25899f34b177228fe496766b0d
      https://github.com/boxbackup/boxbackup/commit/f9b86d4f4b149d25899f34b177228fe496766b0d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-10-02 (Wed, 02 Oct 2013)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  Files are allowed to be both Old and Deleted.

Count them as Deleted, not as Old.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3200 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f500fca24952afd2dc021f9878f7f307066639ad
      https://github.com/boxbackup/boxbackup/commit/f500fca24952afd2dc021f9878f7f307066639ad
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2013-10-22 (Tue, 22 Oct 2013)

  Changed paths:
    M test/backupstore/testbackupstore.cpp
    M test/backupstore/testfiles/query.conf

  Log Message:
  -----------
  Add a test that Used block counts match expected values.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3201 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b66cd465bdb471cb21a5a66008163b56b27e41a3
      https://github.com/boxbackup/boxbackup/commit/b66cd465bdb471cb21a5a66008163b56b27e41a3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h

  Log Message:
  -----------
  Show more details when bbackupquery command parsing fails

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3202 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7d63c3e044677b14f70ba324a511367bf0258b45
      https://github.com/boxbackup/boxbackup/commit/7d63c3e044677b14f70ba324a511367bf0258b45
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreAccounts.h

  Log Message:
  -----------
  Split bbstoreaccounts commands out into a separate class.

Allows us to call them from tests without shelling out, making debugging
easier.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3203 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5d8c7c52999bcbd9ecb561e27dfe849932f685a1
      https://github.com/boxbackup/boxbackup/commit/5d8c7c52999bcbd9ecb561e27dfe849932f685a1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add ReceiveStream to protocol callable base class.

So we can call it on either a Client or a Local protocol object, without
having to know which it is, or cast it.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3204 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 710239ce38142c41fd9fd4eec720178d251e8c05
      https://github.com/boxbackup/boxbackup/commit/710239ce38142c41fd9fd4eec720178d251e8c05
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    A lib/backupstore/BackupProtocol.h
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Add a BackupProtocolLocal2 convenience class.

Adds a nicer constructor and more helpful cleanup on QueryFinished()
to the auto-generated BackupProtocolLocal.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3205 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0f5ec7619c63f38848367e8ed9c7443e3a636fb6
      https://github.com/boxbackup/boxbackup/commit/0f5ec7619c63f38848367e8ed9c7443e3a636fb6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    A .gitignore

  Log Message:
  -----------
  Add a Git ignore file to help developers using Git.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3206 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c656738d11d8488b783536a10444cce31aece7f6
      https://github.com/boxbackup/boxbackup/commit/c656738d11d8488b783536a10444cce31aece7f6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Close syslog before checking for files left open in tests.

Otherwise we might detect the opened syslog socket as a leaked file descriptor.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3207 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eec400120cae1f8d9589c05a29b81b4d428118b4
      https://github.com/boxbackup/boxbackup/commit/eec400120cae1f8d9589c05a29b81b4d428118b4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.h

  Log Message:
  -----------
  Add ReleaseWriteLock to BackupStoreContext.

Not really an API, but useful for BackupProtocolLocal2.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3208 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9d0580c58025ba94bee02cdc2aae3fe0b6ccf604
      https://github.com/boxbackup/boxbackup/commit/9d0580c58025ba94bee02cdc2aae3fe0b6ccf604
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp

  Log Message:
  -----------
  Fix compile error introduced by bbstoreaccounts refactor.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3209 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b3bc7ad5be2c5b2588793aaa9fbc05e4a1c0aea5
      https://github.com/boxbackup/boxbackup/commit/b3bc7ad5be2c5b2588793aaa9fbc05e4a1c0aea5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp

  Log Message:
  -----------
  Revert "Fix compile error introduced by bbstoreaccounts refactor."

This reverts commit 9d0580c58025ba94bee02cdc2aae3fe0b6ccf604.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3210 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 82b0ed5e0de204ad6a1cde98b867646c9d974df0
      https://github.com/boxbackup/boxbackup/commit/82b0ed5e0de204ad6a1cde98b867646c9d974df0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M bin/bbackupquery/CommandCompletion.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix bbackupquery accepting a command starting with options.

This should never have been a valid command, but was accepted before, and
silently ignored because it was treated as an empty command. This obscured
bad quoting of bbackupquery command-line arguments, allowing commands to
appear to work, but not do what you expected.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3211 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2a8e5bd9a4ef10362523e91c19abf6f303fe4d64
      https://github.com/boxbackup/boxbackup/commit/2a8e5bd9a4ef10362523e91c19abf6f303fe4d64
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    A docs/images/box-alpha.png
    A docs/images/box-alpha.xcf

  Log Message:
  -----------
  Add some images of the "box" portion of the logo.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3212 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a3aa10eab7d9790df271c4e5b983b70bd8296f77
      https://github.com/boxbackup/boxbackup/commit/a3aa10eab7d9790df271c4e5b983b70bd8296f77
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Compile debug builds with glibc debugging containers.

Make the release and debug options more similar.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3213 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 76152ae4e453b8df2a96288fe5d17f8fcaef45e9
      https://github.com/boxbackup/boxbackup/commit/76152ae4e453b8df2a96288fe5d17f8fcaef45e9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M infrastructure/makebuildenv.pl.in

  Log Message:
  -----------
  Show module name of each file when compiling.

Helps to find the right file when looking at a failed build output.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3214 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3ba8e39f2ae899f7d4638e6beaf10f51b13180b0
      https://github.com/boxbackup/boxbackup/commit/3ba8e39f2ae899f7d4638e6beaf10f51b13180b0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h

  Log Message:
  -----------
  Rename BackupStoreContext.GetStoreRoot() to GetAccountRoot().

More accurate name for this variable.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3215 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ec44e75b6dd93ba19101ddeb11b5be110a317b84
      https://github.com/boxbackup/boxbackup/commit/ec44e75b6dd93ba19101ddeb11b5be110a317b84
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp

  Log Message:
  -----------
  Revert "Revert "Fix compile error introduced by bbstoreaccounts refactor.""

This reverts commit b3bc7ad5be2c5b2588793aaa9fbc05e4a1c0aea5.

Should not have been applied in SVN (not just yet, anyway).

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3216 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e6791ec2af24ce39f9cb624a7eb1cb9efdf2ca05
      https://github.com/boxbackup/boxbackup/commit/e6791ec2af24ce39f9cb624a7eb1cb9efdf2ca05
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Include filename in FileStream exception messages.

Helps with debugging based on exception messages alone.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3217 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e9ffc3c025af7139205e8dcf4bf69bed04abdcc8
      https://github.com/boxbackup/boxbackup/commit/e9ffc3c025af7139205e8dcf4bf69bed04abdcc8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp

  Log Message:
  -----------
  Don't need to protect InvisibleTempFileStream against exceptions.

By definition, it will be cleared up by the OS automatically.

Also we don't need to support gcc 2.x any more. It was replaced by gcc3 in
2001, 12 years ago.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3218 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 72044d47e4a103bc9aa9e8ed489f89cd59573146
      https://github.com/boxbackup/boxbackup/commit/72044d47e4a103bc9aa9e8ed489f89cd59573146
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M test/bbackupd/Makefile.extra

  Log Message:
  -----------
  Allow test/bbackupd to test bbackupquery completions.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3219 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: da24805ff50bacf362e7bbf62bed5f2fbb6ade26
      https://github.com/boxbackup/boxbackup/commit/da24805ff50bacf362e7bbf62bed5f2fbb6ade26
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/common/InvisibleTempFileStream.cpp
    M lib/common/InvisibleTempFileStream.h

  Log Message:
  -----------
  Allow InvisibleTempFileStream to take a std::string.

For C++ style.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3220 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1622c562fba5b116df54e8240c2ee78b1874f98d
      https://github.com/boxbackup/boxbackup/commit/1622c562fba5b116df54e8240c2ee78b1874f98d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Print a newline when user presses Ctrl+D at bbackupquery prompt.

Makes the output look a little nicer as bbackupquery dies.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3221 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a79906059aabbce2138ad189ed5ef21ed0bfd178
      https://github.com/boxbackup/boxbackup/commit/a79906059aabbce2138ad189ed5ef21ed0bfd178
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Allow running only named tests in test suites that support it.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3222 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7d5f5c3be61c145be6d2df9496d81b8bbe773b11
      https://github.com/boxbackup/boxbackup/commit/7d5f5c3be61c145be6d2df9496d81b8bbe773b11
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp

  Log Message:
  -----------
  Move the comment to somewhere more useful.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3223 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: acdc8a88925d33202d38a78b8a7bf51b7c0ebf99
      https://github.com/boxbackup/boxbackup/commit/acdc8a88925d33202d38a78b8a7bf51b7c0ebf99
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Rename $cmd_class to $cmd_classes.

Makes code easier to read.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3224 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 469f2d01f82fc34cde2077f16a7ce30d634c4193
      https://github.com/boxbackup/boxbackup/commit/469f2d01f82fc34cde2077f16a7ce30d634c4193
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/backupprotocol.txt

  Log Message:
  -----------
  Add an AccountUsage2 command to backup protocol.

Allows us to get information about the account that's not available
using the old AccountUsage command. Currently only used in tests.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3225 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6747326729e66e78d2e031a74c869ec9e2c5ff10
      https://github.com/boxbackup/boxbackup/commit/6747326729e66e78d2e031a74c869ec9e2c5ff10
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Don't write #include statements for empty filenames.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3226 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 73847cba2186e80b5349d91503411c9ccfb0ba58
      https://github.com/boxbackup/boxbackup/commit/73847cba2186e80b5349d91503411c9ccfb0ba58
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Fix compile error caused by missing std::list prototype.

Fix erroneous detection of leaked file descriptors by closing syslog before
compiling the initial list of file descriptors.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3227 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e7c9d7065c6ab82b47a159951c35284d4c1c3d21
      https://github.com/boxbackup/boxbackup/commit/e7c9d7065c6ab82b47a159951c35284d4c1c3d21
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp

  Log Message:
  -----------
  Fix compile error.

Caused by premature switch from GetNumFiles to GetNumCurrentFiles.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3228 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 72ee6db62390cf2ab7ff97281c0ab0e4a83ae523
      https://github.com/boxbackup/boxbackup/commit/72ee6db62390cf2ab7ff97281c0ab0e4a83ae523
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.h
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/backupstore/HousekeepStoreAccount.h

  Log Message:
  -----------
  Create new refcount database atomically during account check.

Use a temporary refcount db for check instead of an in-memory vector. This
avoid the memory usage problems created by using the vector on large accounts,
but may require us to improve the efficiency of the refcount database itself
to avoid large numbers of small I/O operations. That is very doable now that
we're using a class for it.

Fix some inconsistencies and mistakes in handling reference counts and
info counters during account checks (more to come).

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3229 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6d7dd04f0e00edc7d5a767e2b356a90b89841e15
      https://github.com/boxbackup/boxbackup/commit/6d7dd04f0e00edc7d5a767e2b356a90b89841e15
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp

  Log Message:
  -----------
  Fix compile error.

Caused by removal of BackupStoreRefCountDatabase::CreateForRegeneration.
It's not safe to do this in housekeeping anyway, because it might not
complete the scan, leaving an incomplete database, that might persuade
BackupStoreContext that it's OK to delete an object that still really has
references to it.

If your refcount db disappears or is damaged, you need to run a check fix.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3230 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ba9a125d32071fb5e5e5d0b58dc09ee1c24e0481
      https://github.com/boxbackup/boxbackup/commit/ba9a125d32071fb5e5e5d0b58dc09ee1c24e0481
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreException.txt

  Log Message:
  -----------
  Add new exception to denote a corrupt refcount db.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3231 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3cd3a36c48b98f7ea5dfb31a92fe35a9fb8ffd5b
      https://github.com/boxbackup/boxbackup/commit/3cd3a36c48b98f7ea5dfb31a92fe35a9fb8ffd5b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Allow checking whether console logging is currently tagged.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3232 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a537babfadfeb40168990955aac2d6872aac4117
      https://github.com/boxbackup/boxbackup/commit/a537babfadfeb40168990955aac2d6872aac4117
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Add a logging guard that temporarily enables tagging on the console.

This is useful for disambiguating messages coming from different parts of the
application when looking at console output.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3233 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 79692c6188a267717082dbeae61cc757de6d7b4a
      https://github.com/boxbackup/boxbackup/commit/79692c6188a267717082dbeae61cc757de6d7b4a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Allow a logging tagger to temporarily replace the current tag.

Sometimes useful to replace instead of appending to the current tag.

The old tag will be reinstated when the tagger is destroyed.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3234 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 96b32c43d42463c4f795133ff74bfcc7d63f7b48
      https://github.com/boxbackup/boxbackup/commit/96b32c43d42463c4f795133ff74bfcc7d63f7b48
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Fix some backupstore test failures caused by refcount db changes.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3235 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78531354753f3ce9bb3ef1d906b2aeaac5b73d58
      https://github.com/boxbackup/boxbackup/commit/78531354753f3ce9bb3ef1d906b2aeaac5b73d58
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  Get backup connection stats from BackupProtocolServer.

One less reason to hang onto a Stream reference, that will go away soon.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3236 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ce82f66364b502c30f46aad958aa0446a0a19fb8
      https://github.com/boxbackup/boxbackup/commit/ce82f66364b502c30f46aad958aa0446a0a19fb8
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  The user asked us to fix errors, so it's not a very important notification that we're doing so.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3237 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6a04ddcc5caee3878612f0f8ee830f95b058a263
      https://github.com/boxbackup/boxbackup/commit/6a04ddcc5caee3878612f0f8ee830f95b058a263
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Fix accounting in bbstoreaccounts check.

Fix accounting for current, old and deleted files and blocks. Previously there
was confusion over the meaning of NumFiles, now it's defined to mean the number
of current files (neither old nor deleted), similar to BlocksInCurrentFiles.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3238 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d747e4947e7b24a501d4fe5af1b012f43f22747b
      https://github.com/boxbackup/boxbackup/commit/d747e4947e7b24a501d4fe5af1b012f43f22747b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M lib/backupstore/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Fix wrong handling of objects with multiple references in housekeeping.

We don't have a test for it yet, and won't until snapshots are implemented,
but it's a bad idea to merge patches to remove an old version when another
directory is still holding a reference to the patch.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3239 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: edf460ac5d3f4a9cc1fc21b8d2623b98e9ba4546
      https://github.com/boxbackup/boxbackup/commit/edf460ac5d3f4a9cc1fc21b8d2623b98e9ba4546
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h

  Log Message:
  -----------
  Revert "Get backup connection stats from BackupProtocolServer."

Until the groundwork is prepared by changing Protocol's use of IOStream to
SocketStream.

This reverts commit 78531354753f3ce9bb3ef1d906b2aeaac5b73d58.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3240 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d09087b084efc54b4868e89cb9ecaf8ccabc5819
      https://github.com/boxbackup/boxbackup/commit/d09087b084efc54b4868e89cb9ecaf8ccabc5819
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/backupstore/BackupStoreInfo.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Rename BackupStoreInfo variable NumFiles to NumCurrentFiles.

Will hopefully prevent future confusion about the meaning of this info
variable.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3241 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 31ff676c662f11eafe324bcc54bbf376ba006a02
      https://github.com/boxbackup/boxbackup/commit/31ff676c662f11eafe324bcc54bbf376ba006a02
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M bin/bbstoreaccounts/bbstoreaccounts.cpp

  Log Message:
  -----------
  Fix use of wrong config file in bbstoreaccounts.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3242 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc8261347880b813af58c4b873e1847cca03778d
      https://github.com/boxbackup/boxbackup/commit/bc8261347880b813af58c4b873e1847cca03778d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M lib/backupstore/HousekeepStoreAccount.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Fix testbackupstore, apart from wrong accounting for old files.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3243 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9295a144ca90cb6c5d4c6cc787463cf86d8d9727
      https://github.com/boxbackup/boxbackup/commit/9295a144ca90cb6c5d4c6cc787463cf86d8d9727
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp

  Log Message:
  -----------
  Fix wrong output of client store marker in bbstoraccounts info.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3244 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 99a61cc9092f1cb2d2ec390b254fbdf083d3b6c7
      https://github.com/boxbackup/boxbackup/commit/99a61cc9092f1cb2d2ec390b254fbdf083d3b6c7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix unnecessarily verbose log message about SyncAllowScript.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3245 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b494358b36af5cc066eaa237e80c13e61f21d82e
      https://github.com/boxbackup/boxbackup/commit/b494358b36af5cc066eaa237e80c13e61f21d82e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp

  Log Message:
  -----------
  Reformat for readability, add defensive comment.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3246 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6ca33f2423a2ac502eee57c6565ed279f284fcd0
      https://github.com/boxbackup/boxbackup/commit/6ca33f2423a2ac502eee57c6565ed279f284fcd0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h

  Log Message:
  -----------
  Add a ClearDirectoryCache method to BackupStoreContext.

It's used in several places, and about to be one more.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3247 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0e83a46e74428da62832d419412ecdd3a78c7787
      https://github.com/boxbackup/boxbackup/commit/0e83a46e74428da62832d419412ecdd3a78c7787
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M lib/common/NamedLock.cpp

  Log Message:
  -----------
  Include the filename in NamedLock exception messages.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3248 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 76532e109815b545c995c52c4dbe639952a77a77
      https://github.com/boxbackup/boxbackup/commit/76532e109815b545c995c52c4dbe639952a77a77
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M lib/common/BannerText.h

  Log Message:
  -----------
  Update copyright to 2014.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3249 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1003b9c691dc066d6fd55e7c284ac55553a3e14e
      https://github.com/boxbackup/boxbackup/commit/1003b9c691dc066d6fd55e7c284ac55553a3e14e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/BackupStoreInfo.h

  Log Message:
  -----------
  Fix accounting for old and deleted files and blocks during backup operations.

Adding and deleting files was not always accounted properly before.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3250 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78fc7781d2d1e0b64d5cda7d6d2a49fe7f8dda27
      https://github.com/boxbackup/boxbackup/commit/78fc7781d2d1e0b64d5cda7d6d2a49fe7f8dda27
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Compile fixes.

Backport a few new functions to simplify tests.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3251 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0a7382cda71c633bad965e8aac9bcbc57752d307
      https://github.com/boxbackup/boxbackup/commit/0a7382cda71c633bad965e8aac9bcbc57752d307
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Record mallocs that happen while the memleak finder is disabled.

Track them as not leaks, and suppress warnings about realloc() and free() on
these blocks, because they are actually tracked.

Add missing "throw (std::bad_alloc)" to "operator new" to silence warnings
from the llvm compiler.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3252 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 221515bb9b198a8500056620b221882eca342a90
      https://github.com/boxbackup/boxbackup/commit/221515bb9b198a8500056620b221882eca342a90
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M lib/common/MemBlockStream.cpp
    M lib/common/MemBlockStream.h

  Log Message:
  -----------
  Add a MemBlockStream constructor from a simple string.

Useful for sending simple string messages through Protocols or writing them
to streams. Takes a copy of the string, so you don't need to worry about object
lifetime.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3253 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bbb121882de9c45ef68554d8b8a49c02643ae0fa
      https://github.com/boxbackup/boxbackup/commit/bbb121882de9c45ef68554d8b8a49c02643ae0fa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Give tests access to the list of tests requested by the user.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3254 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 88876fc5c65afc73efa5eb16935ee818fa807b2e
      https://github.com/boxbackup/boxbackup/commit/88876fc5c65afc73efa5eb16935ee818fa807b2e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M lib/common/Test.h

  Log Message:
  -----------
  Add a TEST_THAT_THROWONFAIL macro that throws an AssertFailed exception.

Allows aborting tests from any depth of function calls.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3255 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c797c8d405f63158603fdafb244a941e2de68653
      https://github.com/boxbackup/boxbackup/commit/c797c8d405f63158603fdafb244a941e2de68653
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Simplify C++ name demangling code, and its memory allocation tracking.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3256 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 91ca51aa1b30e4dee2840f75ffe22f522122899d
      https://github.com/boxbackup/boxbackup/commit/91ca51aa1b30e4dee2840f75ffe22f522122899d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M lib/raidfile/RaidFileRead.cpp

  Log Message:
  -----------
  Fix double parentheses, which llvm complains about.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3257 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cec255b28d3ce8173d8106f6675bc946116d1354
      https://github.com/boxbackup/boxbackup/commit/cec255b28d3ce8173d8106f6675bc946116d1354
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M lib/common/MemBlockStream.cpp
    M lib/common/MemBlockStream.h
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Fix compile error in MemBlockStream.

Fix test/common memory leak checks now that MemBlockStream allocates another
block.


git-svn-id: https://www.boxbackup.org/svn/box/trunk@3258 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d38af52bbee3a3993aca98e0e92222334b775182
      https://github.com/boxbackup/boxbackup/commit/d38af52bbee3a3993aca98e0e92222334b775182
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/backupstore/HousekeepStoreAccount.h

  Log Message:
  -----------
  Fix accounting for old and deleted files, and dirs removed by housekeeping.

Also pass the actual reference count of an object to RaidFileWrite instead
of assuming that it's zero, to avoid accidentally deleting a referenced object.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3259 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ecdceb200695d42adbdf4c2d4f88c7cf653f8e7d
      https://github.com/boxbackup/boxbackup/commit/ecdceb200695d42adbdf4c2d4f88c7cf653f8e7d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp

  Log Message:
  -----------
  Don't consider it an error if LastObjectIDUsed changes during check.

There could be many reasons for this, including an invalid object being
deleted during the previous check run. And it's definitely not serious.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3260 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d2bccc63e6dbcf81669b5f09f1536a76699af559
      https://github.com/boxbackup/boxbackup/commit/d2bccc63e6dbcf81669b5f09f1536a76699af559
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Remove unnecessary import

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3261 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 737d2ed3bdbdb37d7c9d501feef183dbf4d62b28
      https://github.com/boxbackup/boxbackup/commit/737d2ed3bdbdb37d7c9d501feef183dbf4d62b28
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Re-enable the disabled test_dir_fixing

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3262 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a84401439427a7da4c1da01d9d0df7c8de91e2e6
      https://github.com/boxbackup/boxbackup/commit/a84401439427a7da4c1da01d9d0df7c8de91e2e6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  The new backupstore check detects 4 errors instead of 3, adjust test to match.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3263 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 90b460299234f387f420b6c3e4c326dc47eecfad
      https://github.com/boxbackup/boxbackup/commit/90b460299234f387f420b6c3e4c326dc47eecfad
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Overwrite existing files left by previous tests.

Will help to ensure that individual test cases run properly, even if a
previous test didn't clear up after itself. Splitting up testbackupstore
into idempotent testcases is coming soon.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3264 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f46577dc84c39e79f8618048c56b67d031a9aef4
      https://github.com/boxbackup/boxbackup/commit/f46577dc84c39e79f8618048c56b67d031a9aef4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add some utility methods.

Backported from new testbackupstore, to reduce diff.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3265 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5c56db280237aa7cb0cd17ba825a8169db47110f
      https://github.com/boxbackup/boxbackup/commit/5c56db280237aa7cb0cd17ba825a8169db47110f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Compile fix.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3266 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 15e359a799ccef221fd34421887b55b71a75c951
      https://github.com/boxbackup/boxbackup/commit/15e359a799ccef221fd34421887b55b71a75c951
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreDirectory.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add a convenience constructor to read a BackupStoreDirectory from a stream.

Saves ~2 lines each time it's used. And we use it a lot in testbackupstore.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3267 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ab996753e69546796c3d1d97b233e2b89847b651
      https://github.com/boxbackup/boxbackup/commit/ab996753e69546796c3d1d97b233e2b89847b651
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Compile fix.

Move ExpectedRefCounts definition to where it's needed.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3268 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 136545303341a953da67d8dbf6e8761ed29d34c9
      https://github.com/boxbackup/boxbackup/commit/136545303341a953da67d8dbf6e8761ed29d34c9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Compile fix. Remove redefinition of ExpectedRefCounts.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3269 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d25f5c3b0596cd6f1d557f6adb08b43d78caa6f9
      https://github.com/boxbackup/boxbackup/commit/d25f5c3b0596cd6f1d557f6adb08b43d78caa6f9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  White space and comment fixes.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3270 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3c05e517b0e0763582832cc29c272c62c25a07f2
      https://github.com/boxbackup/boxbackup/commit/3c05e517b0e0763582832cc29c272c62c25a07f2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Change some TEST_THAT assertions to TEST_EQUAL.

Being able to see the actual and expected values helps with debugging.

More cleanup of comments.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3271 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cbe9d4862fd5a448b8b98dd4305382c89f68ceb5
      https://github.com/boxbackup/boxbackup/commit/cbe9d4862fd5a448b8b98dd4305382c89f68ceb5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Revert part of patch that caused compile errors.

This reverts commit 59c3fdf8be1def3f237a4b51eb27773b4f42bbcd.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3272 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e479cad76e455e3e2d2934c71f37e1a296060fa7
      https://github.com/boxbackup/boxbackup/commit/e479cad76e455e3e2d2934c71f37e1a296060fa7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreFile.cpp
    M lib/backupstore/BackupStoreFile.h

  Log Message:
  -----------
  Add a shortcut interface to uploading a new file.

Useful in tests.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3273 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 48e9a8bbf6173ff335410d38df45c10623b94746
      https://github.com/boxbackup/boxbackup/commit/48e9a8bbf6173ff335410d38df45c10623b94746
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp

  Log Message:
  -----------
  Check that adding a new directory doesn't exceed store limits.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3274 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8216c4304812c7833a60a0aebfdffba1b74fd6bc
      https://github.com/boxbackup/boxbackup/commit/8216c4304812c7833a60a0aebfdffba1b74fd6bc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Rename tests. Split up and refactor.

Use SETUP macro and tearDown function in tests.

Make tests return bool instead of int, and check it.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3275 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: df072d59e3348b0df7f32aa7682d17d34e7be1fa
      https://github.com/boxbackup/boxbackup/commit/df072d59e3348b0df7f32aa7682d17d34e7be1fa
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Fix memory leak in bbackupquery readline completion.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3276 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 423ba08ae8389e315e391daad0f56fbc31d9a260
      https://github.com/boxbackup/boxbackup/commit/423ba08ae8389e315e391daad0f56fbc31d9a260
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    A lib/backupstore/StoreTestUtils.cpp
    A lib/backupstore/StoreTestUtils.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Move test utilities into a separate file, to share with testbbackupd.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3277 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d9749a4697cfa86418f835da666d75ce9bb7b95e
      https://github.com/boxbackup/boxbackup/commit/d9749a4697cfa86418f835da666d75ce9bb7b95e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.cpp
    M lib/backupstore/StoreTestUtils.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use the new test utilities to remove some duplicate code.

Fix previous changes by waiting for forked bbstored process during termination.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3278 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 85693b86a023e3e6d764bc489d220bf82cf3501f
      https://github.com/boxbackup/boxbackup/commit/85693b86a023e3e6d764bc489d220bf82cf3501f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Test that deleting a directory doesn't leave errors in the store.

If it fails to clear the reference counts properly, it will leave objects
still existing, and checking the account will reattach them.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3279 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 2bfaa5fb71534fa88abf01a9bcee2ebec0e016e1
      https://github.com/boxbackup/boxbackup/commit/2bfaa5fb71534fa88abf01a9bcee2ebec0e016e1
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M BUGS.txt
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  Allow read-only account check without taking a write lock on account.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3280 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9f12c88cc1bba946bc62ad3b6822ef16844f9d07
      https://github.com/boxbackup/boxbackup/commit/9f12c88cc1bba946bc62ad3b6822ef16844f9d07
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M lib/backupstore/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Fix buggy directory deletion by housekeeping.

Was introduced by commit bc8261347880b813af58c4b873e1847cca03778d.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3281 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78a338c91c3bad87cc097bda9408e109da6b74ef
      https://github.com/boxbackup/boxbackup/commit/78a338c91c3bad87cc097bda9408e109da6b74ef
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M lib/backupstore/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Shorthand check for deleted flag.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3282 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b74c2d717176a45b2949c6bb5d0d4069e9dddd3e
      https://github.com/boxbackup/boxbackup/commit/b74c2d717176a45b2949c6bb5d0d4069e9dddd3e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.cpp
    M lib/backupstore/BackupProtocol.h
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h

  Log Message:
  -----------
  Fix crash in BackupStoreContext with no HousekeepingInterface pointer.

Rename mrDaemon to mpHousekeeping and make it a pointer, so that it can
officially be NULL, and don't crash if it is, and we fail to get a lock
on the account.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3283 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d9911bca2258833b761d06720fa1f8fe9b284522
      https://github.com/boxbackup/boxbackup/commit/d9911bca2258833b761d06720fa1f8fe9b284522
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add extra checks for block counting during backup operations.

Fix the new tests so that they mostly pass. To squash.

Remove the test for nonexistent GetObject, not implemented yet. To squash.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3284 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ed9228d7723c8270d203653c310c9eb1aad0f9e
      https://github.com/boxbackup/boxbackup/commit/8ed9228d7723c8270d203653c310c9eb1aad0f9e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h

  Log Message:
  -----------
  Simplify exception handling by using std::auto_ptr.

Will result in the directory automatically being freed, whether or not an
exception occurs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3285 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d21cea2efd3c32278b7f753f3ca23aa20425863a
      https://github.com/boxbackup/boxbackup/commit/d21cea2efd3c32278b7f753f3ca23aa20425863a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  Start converting MinGW instructions to 64-bit Cygwin.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3286 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f81834c1587de5b0aa0a16b29df40e169b32320f
      https://github.com/boxbackup/boxbackup/commit/f81834c1587de5b0aa0a16b29df40e169b32320f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M lib/backupstore/BackupClientFileAttributes.cpp

  Log Message:
  -----------
  Don't throw a wobbly while backing up if files don't exist.

Reading extended attributes may fail with an error if the file was removed
(race condition) or in tests when generating random nonexistent directory
entries. Handle this more gracefully by not backing up the extended attributes
instead of dying completely.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3287 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c76455cd9a9c3ee98135ca22c6a5cf75022de8ae
      https://github.com/boxbackup/boxbackup/commit/c76455cd9a9c3ee98135ca22c6a5cf75022de8ae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Use an in-process BackupDaemon for some intercept tests.

It's much easier to debug these tests if we can step into them.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3288 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 06b9d76d2b8b73c85786ae9c607946c5d778e678
      https://github.com/boxbackup/boxbackup/commit/06b9d76d2b8b73c85786ae9c607946c5d778e678
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Check number of blocks used before the test that was failing.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3289 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dec316c8000b6335c1d2e28474337d5cd21129d5
      https://github.com/boxbackup/boxbackup/commit/dec316c8000b6335c1d2e28474337d5cd21129d5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix Clang warning about passing NULL as a string.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3290 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3f16be3b0cad1e0e998ea9c518c138a2414f1ef0
      https://github.com/boxbackup/boxbackup/commit/3f16be3b0cad1e0e998ea9c518c138a2414f1ef0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-01 (Sat, 01 Mar 2014)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M lib/backupstore/StoreTestUtils.cpp
    M lib/backupstore/StoreTestUtils.h
    M lib/httpserver/HTTPServer.cpp
    M lib/httpserver/HTTPServer.h
    M lib/server/Protocol.cpp
    M lib/server/Protocol.h
    M lib/server/ServerStream.h
    M lib/server/ServerTLS.h
    M lib/server/TcpNice.h
    M lib/server/makeprotocol.pl.in
    M test/backupstore/testbackupstore.cpp
    M test/backupstorepatch/testbackupstorepatch.cpp
    M test/basicserver/testbasicserver.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Make Protocol take control of the socket object passed in.

We pass a std::auto_ptr<SocketStream> to every Protocol subclass when we
construct it, and it takes control of this object. This reduces the risk of:

* accidentally reusing the same SocketStream for multiple Protocols
  (it happened to me in testbackupstore);

* holding onto a reference to the SocketStream;

* allowing a locally-scoped SocketStream to go out of scope and be released
  while still being referenced by a live Protocol.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3291 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 26f741115ab937ed94b64d3aecdce591357cbf86
      https://github.com/boxbackup/boxbackup/commit/26f741115ab937ed94b64d3aecdce591357cbf86
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Simplify code

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3292 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a11b1572909f1cf510f33126ff10b4f32d35ece6
      https://github.com/boxbackup/boxbackup/commit/a11b1572909f1cf510f33126ff10b4f32d35ece6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/backupprotocol.txt

  Log Message:
  -----------
  Add QueryCreateDirectory2 command.

Allows creating a directory with a specified modtime (in the parent directory entry).
Tests to come shortly.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3293 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8c083556799aeaf662ea498996bcd769a6abaea3
      https://github.com/boxbackup/boxbackup/commit/8c083556799aeaf662ea498996bcd769a6abaea3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Adding a directory when over limit returns an error instead of crashing.

Just like adding a file does.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3294 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c4c49914a49244cf9b1fea915388197788ddf499
      https://github.com/boxbackup/boxbackup/commit/c4c49914a49244cf9b1fea915388197788ddf499
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/server/Protocol.cpp

  Log Message:
  -----------
  Spelling

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3295 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 10de1bdc73df6893a1ab4cde1cf248a34bb3bb77
      https://github.com/boxbackup/boxbackup/commit/10de1bdc73df6893a1ab4cde1cf248a34bb3bb77
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/server/ConnectionException.txt
    M lib/server/Message.h
    M lib/server/Protocol.h
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add information about last exchange when wrong type of object received.

Helps with debugging ConnectionException::Protocol_StreamWhenObjExpected and
ConnectionException::Protocol_ObjWhenStreamExpected errors, which may be caused
by a command returning an error message and failing to consume any uploaded
streams first.

Add extra debugging in ProtocolLocal objects to detect when this happens
during the command itself, which helps with debugging.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3296 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1f15dacc2ea3b3538abdc945d8d1549d0d7a7486
      https://github.com/boxbackup/boxbackup/commit/1f15dacc2ea3b3538abdc945d8d1549d0d7a7486
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Fix memory leak in local protocol.

When a command fails with an error, and CheckReply throws an exception, the
mStreamsToSend were not deleted.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3297 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ba865b558ff8f19e38e4db498e74a99fb1004397
      https://github.com/boxbackup/boxbackup/commit/ba865b558ff8f19e38e4db498e74a99fb1004397
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.h
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add convenience macro for testing commands that return errors.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3298 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5e6ac68c5ba64404b90543189bee8b462562c243
      https://github.com/boxbackup/boxbackup/commit/5e6ac68c5ba64404b90543189bee8b462562c243
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Fix whitespace and comments, remove redundant code in protocol generator.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3299 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e02655d76f7625d9f21ef84d4283eef5d6a80b3c
      https://github.com/boxbackup/boxbackup/commit/e02655d76f7625d9f21ef84d4283eef5d6a80b3c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Use static_cast instead of C-style casts, for C++ style and safety.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3300 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 01425f3139d9bb2f9020a2f9fdbb24d6f47ede0b
      https://github.com/boxbackup/boxbackup/commit/01425f3139d9bb2f9020a2f9fdbb24d6f47ede0b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/common/SelfFlushingStream.h
    M lib/server/makeprotocol.pl.in
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Always flush any incoming stream on server side.

Otherwise the protocol might be broken and can't be used any more, even if
we made an effort to return an Error reply instead of throwing an exception.

This used to not be a problem because an Error reply would terminate the
connection anyway, but it no longer does. So if the client also didn't
terminate, but tried to handle the exception and keep using the connection,
then it might find that its next command fails because the protocol is broken.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3301 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1789e141611cd1bbfee6ad768ae3f5e95d69ceae
      https://github.com/boxbackup/boxbackup/commit/1789e141611cd1bbfee6ad768ae3f5e95d69ceae
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    R test/backupstore/Makefile.extra

  Log Message:
  -----------
  Remove unnecessary link to HousekeepStoreAccount.o

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3302 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 01128e25af1587b49ac921b8c7f84fcfa995d0f5
      https://github.com/boxbackup/boxbackup/commit/01128e25af1587b49ac921b8c7f84fcfa995d0f5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/backupstore/BackupStoreInfo.h

  Log Message:
  -----------
  Replace most of APPLY_DELTA macro with a new method.

Using methods instead of macros where possible makes debugging easier.
Especially long macros like this one.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3303 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e5ba7ebff0c5772eddc9c80df20c202fd4f6f0f2
      https://github.com/boxbackup/boxbackup/commit/e5ba7ebff0c5772eddc9c80df20c202fd4f6f0f2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.h
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Whitespace, comments and log messages cleanups.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3304 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a3fc09ec8c70f5d9bdd8cf30299c8ff909f78cde
      https://github.com/boxbackup/boxbackup/commit/a3fc09ec8c70f5d9bdd8cf30299c8ff909f78cde
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M lib/backupstore/HousekeepStoreAccount.cpp

  Log Message:
  -----------
  Fix an exception checking refcounts in housekeeping.

If the old refcount database was shorter than the new one, then we could end
up trying to access a nonexistent refcount, triggering an exception, which
prevented all comparison of the old and new refcount databases.

Also, from now on, a mismatch between old and new refcounts is treated as a
housekeeping error, which is detectable in tests.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3305 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8396c3886d35735005e4346dace679c042f48412
      https://github.com/boxbackup/boxbackup/commit/8396c3886d35735005e4346dace679c042f48412
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp

  Log Message:
  -----------
  Don't pass AttributesModTime as the hash of the new directory's attributes.

An incorrect comment led me to believe that this parameter was the new
directory's AttributesModTime, but actually it was its hash.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3306 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3620ed89f41d1f8ca0c0cc63cc9152003a94a3da
      https://github.com/boxbackup/boxbackup/commit/3620ed89f41d1f8ca0c0cc63cc9152003a94a3da
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4
    M lib/common/FileModificationTime.cpp

  Log Message:
  -----------
  Support microsecond timestamps for files on Linux.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3307 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e490167dfa7b6316571e52aeeead9011173611c9
      https://github.com/boxbackup/boxbackup/commit/e490167dfa7b6316571e52aeeead9011173611c9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add a static GetMessage() to BackupProtocolError.

Allows retrieving the error message for a given code, when we no longer have
the protocol object handy.

Conflicts:

	lib/server/makeprotocol.pl.in

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3308 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c36822a6402d6d60da7223f20b89b4173cf8047e
      https://github.com/boxbackup/boxbackup/commit/c36822a6402d6d60da7223f20b89b4173cf8047e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h

  Log Message:
  -----------
  Don't require passing the object ID into BackupStoreContext::SaveDirectory.

Passing the wrong object ID would just result in an assertion being thrown
(in debug builds) or silently doing the wrong thing (in release builds). I
can't see any useful use for this extra parameter, since we can get the
container ID from the directory anyway.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3309 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 20039a2c0d1b6f648e044580bb4c909b3d01fa1c
      https://github.com/boxbackup/boxbackup/commit/20039a2c0d1b6f648e044580bb4c909b3d01fa1c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/backupstore/BackupProtocol.h

  Log Message:
  -----------
  Fix a (currently cosmetic) bug in BackupProtocolLocal2 account ID.

It was hardcoded to 0x01234567 due to a copy and paste error.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3310 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3f065639d1fd7f89c74736e93588c00593aaa588
      https://github.com/boxbackup/boxbackup/commit/3f065639d1fd7f89c74736e93588c00593aaa588
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.cpp
    M lib/backupstore/StoreTestUtils.h

  Log Message:
  -----------
  Add a utility to check account for errors, expecting that there are some.

Returns the number of errors found and fixed.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3311 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ea3efb7a6ee59219110bd9fbde46c30d5aaa51bf
      https://github.com/boxbackup/boxbackup/commit/ea3efb7a6ee59219110bd9fbde46c30d5aaa51bf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/backupstore/BackupProtocol.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add a Reopen method to BackupProtocolLocal2 for convenience.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3312 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b6ac31f98adfe9c9cfb795443cdd033df757d0bf
      https://github.com/boxbackup/boxbackup/commit/b6ac31f98adfe9c9cfb795443cdd033df757d0bf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Replace magic numbers with named constants for readability.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3313 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78af64cbc71c93b682410d62c28c548aae9270fe
      https://github.com/boxbackup/boxbackup/commit/78af64cbc71c93b682410d62c28c548aae9270fe
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.h
    M lib/common/Test.h

  Log Message:
  -----------
  Add some test helper _OR macros to execute commands when conditions fail.

This is useful to return from a test if an assertion/check fails, instead of
throwing an exception.

Also add logging of the actual error code received (with name) to
TEST_COMMAND_RETURNS_ERROR(_OR).

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3314 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3034f5ddbe386f5eacab26f7f50d16b1fde2c11d
      https://github.com/boxbackup/boxbackup/commit/3034f5ddbe386f5eacab26f7f50d16b1fde2c11d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/backupstore/HousekeepStoreAccount.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Directories' entries in parent directory should track current size.

When entries are added to a directory by a command (BackupStoreContext),
and when entries are removed from a directory (by housekeeping), update the
parent directory's entry for us if our size has changed.

Make BackupStoreCheck check for, report and fix errors when directory entries
are directories and the size is wrong (as well as files).

Conflicts:

	test/backupstore/testbackupstore.cpp

Fix directories loaded without size being set, leading to warnings later.

We can't check that the old size in the parent entry matched the old real size
of the directory, unless we set the old real size in the directory.

And we don't need to pass the old directory size to
HousekeepStoreAccount::DeleteFile, because we can get it from the directory
itself.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3315 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a1fdc4b633d6a5dd3e178b1efa298e9655c87b2b
      https://github.com/boxbackup/boxbackup/commit/a1fdc4b633d6a5dd3e178b1efa298e9655c87b2b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M infrastructure/buildenv-testmain-template.cpp
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/StoreTestUtils.cpp
    M lib/common/Box.h
    M lib/common/Logging.cpp
    M lib/common/Logging.h
    M lib/common/Test.cpp
    M test/backupstore/testbackupstore.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Remove the global logging level.

It's incompatible with having a logger that logs everything, regardless of
the global log level.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3316 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1b938895ea3c0ad79fad5be103e80d3390f0fafd
      https://github.com/boxbackup/boxbackup/commit/1b938895ea3c0ad79fad5be103e80d3390f0fafd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Add a guard that can temporarily add a Logger to the logging system.

This is very useful with the forthcoming Capture logger.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3317 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 60607c8a7d16618c222402d4eab1f7de5302e87d
      https://github.com/boxbackup/boxbackup/commit/60607c8a7d16618c222402d4eab1f7de5302e87d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Add a capturing logger.

Useful in testing whether code logs the expected messages or not.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3318 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 59c7dc3fd7be2bbb65e2e9bcbbebac947303cc0c
      https://github.com/boxbackup/boxbackup/commit/59c7dc3fd7be2bbb65e2e9bcbbebac947303cc0c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M lib/backupstore/backupprotocol.txt
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Remove NoObject reply, and adapt BackupQueries accordingly.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3319 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 78b92e8082bb6a0d774a3415de6d920bce2d556f
      https://github.com/boxbackup/boxbackup/commit/78b92e8082bb6a0d774a3415de6d920bce2d556f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  Add a status command to bbackupctl.

Allows polling the daemon to see if it's running, without telling it to
actually do anything.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3320 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8d7e1f44f442955504bd3fbac2c12829fbe38146
      https://github.com/boxbackup/boxbackup/commit/8d7e1f44f442955504bd3fbac2c12829fbe38146
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/common/Guards.h

  Log Message:
  -----------
  Improve error messages when FileHandleGuard fails to open a file.

Use the standard macros to report file error messages in the standard
format, including a filename and message in the exception.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3321 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 64c2e964ddb140177a518afe0a7d38de00a76c63
      https://github.com/boxbackup/boxbackup/commit/64c2e964ddb140177a518afe0a7d38de00a76c63
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/common/MainHelper.h

  Log Message:
  -----------
  Improve error message when fatal exception aborts a command-line tool.

Report the exception message details if it's a BoxException, so it's more
user friendly.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3322 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4c9ca827e91ad29d25620ea731e67ca1aaa0a3eb
      https://github.com/boxbackup/boxbackup/commit/4c9ca827e91ad29d25620ea731e67ca1aaa0a3eb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h

  Log Message:
  -----------
  Refactor logging option processing out of Daemon class.

Allows command-line tools to reuse the same option processing.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3323 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b630dd32dbbc4de76c12585867fda18066d61147
      https://github.com/boxbackup/boxbackup/commit/b630dd32dbbc4de76c12585867fda18066d61147
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupquery/bbackupquery.cpp

  Log Message:
  -----------
  Use shared code for logging options in bbackupctl and bbackupquery.

Enables all standard logging options and reduces code duplication.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3324 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 0a867cd38edb245e9364b1d2d1995867628a89b4
      https://github.com/boxbackup/boxbackup/commit/0a867cd38edb245e9364b1d2d1995867628a89b4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupquery/BackupQueries.h
    M lib/backupstore/BackupStoreException.txt
    M lib/backupstore/BackupStoreFile.cpp
    M lib/backupstore/BackupStoreFile.h
    M lib/backupstore/BackupStoreFileDiff.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.h

  Log Message:
  -----------
  Poll command socket regularly during file uploads.

Makes the daemon responsive to polling and commands, even during a file
upload operation.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3325 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5d168d9eeb12ce2a351b40f0ac1ec624dc97cfda
      https://github.com/boxbackup/boxbackup/commit/5d168d9eeb12ce2a351b40f0ac1ec624dc97cfda
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-12 (Sat, 12 Apr 2014)

  Changed paths:
    A lib/backupstore/BackgroundTask.h

  Log Message:
  -----------
  Add missing BackgroundTask header

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3326 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: dd4e27a8abd2d8441b45319f6f5cea8a59bb6013
      https://github.com/boxbackup/boxbackup/commit/dd4e27a8abd2d8441b45319f6f5cea8a59bb6013
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-12 (Sat, 12 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Initialise sync flags in WaitOnCommandSocket.

Otherwise all callers need to initialise them, or get false positives.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3327 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1c2b49fe54e229d24d71cd9522728d684d1bf091
      https://github.com/boxbackup/boxbackup/commit/1c2b49fe54e229d24d71cd9522728d684d1bf091
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-12 (Sat, 12 Apr 2014)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Fix compilation on Debian 7 (Wheezy) by including bsd/unistd.h.

If libedit is installed then -ledit will be detected and added to the link
line, which makes the test for getpeereid pass. Then SocketStream.cpp tries
to use it, but that won't work unless we include bsd/unistd.h where the
prototype is declared.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3328 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b8b5a173582947053be8b857497a1eb885fe85a3
      https://github.com/boxbackup/boxbackup/commit/b8b5a173582947053be8b857497a1eb885fe85a3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix BackgroundTask timer being destroyed after timer system cleaned up.

Caused an assertion failure and crash.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3329 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 02e7d49e5010b1278351ae31de2cad92d7df9681
      https://github.com/boxbackup/boxbackup/commit/02e7d49e5010b1278351ae31de2cad92d7df9681
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt

  Log Message:
  -----------
  More updates to Win32 build instructions.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3330 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b8ddafd860174d18121c56fcdd024e4cb5e85725
      https://github.com/boxbackup/boxbackup/commit/b8ddafd860174d18121c56fcdd024e4cb5e85725
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Rewrite backup idle/poll loop for clarity.

Add helpful debugging messages about why the decision was taken to sleep
or start a backup, and how long the system will wait until the next
backup.

Flatten the code to avoid the double loop.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3331 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ce74e667759bcc07a5bb0752db5ccac46059d559
      https://github.com/boxbackup/boxbackup/commit/ce74e667759bcc07a5bb0752db5ccac46059d559
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Don't consider inode database errors enough reason to run the next backup
immediately after the end of the current one.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3332 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 24a6affa4d8711be982632988a4efdfb062e8713
      https://github.com/boxbackup/boxbackup/commit/24a6affa4d8711be982632988a4efdfb062e8713
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Fix warnings about member variables being initialised in a different order.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3333 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b8f5faa6c66608cd04be5283a594c88cee11c48b
      https://github.com/boxbackup/boxbackup/commit/b8f5faa6c66608cd04be5283a594c88cee11c48b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Rewrap some lines to reduce unnecessary wrapping.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3334 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 314e525801e884f40b4b6d74b5850f113559a93b
      https://github.com/boxbackup/boxbackup/commit/314e525801e884f40b4b6d74b5850f113559a93b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Call RunBackgroundTask while scanning directories as well.

Enables bbackupd to be stopped, reloaded or status queried while scanning
a large directory.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3335 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c25f2d0193c0856349dd826c628647154886406d
      https://github.com/boxbackup/boxbackup/commit/c25f2d0193c0856349dd826c628647154886406d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-18 (Fri, 18 Apr 2014)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp
    M modules.txt

  Log Message:
  -----------
  Make bbackupctl status display the human-readable daemon state name.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3336 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 142ae17be7f26a444b876282e20dfbbcefadc800
      https://github.com/boxbackup/boxbackup/commit/142ae17be7f26a444b876282e20dfbbcefadc800
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-18 (Fri, 18 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Simplify the sync start logic some more, log when force-sync overrides script.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3337 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 4240c8ab7c9878d6897415585384620136ecd711
      https://github.com/boxbackup/boxbackup/commit/4240c8ab7c9878d6897415585384620136ecd711
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-18 (Fri, 18 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Stop the CommandSocketPollTimer at end of each backup.

Otherwise it interrupts us needlessly while we're sleeping waiting for
the next backup.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3338 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8945b0f10c9da8b0bd37d0666456916cc50b2557
      https://github.com/boxbackup/boxbackup/commit/8945b0f10c9da8b0bd37d0666456916cc50b2557
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-18 (Fri, 18 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Rewrap long lines (whitespace only).

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3339 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7cb82d707113c95619f88e32c34bc6fba2491345
      https://github.com/boxbackup/boxbackup/commit/7cb82d707113c95619f88e32c34bc6fba2491345
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-18 (Fri, 18 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Eliminate duplicate call to GetCurrentBoxTime().

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3340 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 64cb6859f28b80f7c9d69851d1a247776b96b42d
      https://github.com/boxbackup/boxbackup/commit/64cb6859f28b80f7c9d69851d1a247776b96b42d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-18 (Fri, 18 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Restore correct initialisation of mCurrentSyncStartTime.

Was accidentally removed by the refactoring of the backup idle loop.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3341 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b05759cb4b41d455d70c5e194b6ebc60a7ab0194
      https://github.com/boxbackup/boxbackup/commit/b05759cb4b41d455d70c5e194b6ebc60a7ab0194
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-18 (Fri, 18 Apr 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add debugging code for when SendStream() fails during client command.

Will hopefully help to debug Brendon Baumgartner's issue with backups not
completing and repeating over and over, due to this error:

> Apr 18 11:14:09 hosting bbackupd[18990]: WARNING: Exception thrown:
> ServerException(Protocol_BadUsage) (Sending a stream with a definite
> size of zero is not allowed in the protocol) at Protocol.cpp:703

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3342 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: eb04797169e35b283b6fe48e339d567cdb5f7c8e
      https://github.com/boxbackup/boxbackup/commit/eb04797169e35b283b6fe48e339d567cdb5f7c8e
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-18 (Fri, 18 Apr 2014)

  Changed paths:
    M config.guess
    M config.sub

  Log Message:
  -----------
  Update configure scripts to latest version.

Was having problems compiling on MinGW x86_64, with the scripts failing to
properly detect the platform and recommending upgrading them. It may not
have fixed the problem, but doesn't seem like a bad idea.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3343 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 11e7b4c7f41e8e1202645d5c5acc1973e1c71935
      https://github.com/boxbackup/boxbackup/commit/11e7b4c7f41e8e1202645d5c5acc1973e1c71935
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-25 (Fri, 25 Apr 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Don't just eat the exception, rethrow it after logging details.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3344 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bd0b7c8ddaeef18c1bece5447262adf0643cd06d
      https://github.com/boxbackup/boxbackup/commit/bd0b7c8ddaeef18c1bece5447262adf0643cd06d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-26 (Sat, 26 Apr 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp

  Log Message:
  -----------
  Fix crash uploading empty attributes when directory disappears during scan.

Thanks to Brendon Baumgartner for the report on the mailing list, and for
helping to diagnose the problem.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3345 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9844a44bfd51481cc5426334594e16331de693e0
      https://github.com/boxbackup/boxbackup/commit/9844a44bfd51481cc5426334594e16331de693e0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M lib/backupstore/BackupStoreCheck2.cpp

  Log Message:
  -----------
  Add a comment explaining why we can't move detached dirs back into place.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3346 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 897f12cbd9d4c9869add8702e8028563053ca7fc
      https://github.com/boxbackup/boxbackup/commit/897f12cbd9d4c9869add8702e8028563053ca7fc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Fix error when modifying a directory with missing entry in parent.

This is hopefully the cause of the segfaults reported by Brendon Baumgartner.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3347 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 540893b1c5b8507d626c27a3285f1afb4f83e052
      https://github.com/boxbackup/boxbackup/commit/540893b1c5b8507d626c27a3285f1afb4f83e052
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/common/BufferedStream.h
    M lib/common/FileStream.h
    M lib/common/IOStream.cpp
    M lib/common/IOStream.h
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileRead.h

  Log Message:
  -----------
  Add a ToString method to IOStream and some subclasses.

Useful to help debug problems such as invalid file headers when the source
of the stream might not be too obvious.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3348 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 45554c85d5511d95fbcfe2fd609823f503b0cd7d
      https://github.com/boxbackup/boxbackup/commit/45554c85d5511d95fbcfe2fd609823f503b0cd7d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreDirectory.h
    M lib/common/IOStream.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Whitespace fixes.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3349 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 92f6ce98010706d7f771034b750d23ccf6a6217a
      https://github.com/boxbackup/boxbackup/commit/92f6ce98010706d7f771034b750d23ccf6a6217a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M lib/common/IOStreamGetLine.h

  Log Message:
  -----------
  Trailing whitespace fixes.

Conflicts:

	bin/bbackupd/BackupClientDirectoryRecord.cpp

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3350 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 9fe206eb7e85a5016e8f21dd447e30aa58eeae90
      https://github.com/boxbackup/boxbackup/commit/9fe206eb7e85a5016e8f21dd447e30aa58eeae90
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp

  Log Message:
  -----------
  Add message to ClientMarkerNotAsExpected exception.

To help with debugging.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3351 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: fd364c0ee8ed5a1c6a6b524a9e26b516b5bb7673
      https://github.com/boxbackup/boxbackup/commit/fd364c0ee8ed5a1c6a6b524a9e26b516b5bb7673
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/BackupDaemonInterface.h
    M lib/server/Message.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Whitespace, wrapping, comments and dead code cleanups.

Conflicts:

	bin/bbackupd/BackupDaemon.cpp
	bin/bbackupd/BackupDaemon.h
	test/bbackupd/testbbackupd.cpp

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3352 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3c0f8703ee5fd6b1dc94b66a823dd56e3b58abd4
      https://github.com/boxbackup/boxbackup/commit/3c0f8703ee5fd6b1dc94b66a823dd56e3b58abd4
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M lib/server/Daemon.cpp
    M lib/server/Protocol.cpp
    M lib/server/ProtocolUncertainStream.cpp
    M lib/server/SSLLib.cpp
    R lib/server/ServerException.h
    M lib/server/Socket.cpp
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp
    M lib/server/SocketStreamTLS.cpp
    M lib/server/TLSContext.cpp
    M lib/server/WinNamedPipeListener.h
    M lib/server/WinNamedPipeStream.cpp
    M lib/server/makeprotocol.pl.in
    M test/backupstore/testbackupstore.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Remove ServerException.h and the exception code aliases that it defines.

We don't really need these, so clean up by removing them.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3353 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: aa68cb55abae2e4f56a6bb7df3f1fb9e25b2ed5c
      https://github.com/boxbackup/boxbackup/commit/aa68cb55abae2e4f56a6bb7df3f1fb9e25b2ed5c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h

  Log Message:
  -----------
  Rename rFilename argument to BackupClientDirectoryRecord::UploadFile, add remote path.

rFilename renamed to rLocalPath to improve code clarity. rRemotePath added
to allow it to be passed to notifier methods.

Conflicts:

	bin/bbackupd/BackupClientDirectoryRecord.cpp

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3354 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5a98183a8050cf6b75cfa60dc43e59ab4a3e27e3
      https://github.com/boxbackup/boxbackup/commit/5a98183a8050cf6b75cfa60dc43e59ab4a3e27e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h

  Log Message:
  -----------
  Move code for creating/renaming remote dir to match local dir into own method.

Reduces code indentation, scope leakage, and length of a long method.

Conflicts:

	bin/bbackupd/BackupClientDirectoryRecord.h

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3355 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc40558250d42cab736b9d501c33279ebbddd311
      https://github.com/boxbackup/boxbackup/commit/bc40558250d42cab736b9d501c33279ebbddd311
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Replace switch statement of protocol errors with BackupProtocolError::GetMessage().

Conflicts:

	bin/bbackupd/BackupDaemon.h

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3356 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1463519d9fc8a9b7570e016f8c85c100a4813ff0
      https://github.com/boxbackup/boxbackup/commit/1463519d9fc8a9b7570e016f8c85c100a4813ff0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Use std::auto_ptrs instead of bare pointers for exclude lists.

Allows us to remove code to handle cleanups after exceptions and on Location
destruction.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3357 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6486b7ec7808ed120077e7c3a76752754b20a270
      https://github.com/boxbackup/boxbackup/commit/6486b7ec7808ed120077e7c3a76752754b20a270
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add a TEST_PROTOCOL_ERROR_OR assertion.

Similar to TEST_COMMAND_RETURNS_ERROR_OR, but allows any command or sequence
to cause the error, without direct access to the command message.

Refactor so that TEST_COMMAND_RETURNS_ERROR_OR calls TEST_PROTOCOL_ERROR_OR
to make the assertion on the last error seen by the protocol.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3358 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 04e58e2f3b718a1dcc87a084775eb3cd940a64e7
      https://github.com/boxbackup/boxbackup/commit/04e58e2f3b718a1dcc87a084775eb3cd940a64e7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.h

  Log Message:
  -----------
  Compile fix for backwards compatibility code.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3359 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 46d958975853f129729e98a846677424f806c76d
      https://github.com/boxbackup/boxbackup/commit/46d958975853f129729e98a846677424f806c76d
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Fix crash when there's no background task to execute.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3360 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a88f1db9cb974464425d32a6df0f89f8709c9b41
      https://github.com/boxbackup/boxbackup/commit/a88f1db9cb974464425d32a6df0f89f8709c9b41
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M lib/backupstore/BackupStoreFile.cpp
    M lib/backupstore/BackupStoreFile.h
    M lib/backupstore/BackupStoreFileCmbIdx.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.h
    M lib/common/BufferedStream.cpp
    M lib/common/BufferedStream.h
    M lib/common/BufferedWriteStream.cpp
    M lib/common/BufferedWriteStream.h
    M lib/common/CollectInBufferStream.cpp
    M lib/common/CollectInBufferStream.h
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h
    M lib/common/IOStream.h
    M lib/common/MemBlockStream.cpp
    M lib/common/MemBlockStream.h
    M lib/common/PartialReadStream.cpp
    M lib/common/PartialReadStream.h
    M lib/common/RateLimitingStream.h
    M lib/common/ReadGatherStream.cpp
    M lib/common/ReadGatherStream.h
    M lib/common/ReadLoggingStream.cpp
    M lib/common/ReadLoggingStream.h
    M lib/common/SelfFlushingStream.h
    M lib/common/StreamableMemBlock.cpp
    M lib/common/ZeroStream.cpp
    M lib/common/ZeroStream.h
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileRead.h
    M lib/raidfile/RaidFileWrite.cpp
    M lib/raidfile/RaidFileWrite.h
    M lib/server/ProtocolUncertainStream.cpp
    M lib/server/ProtocolUncertainStream.h
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h
    M lib/server/SocketStreamTLS.cpp
    M lib/server/SocketStreamTLS.h

  Log Message:
  -----------
  Fix deadlock waiting for read or write on closed connection.

If the system is suspended then it may not realise that a TCP connection has
been closed, while waiting for data to arrive on it. We didn't used to apply
a timeout to this read operation. Now we use the connection's default timeout
on all read and write operations. Network operations that don't pass a timeout
will be logged with a backtrace, so that they can be fixed.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3361 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 66dad35a4b8697b2e7cfa93c724402199aa3e136
      https://github.com/boxbackup/boxbackup/commit/66dad35a4b8697b2e7cfa93c724402199aa3e136
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupctl/bbackupctl.cpp

  Log Message:
  -----------
  Add timeouts to command socket operations.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3362 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e9a6a450430c6f5a69ff432b9f4fa20d63fc4207
      https://github.com/boxbackup/boxbackup/commit/e9a6a450430c6f5a69ff432b9f4fa20d63fc4207
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M lib/backupstore/BackupStoreFileDiff.cpp

  Log Message:
  -----------
  Improve readability of block checksum match message.

Mute the mismatch message, as there are just too many of them.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3363 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bd32f1734f0bf17a39eb51912f5613d07d8b687b
      https://github.com/boxbackup/boxbackup/commit/bd32f1734f0bf17a39eb51912f5613d07d8b687b
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M lib/common/IOStream.cpp
    M lib/common/IOStream.h
    M lib/compress/CompressStream.cpp
    M lib/compress/CompressStream.h
    M lib/server/Protocol.cpp
    M lib/server/SocketStreamTLS.cpp
    M test/compress/testcompress.cpp

  Log Message:
  -----------
  Add missing timeouts for network operations.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3364 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 70e89c39f323c3ca08f92b4fa7e2c85108b187e3
      https://github.com/boxbackup/boxbackup/commit/70e89c39f323c3ca08f92b4fa7e2c85108b187e3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M lib/server/Protocol.h

  Log Message:
  -----------
  Whitespace fixes.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3365 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7cc687ed4f52f3f9f54dace7f691c183ff91ecbc
      https://github.com/boxbackup/boxbackup/commit/7cc687ed4f52f3f9f54dace7f691c183ff91ecbc
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add timeouts to network operations that are missing them.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3366 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 646b81528996a1f446c26e13dde44f17d91fb8a0
      https://github.com/boxbackup/boxbackup/commit/646b81528996a1f446c26e13dde44f17d91fb8a0
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Improve StoreObjectInfoFile messages.

Avoid reporting an error if the file is missing or empty.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3367 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e4d88b22ee408b5ee4b819f5c3fc772d300fcbff
      https://github.com/boxbackup/boxbackup/commit/e4d88b22ee408b5ee4b819f5c3fc772d300fcbff
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M lib/backupstore/BackupStoreFile.cpp
    M lib/backupstore/BackupStoreFile.h

  Log Message:
  -----------
  Trivial white space fixes.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3368 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3437a1e60d2b0f96a87a0ac6b8a0c71f797a9f53
      https://github.com/boxbackup/boxbackup/commit/3437a1e60d2b0f96a87a0ac6b8a0c71f797a9f53
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M test/basicserver/TestCommands.cpp

  Log Message:
  -----------
  Fix compile error caused by auto consume streams patch.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3369 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5b108ea232fdc24d67256c38ab49b4006d223762
      https://github.com/boxbackup/boxbackup/commit/5b108ea232fdc24d67256c38ab49b4006d223762
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Add missing network operation timeouts to test/basicserver.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3370 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e0caca149c26ede04b3eae175ccf59cf8f1c5af2
      https://github.com/boxbackup/boxbackup/commit/e0caca149c26ede04b3eae175ccf59cf8f1c5af2
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h

  Log Message:
  -----------
  Fix poll timeout calculation for infinite timeouts.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3371 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ef0f6c9a9373b238b9995d6ffe0ca0911a71e364
      https://github.com/boxbackup/boxbackup/commit/ef0f6c9a9373b238b9995d6ffe0ca0911a71e364
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Improve comment

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3372 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d4781d80946dbdfdcaf774dcd3dca24bb26f6ed3
      https://github.com/boxbackup/boxbackup/commit/d4781d80946dbdfdcaf774dcd3dca24bb26f6ed3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/CommandCompletion.cpp
    M bin/bbackupquery/documentation.txt

  Log Message:
  -----------
  Add option to sort results of bbackupquery ls command.

The new default is to sort by name, with directories first.

Put the documentation on the "ls" command, instead of the "list" command,
since that's annoyed me too many times.

The recursive list option is changed from "-r" to "-R", to match the shell
ls command.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3373 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 863190f2fd8cbb296ad90a1b213c5b1142ba94cd
      https://github.com/boxbackup/boxbackup/commit/863190f2fd8cbb296ad90a1b213c5b1142ba94cd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-17 (Sun, 17 Aug 2014)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp
    M test/backupstorefix/testfiles/testbackupstorefix.pl.in
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix tests broken by bbackupquery list recursive option change.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3374 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 29989496b05afa7e860dfe27351f0b291cf8507a
      https://github.com/boxbackup/boxbackup/commit/29989496b05afa7e860dfe27351f0b291cf8507a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-08-24 (Sun, 24 Aug 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M lib/backupstore/BackupConstants.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix timing issue with bbackupd test for recovery after error.

For some reason the timing changed and the test was no longer waiting for the
same length of time as bbackupd, causing it to fail.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3375 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: cd1767509f99e5b73fe643bbf9b1d484643bcb9f
      https://github.com/boxbackup/boxbackup/commit/cd1767509f99e5b73fe643bbf9b1d484643bcb9f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupClientRestore.h
    M lib/backupstore/StoreTestUtils.cpp
    M lib/backupstore/StoreTestUtils.h
    M test/backupstore/testbackupstore.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Define some functions to reduce duplication in testbbackupd.

Merged back changes from the test refactor branch to reduce diffs.

Fix wrong setting of log level in compare() function.

We want to only show errors if we expect mismatches, and show warnings if we
didn't expect mismatches. I had it the other way around before.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3376 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6d3ffb4204b905bc18cda6530074e5a3c60898fb
      https://github.com/boxbackup/boxbackup/commit/6d3ffb4204b905bc18cda6530074e5a3c60898fb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/bbackupd.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupstore/BackupProtocol.h
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/backupstore/BackupStoreFileDiff.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.cpp
    M lib/common/BoxTime.h
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/FileStream.cpp
    M lib/common/IOStream.h
    M lib/common/ReadLoggingStream.h
    M lib/common/Test.cpp
    M lib/common/Test.h
    M lib/common/Timer.cpp
    M lib/intercept/intercept.cpp
    M lib/raidfile/RaidFileUtil.cpp
    M lib/server/ServerTLS.h
    M lib/server/SocketStream.cpp
    M lib/server/SocketStreamTLS.cpp
    M lib/server/makeprotocol.pl.in
    M test/backupstore/testbackupstore.cpp
    M test/basicserver/TestCommands.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Simplify code with macros, update comments and fix whitespace.

Hopefully all of these changes are inconsequential.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3377 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: efdc462df559429ef0efb87327a52c0e9b1e3138
      https://github.com/boxbackup/boxbackup/commit/efdc462df559429ef0efb87327a52c0e9b1e3138
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp
    M infrastructure/buildenv-testmain-template.cpp
    M lib/common/CommonException.txt
    M lib/common/Timer.cpp
    M lib/common/Timer.h

  Log Message:
  -----------
  Backport Timers::Cleanup that's safe to use in test cleanup.

Allows it not to throw an exception if timers weren't initialised when
cleanup was requested. Normally we want an exception thrown, but not while
we're cleaning up a test that might have failed with timers uninitialised.

More timers fixes after cleanup no-exception option.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3378 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5643cfbacfe41cd4eb9bcd382b1c211df24ce2ac
      https://github.com/boxbackup/boxbackup/commit/5643cfbacfe41cd4eb9bcd382b1c211df24ce2ac
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.h
    M test/backupstore/testbackupstore.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Define setup and teardown functions and macros, and use them.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3379 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8c111648b2b0b3d4552502f0303db5b24bc9a09f
      https://github.com/boxbackup/boxbackup/commit/8c111648b2b0b3d4552502f0303db5b24bc9a09f
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDeleteList.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/CommandCompletion.cpp
    M lib/server/makeprotocol.pl.in
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Changed many uses of BackupProtocolClient to BackupProtocolCallable.

Makes way for more use of local protocol objects and protocol subclasses.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3380 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 813a78774f0d2c6391b83d158a5f430577d0c965
      https://github.com/boxbackup/boxbackup/commit/813a78774f0d2c6391b83d158a5f430577d0c965
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  More use of functions to simplify testbbackupd.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3381 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: a8cc2691bbe24664d88e5ec01e7cf6d8b11eaa67
      https://github.com/boxbackup/boxbackup/commit/a8cc2691bbe24664d88e5ec01e7cf6d8b11eaa67
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  Allow access to BackupDaemon's BackupClientContext for tests.

The std::auto_ptr is now returned unclosed. If the caller of RunSyncNow()
does nothing with the return value, then it will be released, closing the
connection. However the caller can save the std::auto_ptr locally and
poke around in it if necessary. This interface is designed for tests only!

Merged back changes from the test refactor branch to reduce diffs.

Fix failure to record client store marker, after BackupClientContext refactor.

This caused the daemon not to abort safely if the CSM changed under our feet,
meaning that our cached data is invalid.

Fix for earlier patch to allow tests to access the BackupClientContext after
backup completes, because a new CSM wasn't generated in time for bbackupd to
record it, because the connection wasn't closed yet.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3382 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3aa07838e238edf054e6e86b9dd090df278cc067
      https://github.com/boxbackup/boxbackup/commit/3aa07838e238edf054e6e86b9dd090df278cc067
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Add support for all logging options in test executables.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3383 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8711ba93e8bf7b00a9fca92d5051129e5bd3e938
      https://github.com/boxbackup/boxbackup/commit/8711ba93e8bf7b00a9fca92d5051129e5bd3e938
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/common/FileStream.cpp

  Log Message:
  -----------
  Refactor FileStream exception throwing.

Avoid duplicate reporting, and include a message in the exceptions thrown.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3384 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bd68fe396c1af548760cce62674c0a0b75c555e5
      https://github.com/boxbackup/boxbackup/commit/bd68fe396c1af548760cce62674c0a0b75c555e5
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/common/Timer.cpp

  Log Message:
  -----------
  Refactor Timer reschedule to avoid second scan over timer list.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3385 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 56b0a2d7a81d40ff03d6b57141502990eaffce5a
      https://github.com/boxbackup/boxbackup/commit/56b0a2d7a81d40ff03d6b57141502990eaffce5a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/BackupDaemonInterface.h
    M lib/backupstore/BackupStoreFileEncodeStream.h

  Log Message:
  -----------
  Add EstimatedBytesToUpload to NotifyFileUploadingPatch.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3386 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7e5763ca28ccab6cfc48a8454928b12d411e651a
      https://github.com/boxbackup/boxbackup/commit/7e5763ca28ccab6cfc48a8454928b12d411e651a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Split test_multiple_uploads in two.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3387 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 1d27c80a7d5f3640ddd4e3d12470225f9459b6d7
      https://github.com/boxbackup/boxbackup/commit/1d27c80a7d5f3640ddd4e3d12470225f9459b6d7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Catch exceptions while executing store commands, and return an error message.

This will allow the client to eventually have more information about what went
wrong on the server, if the server admin agrees, and makes test debugging easier.

Backport some additional testbackupstore tests from the test refactor branch.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3388 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 6dd8b62d4da85378ab9c745488fe622889fccf38
      https://github.com/boxbackup/boxbackup/commit/6dd8b62d4da85378ab9c745488fe622889fccf38
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Allow changing exclude lists when reconfiguring BackupDaemon.

Some tests need to do this. I don't think it happens in normal use,
because the daemon's response to HUP takes a different path, I think.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3389 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 83398907cc035d2ac674fa15f1a11c382bdf04b3
      https://github.com/boxbackup/boxbackup/commit/83398907cc035d2ac674fa15f1a11c382bdf04b3
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/raidfile/RaidFileUtil.cpp

  Log Message:
  -----------
  Handle raidfile versioning better on low time accuracy systems.

We simulate a 1 second accuracy clock in DEBUG mode on all systems, to help
catch corner cases in tests. This now applies to both RAID and non-RAID files.

We always add file size to the version number to help detect changes,
especially in such cases. In RELEASE builds, we use as much accuracy from the
clock as we can get, as well as file size.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3390 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 763027a191c571142a54ebf04b0dd1e92c790bea
      https://github.com/boxbackup/boxbackup/commit/763027a191c571142a54ebf04b0dd1e92c790bea
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/BackupDaemonInterface.h

  Log Message:
  -----------
  Add the new object ID to NotifyFileUploaded messages.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3391 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 129d467f596dc0204f84596746bb92309c7741e6
      https://github.com/boxbackup/boxbackup/commit/129d467f596dc0204f84596746bb92309c7741e6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupquery/CommandCompletion.cpp

  Log Message:
  -----------
  Reinstate the -o and -d options to bbackupquery list.

Accidentally removed by the previous change to enhance sorting of list output.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3392 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 53c7c30c60f42c11f8be681eb69108120a1933a9
      https://github.com/boxbackup/boxbackup/commit/53c7c30c60f42c11f8be681eb69108120a1933a9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp

  Log Message:
  -----------
  Improve directory cache messages in BackupStoreContext.

May help to debug issues with directory cache invalidation in future.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3393 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 3a567c3d66dd81d7146b65474adfdbfdb61b0aa7
      https://github.com/boxbackup/boxbackup/commit/3a567c3d66dd81d7146b65474adfdbfdb61b0aa7
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.cpp

  Log Message:
  -----------
  Fix tests broken by changing working directory.

Store the current working directory at the beginning of the first test, and
restore it at the beginning of every subsequent test.

Improve cleanup after tests: delete and recreate the bbackupd state directory.

Remove check for reference counts and account errors from tearDown, because
they are too hard to retrofit to testbbackupd, and already copied into
testbackupstore tearDown.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3394 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 70c11fb3cb02d54a6002a449255a135297a7ca72
      https://github.com/boxbackup/boxbackup/commit/70c11fb3cb02d54a6002a449255a135297a7ca72
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/common/BufferedStream.cpp

  Log Message:
  -----------
  Fix error in BufferedStream::StreamDataLeft.

StreamDataLeft() incorrectly returned false when there was still data
buffered, which made IOStream::CopyStreamTo stop copying early, resulting
in incomplete files when copying data out of a BufferedStream. This meant
that tests involving a local protocol, where a BufferedStream was copied
directly to a RaidFile, resulted in corrupted files that would not verify.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3395 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b359e7384f0b3771262683bfa528c3439c926012
      https://github.com/boxbackup/boxbackup/commit/b359e7384f0b3771262683bfa528c3439c926012
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/common/IOStreamGetLine.h

  Log Message:
  -----------
  Add a std::string GetLine() to IOStreamGetLine.

This is needed by the refactored bbackupd tests.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3396 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 751ad243dfee0d2e61fcc5e64af29cd60c43bafb
      https://github.com/boxbackup/boxbackup/commit/751ad243dfee0d2e61fcc5e64af29cd60c43bafb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/common/StreamableMemBlock.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add missing timeouts in StreamableMemBlock::Set and testbbackupd.

Reduces warnings about network operations with no timeout. May prevent some
hangs that might have occurred waiting forever for network data in the past.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3397 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d1a2d41d73ef23a7a5a643ad506c00f0430d5486
      https://github.com/boxbackup/boxbackup/commit/d1a2d41d73ef23a7a5a643ad506c00f0430d5486
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupProtocol.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Major refactor of testbbackupd.

Split single monolithic test into many smaller ones, which can be run
separately. Allows easier testing of new features in isolation.

Merged back changes from the test refactor branch to reduce diffs.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3398 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b57f746406c648c26dddb25f2163f2551ad06c1a
      https://github.com/boxbackup/boxbackup/commit/b57f746406c648c26dddb25f2163f2551ad06c1a
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Increase built-in backtrace length from 10 to 20.

Helps track down missing network operation timeouts.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3399 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 53355f225354ab172cc175a662cf9a5c1ed6dceb
      https://github.com/boxbackup/boxbackup/commit/53355f225354ab172cc175a662cf9a5c1ed6dceb
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Improve exception message if a Daemon is used without being configured first


  Commit: 49f5d8247f048e3bae92eec803759582f1eb85fb
      https://github.com/boxbackup/boxbackup/commit/49f5d8247f048e3bae92eec803759582f1eb85fb
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h
    M lib/backupstore/StoreTestUtils.h
    M lib/server/makeprotocol.pl.in
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Whitespace fixes


  Commit: 1ed342fc72b2bb4a8c4ea94e5fbab14ca6df82a8
      https://github.com/boxbackup/boxbackup/commit/1ed342fc72b2bb4a8c4ea94e5fbab14ca6df82a8
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Add check for tracking the same memory block twice


  Commit: 5c3281cf4a13edc49a789cab76c37ee44d5655de
      https://github.com/boxbackup/boxbackup/commit/5c3281cf4a13edc49a789cab76c37ee44d5655de
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Fix formatting of subsecond timestamps in log messages


  Commit: 0947a497bf3f1152b436372d939752eaecca31f4
      https://github.com/boxbackup/boxbackup/commit/0947a497bf3f1152b436372d939752eaecca31f4
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/server/Protocol.cpp

  Log Message:
  -----------
  Update comment to match current method name


  Commit: c26c550564327c81b470c453789585a4b42e54c1
      https://github.com/boxbackup/boxbackup/commit/c26c550564327c81b470c453789585a4b42e54c1
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add check for trying to ReceiveStream when no stream available


  Commit: 98c09818ba54a976b577aa34141214fff921722a
      https://github.com/boxbackup/boxbackup/commit/98c09818ba54a976b577aa34141214fff921722a
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add a function to compare a backup using a local protocol


  Commit: 23a47b3b8216f150e49d722d2a8f5eee9f408fcd
      https://github.com/boxbackup/boxbackup/commit/23a47b3b8216f150e49d722d2a8f5eee9f408fcd
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Move MockClientContext and MockBackupDaemon up in testbbackupd file


  Commit: 0680e1b207168987d1f67cb02c7d8aadb47c509e
      https://github.com/boxbackup/boxbackup/commit/0680e1b207168987d1f67cb02c7d8aadb47c509e
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M lib/server/TcpNice.cpp

  Log Message:
  -----------
  optlen could become bigger than sizeof(info) in future and that's OK


  Commit: 1d1cf3c72e73d24ab159d0ba0e4ea2a211294362
      https://github.com/boxbackup/boxbackup/commit/1d1cf3c72e73d24ab159d0ba0e4ea2a211294362
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add test for disappearing directory causing attempt to upload an empty stream.

This caused the issue reported by Brendon Baumgartner and described in my
email to the Box Backup list on Mon, 21 Apr 2014 at 18:44:38. If the directory
disappears then we used to try to send an empty attributes block to the server,
which is illegal.


  Commit: fa63d9e15948ebbeb55fe3c046f211674ffa5af2
      https://github.com/boxbackup/boxbackup/commit/fa63d9e15948ebbeb55fe3c046f211674ffa5af2
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-08 (Mon, 08 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M lib/backupclient/BackupDaemonConfigVerify.cpp
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/backupstore/backupprotocol.txt
    M lib/common/Configuration.cpp
    M test/backupstore/Makefile.extra
    M test/backupstore/testbackupstore.cpp
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Commit old incomplete start of snapshot support.


  Commit: c101a4b18d7f16a6d7562aa082b2678b03e9b01a
      https://github.com/boxbackup/boxbackup/commit/c101a4b18d7f16a6d7562aa082b2678b03e9b01a
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-09 (Tue, 09 Sep 2014)

  Changed paths:
    A .gitignore
    M BUGS.txt
    M bin/bbackupctl/bbackupctl.cpp
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupClientContext.h
    M bin/bbackupd/BackupClientDeleteList.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M bin/bbackupd/BackupDaemon.cpp
    M bin/bbackupd/BackupDaemon.h
    M bin/bbackupd/BackupDaemonInterface.h
    M bin/bbackupd/bbackupd.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/BackupQueries.h
    M bin/bbackupquery/CommandCompletion.cpp
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbackupquery/documentation.txt
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M bin/bbstored/BackupStoreDaemon.cpp
    M bin/bbstored/BackupStoreDaemon.h
    M config.guess
    M config.sub
    A contrib/suse/bbstored.service
    M docs/api-notes/win32_build_on_cygwin_using_mingw.txt
    A docs/images/box-alpha.png
    A docs/images/box-alpha.xcf
    M infrastructure/buildenv-testmain-template.cpp
    M infrastructure/m4/boxbackup_tests.m4
    M infrastructure/makebuildenv.pl.in
    M lib/backupclient/BackupClientRestore.cpp
    M lib/backupclient/BackupClientRestore.h
    A lib/backupstore/BackgroundTask.h
    M lib/backupstore/BackupClientFileAttributes.cpp
    M lib/backupstore/BackupClientFileAttributes.h
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupConstants.h
    A lib/backupstore/BackupProtocol.h
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreAccounts.h
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreCheckData.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/backupstore/BackupStoreDirectory.h
    M lib/backupstore/BackupStoreException.txt
    M lib/backupstore/BackupStoreFile.cpp
    M lib/backupstore/BackupStoreFile.h
    M lib/backupstore/BackupStoreFileCmbIdx.cpp
    M lib/backupstore/BackupStoreFileDiff.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.h
    M lib/backupstore/BackupStoreInfo.cpp
    M lib/backupstore/BackupStoreInfo.h
    M lib/backupstore/BackupStoreRefCountDatabase.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.h
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/backupstore/HousekeepStoreAccount.h
    A lib/backupstore/StoreTestUtils.cpp
    A lib/backupstore/StoreTestUtils.h
    M lib/backupstore/backupprotocol.txt
    M lib/common/BannerText.h
    M lib/common/Box.h
    M lib/common/BoxConfig-MSVC.h
    M lib/common/BoxTime.h
    M lib/common/BufferedStream.cpp
    M lib/common/BufferedStream.h
    M lib/common/BufferedWriteStream.cpp
    M lib/common/BufferedWriteStream.h
    M lib/common/CollectInBufferStream.cpp
    M lib/common/CollectInBufferStream.h
    M lib/common/CommonException.txt
    M lib/common/DebugMemLeakFinder.cpp
    M lib/common/FileModificationTime.cpp
    M lib/common/FileStream.cpp
    M lib/common/FileStream.h
    M lib/common/Guards.h
    M lib/common/IOStream.cpp
    M lib/common/IOStream.h
    M lib/common/IOStreamGetLine.h
    M lib/common/InvisibleTempFileStream.cpp
    M lib/common/InvisibleTempFileStream.h
    M lib/common/Logging.cpp
    M lib/common/Logging.h
    M lib/common/MainHelper.h
    M lib/common/MemBlockStream.cpp
    M lib/common/MemBlockStream.h
    M lib/common/MemLeakFinder.h
    M lib/common/NamedLock.cpp
    M lib/common/PartialReadStream.cpp
    M lib/common/PartialReadStream.h
    M lib/common/RateLimitingStream.h
    M lib/common/ReadGatherStream.cpp
    M lib/common/ReadGatherStream.h
    M lib/common/ReadLoggingStream.cpp
    M lib/common/ReadLoggingStream.h
    M lib/common/SelfFlushingStream.h
    M lib/common/StreamableMemBlock.cpp
    M lib/common/Test.cpp
    M lib/common/Test.h
    M lib/common/Timer.cpp
    M lib/common/Timer.h
    M lib/common/Utils.cpp
    M lib/common/ZeroStream.cpp
    M lib/common/ZeroStream.h
    M lib/common/makeexception.pl.in
    M lib/compress/CompressStream.cpp
    M lib/compress/CompressStream.h
    M lib/httpserver/HTTPServer.cpp
    M lib/httpserver/HTTPServer.h
    M lib/intercept/intercept.cpp
    M lib/raidfile/RaidFileController.cpp
    M lib/raidfile/RaidFileController.h
    M lib/raidfile/RaidFileRead.cpp
    M lib/raidfile/RaidFileRead.h
    M lib/raidfile/RaidFileUtil.cpp
    M lib/raidfile/RaidFileWrite.cpp
    M lib/raidfile/RaidFileWrite.h
    M lib/server/ConnectionException.txt
    M lib/server/Daemon.cpp
    M lib/server/Daemon.h
    M lib/server/Message.h
    M lib/server/Protocol.cpp
    M lib/server/Protocol.h
    M lib/server/ProtocolUncertainStream.cpp
    M lib/server/ProtocolUncertainStream.h
    M lib/server/SSLLib.cpp
    R lib/server/ServerException.h
    M lib/server/ServerStream.h
    M lib/server/ServerTLS.h
    M lib/server/Socket.cpp
    M lib/server/SocketListen.h
    M lib/server/SocketStream.cpp
    M lib/server/SocketStream.h
    M lib/server/SocketStreamTLS.cpp
    M lib/server/SocketStreamTLS.h
    M lib/server/TLSContext.cpp
    M lib/server/TcpNice.cpp
    M lib/server/TcpNice.h
    M lib/server/WinNamedPipeListener.h
    M lib/server/WinNamedPipeStream.cpp
    M lib/server/makeprotocol.pl.in
    A lib/win32/box_getopt.h
    A lib/win32/bsd_getopt.h
    R lib/win32/getopt.h
    M lib/win32/getopt_long.cpp
    M modules.txt
    M test/backupdiff/testbackupdiff.cpp
    R test/backupstore/Makefile.extra
    M test/backupstore/testbackupstore.cpp
    M test/backupstore/testfiles/query.conf
    M test/backupstorefix/testbackupstorefix.cpp
    M test/backupstorefix/testfiles/testbackupstorefix.pl.in
    M test/backupstorepatch/testbackupstorepatch.cpp
    M test/basicserver/TestCommands.cpp
    M test/basicserver/testbasicserver.cpp
    M test/bbackupd/Makefile.extra
    M test/bbackupd/testbbackupd.cpp
    M test/common/testcommon.cpp
    M test/compress/testcompress.cpp

  Log Message:
  -----------
  Merge branch 'master' into snapshots

Conflicts:
	bin/bbackupd/BackupClientDirectoryRecord.cpp
	bin/bbackupd/BackupDaemon.cpp
	lib/backupstore/BackupCommands.cpp
	lib/backupstore/BackupStoreCheck.cpp
	lib/backupstore/BackupStoreCheck.h
	lib/backupstore/BackupStoreContext.cpp
	lib/backupstore/BackupStoreContext.h
	lib/backupstore/HousekeepStoreAccount.cpp
	lib/backupstore/backupprotocol.txt
	test/backupstore/Makefile.extra
	test/backupstore/testbackupstore.cpp


  Commit: 9308261143fc265a8b9dcfce5bb92e08c17dfa5e
      https://github.com/boxbackup/boxbackup/commit/9308261143fc265a8b9dcfce5bb92e08c17dfa5e
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  more snapshot work


  Commit: a42690759571d7ab4b520b9832abe50ff9ef7e34
      https://github.com/boxbackup/boxbackup/commit/a42690759571d7ab4b520b9832abe50ff9ef7e34
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreContext.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  more snapshot work


  Commit: f9c9f3bf3c09acd25fc079279086a5ba434306ac
      https://github.com/boxbackup/boxbackup/commit/f9c9f3bf3c09acd25fc079279086a5ba434306ac
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/BackupStoreDirectory.h
    M lib/backupstore/BackupStoreFilenameClear.h
    M lib/backupstore/backupprotocol.txt
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  more snapshot work


  Commit: 321364d07df937cdbe66794129f4b4ce5bf79a93
      https://github.com/boxbackup/boxbackup/commit/321364d07df937cdbe66794129f4b4ce5bf79a93
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-14 (Sun, 14 Sep 2014)

  Changed paths:
    M bin/bbstored/BackupStoreDaemon.h
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/backupstore/BackupStoreDirectory.h
    M lib/backupstore/BackupStoreException.txt
    M lib/backupstore/BackupStoreRefCountDatabase.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.h
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/common/Logging.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  First version of snapshot command support with passing tests.


  Commit: 326d03455e18928519c3fff7b75b18d97c5fa9c8
      https://github.com/boxbackup/boxbackup/commit/326d03455e18928519c3fff7b75b18d97c5fa9c8
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-14 (Sun, 14 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/server/makeprotocol.pl.in
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Refactor exception handing for backupstore commands.

Ensure that exceptions can easily be handled with a standard reply without
writing extra code.

Add checks for object mutability (multiple references) in all store commands
that modify objects.


  Commit: 2151ebef8acfce271482338c64979cfa3c31e610
      https://github.com/boxbackup/boxbackup/commit/2151ebef8acfce271482338c64979cfa3c31e610
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/backupstore/BackupStoreDirectory.h

  Log Message:
  -----------
  In debug builds, invalidate cache items instead of deleting them.

This allows us to trigger an assertion at the moment that an invalid item
is used, instead of memory corruption, segfaults and other weird behavior
such as directories mysteriously changing identity because they're invalid.

This allows debug builds to strictly and accurately enforce correct (valid)
use of cached directory objects in BackupStoreContext.


  Commit: 60bf89f398725d3ba2fd5623f1e6f500b212cfc5
      https://github.com/boxbackup/boxbackup/commit/60bf89f398725d3ba2fd5623f1e6f500b212cfc5
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp

  Log Message:
  -----------
  Add an AssertMutable check on BackupStoreContext::SaveDirectory.

This will catch some cases attempting to do something illegal to an immutable
directory. However immutable files are still not protected.


  Commit: de0c07e4ba83feeb5c776efc07df2f5678cf63c3
      https://github.com/boxbackup/boxbackup/commit/de0c07e4ba83feeb5c776efc07df2f5678cf63c3
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/backupstore/BackupStoreDirectory.h

  Log Message:
  -----------
  Whitespace fixes.


  Commit: b66783bc1d8ce6d4b8e1b2ce10d32e6c4760d9df
      https://github.com/boxbackup/boxbackup/commit/b66783bc1d8ce6d4b8e1b2ce10d32e6c4760d9df
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  backupstore test fixes.


  Commit: fc29f2ca56667089a2f259499b9e4dc14977b16e
      https://github.com/boxbackup/boxbackup/commit/fc29f2ca56667089a2f259499b9e4dc14977b16e
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupClientContext.cpp
    M bin/bbackupd/BackupDaemon.cpp
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/HousekeepStoreAccount.cpp
    M test/backupstorefix/testbackupstorefix.cpp
    M test/basicserver/TestCommands.cpp

  Log Message:
  -----------
  Compile fixes, testbackupstorefix fixes


  Commit: 54dc5356dacb2f5db669b8f47aa7e87ac528b922
      https://github.com/boxbackup/boxbackup/commit/54dc5356dacb2f5db669b8f47aa7e87ac528b922
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupClientDirectoryRecord.h
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Improve exception message if a Daemon is used without being configured first

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3400 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 97b936682383b699e810f03132b864393ef92533
      https://github.com/boxbackup/boxbackup/commit/97b936682383b699e810f03132b864393ef92533
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M bin/bbackupd/BackupDaemon.h
    M lib/backupstore/StoreTestUtils.h
    M lib/server/makeprotocol.pl.in
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Whitespace fixes

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3401 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 5f623360002f2d8dcce46a8f831c51ea035dc6c9
      https://github.com/boxbackup/boxbackup/commit/5f623360002f2d8dcce46a8f831c51ea035dc6c9
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M lib/common/DebugMemLeakFinder.cpp

  Log Message:
  -----------
  Add check for tracking the same memory block twice

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3402 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: c7278fb3cbee96fdf42f05b82709c9a76a52d410
      https://github.com/boxbackup/boxbackup/commit/c7278fb3cbee96fdf42f05b82709c9a76a52d410
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M lib/common/Logging.h

  Log Message:
  -----------
  Fix formatting of subsecond timestamps in log messages

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3403 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bcaa5ee53ea4cc6633133cd87ae5681aa4e82101
      https://github.com/boxbackup/boxbackup/commit/bcaa5ee53ea4cc6633133cd87ae5681aa4e82101
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M lib/server/Protocol.cpp

  Log Message:
  -----------
  Update comment to match current method name

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3404 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: d966c9102c9c14213389a08a755adaf7fa531eb6
      https://github.com/boxbackup/boxbackup/commit/d966c9102c9c14213389a08a755adaf7fa531eb6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M lib/server/makeprotocol.pl.in

  Log Message:
  -----------
  Add check for trying to ReceiveStream when no stream available

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3405 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: b31df1324db9e2724a00a82935e637ed896797bd
      https://github.com/boxbackup/boxbackup/commit/b31df1324db9e2724a00a82935e637ed896797bd
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add a function to compare a backup using a local protocol

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3406 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: bc01bed2c98240ff4a03c43d2cf91935a4357470
      https://github.com/boxbackup/boxbackup/commit/bc01bed2c98240ff4a03c43d2cf91935a4357470
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Move MockClientContext and MockBackupDaemon up in testbbackupd file

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3407 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: caeb65e26a4e62cf8d8828c2f31c90f590b51f3c
      https://github.com/boxbackup/boxbackup/commit/caeb65e26a4e62cf8d8828c2f31c90f590b51f3c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M lib/server/TcpNice.cpp

  Log Message:
  -----------
  optlen could become bigger than sizeof(info) in future and that's OK

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3408 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 8ddf1b3b13b656d906aa10474afffea49a4fcb5c
      https://github.com/boxbackup/boxbackup/commit/8ddf1b3b13b656d906aa10474afffea49a4fcb5c
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add test for disappearing directory causing attempt to upload an empty stream.

This caused the issue reported by Brendon Baumgartner and described in my
email to the Box Backup list on Mon, 21 Apr 2014 at 18:44:38. If the directory
disappears then we used to try to send an empty attributes block to the server,
which is illegal.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3409 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: f4fad8a97f67036205434608672836a1da2b03cb
      https://github.com/boxbackup/boxbackup/commit/f4fad8a97f67036205434608672836a1da2b03cb
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Whitespace fixes

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3410 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: 7c1284a75aa4fa08c04ba6d8399b2a0880c71baf
      https://github.com/boxbackup/boxbackup/commit/7c1284a75aa4fa08c04ba6d8399b2a0880c71baf
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M lib/common/Utils.cpp
    M lib/common/Utils.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix inability to access locations starting with a slash.

Thanks to Jean-Yves Moulin for reporting this issue. When bbackupd is configured
to create locations whose names contain a slash, it was impossible to escape it,
and thus to enter the directory in bbackupquery to inspect or restore it.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3411 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: ecbc3f8abb7181eb2ba0fb41035dea4545de21e6
      https://github.com/boxbackup/boxbackup/commit/ecbc3f8abb7181eb2ba0fb41035dea4545de21e6
  Author: chris <chris at 9c52e268-1103-0410-960d-c6a436f6b474>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Minor test fixes to testbbackupd.

Fix a couple of compiler warnings, and don't continue the test if we failed
to load the configuration file.

git-svn-id: https://www.boxbackup.org/svn/box/trunk@3412 9c52e268-1103-0410-960d-c6a436f6b474


  Commit: e9a55760dd9589ac79ca0541cc924a59a8cd2d1e
      https://github.com/boxbackup/boxbackup/commit/e9a55760dd9589ac79ca0541cc924a59a8cd2d1e
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    M lib/common/Utils.cpp
    M lib/common/Utils.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Merge branch 'master' into snapshots

Conflicts:
	test/backupstore/testbackupstore.cpp
	test/bbackupd/testbbackupd.cpp


  Commit: 51ce175c09ab4d3f9c35c0346dfaa7a6aa908e38
      https://github.com/boxbackup/boxbackup/commit/51ce175c09ab4d3f9c35c0346dfaa7a6aa908e38
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.cpp
    M lib/backupstore/StoreTestUtils.h
    M test/backupstorefix/testbackupstorefix.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Refactor StartClient and StopClient out of testbbackupd.

Use them in testbackupstorefix to reduce code duplication.


  Commit: aa49494e9e1519299febf2202c8d0373ca8538d3
      https://github.com/boxbackup/boxbackup/commit/aa49494e9e1519299febf2202c8d0373ca8538d3
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Whitespace fixes


  Commit: 3127191cf675c466d47f6a123ba25f05cb411b95
      https://github.com/boxbackup/boxbackup/commit/3127191cf675c466d47f6a123ba25f05cb411b95
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add a test that temporary and permanent refcount dbs are independent


  Commit: 9034937f85de87c680aebfb0fb8561161a9fa8a8
      https://github.com/boxbackup/boxbackup/commit/9034937f85de87c680aebfb0fb8561161a9fa8a8
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add notes to testbackupstorefix, delay daemon startup for clarity


  Commit: baa73aa7cc035adf35aeb8341ff7866b1c071985
      https://github.com/boxbackup/boxbackup/commit/baa73aa7cc035adf35aeb8341ff7866b1c071985
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp
    M test/backupstorefix/testfiles/testbackupstorefix.pl.in

  Log Message:
  -----------
  Fix testbackupstorefix for multiple references


  Commit: 2fbc5242385234f1378323c0eb3694ff2ee1e9aa
      https://github.com/boxbackup/boxbackup/commit/2fbc5242385234f1378323c0eb3694ff2ee1e9aa
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.cpp
    M lib/backupstore/StoreTestUtils.h
    M test/backupstorefix/testbackupstorefix.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Refactor StartClient and StopClient out of testbbackupd.

Use them in testbackupstorefix to reduce code duplication.


  Commit: 0288c2b3b7fe1e02f21a9412ada96a9334ca6626
      https://github.com/boxbackup/boxbackup/commit/0288c2b3b7fe1e02f21a9412ada96a9334ca6626
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  testbbackupd compile fix after bad merge.


  Commit: ae71fc59b86afb238b8327ee922055b48f11218f
      https://github.com/boxbackup/boxbackup/commit/ae71fc59b86afb238b8327ee922055b48f11218f
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/backupstore/BackupStoreDirectory.h
    M lib/backupstore/BackupStoreFilenameClear.h
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/backupstore/backupprotocol.txt
    M test/backupstore/testbackupstore.cpp
    M test/backupstorefix/testbackupstorefix.cpp
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Whitespace, comment and readability fixes


  Commit: 460ef994d0a585cf610436f4c44e4a513e2f2bf5
      https://github.com/boxbackup/boxbackup/commit/460ef994d0a585cf610436f4c44e4a513e2f2bf5
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add a test that temporary and permanent refcount dbs are independent

Conflicts:

	test/backupstore/testbackupstore.cpp


  Commit: a9f91d207aff7ca8c239a3894e5cba929a1e5947
      https://github.com/boxbackup/boxbackup/commit/a9f91d207aff7ca8c239a3894e5cba929a1e5947
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Delay daemon startup while it's not being used, for clarity.


  Commit: f8ba84204b05753a3495eb30b2a71bd0ac30cb38
      https://github.com/boxbackup/boxbackup/commit/f8ba84204b05753a3495eb30b2a71bd0ac30cb38
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-21 (Sun, 21 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupProtocol.h
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreContext.cpp
    M lib/server/makeprotocol.pl.in
    M test/backupstore/testbackupstore.cpp
    M test/basicserver/TestCommands.cpp
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Remove the need to handle exceptions in each command.

Check for exceptions in DoCommand and try to handle them with HandleException.
Reduces repeated code and risk of forgetting to handle an exception somewhere.
Add a test case to test_snapshot_commands. Formatting fixes.


  Commit: 93bde5b0cacabd115e375f5f5aa293a5c7ea3d0f
      https://github.com/boxbackup/boxbackup/commit/93bde5b0cacabd115e375f5f5aa293a5c7ea3d0f
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-21 (Sun, 21 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  More comments on tests TODO for snapshot commands


  Commit: 72d704073a2c4f114f0ae5887e383b57f524ec81
      https://github.com/boxbackup/boxbackup/commit/72d704073a2c4f114f0ae5887e383b57f524ec81
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-21 (Sun, 21 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Merge branch 'master' into snapshots

Conflicts:
	lib/backupstore/BackupCommands.cpp
	lib/backupstore/BackupStoreDirectory.cpp
	lib/backupstore/HousekeepStoreAccount.cpp
	test/backupstore/testbackupstore.cpp


  Commit: 3e7813d67be650a92886dc261f13f02eb94bb476
      https://github.com/boxbackup/boxbackup/commit/3e7813d67be650a92886dc261f13f02eb94bb476
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-21 (Sun, 21 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupStoreCheck.cpp

  Log Message:
  -----------
  Swap size and containment checks back, to reduce diffs.


  Commit: 8f4a2965b0e68dee7cc570267e4e0b3399db575e
      https://github.com/boxbackup/boxbackup/commit/8f4a2965b0e68dee7cc570267e4e0b3399db575e
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-21 (Sun, 21 Sep 2014)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Whitespace


  Commit: 046a5e36e3181f310e05d49a011363d6ce9603e4
      https://github.com/boxbackup/boxbackup/commit/046a5e36e3181f310e05d49a011363d6ce9603e4
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-21 (Sun, 21 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/backupstore/BackupStoreDirectory.h

  Log Message:
  -----------
  Remove some #ifdefs around invalidation to improve readability.

Not needed because ASSERT is compiled out of release builds anyway.


  Commit: 9bd7645b3122890c56121a79bcb01df886ce0c9a
      https://github.com/boxbackup/boxbackup/commit/9bd7645b3122890c56121a79bcb01df886ce0c9a
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-21 (Sun, 21 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp

  Log Message:
  -----------
  Just use standard exception handling by protocol for AddFile command.

No need to handle exceptions differently here, now that we have HandleException.


  Commit: 70dbfd91d353ce49fa79d299fc765e9ef6636414
      https://github.com/boxbackup/boxbackup/commit/70dbfd91d353ce49fa79d299fc765e9ef6636414
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-21 (Sun, 21 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupStoreContext.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Hopefully fix a couple of uses of invalidated directories.


  Commit: 3c6257a39c3d46265958123038bbfd41c451cf46
      https://github.com/boxbackup/boxbackup/commit/3c6257a39c3d46265958123038bbfd41c451cf46
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-21 (Sun, 21 Sep 2014)

  Changed paths:
    M lib/backupstore/StoreTestUtils.cpp
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Backport refcount fixes from master.


  Commit: c52dc6eb3b26ff72de0dfa9849ed8ddc4de93f4b
      https://github.com/boxbackup/boxbackup/commit/c52dc6eb3b26ff72de0dfa9849ed8ddc4de93f4b
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-09-24 (Wed, 24 Sep 2014)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreException.txt
    M lib/backupstore/backupprotocol.txt
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Add check for error of adding another ref with same ID in same directory.


  Commit: 1de07eff54971680c587d1f0bc5032b2cf604194
      https://github.com/boxbackup/boxbackup/commit/1de07eff54971680c587d1f0bc5032b2cf604194
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    A UPGRADING.txt
    M bin/bbackupd/BackupClientDirectoryRecord.cpp
    M bin/bbackupquery/BackupQueries.cpp
    M bin/bbackupquery/CommandCompletion.cpp
    M bin/bbackupquery/documentation.txt
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreCheck2.cpp
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/BackupStoreDirectory.h
    M lib/backupstore/StoreTestUtils.cpp
    M lib/backupstore/backupprotocol.txt
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  more snapshots wip


  Commit: 609f9e5b59099762feb9041b65541329377b998a
      https://github.com/boxbackup/boxbackup/commit/609f9e5b59099762feb9041b65541329377b998a
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-11-23 (Sun, 23 Nov 2014)

  Changed paths:
    M lib/backupstore/BackupStoreDirectory.h
    M lib/backupstore/BackupStoreRefCountDatabase.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.h
    M test/backupstorefix/testbackupstorefix.cpp

  Log Message:
  -----------
  Expand the refcount DB to store more metadata about each object.


  Commit: 64ecb22615aa388e2979dfa771bdf0383f8f11ee
      https://github.com/boxbackup/boxbackup/commit/64ecb22615aa388e2979dfa771bdf0383f8f11ee
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2014-12-03 (Wed, 03 Dec 2014)

  Changed paths:
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreCheck.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreDirectory.cpp
    M lib/backupstore/BackupStoreDirectory.h
    M lib/backupstore/BackupStoreRefCountDatabase.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.h
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/backupstore/HousekeepStoreAccount.h
    M lib/backupstore/StoreTestUtils.cpp
    M lib/backupstore/StoreTestUtils.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Expand BackupStoreRefCountDatabase into StoreObjectMetaBase.

Start storing additional data in this database, to replace the multiple
copies scattered across directory entries.


Compare: https://github.com/boxbackup/boxbackup/compare/7e2f63495d72^...64ecb22615aa


More information about the Boxbackup-commit mailing list