Re: [Mono-dev] patch to start bonding navigator and masked textbox

2007-04-24 Thread Alan McGovern
Olivier, the first revision of Binding Navigator has hit SVN. Thanks for the patch! Alan. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] patch to start bonding navigator and masked textbox

2007-04-23 Thread Alan McGovern
Hi Olivier, I'm actually working on the BindingNavigator to implement the rest of it's functionality (well, implement more of it anyway). I'm using your patch as the base to work off, so it will hit the tree in a few days (or maybe a bit more). I'll keep you posted on the status of it. Alan

Re: [Mono-list] ASP.NET 2

2007-04-20 Thread Alan McGovern
I think pretty much everything is done barring WebParts. Alan On 4/20/07, Dominic Marks [EMAIL PROTECTED] wrote: The FAQ states that ASP.NET 2 is under active development. There is not much detail that I can see on what is done, and what is not done. Can anyone provide me with a broad

Re: [Mono-dev] [PATCH] - System.IO.FileSystemWatcher Unit Tests for Events

2007-04-18 Thread Alan McGovern
one deletes it. Other than that, it looks good. Alan. On 4/18/07, Louis R. Marascio [EMAIL PROTECTED] wrote: Louis R. Marascio [EMAIL PROTECTED] wrote: Attached is a patch that adds several unit tests for FileSystemWatcher. These tests focus on verifying that the Created, Deleted, and Changed

Re: [Mono-dev] Probably a dumb question - DirectX and Mono and Linux

2007-04-17 Thread Alan McGovern
Mono.XNA won't support DirectX either, just so you know. It'll only support OpenGL. Alan. On 4/17/07, Anton Andreev [EMAIL PROTECTED] wrote: Check out the http://www.openxna.net/ Mono.XNA project. Anton ___ Mono-devel-list mailing list

Re: [Mono-list] Newbie and ArrayList

2007-04-15 Thread Alan McGovern
Could you post up the entire test.cs file? Alan. On 4/15/07, Johannes Graumann [EMAIL PROTECTED] wrote: Hello, Please excuse my cluelessness, but why would this: ArrayList DSYears = new ArrayList(); DSYears.Add(1); lead to this: [Task:File=/my/path/Test.cs, Line=20, Column=15, Type

Re: [Mono-list] Newbie and ArrayList

2007-04-15 Thread Alan McGovern
that method you can call arrayList.Add(1); and everything will be ok. Alan. On 4/15/07, Johannes Graumann [EMAIL PROTECTED] wrote: On Sunday 15 April 2007 21:54, Alan McGovern wrote: Could you post up the entire test.cs file? Sure. But beware, this is very much a work in progress and I am a bloody

Re: [Mono-list] {Readkey} Error CS0117 System.Console does not contin definition

2007-04-10 Thread Alan McGovern
He quite possibly means MonoDevelop 0.13. In that case make sure that you are targeting Mono 2.0 and not Mono 1.0. It's possible that ReadKey is a 2.0 method and so won't compile when you target the 1.0/1.1 profile. Alan. On 4/10/07, Andreia Gaita [EMAIL PROTECTED] wrote: On 4/5/07, Charles

Re: [Mono-list] Creating a list generic of a struct

2007-04-03 Thread Alan McGovern
to your word array as it's expecting your struct to be there. Alan. On 4/3/07, Paul [EMAIL PROTECTED] wrote: Hi, Code snippet to start with... namespace foo { class doitall { public struct conversion { public bool isverb, isplural; public string foreign, english

Re: [Mono-dev] Need help tracking this bug...

2007-03-31 Thread Alan McGovern
to figure out what it was, i feel cheated that someone else fixed it before i could ;) Anyway, thanks for the help joe, i couldn't have gotten as far as i did without you. Alan. On 3/31/07, Alan McGovern [EMAIL PROTECTED] wrote: Ok, i did a quick bit of testing on my code. Firstly, the 54

Re: [Mono-dev] Need help tracking this bug...

2007-03-30 Thread Alan McGovern
to be used. Any further advice would be brilliant. Alan. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Need help tracking this bug...

2007-03-30 Thread Alan McGovern
Just a quick update, i think my email bounced due to the attached heap-shot data. I'm now hosting it here: http://www.megaupload.com/?d=QOJKRWT2 If theres problems with that, let me know. Alan. On 3/30/07, Marcos Cobeña Morián [EMAIL PROTECTED] wrote: Hi Alan, If you can run your

