Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Keep a copy of the program name, in case the original goes away, which | Chris Wilson | 2007-04-28 |
| | | | | | causes syslog() to write nonsense for the program name. (refs #3) | ||
* | Fix inability to handle streams over 2GB properly. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Add a stream which provides a source of zero bytes of arbitrary size, | Chris Wilson | 2007-04-28 |
| | | | | | useful for testing support for files over 2GB. (refs #3) | ||
* | Merge [1566] from chris/general: | Chris Wilson | 2007-04-22 |
| | | | | | | | | | 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) | ||
* | Compile fix for Win32, where no localtime_r is available and localtime | Chris Wilson | 2007-04-22 |
| | | | | | is thread safe. (refs #3) | ||
* | Display file and line where memory leak test failed. (refs #3) | Chris Wilson | 2007-04-22 |
| | |||
* | Add options to log timestamps, and a custom tag, with each message to | Chris Wilson | 2007-04-22 |
| | | | | | | | | | the console, e.g.: 14:53:17 [bbackupd] Finished scan of local files (refs #3) | ||
* | Use logging framework to log stack traces from exceptions. (refs #3) | Chris Wilson | 2007-04-22 |
| | |||
* | Use logging framework to log exceptions. (refs #3) | Chris Wilson | 2007-04-22 |
| | |||
* | Declare global std::string variables that hold extra arguments for | Chris Wilson | 2007-04-22 |
| | | | | | | | | | | | | | 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) | ||
* | Fix unix path to bbstored (refs #3) | Chris Wilson | 2007-03-25 |
| | |||
* | Compile fix to [1448] (refs #3) | Chris Wilson | 2007-03-24 |
| | |||
* | Fix header include order. (refs #3, merges [1446]) | Chris Wilson | 2007-03-24 |
| | |||
* | Use logging framework to remove timer noise for those who don't want it. | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1445]) | ||
* | Trivial code simplification. (refs #3, merges [1444]) | Chris Wilson | 2007-03-24 |
| | |||
* | Fix compilation error reported by Torsten Boob (refs #3) | Chris Wilson | 2007-03-24 |
| | |||
* | Move lib/common/ServerControl.h to lib/server where it belongs, since | Chris Wilson | 2007-03-22 |
| | | | | | it uses server functions (WinNamedPipeStream on win32) (refs #3) | ||
* | Flush stdout when writing to it (refs #3) | Chris Wilson | 2007-03-22 |
| | |||
* | Remove #ifdefs, no longer required (refs #3, merges [1418]) | Chris Wilson | 2007-03-10 |
| | |||
* | Win32 compile fixes (no gettimeofday(), no signal()) (refs #3) | Chris Wilson | 2007-03-10 |
| | |||
* | Throw an assertion error if a NULL timer is added (refs #3, merges [1367]) | Chris Wilson | 2007-03-10 |
| | |||
* | Report file and line of memory leak test failures (refs #3, merges [714]) | Chris Wilson | 2007-03-10 |
| | |||
* | Moved SendCommands(), HUPServer(), KillServer() to lib/server/ServerCommands.h. | Chris Wilson | 2007-03-10 |
| | | | | | | | | | | | | | | | | | 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) | ||
* | Record the file and line of first test failure (refs #3, merges [593]) | Chris Wilson | 2007-03-08 |
| | |||
* | Win32 compile fix | Chris Wilson | 2007-03-05 |
| | | | | | (refs #3, merges [1306]) | ||
* | Add logging in remaining places where Common OSFileOpenError can be thrown. | Chris Wilson | 2007-03-05 |
| | | | | | (refs #3, merges part of [1099], and [1370]) | ||
* | Add logging in remaining places where Common OSFileOpenError can be thrown. | Chris Wilson | 2007-03-05 |
| | | | | | | | Fix compile warning (signed vs unsigned comparison) (refs #3, merges part of [1099], and [1368]) | ||
* | Update to match new recommended installation of pcreposix.h as regex.h. | Chris Wilson | 2007-03-04 |
| | | | | | (refs #3, merges [1281], reverting [1233]) | ||
* | Add logging in remaining places where Common OSFileOpenError can be thrown. | Chris Wilson | 2007-03-04 |
| | | | | | (refs #3, merges part of [1099] and [1359]) | ||
* | Watch out for our leak tracking data being destroyed and don't crash when | Chris Wilson | 2007-03-04 |
| | | | | | subsequent objects are destroyed. (refs #3, merges [1341]) | ||
* | Declare that we have O_BINARY but not <sys/types.h> for MSVC | Chris Wilson | 2007-03-04 |
| | | | | | (refs #3, merges [760] and [763]) | ||
* | Improve error message when server fails to start (refs #3) | Chris Wilson | 2007-01-21 |
| | |||
* | Moved MakeFullPath into its own library file so that we can share it | Chris Wilson | 2007-01-17 |
| | | | | | (BackupQueries needs it too) (refs #3) | ||
* | Added a BufferedStream class that can be wrapped around an IOStream to | Chris Wilson | 2007-01-17 |
| | | | | | | improve read performance when many small reads will be performed, e.g. while reading directories and during housekeeping. (refs #3) | ||
* | Automatically initialise logging at startup, with a static object, to log | Chris Wilson | 2007-01-16 |
| | | | | | | | | to console and syslog. All logging objects automatically register themselves with the global logging system. (refs #3) | ||
* | Check for exclude entries that end in a path separator, and log a warning | Chris Wilson | 2007-01-16 |
| | | | | | (refs #3) | ||
* | Throw CommonException AccessDenied if we didn't get access to the file, | Chris Wilson | 2007-01-15 |
| | | | | | for better error description (refs #3) | ||
* | Add a new logging level, NOTICE, between INFO and WARNING (justification: | Chris Wilson | 2007-01-15 |
| | | | | | | | | | | 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) | ||
* | Don't do things with essential side effects inside ASSERT() macros | Chris Wilson | 2007-01-14 |
| | | | | | (refs #3, refs #9) | ||
* | - Make sure timer is stopped before removing signal handler, otherwise | Chris Wilson | 2007-01-14 |
| | | | | | SIGALRM will kill us. | ||
* | Ignore symlink permissions on Darwin, where they can't be set properly | Chris Wilson | 2007-01-13 |
| | | | | | after symlink creation (refs #3) | ||
* | Cosmetic spacing fixes (refs #3) | Chris Wilson | 2007-01-12 |
| | |||
* | Visual Studio 2005 compile fixes, thanks to Gary. | Chris Wilson | 2006-12-29 |
| | | | | | Enable (and require) PCRE when building with Visual Studio 2005. | ||
* | Belay that order, XO (partially revert patch [1229]) | Chris Wilson | 2006-12-29 |
| | |||
* | Compile fix for platforms without intercept capability (refs #3) | Chris Wilson | 2006-12-29 |
| | |||
* | Don't redefine the built-in operators new and delete unnecessarily (refs #3) | Chris Wilson | 2006-12-29 |
| | |||
* | Add missing include of <string> header (refs #3) | Chris Wilson | 2006-12-29 |
| | |||
* | * Rename Loggers class to Logging, which looks nicer. | Chris Wilson | 2006-12-16 |
| | | | | | | | | | | * 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) | ||
* | Initial implementation of the logging framework. | Chris Wilson | 2006-12-16 |
| | |||
* | Disable standard library memory leak debugging, as it causes hangs on FC2 | Chris Wilson | 2006-12-15 |
| |