From 4018f827281c9ab3feea7a03d8fad84be8533418 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 26 Jun 2011 02:41:00 +0100 Subject: [PATCH] remove some TODOs --- SparkleLib/Git/SparkleRepoGit.cs | 2 -- SparkleLib/Hg/SparkleRepoHg.cs | 2 -- SparkleShare/Mac/SparkleUI.cs | 6 ------ 3 files changed, 10 deletions(-) diff --git a/SparkleLib/Git/SparkleRepoGit.cs b/SparkleLib/Git/SparkleRepoGit.cs index 8c36af9f..4a1e23ee 100644 --- a/SparkleLib/Git/SparkleRepoGit.cs +++ b/SparkleLib/Git/SparkleRepoGit.cs @@ -346,7 +346,6 @@ namespace SparkleLib { // Returns a list of the latest change sets - // TODO: Method needs to be made a lot faster public override List GetChangeSets (int count) { if (count < 1) @@ -395,7 +394,6 @@ namespace SparkleLib { "([0-9]{2}):([0-9]{2}):([0-9]{2}) (.[0-9]{4})\n" + "*", RegexOptions.Compiled); - // TODO: Need to optimise for speed foreach (string log_entry in entries) { Regex regex; bool is_merge_commit = false; diff --git a/SparkleLib/Hg/SparkleRepoHg.cs b/SparkleLib/Hg/SparkleRepoHg.cs index 149c9f88..d59c3915 100644 --- a/SparkleLib/Hg/SparkleRepoHg.cs +++ b/SparkleLib/Hg/SparkleRepoHg.cs @@ -185,7 +185,6 @@ namespace SparkleLib { // Returns a list of the latest change sets - // TODO: Method needs to be made a lot faster public override List GetChangeSets (int count) { if (count < 1) @@ -224,7 +223,6 @@ namespace SparkleLib { Regex regex = new Regex (@"([0-9]{4})-([0-9]{2})-([0-9]{2}).*([0-9]{2}):([0-9]{2}).*.([0-9]{4})" + "(.+)<(.+)>.*.([a-z0-9]{12})", RegexOptions.Compiled); - // TODO: Need to optimise for speed foreach (string log_entry in entries) { bool is_merge_commit = false; diff --git a/SparkleShare/Mac/SparkleUI.cs b/SparkleShare/Mac/SparkleUI.cs index 00160581..d4e24aeb 100644 --- a/SparkleShare/Mac/SparkleUI.cs +++ b/SparkleShare/Mac/SparkleUI.cs @@ -36,12 +36,6 @@ namespace SparkleShare { NSApplication.SharedApplication.DockTile.BadgeLabel = null; } - public override void OrderFrontStandardAboutPanel (NSObject sender) - { - // FIXME: Doesn't work - new SparkleAbout (); - } - public override void WillTerminate (NSNotification notification) { SparkleShare.Controller.Quit ();