Re: [Mono-dev] Need help tracking this bug...

2007-03-30 Thread Alan McGovern
From your e-mail, it seems to be those AsyncSockets not disposing as expected Even if i wasn't disposing of them at all, i connect to at most 5 people a second, so that's at most 5 sockets being created a second. There's no way that they would lead to such a huge allocation rate. Also, i can

Re: [Mono-dev] Need help tracking this bug...

2007-03-30 Thread Alan McGovern
once again, i'm at a loss. Alan On 3/30/07, Marcos Cobeña Morián [EMAIL PROTECTED] wrote: Hi Alan, If you can run your application on Windows, check this tool which can help to find where's located memory leak: http://www.microsoft.com/downloads/details.aspx?amp;amp;displaylang=enfamilyid

Re: [Mono-dev] Need help tracking this bug...

2007-03-30 Thread Alan McGovern
reproduce the problem in the form of an NUnit test. Thanks again, Alan. On 3/30/07, Joe Shaw [EMAIL PROTECTED] wrote: Hi again, On 3/30/07, Joe Shaw [EMAIL PROTECTED] wrote: That huge object array, in turn, is referenced by System.Collections.Queue - System.Net.Socket.Socket, specifically

Re: [Mono-dev] Need help tracking this bug...

2007-03-30 Thread Alan McGovern
really. A similar amount for Begin/EndSend. On 3/31/07, Alan McGovern [EMAIL PROTECTED] wrote: Hi, That leaves me with the question of how the hell a SocketAsyncResult is 10 megs in size! The size of the largest single object in my entire code is a 16kB byte[] buffer. If each SocketAsyncResult

[Mono-dev] Build broken?

2007-03-30 Thread Alan McGovern
I've been trying to compile SVN head on both windows and MacOS and it fails on both. Is this a problem on just my side, or is compilation actually broken? I've attached the last 100 or so lines of output when trying to build on Mac OS X. If anyone has any ideas, let me know. Thanks, Alan. gcc

[Mono-dev] Need help tracking this bug...

2007-03-29 Thread Alan McGovern
which were commited in rev 72228. I accidently left them out of a previous commit. Revision 72228 will compile fine (i hope) from a fresh checkout with no messing. Thanks, Alan. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http

Re: [Mono-dev] Need help tracking this bug...

2007-03-29 Thread Alan McGovern
seconds had runaway memory usage. Here's the stats, maybe they'll make sense to someone, or fire alarm bells for someone else: I attached the seperate HeapBuddy reports to the email. Alan. On 3/29/07, Joe Shaw [EMAIL PROTECTED] wrote: Hi Alan, On 3/29/07, Alan McGovern [EMAIL PROTECTED] wrote

Re: [Mono-dev] Need help tracking this bug...

2007-03-29 Thread Alan McGovern
of allocations from a System.Timers.Timer? Whats going on here!? type=System.MonoType 2826 542.8M 201403.8 0.6 Half a gigabyte of System.MonoType's? What causes these to be allocated, and what can i do to stop this? Alan. On 3/30/07, Alan McGovern [EMAIL PROTECTED] wrote: Hi, I finally managed to get

Re: [Mono-dev] Patch for IPAddress.cs

2007-03-27 Thread Alan McGovern
Hi, It's quite possible that on a 64bit system this wouldn't be worthwhile, but without a 64bit system and a 64bit mono i can't test. For ints (on a 32bit system at least) it is faster to bitshift though. Alan. On 3/27/07, Gareth Pearce [EMAIL PROTECTED] wrote: Alan McGovern wrote: I

Re: [Mono-dev] BitArray patch

2007-03-27 Thread Alan McGovern
code, you'd get the same. (as far as i can make out). Alan. On 3/27/07, David Brown [EMAIL PROTECTED] wrote: Alan McGovern wrote: I was just looking at the bitarray code and i thought that instead of a lot of bitshifting and messing to retrieve individual bytes from int's it would be faster

[Mono-dev] Stack patch

2007-03-27 Thread Alan McGovern
There was a tiny bug in the StackT implementation in that when you Peek() at the first item the version was incremented. Attached is a patch + nunit test to show the problem. I'll commit this and the other similar patch i posted in an hour or so. Alan. Index: mcs/class/System

Re: [Mono-dev] Patch for IPAddress.cs

