[Mono-dev] HttpApplication

2006-01-18 Thread Konstantin Triger
Hello, Im working on compiling the mono System.Web 1.1 for JVM platform. Currently this requires compilation by MS csc 1.1 and then converting to java byte code. As a consequence, I need to ifdef all the 2.0 features used in this particular class. Please object on the proposed

[Mono-dev] patch to build version-aware corlib_plattest dll

2006-01-18 Thread Atsushi Eno
Hi, I have a fix for mcs/class/corlib/Makefile to build version-aware corlib_plattest.dll (i.e. corlib_plattest_default.dll and corlib_plattest_net_2_0.dll). Does it look fine to commit? Atsushi Eno Index: Makefile === --- Makefile

Re: [Mono-dev] MSVC compiled mono_jit_walk_stack problems

2006-01-18 Thread Aras Pranckevicius
Hi Sebastien, The VS2005 solution file (in Mono's SVN) only works for the DEBUG targets - i.e. it was never (at least by me) tested under Release or with any optimization enabled. Yeah, I noticed that. Basically, I just built the project files from scratch (because at least in official mono

[Mono-dev] Re: [Mono-devel-list] Limiting Memory Allocation

2006-01-18 Thread Jim Purbrick
Hi Ben/Everyone, --- Ben Maurer [EMAIL PROTECTED] wrote: Look at heap-prof. My profiler traps memory freed by the gc. This is currently what I'm using to measure the memory used by different scripts. I basically wrap calls to the scripts in calls to the profiler which turn on and off memory

[Mono-dev] Re: [Mono-devel-list] Limiting Memory Allocation

2006-01-18 Thread Jim Purbrick
Hi Ben/Everyone, --- Ben Maurer [EMAIL PROTECTED] wrote: Look at heap-prof. My profiler traps memory freed by the gc. This is currently what I'm using to measure the memory used by different scripts. I basically wrap calls to the scripts in calls to the profiler which turn on and off memory

[Mono-dev] System.Resources.ResourceManager:ReleaseAllResources() throws System.InvalidCastException

2006-01-18 Thread Arnhoffer Károly
Hi, Any time I call System.Resources.ResourceManager:ReleaseAllResources() method I get System.InvalidCastException. For example I load texts from aspx.resx files to aspx pages with the function below. The text loads successfully, but becouse of the lobjRM.ReleaseAllResources() call it does

Re: [Mono-dev] Re: [Mono-devel-list] Limiting Memory Allocation

2006-01-18 Thread Zoltan Varga
Hi, If you are talking about the memory allocated by the script itself, I think the best solution would be to explicitly generate code to track it, i.e. for each newobj or newarr IL opcode you emit, emit some statements to increase a counter or

[Mono-dev] SessionDictionary serialization

2006-01-18 Thread Konstantin Triger
Hello all, Im making an integration of mono session management with J2EE Sessions. Because of some reason the serialization of SessionDictionary is custom, does not use standard ISerializable interface, but defines 2 custom methods Serialize() and Deserialize(). Does someone know

[Mono-dev] mono_jit_init called from non-main thread segfaults

2006-01-18 Thread Reiterer, Horst
Hi, I embed Mono in a custom Apache module (Linux x86). If Mono is initialized in a thread other than the main thread, e.g. an Apache worker thread, the initialization process causes a segmentation fault originating from GC initialization - pthread_push_all_stacks only takes the main thread's

Re: [Mono-dev] wsdl to C#: generated stub raises exception on dynamic array casting

2006-01-18 Thread Julien MARBACH
Tahnks Luis for your response, Hi, You should file a bug report in bugzilla.ximian.com, and pleaso provide the complete wsdl file, I'll report the bug to bugzilla.ximian.com wth the complete wsdl file right away. since snippets are not enough to reproduce the code generation. The error

[Mono-dev] Instructions for compiling under Cygwin

2006-01-18 Thread Paul F. Johnson
Hi, Just to let you know, I've mirrored the ondotnet instructions for building mono from scratch on my website - that now means that I have mac, Linux and Win32 support for building. http://www.all-the-johnsons.co.uk/mono/monowindows.html TTFN Paul -- Logic, my dear Zoe, is merely the ability

Re: [Mono-dev] HttpApplication

2006-01-18 Thread Miguel de Icaza
Hello, I’m working on compiling the mono System.Web 1.1 for JVM platform. Currently this requires compilation by MS csc 1.1 and then converting to java byte code. As a consequence, I need to ifdef all the 2.0 features used in this particular class. The code has so many special cases for

Re: [Mono-dev] Re: [Mono-devel-list] Limiting Memory Allocation

2006-01-18 Thread Jim Purbrick
At the moment no memory is allocated by the script, it's all allocated by calls in to unmanaged library functions or by Deserialization, so I could get the library calls to track the memory they allocate for scripts and then store that in the script, so when it's deserialized I still know how much

[Mono-dev] OS X Intel support

2006-01-18 Thread Andy Norman
On Thu Jan 5 17:57:26 EST 2006, Jonathan Pryor wrote: Mono has been ported to Intel Mac, in that the JIT will properly execute under Mac OS X on an Intel box. As such you could install mono on an x86 mac with little trouble. Does that mean that the existing mono binary install that is on the

Re: [Mono-dev] OS X Intel support

2006-01-18 Thread David Waite
The JIT will fail under Rosetta. The code generation portion of Mono appears to work at least somewhat (there was an issue mentioned previously about stack alignment), however the boehm garbage collector has not been ported yet to run on darwin/x86 /Mac OSX/x86. So you can run in short to medium

[Mono-dev] XSP running in MS .NET

2006-01-18 Thread Kimbrough, Andy
I'm not sure if this is the correct mailing list to post this question, but I am trying to get XSP running under visual studio 2005. I got the source to compile, but I get some odd errors at run time when I try to hit an ASP.NET page. It looks like a component is missing or won't load. I'm

[Mono-dev] Using WMI

2006-01-18 Thread Andrés G. Aragoneses
Hello. I am using .NET2005 for developing an application. This application must know the IP address of the localhost and this was done, some days ago, by resolving the DNS of localhost. However, now I have needed to know the netmask information of each IP address of each network interface

Re: [Mono-dev] Using WMI

2006-01-18 Thread John Luke
On Wed, 2006-01-18 at 22:37 +0100, Andrés G. Aragoneses wrote: Hello. I am using .NET2005 for developing an application. This application must know the IP address of the localhost and this was done, some days ago, by resolving the DNS of localhost. However, now I have needed to know the

Re: [Mono-dev] OS X Intel support

2006-01-18 Thread Jonathan Pryor
On Wed, 2006-01-18 at 20:31 +, Andy Norman wrote: On Thu Jan 5 17:57:26 EST 2006, Jonathan Pryor wrote: Mono has been ported to Intel Mac, in that the JIT will properly execute under Mac OS X on an Intel box. As such you could install mono on an x86 mac with little trouble. Does that

[Mono-dev] StringBuilder Minor Performance Patch

2006-01-18 Thread Mike Glenn
I've got some code that makes a large number of calls to StringBuilder.Append() and I noticed that in most of Append methods the length calulation is performed twice. So here's a little patch that should fix that issue. Mike Glenn StringBuilderLengthCalc.patch Description: Binary data

[Mono-dev] windows build error at sys.web 2.0

2006-01-18 Thread Atsushi Eno
Hi, Isn't the latest svn broken for windows build (or just me) ? I'm getting the attached error under 2.0 System.Web, with a runtime error below: ** ERROR **: file class.c: line 2100 (mono_class_init): assertion failed: (class) aborting... The build error shows it could not resolve some types