libchcore

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed unit tests for the reader/writer functionality (CH-270).

    • -2
    • +1
    ./Tests/TOverlappedDataBufferTests.cpp
    • -2
    • +116
    ./Tests/TOverlappedMemoryPoolTests.cpp
    • -3
    • +206
    ./Tests/TOverlappedReaderTests.cpp
    • -488
    • +1
    ./Tests/TOverlappedReaderWriterTests.cpp
Moved file copy main processing loop to ReaderWriter object (CH-270).

    • -0
    • +70
    ./TFilesystemFileFeedbackWrapper.cpp
    • -0
    • +101
    ./TOverlappedReaderFB.cpp
    • -0
    • +53
    ./TOverlappedReaderFB.h
    • -0
    • +153
    ./TOverlappedReaderWriterFB.cpp
    • -0
    • +61
    ./TOverlappedReaderWriterFB.h
    • -0
    • +191
    ./TOverlappedWriterFB.cpp
    • -0
    • +59
    ./TOverlappedWriterFB.h
    • -53
    • +77
    ./libchcore.vc140.vcxproj.filters
Added better error-checking. Fixed several hang/crash scenarios. (CH-270)

    • -1
    • +0
    ./Tests/TWriteBufferQueueWrapperTests.cpp
Decoupled overlapped completion functions from ReaderWriter object. Added notifications to ordered buffer to support correct linking between reader and writer. Various other cleanups. (CH-270)

  1. … 4 more files in changeset.
Bugfix: taske enters error state when error is encountered for the second time with the same position (CH-270)

Rewritten all-buffers-accounted-for handling (simplified; removed dependency on ReaderWriter object) (CH-270).

Several code cleanups. Added notifier to buffer list. (CH-270)

    • -12
    • +12
    ./TFilesystemFileFeedbackWrapper.cpp
Replaced failed queue with simpler mechanism embedded in ordered queue (CH-270).

    • -194
    • +0
    ./Tests/TFailedBufferQueueTests.cpp
    • -0
    • +148
    ./Tests/TOrderedBufferQueueTests.cpp
    • -5
    • +14
    ./Tests/TSimpleOrderedBufferQueueTests.cpp
Corrected strange Visual Studio induced mess (CH-270).

Split ordered queue with position locking from simple version of ordered queue (CH-270).

    • -0
    • +68
    ./TSimpleOrderedBufferQueue.h
    • -172
    • +0
    ./Tests/TOrderedBufferQueueTests.cpp
    • -0
    • +67
    ./Tests/TSimpleOrderedBufferQueueTests.cpp
    • -5
    • +5
    ./Tests/TWriteBufferQueueWrapperTests.cpp
Added unit tests for remaining queues. Fixed writer to use failed queue instead of ordered queue. (CH-270)

    • -36
    • +41
    ./TFilesystemFileFeedbackWrapper.cpp
    • -11
    • +17
    ./TFilesystemFileFeedbackWrapper.h
    • -0
    • +79
    ./Tests/TOrderedBufferQueueTests.cpp
    • -2
    • +158
    ./Tests/TWriteBufferQueueWrapperTests.cpp
Added partial unit tests for TReadBufferQueueWrapper (CH-270).

    • -2
    • +232
    ./Tests/TReadBufferQueueWrapperTests.cpp
Added unit tests to part of the overlapped buffer handling code (CH-270).

    • -1
    • +184
    ./Tests/TFailedBufferQueueTests.cpp
    • -2
    • +193
    ./Tests/TOrderedBufferQueueTests.cpp
    • -71
    • +75
    ./Tests/TOverlappedDataBufferTests.cpp
    • -12
    • +1
    ./Tests/TOverlappedReaderWriterTests.cpp
  1. … 1 more file in changeset.
Various fixes in reader/writer handling (CH-270).

  1. … 3 more files in changeset.
Rough version of overlapped reader/writer split (CH-270).

    • -0
    • +97
    ./TFailedBufferQueue.cpp
    • -0
    • +104
    ./TFailedBufferQueue.h
    • -0
    • +104
    ./TOverlappedReader.cpp
    • -0
    • +75
    ./TOverlappedReader.h
    • -225
    • +51
    ./TOverlappedReaderWriter.cpp
  1. … 20 more files in changeset.
Extended event wrapper for easier usage (CH-270)

Fixed problem with asking multiple times for retries of the same batch of failed buffers (only for reading data at this point). Fixed issue with pausing and resuming task after refactoring of buffer ordering. (CH-270)

Moved overlapped file position management to reader/writer object. Simplified buffer ordering by using file position as the ordering key (instead of artificial order id). Isolated overlapped memory management to a separate class. Simplified code responsible for retrying reads and writes. (CH-270)

    • -0
    • +35
    ./TOrderedBufferQueue.cpp
    • -0
    • +49
    ./TOrderedBufferQueue.h
    • -183
    • +183
    ./TOverlappedMemoryPool.cpp
    • -183
    • +0
    ./TOverlappedDataBufferQueue.cpp
    • -46
    • +32
    ./Tests/TOverlappedDataBufferTests.cpp
    • -65
    • +65
    ./Tests/TOverlappedReaderWriterTests.cpp
Fixed release version not building properly. Cleaned up unused code. (CH-270)

    • -0
    • +63
    ./OverlappedCallbacks.cpp
    • -0
    • +1
    ./Tests/TOverlappedDataBufferTests.cpp
Separated buffer management from overlapped queue management (CH-270)

    • -269
    • +37
    ./TOverlappedDataBufferQueue.cpp
    • -0
    • +325
    ./TOverlappedReaderWriter.cpp
    • -108
    • +102
    ./TOverlappedReaderWriter.h
    • -519
    • +0
    ./Tests/TOverlappedDataBufferQueueTests.cpp
    • -21
    • +49
    ./Tests/TOverlappedDataBufferTests.cpp
    • -0
    • +547
    ./Tests/TOverlappedReaderWriterTests.cpp
Removed unit tests for deleted functionality (CH-270).

    • -36
    • +0
    ./Tests/TOverlappedDataBufferTests.cpp
Decoupled overlapped data buffer from buffer queue (CH-270).

Removing task will now delete all associated log files, including rotated ones (CH-274)

  1. … 8 more files in changeset.
Removed dead code (CH-272).

Fixed cppcheck warnings (CH-272).

Fixed unit tests for overlapped data buffer (CH-206).

    • -27
    • +81
    ./Tests/TOverlappedDataBufferQueueTests.cpp
    • -23
    • +63
    ./Tests/TOverlappedDataBufferTests.cpp
  1. … 2 more files in changeset.
Added lots of logging to filesystem handling functions (CH-206)

    • -0
    • +30
    ./StreamingHelpers.h
  1. … 1 more file in changeset.
Various code cleanups (CH-273)

  1. … 21 more files in changeset.
Fixed problem reported by cppcheck and suppressed two issues that are not issues in those specific use cases (CH-272).

Fixed several issues reported by cppcheck (CH-272).

  1. … 2 more files in changeset.