Re: [Mono-dev] library vs module

2009-07-14 Thread Alan McGovern
Hey, On Wed, Jul 15, 2009 at 1:00 AM, Jon Shemitz wrote: > Thanks - someone sent me that privately, and it did the trick. *cough* whoops, I thought I had hit reply to all ;) Glad it's working anyway. Alan. > > > Perhaps `gmcs --help` could explain this better. It gave me the strong > impres

Re: [Mono-dev] [PATCH] 2 Small fixes in the System.Web Namespace

2009-07-14 Thread Gonzalo Paniagua Javier
This is now in mono-2-4 and HEAD. Thanks. -Gonzalo On Wed, 2009-07-08 at 16:17 +, Daniel Gagne wrote: > This patch contains 2 small midfications in the System.Web namespace: > > ParserErrorCollection - Added Setter > enum ApplicationShutdownReason - Added new 3.5 type > > danny > __

Re: [Mono-dev] Performance of TextWriter.ReadToEnd()

2009-07-14 Thread Gonzalo Paniagua Javier
On Tue, 2009-07-14 at 18:06 -0500, Jimmy Tang wrote: > I'm playing around with some of the language shootout game benchmarks > at http://shootout.alioth.debian.org, > and I noticed a striking performance issue; > > I'm testing on mono 2.4 build 6 / vista64 vs .NET 3.5 sp1. Test code: > > static v

Re: [Mono-dev] library vs module

2009-07-14 Thread Jon Shemitz
Thanks - someone sent me that privately, and it did the trick. Perhaps `gmcs --help` could explain this better. It gave me the strong impression that all options came before all file names. -Original Message- From: Stefanos A. [mailto:stapos...@gmail.com] Sent: Tuesday, July 14, 2009 4:5

Re: [Mono-dev] library vs module

2009-07-14 Thread Stefanos A.
On Tue, 2009-07-14 at 16:40 -0700, Jon Shemitz wrote: > It looks like I want to build A.cs to a module, then somehow build the > library from B.cs and the A.netmodule, but I can’t seem to figure out > the gmcs command line syntax. Try this: gmcs A.cs B.cs /out:Foo.dll __

[Mono-dev] library vs module

2009-07-14 Thread Jon Shemitz
Another one of those "VS hides the details" questions: I'm trying to build a library from A.cs and B.cs, where B.cs uses types from A.cs. It looks like I want to build A.cs to a module, then somehow build the library from B.cs and the A.netmodule, but I can't seem to figure out the gmcs com

[Mono-dev] Performance of TextWriter.ReadToEnd()

2009-07-14 Thread Jimmy Tang
I'm playing around with some of the language shootout game benchmarks at http://shootout.alioth.debian.org, and I noticed a striking performance issue; I'm testing on mono 2.4 build 6 / vista64 vs .NET 3.5 sp1. Test code: static void Main() { var sequence = Console.In.ReadToEnd(); Console

Re: [Mono-dev] Value 6323991190089764104 is outside the valid range [ 0, 3155378975999999999 ]. Parameter name: ticks

2009-07-14 Thread c.esquibel
Very cool - thanks a ton for the useful guidance. -- View this message in context: http://www.nabble.com/Value-6323991190089764104-is-outside-the-valid-range---0%2C-31553789759--.-Parameter-name%3A-ticks-tp24484219p24488689.html Sent from the Mono - Dev mailing list archive at Nabble.com

Re: [Mono-dev] sending smtp email under SSL

2009-07-14 Thread Gonzalo Paniagua Javier
Try setting the certificate validation callback. If you're running mono from HEAD (if you don't know what this is, you are not): --- // This will trust *any* certificate ServicePointManager.ServerCertificateValidationCallback += delegate(object sender, X509Cert

Re: [Mono-dev] Value 6323991190089764104 is outside th e valid range [ 0, 3155378975999999999 ]. P arameter name: ticks

2009-07-14 Thread Miha Vrhovnik
"c.esquibel" wrote on 14.7.2009 21:34:55: > >That is the latest stable in yum. When doing stuff for the office, I've had >a hell of a time getting mono to "act right". Is there a >recommended/supported way to get CentOS to use 2.4.2 (via yum?) We've taken them form fedora's EPEL http://fedorap

Re: [Mono-dev] status of System.Messaging in Mono

2009-07-14 Thread Gonzalo Paniagua Javier
On Tue, 2009-07-14 at 07:34 +0100, Michael Barker wrote: > Hi, > > I am actively working on implementing System.Messaging for Mono using > RabbitMQ as a messaging bus implementation, which should be included > in the latest builds. It should be considered as alpha at the moment. > I am really in

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-14 Thread Gonzalo Paniagua Javier
On Tue, 2009-07-14 at 11:12 +0200, pablosantosl...@terra.es wrote: > Hi Gonzalo, > > >> Testing PlasticSCM under really heavy load (hundreds of clients against > >> a single server delivering hundreds of Gb over the network). > >> > > > > So no profiling... > > > > > Comparing the same cod

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Jon_James
Text file must have not gone through. Fyi, I installed paintdotnet and was able to run from command line. Xdpyinfo output below: name of display::0.0 version number:11.0 vendor string:The X.Org Foundation vendor release number:70101000 X.Org version: 7.1.1 maximum request size:

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Sebastien Pouliot
On Tue, 2009-07-14 at 15:55 -0500, jon_ja...@dell.com wrote: > FYI, I was able to launch paintdotnet from console. and what's the output of xdpyinfo ? > > -Original Message- > From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com] > Sent: Tuesday, July 14, 2009 2:44 PM > To: James

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Jon_James
FYI, I was able to launch paintdotnet from console. -Original Message- From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com] Sent: Tuesday, July 14, 2009 2:44 PM To: James, Jon Cc: mono-devel-list@lists.ximian.com Subject: RE: [Mono-dev] System.Drawing.Graphics exceptions On Tue,

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Jon_James
I have our internal test client that runs on mono. Want me to install one from the software link on mono website? Keepass? BareFTP? Jon -Original Message- From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com] Sent: Tuesday, July 14, 2009 2:44 PM To: James, Jon Cc: mono-devel-lis

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Sebastien Pouliot
On Tue, 2009-07-14 at 14:29 -0500, jon_ja...@dell.com wrote: > Hi Sebastien, > > I'm able to login and open applications if that's what you're asking. > Can you give me a test to try out? What's the output of xdpyinfo ? > I can open gedit from console if that's what you're asking. gedit is a

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Jon_James
Hi Sebastien, I'm able to login and open applications if that's what you're asking. Can you give me a test to try out? I can open gedit from console if that's what you're asking. FYI: this is on RHEL5.3 64 bit. Jon -Original Message- From: Sebastien Pouliot [mailto:sebastien.poul...