2007-03-27 Thread Alan McGovern
On 32bit systems, the unsafe method is approximately 25-30% faster for longs, yet on 64bit systems the existing bitshifting method is *substantially* faster. As a result, i don't think it'd be worth applying this patch. Alan. ___ Mono-devel-list

[Mono-dev] ListT Optimisations

2007-03-26 Thread Alan McGovern
True For All - 2.3x faster Patch attached. Let me know if it's good to commit. It still passes the NUnit tests. Alan. Index: C:/programming/mcs/class/corlib/System.Collections.Generic/List.cs === --- C:/programming/mcs/class/corlib

Re: [Mono-dev] ListT Optimisations

2007-03-26 Thread Alan McGovern
Attached is a newer patch which removes the use of: this. as it's against the mono coding guidelines. Alan. On 3/26/07, Alan McGovern [EMAIL PROTECTED] wrote: I was just browsing through the ListT implementation and made a few speed optimisations. I'm not sure if changing from foreach(blah

Re: [Mono-dev] ListT Optimisations

2007-03-26 Thread Alan McGovern
Whoops, attaching the right patch this time... Alan. On 3/26/07, Alan McGovern [EMAIL PROTECTED] wrote: Attached is a newer patch which removes the use of: this. as it's against the mono coding guidelines. Alan. On 3/26/07, Alan McGovern [EMAIL PROTECTED] wrote: I was just browsing

Re: [Mono-dev] ListT Optimisations

2007-03-26 Thread Alan McGovern
Hi, Thats a brilliant idea. It'll be much faster than the current shifting. I'll test it out now. Thanks, Alan. On 3/26/07, Michael Poole [EMAIL PROTECTED] wrote: Alan McGovern writes: I was just browsing through the ListT implementation and made a few speed optimisations. I'm not sure

Re: [Mono-dev] ListT Optimisations

2007-03-26 Thread Alan McGovern
on the new implementation, or if anyone has some equally good ideas on how to optimise the other methods further, that'd be great. Alan. Index: C:/programming/mcs/class/corlib/System.Collections.Generic/List.cs === --- C:/programming

Re: [Mono-dev] Patch for IPAddress.cs

2007-03-26 Thread Alan McGovern
). Is it ok to commit? Alan. Index: C:/programming/mcs/class/System/System.Net/IPAddress.cs === --- C:/programming/mcs/class/System/System.Net/IPAddress.cs (revision 74962) +++ C:/programming/mcs/class/System/System.Net/IPAddress.cs

[Mono-dev] BitArray patch

2007-03-26 Thread Alan McGovern
from an int[]. I'm not too sure if it's worth committing though. Alan. Index: C:/programming/mcs/class/corlib/System.Collections/BitArray.cs === --- C:/programming/mcs/class/corlib/System.Collections/BitArray.cs (revision 74942) +++ C

[Mono-dev] Queue (bugfix + nunit)

2007-03-26 Thread Alan McGovern
I was looking at the Queue code and i noticed that version wasn't incremented when Queue.Clear() was called. Here's a patch and NUnit test to show the problem. Alan Index: C:/programming/mcs/class/System/System.Collections.Generic/Queue.cs

Re: [Mono-dev] Queue (bugfix + nunit)

2007-03-26 Thread Alan McGovern
Bah! Something went wrong on that patch, looks like an EOL-style thing. Better patch attached. Let me know if it's good to commit. Alan. On 3/27/07, Alan McGovern [EMAIL PROTECTED] wrote: I was looking at the Queue code and i noticed that version wasn't incremented when Queue.Clear

[Mono-dev] JIT Optimisations

2007-03-25 Thread Alan McGovern
is faster than the other. Just some food for thought ;) Alan. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Patch for IPAddress.cs

2007-03-25 Thread Alan McGovern
good to commit. Alan On 3/25/07, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello, x86 actually has an instruction whose sole purpose is to invert the byte order of a 32-bit value. Look up BSWAP. It requires at least a 486, though. Does mono otherwise run on 386 CPUs presently? If it is okay

[Mono-dev] Sparse files

2007-03-25 Thread Alan McGovern
Hi, I'm just wondering if there's a cross platform way of creating sparse files in c#. I was taking a look at the Mono.Unix namespace, but there doesn't seem to be anything there that'd do it. Thanks, Alan. ___ Mono-devel-list mailing list Mono-devel

Re: [Mono-dev] Patch for IPAddress.cs

