1. 28 Sep, 2013 7 commits
  2. 20 Sep, 2013 2 commits
  3. 19 Sep, 2013 6 commits
  4. 02 Sep, 2013 1 commit
  5. 25 Aug, 2013 1 commit
    • Chris Wilson's avatar
      Set process title on Windows. · 36e0571b
      Chris Wilson authored
      Thanks to Arnaud for submitting the patch:
      
      "I propose a little patch to enable the SetProcessTitle function on windows system."
      36e0571b
  6. 22 Aug, 2013 7 commits
    • Chris Wilson's avatar
      Re-enable test_dir_fixing. · 94148bc1
      Chris Wilson authored
      94148bc1
    • Chris Wilson's avatar
      Improve debugging messages after repairing a directory. · 212e1397
      Chris Wilson authored
      Report whether the directory still had errors after the first pass of
      dir.CheckAndFix(), and also whether a file is marked as both Old and
      Deleted, which means that its block usage is not accounted for anywhere.
      
      There's possibly still a bug here where an invalid directory entry that
      is itself a directory may not result in the parent directory being marked
      as isModified and written back out afterwards, which may be what's
      happening to Markus Grunwald (failure to correct the error with "check fix").
      212e1397
    • Chris Wilson's avatar
      Fix a bug where bbstoreaccounts check could hang or crash. · 711ac679
      Chris Wilson authored
      It's not safe to use an iterator after the underlying collection has
      been modified. We need to restart iterating over the directory in that
      case. Otherwise we could loop forever looking for an end() that we've
      already passed, or start accessing unallocated memory.
      711ac679
    • Chris Wilson's avatar
      Improve variable names and comments. · 576e90ce
      Chris Wilson authored
      Makes the source code more readable.
      576e90ce
    • Chris Wilson's avatar
      Improve error messages from BackupCommands. · 53c35fb1
      Chris Wilson authored
      When a command is sent in the wrong phase, or a command that requires
      write access is sent to a read-only session, log an error message with
      the command details (and current phase in the former case).
      53c35fb1
    • Chris Wilson's avatar
      Refactor testbackupstorefix. · 94187856
      Chris Wilson authored
      Preparation work for better testing of fixing directories with entries
      that no longer exist on disk. Related to debugging the problems reported
      by Markus Grunwald.
      94187856
    • Chris Wilson's avatar
      Pass std::auto_ptr objects to Protocol for upload. · c8af9906
      Chris Wilson authored
      Passing raw pointers is bad C++ style, and dangerous, because Protocol
      will free the passed-in pointers after uploading them, so we should not
      keep using them.
      
      Reduce code duplication in BackupClientDirectoryRecord patch/normal upload.
      
      Return a std::auto_ptr<BackupStoreFileEncodeStream> instead of a
      std::auto_ptr<IOStream> from BackupStoreFile::EncodeFile* functions.
      c8af9906
  7. 21 Aug, 2013 4 commits
  8. 13 Feb, 2013 2 commits
  9. 27 Nov, 2012 5 commits
  10. 18 Nov, 2012 5 commits