[Mono-aspnet-list] xsp recompilation during FastCGI restart

2011-10-15 Thread Piers Haken
I'm running fastcgi-mono-server4.exe on my hosted server, (I can't run xsp directly and they don't have mod_mono installed) and pretty much everything is working just great. The only problem I'm seeing is when, after a short duration of inactivity, my fastcgi process is stopped. when it's

RE: [Mono-list] How to use the Boehm garbage collector

2004-05-03 Thread Piers Haken
Rico also discusses this in his blog: http://blogs.msdn.com/ricom/archive/2003/12/02/40780.aspx. Piers. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Pryor Sent: Monday, May 03, 2004 2:42 PM To: Marcus Cc: [EMAIL PROTECTED] Subject: Re:

RE: [Mono-list] About killing a thread.

2004-03-16 Thread Piers Haken
Thread.Abort () is what you're looking for. Alternatively you can switch to using asynchronous IO if you're interested in exploring a whole new world of weird and wonderful debugging scenarios. Piers. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Mono-list] Newbie seeks clear async socket example

2004-03-03 Thread Piers Haken
PS. to use unix sockets just create/bind as per Gonzalo's example. Piers. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Piers Haken Sent: Tuesday, March 02, 2004 5:01 PM To: 'Shaun ONeil'; [EMAIL PROTECTED] Subject: RE: [Mono-list] Newbie seeks clear

RE: [Mono-list] Newbie seeks clear async socket example

2004-03-02 Thread Piers Haken
Here's a simple example of accepting and reading asynchronously from a socket. It's off the top of my head, so don't expect it to compile/work, but you should get the general idea... Piers. Socket _sock; void StartListening (int nPort) { _sock = new Socket (AddressFamily.InterNetwork,

RE: [Mono-list] Socket code.

