Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Compile fix to [1448] (refs #3) | Chris Wilson | 2007-03-24 |
| | |||
* | Improve logging of pipe errors by including the error message. (refs #3, | Chris Wilson | 2007-03-24 |
| | | | | | merges part of [1458]) | ||
* | 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 |
| | |||
* | Reduce default logging level in debug builds from TRACE back down to INFO, | Chris Wilson | 2007-03-24 |
| | | | | | to reduce noise in tests. (refs #3, merges [1441]) | ||
* | Use logging framework to reduce noise for those who don't want it | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1439] [1440] [1443]) | ||
* | Initialise logging framework and set our program name to Box Backup (bbstored) | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1462]) | ||
* | Add emulated rename() with path conversion. (refs #3, merges [1436] and | Chris Wilson | 2007-03-24 |
| | | | | | [1438]) | ||
* | Change named pipe from message to byte mode. Thanks to Charles Lecklider | Chris Wilson | 2007-03-24 |
| | | | | | for pointing this out. | ||
* | Use memmove() for overlapping source and destination buffer. Thanks to | Chris Wilson | 2007-03-24 |
| | | | | | Charles Lecklider for pointing this out. (refs #3, merges [1442]) | ||
* | Reinitialise the OVERLAPPED structure each time we start a new overlapped | Chris Wilson | 2007-03-24 |
| | | | | | | read. Thanks to Charles Lecklider for pointing this out. (refs #3, merges part of [1458]) | ||
* | 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) | ||
* | Log at trace level by default in debug builds (refs #3) | Chris Wilson | 2007-03-22 |
| | |||
* | 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 |
| | |||
* | Group remaining set*id() and get*id() functions. Improve comments about | Chris Wilson | 2007-03-10 |
| | | | | | why they are being retained. (refs #3, related to [634]) | ||
* | Add new syslog level emulations (refs #3, merges remainder of [1299]) | Chris Wilson | 2007-03-10 |
| | |||
* | Reorder for clarity | Chris Wilson | 2007-03-10 |
| | | | | | | | | | Expose GetErrorMessage() Improve comments (refs #3, merges [1365]) | ||
* | Remove #define BOX_VERSION since we now get it from BoxVersion.h via | Chris Wilson | 2007-03-10 |
| | | | | | | BoxPlatform.h when building with MSVC, and from the Makefiles when building with MinGW. (refs #3, merges part of [634]) | ||
* | Use #defines to replace POSIX functions with emulated ones on MinGW, | Chris Wilson | 2007-03-10 |
| | | | | | | | | | | | | | like we do on MSVC. This allows us to #undef them when we really need to use the original platform function (if available). Disable emulated fstat() in raidfile (and use the platform one) by undefining fstat, since it doesn't use the other emulated file handling functions, or need Unicode support, and it can't take a filehandle returned by open() (only openfile()). (refs #3, merges [1045]) | ||
* | Compile fix for [1397] (refs #3) | Chris Wilson | 2007-03-10 |
| | |||
* | Added d_type member to struct dirent, initialise with S_IFDIR or S_IFREG | Chris Wilson | 2007-03-10 |
| | | | | | | | MinGW compile fix (refs #3, merges [775]) | ||
* | First attempt to achieve a more logical order in this chaos: | Chris Wilson | 2007-03-10 |
| | | | | | | reordered all typedefs to be clearer and more readable (refs #3, merges [766]) | ||
* | Fix two memory leaks and one buffer overflow in codepage conversion code. | Chris Wilson | 2007-03-10 |
| | | | | | (refs #3, merges [1340]) | ||
* | Typo fix (refs #3) | Chris Wilson | 2007-03-10 |
| | |||
* | We don't have access to DIRECTORY_SEPARATOR_ASCHAR in lib/win32 | Chris Wilson | 2007-03-10 |
| | | | | | (refs #3, merges [1362]) | ||
* | Fix handling of O_EXCL to behave just like Unix, not abused to lock files. | Chris Wilson | 2007-03-10 |
| | | | | | | | Add a new constant which specifies that files are to be locked open. (refs #3, merges [1288]) | ||
* | Improve GetErrorMessage() by including the error number/code in the message | Chris Wilson | 2007-03-10 |
| | | | | | | (helps debugging on foreign langauge versions of Windows) (refs #3, merges [1364]) | ||
* | Print localised error messages rather than error codes for all errors | Chris Wilson | 2007-03-10 |
| | | | | | (refs #3, merges [1046]) | ||
* | Expanded character set conversion API to allow arbitrary conversions | Chris Wilson | 2007-03-10 |
| | | | | | | (needed to handle command lines with international encodings) (refs #3, merges [1038]) | ||
* | We can't use lib/common here, so we don't have ASSERT() (refs #3) | Chris Wilson | 2007-03-10 |
| | |||
* | Our timer code only supports ITIMER_REAL (refs #3) | Chris Wilson | 2007-03-10 |
| | |||
* | Always include process.h, as we don't know whether it was detected or not | Chris Wilson | 2007-03-10 |
| | | | | | (we don't have access to lib/common/BoxConfig.h in lib/win32) (refs #3) | ||
* | Catch exceptions thrown by closing the WinNamedPipeStream during shutdown | Chris Wilson | 2007-03-10 |
| | | | | | and suppress them. (refs #3, merges [1284]) | ||
* | Code formatting (cosmetic) (refs #3, merges [1345]) | 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]) | ||
* | Fix compile warning | Chris Wilson | 2007-02-09 |
| |