2007-03-25 Thread Alan McGovern
Hi, That should do it. Alan. On 3/25/07, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello, Let me know if it's good to commit. The patch is unreadable, something happened when you attached it, please resend. Miguel Index: C:/programming/mcs/class/System/System.Net/IPAddress.cs

Re: [Mono-dev] Sparse files

2007-03-25 Thread Alan McGovern
on disk but any program that tries to read that file would see that 1 megabyte existing at an offset of 100 megabytes. (At least that's my understanding of it). Alan, On 3/25/07, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello, I'm just wondering if there's a cross platform way of creating

[Mono-dev] Patch for IPAddress.cs

2007-03-24 Thread Alan McGovern
didn't change any logic, i just removed the use of the temporary variables. Alan. Index: C:/programming/mcs/class/System/System.Net/IPAddress.cs === --- C:/programming/mcs/class/System/System.Net/IPAddress.cs (revision 70787) +++ C

Re: [Mono-dev] Patch for IPAddress.cs

2007-03-24 Thread Alan McGovern
I'd just like to point out that HostToNetwork() is already covered by NUnit tests, hence why i didn't include new ones. Alan. On 3/24/07, Alan McGovern [EMAIL PROTECTED] wrote: With all the talk of BitConverting recently i took a look at IPAddress.HostToNetwork(). I optimised the Swap

Re: [Mono-dev] Patch for IPAddress.cs

2007-03-24 Thread Alan McGovern
was remove the extra bit shifts. Instead of shifting across by 48, then 'ing then shifting back by 8 i just shifted across by 40 and 'ed there. Patch attached. Let me know if it's OK to commit. Alan. On 3/25/07, Gareth Pearce [EMAIL PROTECTED] wrote: However, as a comparison, the MS.NET

Re: [Mono-list] Liststore not appending correctly

2007-03-22 Thread Alan McGovern
Well if you want a responsive UI you should do no long calculations inside Application.Invoke. For example Application.Invoke(Calculate100DigitsOfPi()) would freeze your UI. Doing your calculations in a worker thread and using App.Invoke to just update the UI would be better. Alan. On 3/22

Re: [Mono-dev] Google SoC Q

2007-03-15 Thread Alan McGovern
2 years. a Basicode interpreter/compiler/whatever wouldn't really be of much use to anyone except for a very very small enthusiast market. It'd be more of a proof of concept thing than something that'd ever be widely used, so i doubt it'd get too far. But do feel free to apply anyway. Alan. On 3

Re: [Mono-dev] Bug in compiler?

2007-03-12 Thread Alan McGovern
Just so you know the this that is being complained about is the second one: public Path(Node startingNode) : this(new InitialStep(***this***, startingNode)) You can't use the object because it hasn't had it's constructor finish running. Alan. On 3/12/07, Steve Bjorg [EMAIL PROTECTED

Re: [Mono-dev] Example of an expected execption test

2007-03-09 Thread Alan McGovern
[Test] [ExpectedException(typeof(StupidException))] public void TestStupidException() { throw new StupidException(); } The above test should pass (unless i've done it wrong ;) ).You can also check to make sure the message is the same by doing the following: [Test]

Re: [Mono-dev] Stop Garbage Collection for a Codeblock

2007-03-08 Thread Alan McGovern
which does that really special task and call it so that it will remain unaffected by the GC and will do it's realtime processing in peace. Hope that helps, Alan On 3/8/07, Jonathan Pryor [EMAIL PROTECTED] wrote: On Thu, 2007-03-08 at 10:05 +0100, Back, Michael (ext) wrote: Is it possible

Re: [Mono-dev] Patch for Math.cs

2007-03-04 Thread Alan McGovern
there was a performance boost when using the turnary form, I may be wrong though. If it does turn out to be faster, you could make that change to. If it isn't, no worries. Alan. On 3/4/07, Dennis Hayes [EMAIL PROTECTED] wrote: This is a minor clean up of Math.cs. Basicly, in the methods

Re: [Mono-dev] Patch for Math.cs

2007-03-04 Thread Alan McGovern
Forgive the terrible indenting on the code: http://pastebin.ca/381736 But that indicates a huge difference between performance when using turnary as opposed to if/else. Turns out if/else is much much faster. What the hell? Alan. On 3/5/07, Felipe Almeida Lessa [EMAIL PROTECTED] wrote: I'm

Re: [Mono-list] Looking for tutorials

2007-02-12 Thread Alan McGovern
Hi, Any tutorial aimed at MS.NET winforms will be just as good for Mono. If you are using GTK#, you should check out the GTK# tutorials here: http://www.mono-project.com/GtkSharp#Tutorials Hope that helps, Alan. On 2/9/07, Huub [EMAIL PROTECTED] wrote: Hi, Running Fedora 6, I want to learn

Re: [Mono-list] Need your help: Mainsoft/Novell Race to Linux

2007-02-02 Thread Alan McGovern
name that. The whole point is to take something that works well on other enviorments and make it work on Mono. Alan. On 1/30/07, monoport [EMAIL PROTECTED] wrote: Miguel de Icaza-4 wrote: Mainsoft and Novell are organizing an event to port applications from Windows to Linux using Mono I

[Mono-dev] Optimising code breaks maths

2007-01-28 Thread Alan McGovern
Hi, While NUniting for Mono.XNA i came across a problem i have no real idea how to fix. The problem appears when i compile in Release mode with optimisations enabled. For example, when i coded a method which calculates the 8 corners of a cube when given the 6 sides of the cube, i get completely

Re: [Mono-list] MonoTorrent error + fix

2007-01-22 Thread Alan McGovern
have any comments or suggestions, give me a shout. Or if you can find a way to easily replicate the NaN bug, that'd be great. Thanks, Alan. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] MonoTorrent error + fix

2007-01-21 Thread Alan McGovern
crossed ;) ). Let me know how you get on. Alan. On 1/16/07, Will Murnane [EMAIL PROTECTED] wrote: I'm writing a BitTorrent client using the bitsharp library, and I encountered an error with a torrent that has total file size 4GB. The problem occurs on line 124 of PieceMessage.cs: long

