Permalink
Commits on Oct 2, 2009
  1. Testing: add missing file

    committed Oct 2, 2009
Commits on Oct 1, 2009
  1. test/index: add more tests

    committed Oct 1, 2009
  2. GitIndex: fix status update when changed file is deleted

    Fixes bug LH#209
    committed Oct 1, 2009
  3. Update testing framework

    committed Oct 1, 2009
  4. GitIndex: increase refreshStatus before launching task

    We used to increase this variable after
    handing it over to the [handle readToEndOfFileInBackgroundAndNotify],
    but sometimes a task would quit before getting to that point, causing
    a premature index refresh event to be called.
    committed Oct 1, 2009
  5. Add first test, in MacRuby

    committed Oct 1, 2009
  6. Add testing framework

    committed Oct 1, 2009
Commits on Sep 17, 2009
  1. Merge branch 'pu/pb/index_refactor'

    * pu/pb/index_refactor: (24 commits)
      PBGitIndex: post notifications when index stuff fails
      GitIndexController: reorder methods a bit, remove unnecessary stuff
      PBGitIndex: Migrate discardChanges to the GitIndex
      CommitController: Make commit message editable after commit failed
      GitIndex: Fix a few comments
      GitIndex: explicitly tell when stuff is updated
      Remove cruft
      Show previous commit message when amending
      CommitController: Empty commit title when commit is successful
      CommitView: Remove cruft
      Add failed commit notifications
      GitIndex: add commit notifications
      CommitController: Add status messages for index operations
      GitIndex: Add a few notifications
      CommitView: Migrate patch apply stuff to GitIndex
      GitIndex: Add support for applying patches
      CommitController: Replace commit method with the one from GitIndex
      GitIndex: add basic commit method
      GitIndexController: Migrate stageFiles functions to GitIndex
      GitIndex: Add methods to stage and unstage files
      ...
    
    Conflicts:
    	PBGitCommitController.m
    	PBGitIndexController.h
    	PBGitIndexController.m
    committed Sep 17, 2009
  2. Merge branch 'stable'

    * stable:
      HistoryView: Don't show the 'loading commit' thing until after 500 ms.
      HistoryView: Remove raw view
      HistoryView: don't load in commit information in a separate thread anymore
      Fix UTF-8 bug in NSString_RegEx
      CommitView: Don't keep rearranging when iterating over files
      IndexController: de-privatize the index-stopping stuff
    committed Sep 17, 2009
  3. HistoryView: Don't show the 'loading commit' thing until after 500 ms.

    This was annoying me a lot, so it's in stable :)
    
    Signed-off-by: Pieter de Bie <pdebie@ai.rug.nl>
    committed Sep 17, 2009
  4. HistoryView: Remove raw view

    I don't think anybody has ever used this, so let's just remove it.
    committed Sep 17, 2009
  5. HistoryView: don't load in commit information in a separate thread an…

    …ymore
    
    I've seen this hang or crash a few times, so I hope this works better.
    Instead of running a task in a separate thread, we just let it go through
    the run loop and catch it when the task is done.
    
    This ruins the second subview in the history view, but I don't think
    anybody ever used that, so I'm going to remove it.
    committed Sep 17, 2009
Commits on Sep 14, 2009
  1. Merge branch 'pu/pb/index_quick_fix' into stable

    * pu/pb/index_quick_fix:
      CommitView: Don't keep rearranging when iterating over files
      IndexController: de-privatize the index-stopping stuff
    committed Sep 14, 2009
  2. Fix UTF-8 bug in NSString_RegEx

    This class would use the location information provided by
    regex(3) as range for for a substring. However, the information
    regex(3) returns is a byte-based, while NSString works on characters.
    
    This can cause a problem when there are UTF-8 characters in the string,
    as the wrong subsstring will be returned.
    
    This is fixed by taking the UTF bytesequence, and extracting a substring
    from that, rather than using NSString's own substring method
    committed Sep 14, 2009
Commits on Sep 13, 2009
  1. PBGitIndex: post notifications when index stuff fails

    We use notifications so that we can make all these methods async later on
    committed Sep 13, 2009
  2. GitIndex: Fix a few comments

    committed Sep 13, 2009
  3. Remove cruft

    committed Sep 13, 2009
  4. CommitView: Remove cruft

    committed Sep 13, 2009
  5. Add failed commit notifications

    committed Sep 13, 2009
  6. GitIndex: Add a few notifications

    committed Sep 13, 2009
  7. GitIndex: add basic commit method

    committed Sep 13, 2009
  8. GitIndex: Add methods to stage and unstage files

    These are mostly copies from PBGitIndexController, and
    they can be refactored to a common method. I'm not sure of a name
    for that yet, so I'll keep it like this for now :)
    committed Sep 13, 2009