summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* Correct sysconfdir and localstatedir as they weren't doing what they were ↵James O'Gorman2008-03-25
| | | | supposed to.
* * Update man sectionsJames O'Gorman2008-03-19
| | | | | | * Correct typos
* Run daemons quietly (with -K) in tests under Windows.Chris Wilson2008-03-13
|
* 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.
* Use logging framework rather than printf to log when messages are sent Chris Wilson2008-03-13
| | | | | to the control client.
* Remove \r from test output so that PASSED tests are correctly detected Chris Wilson2008-03-13
| | | | | as PASSED on Windows.
* Fix missing space before bbstored_args in test to make them work Chris Wilson2008-03-13
| | | | | properly.
* 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.
* Disable WSACleanup() in bbackupquery as I get an abnormal program Chris Wilson2008-03-01
| | | | | termination on it during testbbackupd.
* 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.
* Fix some mistakes in the cross-compile document, suggest a better way to Chris Wilson2008-03-01
| | | | | configure Box on Linux for MinGW.
* Fix multiple connections to server (not supported on Windows) in test Chris Wilson2008-03-01
| | | | | | | that redundant locations are deleted on time. Commonise some more login code to simplify tests.
* Workaround for (buggy?) gcc not finding inherited Main method on Chris Wilson2008-03-01
| | | | | Windows.
* Flush standard output when finishing test, useful on Windows where it Chris Wilson2008-03-01
| | | | | | happens rarely and test output can end up below the PASSED line and confuse the runtest script.
* Disable another symlink test on Win32.Chris Wilson2008-03-01
|
* Delete bbstored PID file after killing the daemon on Windows, as the Chris Wilson2008-03-01
| | | | | daemon can't clean up after itself.
* Woops, forgot to substitute sbindir_expanded.James O'Gorman2008-02-28
|
* * Move all commands from bin to sbin on Unix platformsJames O'Gorman2008-02-27
| | | | | | * Update all associated docs and contributed distribution files
* 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
|
* Correct typo in the NotifySysadmin.sh generationJames O'Gorman2008-02-12
|
* Improve error messages when loading SSL key files fails.Chris Wilson2008-02-07
|
* Compile fix to [2086].Chris Wilson2008-02-01
|
* Add help text on test failures, thanks to Stuart Hickinbottom.Chris Wilson2008-02-01
|
* 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 a sleep after every access to the read-only connection, to ensure thatChris Wilson2008-01-31
| | | | | | subsequent changes in the other connection get a new whole-second timestamp and hopefully fix test failures reported by Alex Harper on MacOS X.
* Add support for verbosity control in tests.Chris Wilson2008-01-31
|
* 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
|
* Add object cache debugging traces to bbstored.Chris Wilson2008-01-31
|
* Fix for sysconfdir and localstatedir options to configureJames O'Gorman2008-01-29
|
* Set the default localstatedir to /var/run, which is probably more commonChris Wilson2008-01-29
| | | | | than /usr/local/var.
* Update version on MSVC config.Chris Wilson2008-01-29
|
* Update contributed scripts to use autoconf substitution for theChris Wilson2008-01-29
| | | | | paths to binaries, configuration files and local state files.
* Change the location of contrib files out of distribution/boxbackup.Chris Wilson2008-01-29
|
* Make the parcel install scripts use $DESTDIR from the environment, toChris Wilson2008-01-29
| | | | | help porters and packagers.
* Use @sysconfdir_expanded@ as default location for configuration files,Chris Wilson2008-01-28
| | | | | | | | | | | | | | | | | | | 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.
* 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).
* Use the path to PERL from configure, reverts part of [1702].Chris Wilson2008-01-28
|
* Fix raidfile tests on FreeBSD 7Chris Wilson2008-01-23
|
* Fix warnings on HPPA due to assigning static strings to non-constChris Wilson2008-01-23
| | | | | char *. Thanks to Reinhard Tartler and the Debian project buildds.
* Compile fix for [2055].Chris Wilson2008-01-23
|
* Ignore terminal type error messages from bbackupquery, may happenChris Wilson2008-01-23
| | | | | in Debian buildds.