Re: [Mono-dev] [Patch] TreeView, TreeNode, TreeNodeCollection

2007-01-20 Thread Alan McGovern
Heya, I'm on holidays in italy right now, so i havent had a chance to work on stuff for the last week. I'll be home again tomorrow, so there should be a patch ready (including nunits) by next saturday, all going well. Alan. On 1/20/07, Jonathan Pobst [EMAIL PROTECTED] wrote: Hey Alan, I

Re: [Mono-list] vbnc

2007-01-12 Thread Alan McGovern
So will it be integrated into mono or not? As far as i've heard, yes it will. But that'll only happen whenever it's ready which could be 10 months from now, or it could be 10 days from now. Alan. ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-dev] Cross-platform fsync()

2007-01-10 Thread Alan McGovern
unless there's a different reason that he needs fsync(), what's wrong with calling FileStream.Flush()? Alan ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] [Patch] TreeView, TreeNode, TreeNodeCollection

2007-01-09 Thread Alan McGovern
:/programming/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog (working copy) @@ -1,3 +1,9 @@ +2007-1-09 Alan McGovern [EMAIL PROTECTED] + * TreeNode.cs + * TreeView.cs + * TreeNodeCollection.cs + - Added some new .NET 2.0 methods + 2006-12-06 Jackson Harper [EMAIL PROTECTED

Re: [Mono-dev] Cross-platform fsync()

2007-01-09 Thread Alan McGovern
(sorry, just realised last message didn't go to mailing list) Hi, Have you tried FileStream.Flush()? ;) Alan. On 1/9/07, Patrick Earl [EMAIL PROTECTED] wrote: Greetings all. I've recently run into the need for a cross platform fsync() call. As far as I know, all of the flavors of unix

Re: [Mono-list] How can I create an account to contribute to Mono?

2006-12-28 Thread Alan McGovern
You can't create an account there. It isn't an open wiki. If you want to contribute to the website, write up what you want on your own system and then post it here. For mono patches, read the contributing guidelines on the mono-project site. Alan. On 12/23/06, 超陆 [EMAIL PROTECTED] wrote

[Mono-dev] api-diff/api-info problems

2006-12-21 Thread Alan McGovern
-minus tabs don't expand/un-expand the different sections, everything starts off expanded and remains expanded. So if anyone knows what i'm doing wrong or how to fix it, that'd be great! Thanks, Alan. ___ Mono-devel-list mailing list Mono-devel-list

Re: [Mono-dev] api-diff/api-info problems

2006-12-21 Thread Alan McGovern
the tool can fix their final HTML in order to make it work properly? Alan. On 12/21/06, Alan McGovern [EMAIL PROTECTED] wrote: Hi, Yesterday i compiled the mono/tools/corcompare tools in order to generate a class status page so i could compare Mono.XNA's status as compared to the Microsoft.Xna

Re: [Mono-list] Testing Environment

2006-12-06 Thread Alan McGovern
Try here, http://www.mono-project.com/FAQ:_Technical#How_can_I_detect_if_am_running_in_Mono.3F Alan. On 12/6/06, Kiel W [EMAIL PROTECTED] wrote: What is the best way to test the runtime environment an assembly is running it? I have some MS.Net and Mono specific code I need to separate out

Re: [Mono-list] Windows.Forms control flicker and wrapper classes.

2006-12-01 Thread Alan McGovern
Why not just use TreeView.BeginUpdate() to disable repainting, and after you've finished updating the treeview call treeView.EndUpdate() which will reenable repainting. That will stop the flickering. Alan. On 11/30/06, Bouk, Nathan [EMAIL PROTECTED] wrote: I've been developing

Re: [Mono-dev] Moma early results.

2006-11-27 Thread Alan McGovern
Not sure if this has been fixed already or not, but if you look at the largest file in the archive, it has the same methods reported multiple times (100's of times?). Is there any point to that? Alan. On 11/27/06, Miguel de Icaza [EMAIL PROTECTED] wrote: Hey folks, I have posted the 102

Re: [Mono-dev] [PATCH] System.Transactions.Transaction

2006-11-14 Thread Alan McGovern
Isn't it more usual to implement Equality and then for InEquality just: return !obj.Equals(otherObj); Easier to maintain ;)Alan.On 11/15/06, Raja R Harinath [EMAIL PROTECTED] wrote:Hi, Matthijs ter Woord [EMAIL PROTECTED] writes: In the attached diff file, is a change for implementing the == and

Re: [Mono-dev] VBNC uses too much CPU and RAM on Mono

2006-10-31 Thread Alan McGovern
Is there a sample app the compiles slowly somewhere (and instructs on how to use VBNC) that i can download it and run a few tests myself to see if i could lend a hand? I'm interested in this kind of stuff, but probably won't be able to help much :p But i'll try. Thanks,Alan.On 10/31/06, Ben Maurer

Re: [Mono-dev] VBNC uses too much CPU and RAM on Mono

2006-10-31 Thread Alan McGovern
What he needs and i need and anyone else who wants to help with this issue needs is a program that takes 5-15 minutes to compile using VBNC. Trying to profile a 1 hour compile that crashes is a waste of time. Profiling for 10 minutes allows reasonalby fast results when testing a new patch. Making

[Mono-list] GConf 2 error (windows)

2006-10-26 Thread Alan McGovern
the application to run under MS.NET? At the moment MS.NET is throwing the same missing dll exceptions that mono used to throw until i removed the dllmap entries. Secondly, (and more importantly) how do i get GConf to not throw that exception ;) Thanks,Alan. ___ Mono

Re: [Mono-dev] [PATCH] Optimize Encoding.GetByteCount

2006-10-25 Thread Alan McGovern
To my understanding, fixed pointers do not participate GC target. And- locally-allocated array anyways lives until its conversion finishes (and probably immediately disposed depending on the JIT optimization)- Usually this conversion do not take long timeSo I guess fixed pointer would work better

[Mono-list] [SPAM-LOW] .NET Ogg vorbis encoder/decoder?

2006-10-18 Thread Alan McGovern
details other than it exists. Does it work, is it complete? Or is google lying to me ;) Secondly, is there a .NET ogg vorbis encoder? I'd be interested in implementing one if one doesn't exist.Thanks,Alan. ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-dev] Bug In MonoTorrent