2004-02-23 Thread Piers Haken
I'm not sure why you're checking for specific lengths of bytes returned at all. This is what I use: string Read (Stream stream) { StringBuilder sb = new StringBuilder (); byte [] rgb = new byte [8 * 1024]; int cbRead; while ((cbRead = stream.Read (rgb, 0,

RE: [Mono-list] eval statement

2004-01-21 Thread Piers Haken
For simple expressions you can use XPath: XPathNavigator nav = new XmlDocument ().CreateNavigator (); Console.WriteLine (nav.Evaluate ((7-1) div 2).ToString ()); Beyond that, you'll either need to write your own expression evaluator, or build/load dynamic assemblies. Here's a couple of

[Mono-list] Ligc on cygwin

2003-11-24 Thread Piers Haken
Is --with-gc=included supported on cygwin? I'm getting lots of 'unreferenced pthread_mutex_lock'... Piers. attachment: winmail.dat

RE: [Mono-list] Ligc on cygwin

2003-11-24 Thread Piers Haken
, shame. Maybe I'll look into adding a --host=mingw target... Piers. _ From: Todd Berman [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 4:30 PM To: 'Piers Haken'; [EMAIL PROTECTED] Subject: RE: [Mono-list] Ligc on cygwin

RE: [Mono-list] ASP.NET default language -- VB

2003-11-06 Thread Piers Haken
: Wednesday, November 05, 2003 10:46 PM To: [EMAIL PROTECTED] Subject: RE: [Mono-list] ASP.NET default language -- VB El jue, 06-11-2003 a las 05:35, Piers Haken escribió: Our C# compiler is far more stable than our VB.NET compiler. That's the reason. -Gonzalo But surely

RE: [Mono-list] ASP.NET default language -- VB

2003-11-05 Thread Piers Haken
Our C# compiler is far more stable than our VB.NET compiler. That's the reason. -Gonzalo But surely this is a compatibility issue, not a stability issue. When users switch between mono and .NET, _ALL_ .aspx pages without the @Page directive are going to break (until this default is

RE: [Mono-list] if-modified-since

2003-08-18 Thread Piers Haken
El dom, 17-08-2003 a las 20:59, Piers Haken escribió: Yeah, it looks like it can parse the date part fine, it's just needs to do a ToLocalTime() on the result. The patch is in CVS. I changed it to use ParseExact with the r format (RFC1123). Thanks! -Gonzalo

[Mono-list] HttpException not being caught

2003-08-17 Thread Piers Haken
I'm not sure if this is new, but when an IHttpHandler.ProcessRequest method throws an exception like this: throw new HttpException (401, Forbidden); the server isn't returning the correct code/message. Also, it seems that setting context.Response.StatusCode has no effect. Piers.

[Mono-list] if-modified-since

2003-08-17 Thread Piers Haken
attached is a small patch to StaticFileHandler that makes use of the if-modified-since/last-modified http headers. Piers. modified.patch Description: modified.patch

RE: [Mono-list] Compiling mcs

2003-08-15 Thread Piers Haken
Try doing a 'make install' in corlib first. Piers. -Original Message- From: Giuseppe Greco [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 3:20 PM To: Mono Subject: [Mono-list] Compiling mcs Hi all, I've checked out the latest version of mcs from CVS, and when

[Mono-docs-list] RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
I should clarify this. The tree doesn't work in IE, and I think it's this line that's the culprit. All the URLs are being expanded as http://./...; Piers. -Original Message- From: Piers Haken Sent: Saturday, August 09, 2003 11:09 PM To: Miguel de Icaza; Mono Docs; [EMAIL PROTECTED

[Mono-docs-list] RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
); + context.Response.Write (tree.add (node);\n); } context.Response.Write (@ document.write(tree); Piers. -Original Message- From: Piers Haken Sent: Sunday, August 10, 2003 3:32 PM To: Miguel de Icaza Cc: Mono

[Mono-docs-list] RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
To: Piers Haken Cc: Mono Docs; [EMAIL PROTECTED] Subject: RE: [Mono-list] Live Monodoc server. Hello! I should clarify this. The tree doesn't work in IE, and I think it's this line that's the culprit. All the URLs are being expanded as http://./...; Yeah, but if I make this change

[Mono-docs-list] RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
I think you need to remove the line base href='.' target='content' / from the left frame. Piers. -Original Message- From: Miguel de Icaza [mailto:[EMAIL PROTECTED] Sent: Saturday, August 09, 2003 8:24 PM To: Mono Docs; [EMAIL PROTECTED] Subject: [Mono-list] Live

[Mono-list] XSP error

2003-08-14 Thread Piers Haken
Can anyone explain the following output from XSP? SendUnknownResponseHeader (Content-Encoding, gzip) HeadersSent() - False SendUnknownResponseHeader (Connection, Close) SendUnknownResponseHeader (X-Powered-By, Mono) SendUnknownResponseHeader (Date, Mon, 11 Aug 2003 17:30:27 GMT) HeadersSent() -

RE: [Mono-list] XSP broken?

2003-08-14 Thread Piers Haken
-list] XSP broken? El mi? 13-08-2003 a las 18:17, Piers Haken escribió: I can't get XSP to run the monodoc .ashx handler any more, it just sends the .ashx file as text. I have current CVS of everything as of about an hour ago. You need the .ashx handler in machine.config file

RE: [Mono-list] XSP error

2003-08-14 Thread Piers Haken
: Piers Haken Sent: Monday, August 11, 2003 11:56 AM To: Gonzalo Paniagua Javier; [EMAIL PROTECTED] Subject: RE: [Mono-list] XSP error Yup, it's with current CVS of everything running monodoc on XSP with the following URL: http://my-machine:8080/monodoc.ashx?tree=2 Piers

RE: [Mono-list] XSP broken?

2003-08-14 Thread Piers Haken
[]) Piers. -Original Message- From: Gonzalo Paniagua Javier [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 1:54 PM To: [EMAIL PROTECTED] Subject: RE: [Mono-list] XSP broken? El jue, 14-08-2003 a las 18:07, Piers Haken escribió: I think the problem

RE: [Mono-list] XSP broken?

2003-08-14 Thread Piers Haken
This is true for 1.0, but in 1.1 they fixed this bug, now it does precisely nothing. The MSDN docs are wrong, I've sent them a bug report. Piers. -Original Message- From: Tom Cabanski [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 10:17 AM To: Piers Haken; [EMAIL

RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
); + context.Response.Write (tree.add (node);\n); } context.Response.Write (@ document.write(tree); Piers. -Original Message- From: Piers Haken Sent: Sunday, August 10, 2003 3:32 PM To: Miguel de Icaza Cc: Mono

RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
I should clarify this. The tree doesn't work in IE, and I think it's this line that's the culprit. All the URLs are being expanded as http://./...; Piers. -Original Message- From: Piers Haken Sent: Saturday, August 09, 2003 11:09 PM To: Miguel de Icaza; Mono Docs; [EMAIL PROTECTED

RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
I think you need to remove the line base href='.' target='content' / from the left frame. Piers. -Original Message- From: Miguel de Icaza [mailto:[EMAIL PROTECTED] Sent: Saturday, August 09, 2003 8:24 PM To: Mono Docs; [EMAIL PROTECTED] Subject: [Mono-list] Live

RE: [Mono-list] XSP error

2003-08-11 Thread Piers Haken
] Subject: Re: [Mono-list] XSP error El lun, 11-08-2003 a las 19:41, Piers Haken escribió: Can anyone explain the following output from XSP? SendUnknownResponseHeader (Content-Encoding, gzip) HeadersSent() - False SendUnknownResponseHeader (Connection, Close

RE: [Mono-list] Live Monodoc server.

2003-08-11 Thread Piers Haken
My earlier patch should solve the URL basing problem, however the alert dialog is appearing because msxml is failing to load the XML document correctly. If you can tell me how to set up XSP to run the monodoc stuff then I'll take a look. Piers. -Original Message- From: Miguel de Icaza

RE: [Mono-list] Re: How often is the class status page updated?

2003-06-21 Thread Piers Haken
I've checked a new transform.cs and changes to the makefile that support running the transforms on linux. However, there are still problems with running corcompare on mono. Piers. -Original Message- From: Miguel de Icaza [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 4:37 AM

[Mono-list] Mono-generator .cctor() has incorrect sig (#45204)

2003-06-20 Thread Piers Haken
Monodis shows the following signature for mono-generated .cctors: .method compilercontrolled static specialname rtspecialname default void .cctor() cil managed Whereas .NET-generated .cctors have the following sig: .method private static hidebysig specialname

RE: [Mono-list] How often is the class status page updated?

2003-06-19 Thread Piers Haken
-Original Message- From: Ben Maurer [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 4:24 PM To: Piers Haken Cc: Paolo Molaro; [EMAIL PROTECTED] Subject: RE: [Mono-list] How often is the class status page updated? snip/ Besides: your assumption that the HTML is smaller

RE: [Mono-list] How often is the class status page updated?

2003-06-19 Thread Piers Haken
-Original Message- From: Ben Maurer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 8:10 AM To: [EMAIL PROTECTED] Subject: Re: [Mono-list] How often is the class status page updated? (right now we use a table heavy design, I am trying to fix that) Eh? The current design

RE: [Mono-list] How often is the class status page updated?

2003-06-19 Thread Piers Haken
-Original Message- From: Ben Maurer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 1:44 PM To: Piers Haken Cc: Paolo Molaro; [EMAIL PROTECTED] Subject: RE: [Mono-list] How often is the class status page updated? method name=get_Level() error=warning

RE: [Mono-list] How often is the class status page updated?

2003-06-18 Thread Piers Haken
Why on earth would you want to dynamically generate the status pages on the server? Are you expecting something to change in the assmeblies between page loads? The only time it makes sense to update the pages is after you've built the assemblies. Besides: your assumption that the HTML is smaller

RE: [Mono-list] How often is the class status page updated?

2003-06-18 Thread Piers Haken
You need to rewrite the tool just to put it put it in a cron job? Seems a bit drastic to me. I'd say a better solution would be to fix reflection in the runtime so it'll run on mono. Piers. -Original Message- From: Paolo Molaro [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18,

RE: [Mono-list] Mono quotes from a Sun evangelist

2003-03-29 Thread Piers Haken
-Original Message- From: Stefan Matthias Aust [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 4:38 AM To: [EMAIL PROTECTED] Subject: Re: [Mono-list] Mono quotes from a Sun evangelist snip/ My preference would be to have something like servlets as I really like this

RE: [Mono-list] Reflection Problem

2003-03-20 Thread Piers Haken
The best book I have seen on the .NET runtime is Applied Microsoft .NET Framework Programming by Jeffrey Richter. http://www.amazon.com/exec/obidos/ASIN/0735614229/qid=1048186879/sr=2-1/ ref=sr_2_1/002-7268009-8165665 Its focus is more on the workings of the runtime than the C# language. Piers.

RE: [Mono-list] Exceptions and error codes.

2003-03-20 Thread Piers Haken
-Original Message- From: Thong Nguyen [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 12:14 PM To: [EMAIL PROTECTED] Subject: [Mono-list] Exceptions and error codes. Hiya guys, I recently read some recommendations on the GTK# mailing list regarding the use of

RE: [Mono-list] XmlDocument.SelectSingleNode(ancestor::foo)

2003-03-04 Thread Piers Haken
Ouch, good catch Atsushi! Yeah, it seems that SelectNodes always returns the nodes in document order, and SelectSingleNode just returns the first of these. Ugh. Can you add a bug to the database so we can track this, it's not going to be a simple fix, I'm afraid... Piers. -Original

RE: [Mono-list] effect of -nostdlib option

2003-03-03 Thread Piers Haken
unless something fundamental in the runtime has change recently, i don't think it's so easy a fix. the problem being that you cannot reflect on a corlib other than the one being used for execution. a while ago i suggested adding support for Assembly.Load()ing multiple corlibs, but it got turned

RE: [Mono-list] someone, please clear out that patents issue

2003-02-13 Thread Piers Haken
Title: RE: [Mono-list] someone, please clear out that patents issue I agree. I'm sure that some of the developers and architechts of .NET at Microsoft feel some pride that their work is followed. Not least by a group so well lead a this. Ximian has shown extreme maturity in adopting a

[Mono-list] RE: System.XML.Xpath

2003-02-04 Thread Piers Haken
now ;-) Piers. -Original Message- From: Nick Drochak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 5:26 AM To: [EMAIL PROTECTED] Cc: Piers Haken Subject: System.XML.Xpath Piers, Your recent patch for Xpath (Parser.cs and Parser.jay) has

[Mono-list] Mono warnings

2003-02-04 Thread Piers Haken
Title: Mono warnings Attached is a patch that fixes most of the remaining compiler warnings for the mono build on linux. One of the warnings I didn't fix is: object.c: In function `mono_class_vtable': object.c:223: warning: assignment makes integer from pointer without a cast I

RE: [Mono-list] Automatic Binding of Variables to Parameters in ADO.NET

2003-01-27 Thread Piers Haken
-Original Message-From: Daniel Morgan [mailto:[EMAIL PROTECTED]]Sent: Monday, January 27, 2003 5:33 AMTo: Piers Haken; Mono-ListSubject: RE: [Mono-list] Automatic Binding of Variables to Parameters in ADO.NET Maybe that's what we need then - for someone to start working on the

RE: [Mono-list] RE: [Mono] MySQL Managed Provider

2003-01-23 Thread Piers Haken
Title: RE: [Mono-list] RE: [Mono] MySQL Managed Provider I would consider NOT prefixing the types with 'My' since they're already in a separate namespace and porting user code from one provider to another will be much simpler if most of the type names remain the same. Piers.