summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Undo mangling by tailorChris Wilson2008-04-04
|
* [hg-svn @ 30cb6d2b5a2f18881f50ce8df5f7bd9e429f9fbb]Chris Wilson2008-04-04
| | | | | | | Add command-line help (usage info) to bbstoreaccounts, merges [2089]. Original author: chris@rocio.int.aidworld.org Date: 2008-03-16 19:51:27+00:00
* [hg-svn @ 9203d99fcfd5a6c90994bda6397aa55d9ac64458]Chris Wilson2008-04-04
| | | | | | | Use streams to format block counts and sizes in bbstoreaccounts, merges [2088]. Original author: chris@rocio.int.aidworld.org Date: 2008-03-16 19:50:06+00:00
* 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
* Add missing space in trace output.Chris Wilson2008-04-04
|
* Remove uses of obsolete TRACE macros in tests.Chris Wilson2008-04-04
|
* 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.
* 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
|