2006-10-12 Thread Alan McGovern
that. As it is, that's the first thing that came to my mind when i had to monitor download speed, but i agree with you 100%. Its too complicated and multithread un-safe. Any other bugs, feel free to give me a shout. If anyone wants to start coding for the library, feel free :)Alan

Re: [Mono-list] Unable to compile Stackstring variable on mcs on Ubuntu: Help Please

2006-10-06 Thread Alan McGovern
You need to uncomment the line: 'using System.Collections.Generics;'On 10/6/06, Jon Chambers [EMAIL PROTECTED] wrote:That should be System.Collections.Generic: http://msdn2.microsoft.com/en-us/library/system.collections.generic.aspx On 10/5/06, Xeno Campanoli [EMAIL PROTECTED] wrote: Jon

[Mono-list] MonoTorrent - C# based bittorrent client

2006-09-13 Thread Alan McGovern
SVN in the bitsharp folder.Thanks,Alan. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Mono SVN - compiling on windows

2006-08-01 Thread Alan McGovern
. Thanks for the help, Alan. On 8/1/06, Wade Berrier [EMAIL PROTECTED] wrote: Looks like the rpath may be the issue.Where does D:\MONOINSTALL/lib come from?Wade On Mon, 2006-07-31 at 22:23 +0100, Alan McGovern wrote: -rpath D:\MONOINSTALL/lib -no-undefined -version-info 1:0:0 -Wl,-version-script

