source: box/trunk/lib/common @ 3110

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @3105   4 weeks chris Fix bug that caused sending a ZeroStream? to end early, breaking protocol.
(edit) @3101   4 weeks chris Allow hiding specific exceptions to keep test output cleaner.
(edit) @3084   3 months chris Add experimental "TCP Nice" mode, disabled by default.
(edit) @3079   4 months chris Make box_time_t signed so that we can subtract them without getting silly …
(edit) @3074   4 months chris Allow overriding Logging::Guard to dump stack backtraces as well.
(edit) @3073   4 months chris Log exceptions with backtrace even if suppressed when log level is …
(edit) @3065   4 months chris Log messages on failure to read, write, stat, seek and close files, with …
(edit) @3064   4 months chris Remove unnecessary GetNativeErrorMessage?(), add BOX_LOG_SOCKET_ERROR …
(edit) @3063   4 months chris File modification time helper functions don't need to modify their …
(edit) @3062   4 months chris Allow getting the message out of a BoxException?.
(edit) @3061   4 months chris Allow log level "everything" to log exceptions even if suppressed.
(edit) @3060   4 months chris Log disabling of exception logging to help understand test output. Allow …
(edit) @3047   6 months chris Fix regex case issues on Windows (\S converted to \s for example). Ensure …
(edit) @3030   7 months chris Avoid recompiling everything on MSVC when BoxVersion?.h changes.
(edit) @3021   8 months chris Fix illegal use of Logging::Add and Logging::Remove while iterating over …
(edit) @3018   8 months chris Log fatal exceptions in main helper using BOX_FATAL instead of printf, to …
(edit) @3012   8 months chris Recent Cygwin versions of MinGW now define O_BINARY as well, also in …
(edit) @3011   8 months chris Recent Cygwin versions of MinGW now define O_BINARY as well, also in …
(edit) @2991   9 months chris Fix potential conflict between WINVERs in Timers.
(edit) @2984   9 months chris Log failure to convert log string to console encoding on Windows.
(edit) @2965   12 months chris Fix line endings.
(edit) @2961   13 months chris Another virtual destructor, this time for IOStreamGetLine.
(edit) @2960   13 months chris Add virtual destructors to GetLine? and FdGetLine? to silence warnings.
(edit) @2940   13 months chris Allow stream formatting in "line" parameter of TEST_LINE macro.
(edit) @2939   13 months chris Move S3Simulator into its own class, like S3Client, for reuse elsewhere.
(edit) @2935   13 months chris Refactor GetLines? to share common code, fix whitespace removal at end of …
(edit) @2930   13 months chris Include <process.h> to get a definition for getpid() from the Windows CRT, …
(edit) @2895   14 months chris Add some macros for Windows specific error logging.
(edit) @2883   14 months chris Fix off-by-one errors caught by MSVC.
(edit) @2879   14 months chris Ignore BoxVersion?.h which is not version controlled.
(edit) @2876   14 months chris Avoid conflicting declarations of O_BINARY on MSVC compiles.
(edit) @2862   15 months chris Hopefully fix divide by zero error on rate limiting stream.
(edit) @2855   16 months chris Move TemporaryDirectory?.h into Utils.h and Utils.cpp to avoid duplicate …
(edit) @2847   17 months chris Add an implementation of a stream wrapper that limits reading rate, to …
(edit) @2846   17 months chris Add some more logging and exception macros. Refactor to reduce nesting …
(edit) @2845   17 months chris Move accurate sleep code from Test.cpp to BoxTime?, allow requesting times …
(edit) @2830   17 months chris Add a macro for logging timespec structures. (merges [2744])
(edit) @2809   19 months chris Avoid fatal error caused by recursive logging if we fail to open the file …
(edit) @2808   19 months chris Improve accuracy and utility of FileStream::StreamClosed?().
(edit) @2732   21 months chris Fix calculation error in buffered writer.
(edit) @2728   21 months chris Implement write buffering on directories.
(edit) @2727   21 months chris Fix demangled logging of backtraces on OSX by using dladdr to get function …
(edit) @2705   21 months chris Reformat TEST_CHECK_THROWS macro for readability.
(edit) @2696   2 years chris Add support for account numbers greater than 0x7fffffff without wrapping.
(edit) @2694   2 years chris Replace BOX_FILE_BBACKUPD_DEFAULT_CONFIG with …
(edit) @2679   2 years chris Add header with macros for QDBM error logging.
(edit) @2678   2 years chris Add new exception codes for database errors.
(edit) @2677   2 years chris Make TestGetFileSize? take a std::string instead of a char * for C++ …
(edit) @2676   2 years chris Add a new exception macro for throwing exceptions that are related to a …
(edit) @2651   2 years chris fix typo properly
(edit) @2650   2 years chris Undo
(edit) @2649   2 years chris typo
(edit) @2648   2 years chris Workaround for problem with nanosleep() return values on OSX causing test …
(edit) @2630   2 years chris Add some exceptions for use by database handling classes.
(edit) @2629   2 years chris Rename LOG_AND_THROW_ERROR macro to THROW_SYS_ERROR for consistency and …
(edit) @2616   2 years chris Update banner to say 2003-2010.
(edit) @2613   2 years chris Add overloaded hton() and ntoh() functions for file attribute comparison …
(edit) @2612   2 years chris Move modification time functions out-of-line to help with debugging them.
(edit) @2606   2 years chris Support throwing exception with more complex stringstream-formatted …
(edit) @2604   2 years chris Log more detailed info about backup comparison failures, for debugging. …
(edit) @2603   2 years chris Allow logging any std::ostringstream expression in …
(edit) @2598   2 years chris Run Perl scripts quietly during make.
(edit) @2584   3 years chris Add methods to read and write exact 32-bit and 64-bit types.
(edit) @2551   3 years chris Make the version of Box Backup available for use in Boxi.
(edit) @2546   3 years chris Add a static variable to store the exceptions suppressed flag.
(edit) @2544   3 years chris Suppress exception warnings when they are expected during a test.
(edit) @2540   3 years chris Allow std::ostringstream formatting on the "line" part of …
(edit) @2537   3 years chris Add a #define for the Box Backup test port, 22011.
(edit) @2536   3 years chris Make NamedLock? take a std::string instead of a char pointer for C++ …
(edit) @2533   3 years chris Second part of FileExists? change.
(edit) @2532   3 years chris Make FileExists? take a std::string instead of a const char * for C++ …
(edit) @2527   3 years chris Log the file name that could not be opened, even for access denied errors.
(edit) @2526   3 years chris Improve debugging when opening temp file fails, by calling the filename …
(edit) @2522   3 years chris Fix test failure due to operator precedence problem with recently checked …
(edit) @2512   3 years chris Move definition of INVALID_HANDLE_VALUE and tOSFileHandle to …
(edit) @2508   3 years chris Show expected and actual return codes from shell commands in tests.
(edit) @2506   3 years martin Fixes for gcc 4.4.
(edit) @2503   3 years chris Log unexpected test results using logging framework rather than printf.
(edit) @2498   3 years chris Change default location for config files from /etc/box to /etc/boxbackup, …
(edit) @2496   3 years chris Show reasons for waiting during bbackupd and backupstorepatch tests, to …
(edit) @2493   3 years chris gcc 4.3 and 4.4 compile fixes, thanks to Reinhard Tartler and the Debian …
(edit) @2482   3 years chris Add date to file logger, as requested by Kenny Millington.
(edit) @2466   3 years chris Add ability to specify a named log facility for syslog loggins, requested …
(edit) @2465   3 years chris Switch to C++ include file names.
(edit) @2461   3 years chris Include emu.h on all platforms to support EMU_*_STAT.
(edit) @2460   3 years chris Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 to 64 …
(edit) @2439   3 years chris Remove definitions of unwanted copy constructor and assignment operator, …
(edit) @2433   3 years chris Move IOStream::Write(char *) out of line for debugging.
(edit) @2432   3 years chris Move stream comparison code out of BackupQueries::Compare to FileStream?
(edit) @2427   3 years chris Move TEST_EQUAL macro into lib/common/Test.h, rename to TEST_EQUAL_LINE, …
(edit) @2426   3 years chris Add a method to write a C style string directly to an IOStream.
(edit) @2417   3 years chris Add a function to return a native error message as a string.
(edit) @2415   3 years chris Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as …
(edit) @2407   3 years chris Include <string> header in all exception classes, as it's required by …
(edit) @2400   3 years chris Add BOX_LOG_NATIVE_ERROR and BOX_LOG_NATIVE_WARNING macros, which call …
(edit) @2399   3 years chris Allow exceptions to contain a message string.
(edit) @2398   3 years chris Reformat ASSERT macro for readability. Reformat THROW_EXCEPTION macro to …
(edit) @2395   3 years chris Fix the use of an unreasonably short type as the temporary storage for …
(edit) @2391   3 years chris Compile fix and log the error number recorded by winerrno, not the "last" …
(edit) @2390   3 years chris Log the Windows error code if openfile() fails on Windows, as the default …
Note: See TracRevisionLog for help on using the revision log.