[Differential] [Request, 126 lines] D758: Introduce IFilterStrategy::progressInLine [1/3]

kfunk (Kevin Funk) noreply at phabricator.kde.org
Fri Jan 8 01:34:15 UTC 2016


kfunk created this revision.
Herald added a subscriber: kdevelop-devel.

REVISION SUMMARY
  Makes it possible for filtering strategies to parse a line and report
  progress if the line contains progress information.
  
  Example make output:
    [  5%] Building foo
    [  6%] Building bar
  
  A special make job filtering strategy can then parse the output and
  report progress. The core idea is that this parsing is done in a
  separate thread, like all the output filters do.
  
  The progress information is also passed on to OutputExecuteJob which
  emits the progress via KJob API.
  
  Filter strategy implementations for Make & Ninja in kdevelop will follow.
  
  
  
  Revert "Mark IFilterStrategy implementations final." [2/3]
  
  Required for upcoming feature
  
  This reverts commit cf8a46a637f87f78cc42518f3cc8e04155650caf.
  
  
  
  OutputModel: Allow to set IFilterStrategy pointer [3/3]
  
  This is crucial to allow custom filtering strategies to be set on the
  output model.
  
  Let's keep the old API (which selects the filter strategy based on enum)
  intact for now.
  
  Also install outputfilteringstrategies.h, to be able to subclass from
  the standard output filtering strategies.

REPOSITORY
  rKDEVPLATFORM KDevPlatform

BRANCH
  5.0

REVISION DETAIL
  https://phabricator.kde.org/D758

AFFECTED FILES
  outputview/CMakeLists.txt
  outputview/ifilterstrategy.cpp
  outputview/ifilterstrategy.h
  outputview/outputexecutejob.cpp
  outputview/outputexecutejob.h
  outputview/outputfilteringstrategies.h
  outputview/outputmodel.cpp
  outputview/outputmodel.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: kfunk
Cc: kdevelop-devel


More information about the KDevelop-devel mailing list