Re: [Mono-dev] PATCH: Make Process.Start() use thesame'mono'runtime

2007-06-07 Thread Jonathan Gilbert
. Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] PATCH: Make Process.Start() use thesame'mono'runtime

2007-06-07 Thread Jonathan Gilbert
At 04:33 PM 6/7/2007 +0200, Paolo Molaro wrote: On 06/06/07 Jonathan Gilbert wrote: penalty? Surely the overhead of actually setting up a 10,000 child processes totally eclipses a 5 second penalty. Well, maybe on windows it does. My 3 year old laptop can execute 2500 processes in those 5

Re: [Mono-dev] PATCH: Make Process.Start() use thesame'mono'runtime

2007-06-06 Thread Jonathan Gilbert
it. The code in both patches is hereby officially licensed under the terms of the MIT X11 license. :-) Enjoy, Jonathan Gilbert The below is for review only; please use the attached gzip when applying the patch to your local source tree. Index: class/System/System.Diagnostics/Process.cs

Re: [Mono-dev] PATCH: Make Process.Start() use thesame'mono'runtime

2007-06-06 Thread Jonathan Gilbert
At 04:39 PM 6/6/2007 +0200, Paolo Molaro wrote: On 06/06/07 Jonathan Gilbert wrote: This makes having 'mono' in $PATH an official requirement for mono to operate correctly... For some things it's already required to have the mono tools installed in $PATH (see for example the use of codedom

Re: [Mono-dev] PATCH: Make Process.Start() use thesame'mono'runtime

2007-06-06 Thread Jonathan Gilbert
this and for one reason or another never got around to it. It was fun writing it :-) Thanks, Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] PATCH: Make Process.Start() use the same 'mono' runtime

2007-06-04 Thread Jonathan Gilbert
into the e-mail. Since this is likely to break it for the purposes of applying, I also attached a gzipped copy of the file. Enjoy, Jonathan Gilbert Index: mono/io-layer/processes.c === --- mono/io-layer/processes.c (revision 78469

Re: [Mono-dev] PATCH: Make Process.Start() use the same 'mono'runtime

2007-06-04 Thread Jonathan Gilbert
for leaving it there for those few? Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] PATCH: Make Process.Start() use the same 'mono'runtime

2007-06-04 Thread Jonathan Gilbert
as the caller. How would the object returned by Process.Start represent this? What if you wanted to kill off the child process after a certain timeout? Process.Kill would terminate the parent as well! Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list

Re: [Mono-dev] GetAddrOf mono-basic vb.net

2007-05-05 Thread Jonathan Gilbert
, but that just about sums up what this GetAddrOf is all about. Jonathan Gilbert ___ 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-24 Thread Jonathan Gilbert
instructions), then perhaps it would be possible to do something like marking it as an icall and having the JIT recognize that method and inline it as just a BSWAP. Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http

Re: [Mono-dev] C# to x86 assembly code?

2006-09-18 Thread Jonathan Gilbert
are susceptible to the other assembly being swapped for a different version, but at runtime that problem disappears since once loaded, the assembly is guaranteed to remain the same version (and remain loaded, too). I don't know to what extent mono takes advantage of either of these points. Jonathan Gilbert

Re: [Mono-dev] About Sebastien blog Gendarme gains XML support, more...

2006-09-18 Thread Jonathan Gilbert
') at JIT time while the latter, barring some special-case optimization in the JIT, will get translated to a load from a static field. I also happen to think that 'x = ' is more readable than 'x = string.Empty'. :-) Do you know of a compelling reason to use 'x = string.Empty' over 'x = '? Jonathan

[Mono-dev] Extended error reporting for libgdiplus/System.Drawing

2006-09-04 Thread Jonathan Gilbert
extendederrorreporting.System.Drawing.diff: Apply in /source/trunk/mcs/class/System.Drawing Thoughts? Comments? If nobody thinks this is a bad idea (and some people think it is a good idea), I can commit it. Thanks, Jonathan Gilbert - I have included the patches inline in the e-mail as well as attaching them in gzipped

Re: [Mono-dev] Incremental C# compiler

2006-07-14 Thread Jonathan Gilbert
yet: adding/removing members other than methods, and adding entirely new data types (I can't see any obvious reason why new data types couldn't be added, though I can see that removing data types would be a pain, even more of a pain than supporting the removal of methods in classes). Jonathan Gilbert

Re: [Mono-dev] Incremental C# compiler

2006-07-12 Thread Jonathan Gilbert
avoided loses their entire debug session. :-) Just some ideas :-) Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Incremental C# compiler

