summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* * lib/win32/WinNamedPipeStream.hChris Wilson2006-08-09
| | | | | | | | | * 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.
* * mergeChris Wilson2006-07-27
| | | | | | | - 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).
* Apply patch from Stuart Hickinbottom <stuarth@hickinbottom.demon.co.uk> to ↵Ben Summers2006-06-19
| | | | 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.
* This is part 2 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | This just renames all of the files that configure now substitutes - no changes to any of the files.
* This is part 1 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | 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.
* Disable memory testing on Darwin -- order of destructors of static variables ↵Ben Summers2006-02-21
| | | | is nasty so debug processes segfault on termination
* On XFS the file permissions appear to apply also to the extended attribute ↵Martin Ebourne2006-02-17
| | | | | | | 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.
* Zero any unused fields in struct stat, to avoid spurious checksum mismatches ↵Ben Summers2006-02-14
| | | | that waste bandwidth and slow down backups (committing on behalf of chris)
* Update copyright notice, add SVN revision to distributed filesBen Summers2006-02-13
|
* Bandwidth usage logging patch from Pascal Lalonde <plalonde@overnet.qc.ca>, ↵Ben Summers2006-02-13
| | | | with minor change to exception handling
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Change "PPC workaround" to use union instead of memcpy(). All tests now pass.Jonathan Morton2006-02-12
|
* This ppc problem is clearly a common big-endian platform issue.Martin Ebourne2006-02-12
| | | | | | 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).
* Added workaround option for GCC on the PPC platform. This is a manually ↵Martin Ebourne2006-02-11
| | | | | | 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.
* Beef up configure checks for 64 bit endian swapping function.Martin Ebourne2006-02-03
| | | | NOTE: Needs testing on other platforms, especially BSD.
* Get rid of the non-test compiler warnings seen on Darwin with gcc4Ben Summers2006-02-01
|
* Merge chris/bb-save-state, resolving conflictsBen Summers2006-01-30
|
* * infrastructure/makeparcels.plChris Wilson2006-01-28
| | | | | | | | | | | | | | | | | | | | | | | - 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
* * configure.acChris Wilson2006-01-28
| | | | | | | | | | | | | | | | | | | * 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
* Quick hack to stop attempting to intercept clib functions on Darwin, pending ↵Ben Summers2006-01-08
| | | | autoconf test
* Fix raidfile intercept tests on 32 bit Linux with large file support.Martin Ebourne2006-01-07
| | | | Now intercept tests are never disabled.
* Fixes for xattr on LinuxMartin Ebourne2006-01-06
| | | | | | | | | | | | | | | | - 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.
* Change handling of static buffer in filename encoding and decoding to avoid ↵Ben Summers2006-01-06
| | | | double free on exit under Darwin -- maybe a runtime issue?
* Simple test for xattr support in test/bbackupd, fix xattr support for ↵Ben Summers2006-01-06
| | | | Darwin, move xattr adjustments to BoxPlatform.h to use globally
* Fix for Darwin: xattr support, remove nasty assembler intercept code, ↵Ben Summers2006-01-05
| | | | cosmetic in configure
* Don't use betoh64/be64tonh to avoid name hassleMartin Ebourne2005-12-28
|
* Attempt to fix box_ntoh64 for FreeBSD which renames betoh64 to be64tohMartin Ebourne2005-12-25
|
* Rename config.h to BoxConfig.h to help prevent clashesMartin Ebourne2005-12-21
|
* Allow use of native 64 bit endian swapping functionsMartin Ebourne2005-12-21
|
* Rationalise type usage for time values. Now:Martin Ebourne2005-12-20
| | | | | | Box time is always box_time_t seconds is time_t microseconds is uint64_t
* Better to leak block quietly from backtrace_symbols on debug build than ↵Martin Ebourne2005-12-20
| | | | erroneously report a leak when there isn't one
* Fix CodingChunkAlloc/Free for use on 32 and 64 bit platformsMartin Ebourne2005-12-20
|
* Fix assert on 64 bitMartin Ebourne2005-12-14
|
* Merged 210:218 from chris/win32/merge/07-win32-fixes to trunkMartin Ebourne2005-12-12
|
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Merged martin/autoconf at r35 to trunkMartin Ebourne2005-12-07
|
* Merged chromi/diffopt at r116 to trunkMartin Ebourne2005-12-07
|
* Build under DarwinBen Summers2005-12-01
|
* Merged martin/xattr at r5 to trunkMartin Ebourne2005-11-30
|
* Merged martin/ppcfixes at r3 to trunkMartin Ebourne2005-11-30
|
* Merged martin/solaris at r9 to trunkMartin Ebourne2005-11-30
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14