Re: [Mono-dev] Bug 486705 Update / Fix?

2009-03-21 Thread Andreas Färber
Hi, Am 21.03.2009 um 05:20 schrieb Shao Jiaxing: > I'm using Mono 2.4RC3 source tarball on SLES 10.2.Unfortunately, I > compile > Mono 2.4RC3 has problem,too. My problem is compiling > ICSharpCode.SharpZipLib and cause error.So, I modified Makefile to > skip this > library because I only wan

Re: [Mono-dev] [patch] coreclr: metadata/*

2009-03-21 Thread Mark Probst
Hey Sebastien, > This patch adds the reflection checks for fields and also reworks (and > move*) how the checks are done on methods. Looks good. One question, though: are you sure that in CoreCLR even critical methods cannot via reflection access fields and methods that they usually couldn't via

Re: [Mono-dev] [patch] coreclr: metadata/*

2009-03-21 Thread Sebastien Pouliot
Hello Mark, On Sat, 2009-03-21 at 09:21 +0100, Mark Probst wrote: > Hey Sebastien, > > > This patch adds the reflection checks for fields and also reworks (and > > move*) how the checks are done on methods. > > Looks good. One question, though: are you sure that in CoreCLR even > critical metho

[Mono-dev] [patch] coreclr: metadata/* (dynamic methods)

2009-03-21 Thread Sebastien Pouliot
Hello, Here's another patch. This one adds some* checks for dynamic methods. The checks are located in security-core-clr.c and the caller (reflection.c) has been adjusted for the task. Thanks again! Sebastien * it's likely not complete, but its enough for the current tests we have. I've never b

Re: [Mono-dev] [patch] coreclr: metadata/* (dynamic methods)

2009-03-21 Thread Mark Probst
Hey Sebastien, > Here's another patch. This one adds some* checks for dynamic methods. > The checks are located in security-core-clr.c and the caller > (reflection.c) has been adjusted for the task. I don't understand why these checks are necessary - they should be performed when the method is co

[Mono-dev] [Patch] xbuild, ResXFileRef and relative windows paths

2009-03-21 Thread Daniel Nauck
Hello, i've found 2 problems while i was trying to compile a visual studio project with xbuild that contains ResXFileRefs. 1.) xbuild doesn't set the BasePath property of System.Resources.ResXResourceReader. The first patch fixed this issue. Before that change ResXFileRefs with relative paths wa

Re: [Mono-dev] [Patch] xbuild, ResXFileRef and relative windows paths

2009-03-21 Thread Ankit Jain
+ // set correct basepath to resolve relative paths in file refs + if (reader is System.Resources.ResXResourceReader) + ((System.Resources.ResXResourceReader) reader).BasePath = Path.GetDirectoryNam