Re: [Mono-dev] Value 6323991190089764104 is outside the valid range [ 0, 3155378975999999999 ]. Parameter name: ticks

2009-07-14 Thread c.esquibel
That is the latest stable in yum. When doing stuff for the office, I've had a hell of a time getting mono to "act right". Is there a recommended/supported way to get CentOS to use 2.4.2 (via yum?) -- View this message in context: http://www.nabble.com/Value-6323991190089764104-is-outside-the-v

Re: [Mono-dev] Value 6323991190089764104 is outside the valid range [ 0, 3155378975999999999 ]. Parameter name: ticks

2009-07-14 Thread Robert Jordan
c.esquibel wrote: > I have also seen the following variation of this message: > > Value 4671289079185280264 is outside the valid range [ 0, > 31553789759 ]. Parameter name: ticks ... > > Microsoft Virtual PC 6.0.156.0 > CentOS release 5.3 (Final) > mono-core.i386 1.2.4-2.el5 1.2.4 is

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Sebastien Pouliot
Hello Jon, The exception from your previous email* shows the problem: [r...@localhost BTOAD]# mono RMScreenShot.exe test.jpg > BTOStudio RM Client ScreenShot Utility < ERROR > Fatal Error: System.NotImplementedException: 0bbp depth not supp

[Mono-dev] Value 6323991190089764104 is outside the valid range [ 0, 3155378975999999999 ]. Parameter name: ticks

2009-07-14 Thread c.esquibel
I have also seen the following variation of this message: Value 4671289079185280264 is outside the valid range [ 0, 31553789759 ]. Parameter name: ticks At my office we have a remoting system whereby a client application requests data from various dispatchers. The dispatchers work as a

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Jon James
-bump- Any thoughts around this problem? I've gone through the system.drawing.graphics source code. I'm thinking there is an issue with this line: 240: Bitmap bmp = new Bitmap (blockRegionSize.Width, blockRegionSize.Height); or the visual object that is created in the method. or these lines

[Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Jon James
exception being thrown in RHEL5.3... [r...@localhost BTOAD]# mono RMScreenShot.exe test.jpg > BTOStudio RM Client ScreenShot Utility < ERROR > Fatal Error: System.NotImplementedException: 0bbp depth not supported. at System.Drawing.Graphics.CopyFromScreenX11 (Int32 sourceX, Int

[Mono-dev] libgdiplus 2.4.2 configure error: cairo backen fonts

2009-07-14 Thread Jon James
Trying to configure libgdiplus and i'm running into issues: configure: error: Cairo requires at least one font backend. Please install freetype and fontconfig, then try again: http://freetype.org/ http://fontconfig.org/ configure: error: ./configure failed fo

Re: [Mono-dev] sending smtp email under SSL

2009-07-14 Thread _KD_
gedw99 wrote: > > Hey, > > i am trying to send an email using a gmail account. > According to the docs, Network Credentials does not support SSL. > http://www.go-mono.com/docs/index.aspx?link=T%3ASystem.Net.NetworkCredential%2F* > > I am using the latest mono 1.2, and XPS2 ! > Is there an a

Re: [Mono-dev] asp.net 1.2.5 and 1.2.6

2009-07-14 Thread presoonjohn
Hi Nathan, Installing "libgdiplus" fixed my issue. Thank you for the tip dear. Presoon. Bobcares -- View this message in context: http://www.nabble.com/asp.net-1.2.5-and-1.2.6-tp14743563p24405484.html Sent from the Mono - Dev mailing list archive at Nabble.com. __

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-14 Thread pablosantosl...@terra.es
Thanks Robert, So: I'll modify the TcpChannel to use ThreadPool at System.Threading instead of the built-in one. Robert Jordan wrote: > pablosantosl...@terra.es wrote: > >> Also, you mentioned in a previous email that the TcpChannel should be >> changed so it uses Asynch sockets. I've seen

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-14 Thread Robert Jordan
pablosantosl...@terra.es wrote: > Also, you mentioned in a previous email that the TcpChannel should be > changed so it uses Asynch sockets. I've seen you use AsyncCallBack on XSP. > > My question is: I guess AsynchCallback will use a thread underneath, > won't it? If so: what's the advantage over

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-14 Thread pablosantosl...@terra.es
Hi Gonzalo, >> Testing PlasticSCM under really heavy load (hundreds of clients against >> a single server delivering hundreds of Gb over the network). >> > > So no profiling... > > Comparing the same code, the same hardware and the same test under Linux and Windows. On Windows we run under