Re: [Mono-winforms-list] Using SharpMap (and SharpMap.UI Controls) with Mono

2008-04-30 Thread Andy Hume
Hi Sebastien I just downloaded the current source (changeSet=33065) compiled it in VS, and it does paint on Mono here. Are you using a different version? Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian Mauer Sent: 28 April 2008

[Mono-dev] RFC on winforms / XIM clientWindow fixage

2008-04-30 Thread Atsushi Eno
Hi, I'm posting it as I've been stuck with this issue for couple of days and I still don't have a fix. Now I'm trying to fix XIM stuff to show up IM engine UI. Currently only scim works (I tried scim-anthy). Everything else (as far as I tried, iiimx/atokx3 and kinput2) do not work. It is (to my

[Mono-dev] Mono profiles / .NET Framework versions

2008-04-30 Thread Gert Driesen
Hey, On #mono, we (jb, grendel and myself) briefly discussed that way we're currently splitting up assemblies and tools in profiles, and how we're making specific profile versions of our tools accessible. For assemblies, the consensus was to either have our profile versions exactly match

Re: [Mono-dev] SHA256 - small perf boost

2008-04-30 Thread Sebastien Pouliot
yes, go ahead. thanks again Sebastien On Wed, 2008-04-30 at 02:30 +0100, Alan McGovern wrote: Applying some of the ideas from the SHA1 patch to sha256 left me with a 15% performance boost. Is this good to commit? It passes the nunit tests. Alan.

Re: [Mono-dev] Documentation for Mod_Mono

2008-04-30 Thread Rafael Teixeira
'man mod_mono' helps a lot On Tue, Apr 29, 2008 at 5:41 PM, Andre van Staden [EMAIL PROTECTED] wrote: Hi, Not sure if this is the correct list, but lets try. I'm trying to get Websites set up with Mod_Mono Apache 2.2 on Ubuntu 8.04. I cannot get any information of the correct contents

[Mono-dev] reduce memory footprint of embedded mono?

2008-04-30 Thread Christian Stümpel
Is there a way to reduce the memory footprint of my embedded mono application on Mac OS X? In top it shows up with a RSIZE of 75M and a VSIZE of 890M. I tried to set GC_dont_expand= true but I see no immediate effect. Christian Stümpel ___

Re: [Mono-dev] Mono profiles / .NET Framework versions

2008-04-30 Thread Raja R Harinath
Hi, Gert Driesen [EMAIL PROTECTED] writes: On #mono, we (jb, grendel and myself) briefly discussed that way we're currently splitting up assemblies and tools in profiles, and how we're making specific profile versions of our tools accessible. For assemblies, the consensus was to either have

Re: [Mono-dev] SHA256 - small perf boost

2008-04-30 Thread Alan McGovern
Change in plan, how does a speedup of 70% sound? Strangely enough, mono wasn't inlining the static helper methods. As each of those helpers was only being called once, i inlined them manually and performance went through the roof. It may be worth grabbing a JIT guy and figuring out why mono is

Re: [Mono-dev] I18n and ASP.Net (Rolando Martíne z)

2008-04-30 Thread Rolando Martinez
Hi Michael, Some moths ago, you spoke with me about the Gettext Addins inside in MonoDevelop and now I would like to know how to open the code for this addins. Can I use the monodevelop for this? Any suggestions? Thanks a lot!!, Rolando. Best, Rolando (R) 2008/2/8 Michael Hutchinson

Re: [Mono-dev] SHA256 - small perf boost

2008-04-30 Thread Sebastien Pouliot
Hey, On Wed, 2008-04-30 at 22:12 +0200, Alan McGovern wrote: Change in plan, how does a speedup of 70% sound? Strangely enough, mono wasn't inlining the static helper methods. As each of those helpers was only being called once, i inlined them manually and performance went through the roof.

Re: [Mono-dev] JIT and Inlining - why doesn't it happen?

2008-04-30 Thread Rodrigo Kumpera
Mono only inline very short methods. Right now methods must have a body at most 20 bytes long. 2008/4/30 Alan McGovern [EMAIL PROTECTED]: I recently started doing a bit of optimisation work on the hashing/cryptography classes in mono. When working on the managed SHA256 class[1], i noticed

Re: [Mono-dev] JIT and Inlining - why doesn't it happen?

2008-04-30 Thread Alan McGovern
This method does not get inlined: private uint Ch (uint u, uint v, uint w) { return (uv) ^ (~uw); } If that isn't inlined then don't ask me what kind of method *could* be inlined by the JIT. Alan. On Wed, Apr 30, 2008 at 11:32 PM, Rodrigo Kumpera [EMAIL PROTECTED] wrote: Mono only inline

Re: [Mono-dev] SHA256 - small perf boost

2008-04-30 Thread Alan McGovern
Looks great. I too wonder why they are not inlined (or if they were at one time). It turns out mono only inlines a method if it's body is 20 bytes or less. None of the helper functions met this requirement (unfortunately) so they never got inlined. You may want to check SHA384/512 which are

Re: [Mono-dev] JIT and Inlining - why doesn't it happen?

2008-04-30 Thread Rodrigo Kumpera
Well, the inliner basically eliminates the penalty from using properties and empty constructors. Increasing the inline threshold is tricky and might now be worthy as there are too many situations that abort inlining. So it would significantly increase JIT time for diminishing gains. On Wed, Apr

Re: [Mono-dev] Mono profiles / .NET Framework versions

2008-04-30 Thread Miguel de Icaza
Hello, On #mono, we (jb, grendel and myself) briefly discussed that way we're currently splitting up assemblies and tools in profiles, and how we're making specific profile versions of our tools accessible. The problem with this discussion is that you guys did not understand the reason for

Re: [Mono-dev] Mono profiles / .NET Framework versions

2008-04-30 Thread Miguel de Icaza
Hello, I would rather totally avoid (most of) the net_3_5 profile in the mcs/ tree, and build everything in the net_2_0 profile -- use net_3_5 _only_ for System.Web.Extensions. I agree, now that we know that 3.5 is not a parallel profile world, we should remove the step for most things (and

Re: [Mono-list] Https WebRequest

2008-04-30 Thread Michał Ziemski
Hi! You probably need to implement own ICertificatePolicy private class CerPol : System.Net.ICertificatePolicy { public bool CheckValidationResult(System.Net.ServicePoint srvPoint, System.Security.Cryptography.X509Certificates.X509Certificate certificate,

[Mono-list] type inference in nested generic lambdas goes wrong?

2008-04-30 Thread Jansen Bart
Dear all, It seems that something is going wrong with nested generic lambdas, see the example below. Is this a known issue? If so, is there any solution to be expected soon? If it is a new issue, I will try to produce a simpler example and file a bug report. By the way, I know the code

Re: [Mono-list] Https WebRequest

2008-04-30 Thread Sebastien Pouliot
Abe, Check out the security FAQ in the Mono wiki and you'll find all the answers there. Sebastien On Tue, 2008-04-29 at 23:02 -0400, Abe Gillespie wrote: Is the ability to send an SSL web request implemented? I'm trying to use the Google Checkout API

[Mono-list] Creating Silverlight/Moonlight application

2008-04-30 Thread Andrus Moor
I'm interesting how to use Mono to host Silverlight 2 application. Should I use Apache with mod_mono ? Where to find any information or tips about this ? How to use Mono to compile such application ? Andrus. ___ Mono-list maillist -

Re: [Mono-list] Https WebRequest

2008-04-30 Thread Abe Gillespie
@Sebastien, @Michał - thanks for the help, guys. I'll be looking into this tonight. -Abe On Apr 30, 2008, at 8:02 AM, Sebastien Pouliot wrote: Abe, Check out the security FAQ in the Mono wiki and you'll find all the answers there. Sebastien On Tue, 2008-04-29 at 23:02 -0400, Abe

Re: [Mono-list] Creating Silverlight/Moonlight application

2008-04-30 Thread Andrus Moor
Jeff, With Silverlight, the content gets downloaded by the browser and run locally - it is not run server-side, so there is no need for something like mod_mono. Thank you. I'm planing to create Silverlight ERP application which uses PostgreSQL large data tables. I want users to allow view,

Re: [Mono-list] Creating Silverlight/Moonlight application

2008-04-30 Thread Miguel de Icaza
I'm interested how to setup access to server data using Mono and npgsql. Should I setup Web Service or WCF to get the data over to the client application ? You need this; Your client will have to communicate with some sort of server side front-end to the database. There is a sample of

[Mono-list] How best to detect if running in mono from an unmanaged library?

2008-04-30 Thread Maser, Dan
I've got a situation where my managed app p/invokes to my unmanaged library. The unmanaged library also gets used in regular unmanaged processes. The library has some logic that uses the name of the executable. Which doesn't what I want when it's used via the interop. For example when the

Re: [Mono-list] Creating Silverlight/Moonlight application

2008-04-30 Thread Francisco Figueiredo Jr.
On Wed, Apr 30, 2008 at 4:29 PM, Andrus Moor [EMAIL PROTECTED] wrote: I'm interested how to setup access to server data using Mono and npgsql. Should I setup Web Service or WCF to get the data over to the client application ? Hi, Andrus!! If you have any problems with Npgsql in your

Re: [Mono-list] How best to detect if running in mono from an unmanaged library?

2008-04-30 Thread Robert Jordan
Maser, Dan wrote: I've got a situation where my managed app p/invokes to my unmanaged library. The unmanaged library also gets used in regular unmanaged processes. The library has some logic that uses the name of the executable. Which doesn't what I want when it's used via the interop.

Re: [Mono-list] How best to detect if running in mono from an unmanaged library?

2008-04-30 Thread Chris Howie
On Wed, Apr 30, 2008 at 7:19 PM, Robert Jordan [EMAIL PROTECTED] wrote: For unix: #include dlfcn.h /* let's assume this is a function exposed to mono: */ void test () { /* get the address of one of mono's API functions */ void *p = dlsym (NULL, mono_runtime_invoke);