summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Remove obsolete BackupStoreCheck::InsertObjectIntoDirectory class,Chris Wilson2008-05-06
| | | | | replaced with BackupStoreDirectoryFixer.
* Fix O(n^2) algorithm to insert lost objects into a directory, which wouldChris Wilson2008-05-06
| | | | | | become very slow with large directories (e.g. 100,000 files unattached) due to repeated reading and writing of the directory.
* Add restore -f option to force restore to continue after an error.Chris Wilson2008-05-05
|
* Fix typos in comments.Chris Wilson2008-05-04
|
* Fix typo.Chris Wilson2008-04-30
|
* Additional #includes, thanks to the T2 ProjectChris Wilson2008-04-18
| | | | | (http://www.t2-project.org/packages/boxbackup.html)
* Add an error message giving the file name when an expected raidfileChris Wilson2008-04-09
| | | | | does not exist, to help server operators to figure out what's wrong.
* Reformat long line in CipherContext.cpp and fix a typo in comment.Chris Wilson2008-04-09
|
* Reformat long lines in BackupClientRestore.cpp for readability.Chris Wilson2008-04-09
|
* Move test helper functions out-of-line to aid debugging by allowingChris Wilson2008-04-09
| | | | | breakpoints to be set on them.
* Fix memory leak in [2133] (merges [1944])Chris Wilson2008-04-05
|
* Convert UTF-8 to Unicode for logging in Windows Event Log, so thatChris Wilson2008-04-05
| | | | | | international paths and filenames are displayed correctly. (merges [1942])
* Close process token in EnableBackupRights(), thanks Charles!Chris Wilson2008-04-05
| | | | | | | | | | | 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].
* Command-line option fix from [1975]Chris Wilson2008-04-05
|
* Comment wrapping fix from [1958]Chris Wilson2008-04-05
|
* Undo mangling by tailorChris Wilson2008-04-04
|
* TailorizationChris Wilson2008-04-04
| | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00
* Make usage output (from bbstoreaccounts info and bbackupquery usage)Chris Wilson2008-04-03
| | | | | | consistent and easier to read, with blocks, B/kB/MB/GB, % and an ASCII bar graph.
* Fix a bug where trying to log a variable called "line" would log the addressChris Wilson2008-03-30
| | | | | of the std::ostringstream instead (duh, I hate macros).
* Replace all remaining use of TRACEx() macros with logging framework.Chris Wilson2008-03-29
| | | | | Remove the old TRACEx macros to catch any remaining uses.
* No need to save errno any more.Chris Wilson2008-03-29
|
* Close after logging socket error, so that we don't lose errno.Chris Wilson2008-03-29
|
* Allow configuration of the server port that the client will connect to Chris Wilson2008-03-28
| | | | | | | | | | | | | (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.
* Improve logging with macros that consistently output strerror(errno) andChris Wilson2008-03-28
| | | | | | | | | | | | | | | 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.
* Reduce log level of message from server child from WARNING to NOTICE, asChris Wilson2008-03-28
| | | | | it's just the IP and port of the remote side of the connection.
* Add the -K option to Daemons on Windows to keep them quiet even though Chris Wilson2008-03-13
| | | | | | | | 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.
* Fix compile error.Chris Wilson2008-03-13
|
* Ignore ERR_NO_DATA while writing to control socket on Windows, as it Chris Wilson2008-03-13
| | | | | just means that the Pope is being closed.
* Only log daemon banner to syslog, not to console, as this is probably Chris Wilson2008-03-01
| | | | | | what users expect (and they have no way to control verbosity on the console this early).
* Add support for logging just to syslog (not console) at a given Chris Wilson2008-03-01
| | | | | priority.
* Workaround for (buggy?) gcc not finding inherited Main method on Chris Wilson2008-03-01
| | | | | Windows.
* Don't try to define our own dirfd() macro on platforms where interceptionChris Wilson2008-02-25
| | | | | is impossible (such as win32) because it's not needed and fails on win32.
* Disable -P option and showing PID in Logging on Windows.Chris Wilson2008-02-22
|
* Improve error messages when loading SSL key files fails.Chris Wilson2008-02-07
|
* Always add file size to timestamp in release mode, to help caching workChris Wilson2008-01-31
| | | | | | | | | | 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.
* Use logging framework for streaming messages.Chris Wilson2008-01-31
| | | | | | | | | Fix double logging of protocol commands on the server side. Log protocol errors at WARNING level. Fix typos in comments and variable names.
* Add support for microsecond timestamps and PID logging on console logChris Wilson2008-01-31
| | | | | for daemons.
* Add support for nanosecond timestamps in struct stat on Linux.Chris Wilson2008-01-31
|
* Update version on MSVC config.Chris Wilson2008-01-29
|
* Use @sysconfdir_expanded@ for default config file location.Chris Wilson2008-01-28
| | | | | | | Add some missing semicolons (optional but nicer). Reformat usage message for readability.
* Change the default sysconfdir to /etc.Chris Wilson2008-01-28
| | | | | | | | | | | | | 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).
* Fix raidfile tests on FreeBSD 7Chris Wilson2008-01-23
|
* Detect whether struct DIR has d_fd or dd_fd member and define theChris Wilson2008-01-22
| | | | | dirfd() macro accordingly.
* memleakfinder_atexit() should be extern "C" to silence warnings.Chris Wilson2008-01-22
|
* Silence const char warnings, part deux.Chris Wilson2008-01-22
|
* Use const char pointers to silence sun CC warnings.Chris Wilson2008-01-22
|
* Fix DIRFD properlyChris Wilson2008-01-21
|
* Fix the test for HAVE_DECL_DIRFD, which is 0 on solaris, not undefined.Chris Wilson2008-01-20
| | | | | (I love the consistency of autotools).
* Update copyright to 2008.Chris Wilson2008-01-12
|
* Print the path of the current/default configuration file in usage.Chris Wilson2008-01-05
|