[Mono-list] Mono SVN - compiling on windows

2006-07-31 Thread Alan McGovern
(edit: sorry for posting this to individual people, i hit reply by accident :p)Hi,Here is a paste of my error, hopefully it might help someone figure out what the problem is exactly:include -I/usr/include/glib- 2.0 -I/usr/lib/glib-2.0/include -g -O2 -fno-strict-aliasing

[Mono-list] Mono SVN - compiling on windows

2006-07-30 Thread Alan McGovern
recently could tell me what cygwin packages/versions they have installed and how they go about compiling mono. I need the SVN version as there is a patch there that fixes async sockets under windows, and i need to test it out. Thanks,Alan. ___ Mono-list

[Mono-dev] Where is the JIT compiler?

2006-04-10 Thread Alan Cyment
Hi everyone out there! Is mini.c the heart of the JIT compiler? I'm trying to understand the way the JIT works, but I'm not having an easy time finding my way around the source code tree. Thanks, Alan __ Do You Yahoo!? Tired of spam? Yahoo! Mail

[Mono-dev] Is this kinda feasible?

2006-04-05 Thread Alan Cyment
think adding this sort of API (and behavior, of course) to the Mono JIT compiler would be? Please let me know if I need to clarify this further (I didn't want to make my post that long, so as to first of all catch readers' attention :) Cheers, Alan

[Mono-list] editable datagrid

2005-10-12 Thread Alan Campbell
the value of Items.Count of the DataGrid I always get zero returned, although the DataGrid has rows in it. I am using Mono 1.1.9.1 and XSP 1.0.9 on Gentoo. Alan Campbell. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman

Re: [Mono-list] asp.net and Npgsql namespace not found

2005-10-10 Thread Alan Campbell
extract the textboxes from the DataGrid, but under Mono the DataGrid.Items.Count property = 0. I guess I will have to do some more research. Regarding C# books, I will browse the local bookstore when I am passing. Alan. On 10/9/05, Carl Olsen [EMAIL PROTECTED] wrote: Hi Alan, I've never tried

[Mono-list] asp.net and Npgsql namespace not found

2005-10-09 Thread Alan Campbell
not be found. Are you missing a using directive or an assembly reference? I guess I am missing something simple, but i could not find a similar message on the list. Browsing the archives on neotonic.com appear to be broken. Thanks Alan Campbell

Re: [Mono-list] asp.net and Npgsql namespace not found

