This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /home/levi/Code/unity/boo-md-addins/src/Boo.MonoDevelop.Util/BooCompletionTextEditorExtension.boo (base) | |
+++ /home/levi/Code/unity/boo-md-addins/src/Boo.MonoDevelop.Util/BooCompletionTextEditorExtension.boo (working copy) | |
@@ -1,6 +1,7 @@ | |
namespace Boo.MonoDevelop.Util.Completion | |
import System | |
+import System.Linq.Enumerable | |
import System.Threading | |
import System.Text.RegularExpressions | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mono/metadata/class.c b/mono/metadata/class.c | |
index 21235cb..140611e 100644 | |
--- a/mono/metadata/class.c | |
+++ b/mono/metadata/class.c | |
@@ -7700,24 +7700,24 @@ mono_class_get_nested_types (MonoClass* klass, gpointer *iter) | |
if (!klass->type_token) | |
klass->nested_classes_inited = TRUE; | |
mono_loader_lock (); | |
if (!klass->nested_classes_inited) { | |
i = mono_metadata_nesting_typedef (klass->image, klass->type_token, 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c | |
index 1de9864..600aa8c 100644 | |
--- a/gtk/gtktreeview.c | |
+++ b/gtk/gtktreeview.c | |
@@ -3057,7 +3057,6 @@ gtk_tree_view_button_release (GtkWidget *widget, | |
if (event->button == 1) | |
{ | |
- gtk_grab_remove (widget); | |
if (tree_view->priv->button_pressed_node == tree_view->priv->prelight_node && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ matchstandins = [tostandin(f) for f in match._files] | |
+ if (match._files): | |
+ if (matchstandins and matchstandins == match._files): | |
+ print 'Early out' | |
+ try: | |
+ return super(lfiles_repo, self).status(node1, node2, match, | |
+ listignored, listclean, listunknown, listsubrepos) | |
+ except TypeError: | |
+ return super(lfiles_repo, self).status(node1, node2, match, | |
+ listignored, listclean, listunknown) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /home/levi/Code/hg/hgext/largefiles/reposetup.py (base) | |
+++ /home/levi/Code/hg/hgext/largefiles/reposetup.py (working copy) | |
@@ -11,7 +11,7 @@ | |
import types | |
import os | |
-from mercurial import context, error, manifest, match as match_, node, util | |
+from mercurial import context, error, manifest, match as match_, node as node_, util | |
from mercurial.i18n import _ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /home/levi/Code/hg/hgext/largefiles/lfcommands.py (base) | |
+++ /home/levi/Code/hg/hgext/largefiles/lfcommands.py (working copy) | |
@@ -237,7 +237,9 @@ | |
dstfiles.append(lfutil.standin(f)) | |
# largefile in manifest if it has not been removed/renamed | |
if f in ctx.manifest(): | |
- if 'l' in ctx.filectx(f).flags(): | |
+ fctx = ctx.filectx(f) | |
+ if 'l' in fctx.flags(): | |
+ renamed = fctx.renamed() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 1150327c24d7 hgext/largefiles/lfcommands.py | |
--- a/hgext/largefiles/lfcommands.py Sun Jan 08 17:09:01 2012 +0100 | |
+++ b/hgext/largefiles/lfcommands.py Sun Jan 08 17:41:58 2012 +0100 | |
@@ -117,22 +117,10 @@ | |
def _addchangeset(ui, rsrc, rdst, ctx, revmap): | |
# Convert src parents to dst parents | |
- parents = [] | |
- for p in ctx.parents(): | |
- parents.append(revmap[p.node()]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static bool IsManagedAssembly (string file) | |
{ | |
try { | |
using (Stream fs = new FileStream (file, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { | |
BinaryReader reader = new BinaryReader(fs); | |
//The 4-byte PE Header indicator is at 0x3C | |
fs.Position = 0x3C; | |
uint peHeader = reader.ReadUInt32(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This path can be reentered if something else tries to close the window | |
// before the user responds to the "Save changes?" dialog. | |
// This results in a stack of "Save changes?" dialogs, and unpredictable behavior | |
// when responding to all but the first. | |
// The Right Fix would be to make it impossible for this to happen. | |
// For now, we work around by replacing the OnClosing handler | |
// until we get an answer back from the user. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
namespace Sort | |
{ | |
class MainClass | |
{ | |
public static void Main (string[] args) | |
{ | |
var list = new List<int> () { |