Permalink
Browse files

Use the mainloop

  • Loading branch information...
1 parent 5d32c8e commit bc3cbe5c6b01f12913e6cd8d13e2f209d7ca27b3 @migueldeicaza migueldeicaza committed Jan 23, 2011
View
@@ -0,0 +1,15 @@
+*.exe
+*.dll
+*~
+*.mdb
+config.make
+mono-curses.pc
+mono-curses.tree
+mono-curses.xml
+mono-curses.zip
+tmp
+tmp.c
+attrib
+binding.cs
+*.so
+log
View
@@ -30,6 +30,12 @@ all: config.make mono-curses.dll libmono-curses.so mono-curses.zip mono-curses.p
test.exe: test.cs mono-curses.dll libmono-curses.so
dmcs -debug test.cs -r:mono-curses.dll
+grun: gtest.exe
+ MONO_PATH=. mono --debug gtest.exe
+
+gtest.exe: gtest.cs mono-curses.dll
+ dmcs -debug gtest.cs -r:mono-curses.dll
+
mltest.exe: mltest.cs mono-curses.dll
dmcs -debug mltest.cs -r:mono-curses.dll
@@ -0,0 +1,19 @@
+<Type Name="Action" FullName="Mono.Terminal.Action">
+ <TypeSignature Language="C#" Value="public delegate void Action();" />
+ <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed Action extends System.MulticastDelegate" />
+ <AssemblyInfo>
+ <AssemblyName>mono-curses</AssemblyName>
+ <AssemblyVersion>1.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <Base>
+ <BaseTypeName>System.Delegate</BaseTypeName>
+ </Base>
+ <Parameters />
+ <ReturnValue>
+ <ReturnType>System.Void</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+</Type>
@@ -146,6 +146,7 @@
</Member>
<Member MemberName="ColorErrorFocus">
<MemberSignature Language="C#" Value="public static int ColorErrorFocus;" />
+ <MemberSignature Language="ILAsm" Value=".field public static int32 ColorErrorFocus" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
@@ -162,6 +163,7 @@
</Member>
<Member MemberName="ColorErrorHot">
<MemberSignature Language="C#" Value="public static int ColorErrorHot;" />
+ <MemberSignature Language="ILAsm" Value=".field public static int32 ColorErrorHot" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
@@ -178,6 +180,7 @@
</Member>
<Member MemberName="ColorErrorHotFocus">
<MemberSignature Language="C#" Value="public static int ColorErrorHotFocus;" />
+ <MemberSignature Language="ILAsm" Value=".field public static int32 ColorErrorHotFocus" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
@@ -261,7 +261,7 @@
</Docs>
</Member>
<Member MemberName="Text">
- <MemberSignature Language="C#" Value="public string Text { set; get; }" />
+ <MemberSignature Language="C#" Value="public string Text { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Text" />
<MemberType>Property</MemberType>
<AssemblyInfo>
@@ -69,7 +69,7 @@
</Docs>
</Member>
<Member MemberName="Checked">
- <MemberSignature Language="C#" Value="public bool Checked { set; get; }" />
+ <MemberSignature Language="C#" Value="public bool Checked { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Checked" />
<MemberType>Property</MemberType>
<AssemblyInfo>
@@ -158,7 +158,7 @@
</Docs>
</Member>
<Member MemberName="Text">
- <MemberSignature Language="C#" Value="public string Text { set; get; }" />
+ <MemberSignature Language="C#" Value="public string Text { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Text" />
<MemberType>Property</MemberType>
<AssemblyInfo>

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -66,7 +66,7 @@
</Docs>
</Member>
<Member MemberName="Color">
- <MemberSignature Language="C#" Value="public int Color { set; get; }" />
+ <MemberSignature Language="C#" Value="public int Color { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Color" />
<MemberType>Property</MemberType>
<AssemblyInfo>
@@ -175,7 +175,7 @@
</Docs>
</Member>
<Member MemberName="Secret">
- <MemberSignature Language="C#" Value="public bool Secret { set; get; }" />
+ <MemberSignature Language="C#" Value="public bool Secret { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Secret" />
<MemberType>Property</MemberType>
<AssemblyInfo>
@@ -195,7 +195,7 @@
</Docs>
</Member>
<Member MemberName="Text">
- <MemberSignature Language="C#" Value="public string Text { set; get; }" />
+ <MemberSignature Language="C#" Value="public string Text { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Text" />
<MemberType>Property</MemberType>
<AssemblyInfo>
@@ -43,6 +43,7 @@
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Label (int x, int y, string s, object[] args);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 x, int32 y, string s, object[] args) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
@@ -117,7 +118,7 @@
</Docs>
</Member>
<Member MemberName="Text">
- <MemberSignature Language="C#" Value="public virtual string Text { set; get; }" />
+ <MemberSignature Language="C#" Value="public virtual string Text { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Text" />
<MemberType>Property</MemberType>
<AssemblyInfo>
@@ -145,7 +145,7 @@
</Docs>
</Member>
<Member MemberName="Selected">
- <MemberSignature Language="C#" Value="public int Selected { set; get; }" />
+ <MemberSignature Language="C#" Value="public int Selected { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Selected" />
<MemberType>Property</MemberType>
<AssemblyInfo>
@@ -0,0 +1,120 @@
+<Type Name="MainLoop+Condition" FullName="Mono.Terminal.MainLoop+Condition">
+ <TypeSignature Language="C#" Value="public enum MainLoop.Condition" />
+ <TypeSignature Language="ILAsm" Value=".class nested public auto ansi sealed MainLoop/Condition extends System.Enum" />
+ <AssemblyInfo>
+ <AssemblyName>mono-curses</AssemblyName>
+ <AssemblyVersion>1.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <Base>
+ <BaseTypeName>System.Enum</BaseTypeName>
+ </Base>
+ <Attributes>
+ <Attribute>
+ <AttributeName>System.Flags</AttributeName>
+ </Attribute>
+ </Attributes>
+ <Docs>
+ <summary>
+ Condition on which to wake up from file descriptor activity
+ </summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ <Members>
+ <Member MemberName="PollErr">
+ <MemberSignature Language="C#" Value="PollErr" />
+ <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Terminal.MainLoop/Condition PollErr = int32(8)" />
+ <MemberType>Field</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>1.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>Mono.Terminal.MainLoop+Condition</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>
+ Error condition on output
+ </summary>
+ </Docs>
+ </Member>
+ <Member MemberName="PollHup">
+ <MemberSignature Language="C#" Value="PollHup" />
+ <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Terminal.MainLoop/Condition PollHup = int32(16)" />
+ <MemberType>Field</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>1.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>Mono.Terminal.MainLoop+Condition</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>
+ Hang-up on output
+ </summary>
+ </Docs>
+ </Member>
+ <Member MemberName="PollIn">
+ <MemberSignature Language="C#" Value="PollIn" />
+ <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Terminal.MainLoop/Condition PollIn = int32(1)" />
+ <MemberType>Field</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>1.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>Mono.Terminal.MainLoop+Condition</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>
+ There is data to read
+ </summary>
+ </Docs>
+ </Member>
+ <Member MemberName="PollNval">
+ <MemberSignature Language="C#" Value="PollNval" />
+ <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Terminal.MainLoop/Condition PollNval = int32(32)" />
+ <MemberType>Field</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>1.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>Mono.Terminal.MainLoop+Condition</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>
+ File descriptor is not open.
+ </summary>
+ </Docs>
+ </Member>
+ <Member MemberName="PollOut">
+ <MemberSignature Language="C#" Value="PollOut" />
+ <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Terminal.MainLoop/Condition PollOut = int32(2)" />
+ <MemberType>Field</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>1.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>Mono.Terminal.MainLoop+Condition</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>
+ Writing to the specified descriptor will not block
+ </summary>
+ </Docs>
+ </Member>
+ <Member MemberName="PollPri">
+ <MemberSignature Language="C#" Value="PollPri" />
+ <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Terminal.MainLoop/Condition PollPri = int32(4)" />
+ <MemberType>Field</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>1.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>Mono.Terminal.MainLoop+Condition</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>
+ There is urgent data to read
+ </summary>
+ </Docs>
+ </Member>
+ </Members>
+</Type>
Oops, something went wrong.

0 comments on commit bc3cbe5

Please sign in to comment.