2005-10-09 Thread Alan Campbell
line in my csharp file? Alan. On 10/9/05, Carl Olsen [EMAIL PROTECTED] wrote: That should be: gacutil -i Npgsql.dll Microsoft word automatically capitalized the i for me, which is probably going to create a compile error. Carl -Original Message- From: [EMAIL PROTECTED

Re: [Mono-list] asp.net and Npgsql namespace not found

2005-10-09 Thread Alan Campbell
Carl, thanks again. I already have Npgsql referenced in my codebehind page and I can compile console applications that reference Npgsql fine. It looks like it might be something else. I will probably remove the debian backports of Mono and install via the Mono installer. Alan. On 10/9/05

Re: [Mono-list] asp.net and Npgsql namespace not found

2005-10-09 Thread Alan Campbell
(object, System.EventArgs)' is inaccessible due to its protection level Looks like I will have to search for a solution to this problem. thanks, Alan. On 10/9/05, Alan Campbell [EMAIL PROTECTED] wrote: Carl, thanks again. I already have Npgsql referenced in my codebehind page and I can compile

[Mono-list] Invalid IL Code?

2005-08-17 Thread Alan Zebchuk
: callvirt 0x0a3e aborting... Any help would be greatly appreciated, Thanks, Alan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Invalid IL Code

2005-08-16 Thread Alan
It is using the lastest versions of Mono. So, mono 1.1.8.3 and mod_mono 1.0.9, running on OS X 10.4 Alan --- Miguel de Icaza [EMAIL PROTECTED] wrote: On Sun, 2005-08-14 at 12:01 -0400, Alan Zebchuk wrote: I'm trying to get an existing ASP.NET app up and running under mono, but I am

Re: [Mono-list] Invalid IL Code

2005-08-15 Thread Alan
It's currently being compiled using VS.net Alan --- Martin Hinks [EMAIL PROTECTED] wrote: Are you compiling with mcs or csc? On 8/15/05, Alan [EMAIL PROTECTED] wrote: I believe that everything's compiled in release mode. Alan --- Martin Hinks [EMAIL PROTECTED] wrote

RE: [Mono-list] Invalid IL Code

2005-08-15 Thread Alan
I'm assuming that it's already compiled .NET 1.1 since it being comppiled on a machine running 1.1. Alan --- Nick Berardi [EMAIL PROTECTED] wrote: Have you tried recompiling using .NET 1.1? Do you know what .Net version the original was compiled in? Nick -Original Message

[Mono-list] Invalid IL Code

2005-08-14 Thread Alan Zebchuk
: callvirt 0x0a3e aborting... Any help would be greatly appreciated, Thanks, Alan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] System.InvalidOperationException: State != Open When trying to access MS SQL Sever Database?

2005-08-01 Thread Alan Zebchuk
;Server=192.168.1.15;database=my_database;uid=my_user;p wd=my_password Any advice is greatly appreciated, Thanks, Alan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] escaping a string for sql

2005-03-07 Thread Alan Knowles
As far as I can tell, you dont, you use prepared statements and placeholders. Regards Alan James Grant wrote: I know this probably isnt the right place to ask, but I figured someone here might know (and google seems useless in this case) -- how do you escape a string in C# for use in an SQL

Re: [Mono-list] ASP.Net Mono

2005-02-12 Thread Alan Knowles
than that mostly google :) Regards Alan I'm sure I'll have more questions later. :) Thanks, Kevin -- Kevin White [EMAIL PROTECTED] ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] ASP.Net only partially working

2005-01-06 Thread Alan Knowles
/script html head title runat=server id=titleTag/ /head body p% Response.Write(Hello World!) %/p you are missing a ';' should be p% Response.Write(Hello World!); %/p (the error message told you ; missing ) Regards Alan form runat=server asp:Button id=Button1 OnClick

[Mono-list] Enum.IsDefined

2004-08-08 Thread Alan Jenkins
The ArgumentException should be The value parameter is not the correct type. It must be type String, or the Enum, or the same type as the underlying type of the Enum., instead of The value parameter is not the correct type. It must be type String, or the same type as the underlying type of

[Mono-list] gmcs: inherited subclasses of generic classes

2004-08-04 Thread Alan Jenkins
gmcs the following code. Should it? public class GenericT { public class SubGeneric { T t; } } public class Test : Genericint { public static void Main (string[] args) { } Test.SubGeneric sg; } It doesn't seem to be able to find the type parameter for Test.SubGeneric.

[Mono-list] gmcs: generates invalid IL

2004-08-04 Thread Alan Jenkins
I know this might not be much good to anyone, given that gmcs is still in alpha - but it might be useful as a small test case. I notice the $PRIVATE$ field in the Inner struct (whatever that is) in the dissasembly seems to violate the size of 0 bytes. c# source: public class GenericT {

[Mono-list] casting reference arguments

2004-07-29 Thread Alan Jenkins
value to it, call the other Increment overload with it, and then assign its value back to the byte argument - so a check against the microsoft compiler is necessary. Alan ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman

[Mono-list] (Generics) type parameters and pointers

2004-07-25 Thread Alan Jenkins
the type T*, but I would have thought it would be relatively easy to allow, given that the following is allowed. struct Array T { T[] value; } Alan ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] typeof and sizeof pointer types

2004-07-25 Thread Alan Jenkins
sizeof right. Alan ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] Custom marshalling

2004-07-25 Thread Alan Jenkins
-custom marshalling is done? Is this likely to happen? Alan ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

<    1   2   3   4   5   6   >