2006-07-12 Thread Jonathan Gilbert
t 06:48 PM 12/07/2006 +0200, Robert Jordan wrote: Jonathan Gilbert wrote: One other possibility which should not be discounted out-of-hand, I think, is the possibility of resurrecting the interpreter and bringing it up-to-date. Certainly the hardest part of edit-and-continue of a running Edit

Re: [Mono-dev] ActionT used

2006-07-11 Thread Jonathan Gilbert
in a breadth-first tree walk order. Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Single thread scheduler for Threading.Timers patch

2006-06-14 Thread Jonathan Gilbert
before proceeding. If you'd like, I can try writing an alternate implementation along these lines, but it will have to wait until after work for me today. Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http

Re: [Mono-dev] Single thread scheduler for Threading.Timers patch

2006-06-14 Thread Jonathan Gilbert
? Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Re: Please Help : Leak of wapi handles

2006-05-06 Thread Jonathan Gilbert
, the patch is correct if that code ever has to run on Windows (..and it'll also be correct if/when mono starts using pseudohandles too). :-) Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman

Re: [Mono-dev] New test suite for System.Web.dll

2006-04-19 Thread Jonathan Gilbert
retrieve icon is not showing, then this message is no longer on the server. Over 500 kb times however many thousands of subscribers there are to this list... Putting this file on a web server and providing a link would be far more appropriate, in my opinion. Jonathan Gilbert

[Mono-dev] Re: [Mono-list] Silly question (for documentation)

2006-03-06 Thread Jonathan Gilbert
At 02:43 PM 06/03/2006 -0500, Miguel de Icaza wrote: Hello, I know that CSC creates a temp directory in where ever %TEMP% is pointed to, to create the object files and deletes them when its all done building but the compiler inlined in Visual Studio creates a local directory to store the

Re: [Mono-dev] apache + mod_mono + libgdiplus = strange behaviour(was: libgdiplus bug?)

2006-02-25 Thread Jonathan Gilbert
, and that is accessed dynamically at runtime through P/Invoke. It is not required for the binary to start running, and P/Invoke failing to find a library *does* throw an exception... Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list

Re: [Mono-dev] Mono's handling of Structs

2005-11-22 Thread Jonathan Gilbert
Point. Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] System.Net.Mail question

2005-11-09 Thread Jonathan Gilbert
to HTML, and mono's implementation might be attaching a plaintext version of the message with the HTML one as the main MIME body, using MIME type 'multipart/alternate' as suggusted by RFC 1521 et al. Try setting it to .Text if you want a plaintext message. :-) Jonathan Gilbert

Re: [Mono-dev] Patch to RotateFlip: reworks existing code and adds 1-and 4-bit support

2005-10-24 Thread Jonathan Gilbert
At 10:44 PM 23/10/2005 -0600, Peter Dennis Bartok wrote: Jonathan, I haven't reviewed the patch yet, but I noticed that you put the tests for it in winforms; it'd be cool you would nunit-ify them and put them straight under System.Drawing/Test? Maybe using GetPixel to verify it rotated

[Mono-dev] Patch to RotateFlip: reworks existing code and adds 1- and 4-bit support

2005-10-23 Thread Jonathan Gilbert
under simply 'winforms/rotate'. I submit this patch for approval by anyone with interest in RotateFlip. It is fully tested and known to work, but feel free to submit it to whatever scrutiny you feel is necessary. I can commit it if nobody finds issue with the patch :-) Thanks, Jonathan Gilbert

Re: [Mono-devel-list] Running mono on a G5

2005-07-08 Thread Jonathan Gilbert
is familiar with those systems and could make a basic port of the JIT to mips-sgi-irix? Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-devel-list] System.Drawing Tests - image recognitionsimilarities

2005-05-30 Thread Jonathan Gilbert
in only one area is better than favouring that area over all others. Just thought I'd let you know :-) Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-devel-list] Arguments with spaces when starting externalprogram through System.Diagnostics.Process

2005-05-26 Thread Jonathan Gilbert
\argument with spaces\ \another argument with spaces\ Jonathan Gilbert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-devel-list] Arguments with spaces when startingexternalprogram through System.Diagnostics.Process

2005-05-26 Thread Jonathan Gilbert
At 06:16 PM 26/05/2005 -0400, Gonzalo wrote: On Thu, 2005-05-26 at 17:59 -0400, Jonathan Gilbert wrote: At 05:53 PM 26/05/2005 -0400, Gonzalo wrote: You just need to use something like 'argument with spaces' (note the single quotes around the argument). I doubt single quotes will work across

Re: [Mono-devel-list] Comparing against null

2005-04-09 Thread Jonathan Gilbert
if the JIT recognizes when this compares against null and simplifies it to brtrue/brfalse, but it seems like an obvious -- and simple -- thing to do (just need to be careful that the user hasn't created their own 'new' static ReferenceEquals function). Jonathan Gilbert