[Mono-dev] Sesame SPARQL desktop client
Hello, My friend Jeen and I have released a new client for Sesame repositories and SPARQL endpoints. It is written in C#, Windows.Forms and uses libraries from Java converted to .NET through IKVM. Geeky, isn't it? The web site is: http://sourceforge.net/projects/sesamewinclient/ 1. Could someone include it on Mono's web-site here: http://www.mono-project.com/Software in the section Commercial and Open Source Applications or GUI Applications. 2. Someone (or if you learns us) can package it for SUSE Linux and add it for the next OpenSuse release. Cheers, Anton web-site: http://debian.fmi.uni-sofia.bg/~toncho/myblog/ ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mkbundle assembler generation
Hi, (I am not subscribed to mono-devel so please cc:) . Recently I have played with mkbundle and monolinker and they are rather neat! So thanks. I am wondering why mkbundle generates assembler, instead of say, C? according to the git log, it has been this way since day 1. What the generated assembler (but with 3 different headers for linux/windows/mac os platforms) basically amounts is something like this in C: const unsigned char assembly_data_dllname[] = {hexdump}; I know doing it in assembler is faster (given that it is just a temporary file); but in terms of post-generation customization, it might be easier? I suppose there are the possibility of padding and alignment issues if a C compiler is in the middle. Hin-Tak Leung ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] XBuild colors
Has anyone noticed that XBuild warnings are not being colored? Or is it just my setup (Mono 2.6.7 on openSUSE 11.2)? If I change the colors via the XBUILD_COLORS shell variable I can see the colors change for errors and events, but warnings appear unaffected. They still remain the default terminal color (gray, in my case). Nicholas ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] HttpListener https bug?
I've followed the steps in http://www.mono-project.com/UsingClientCertificatesWithXSP to create a root certificate and a client certificate (instead of generating a .p12, I created a .pvk and a .cer) and then used the client certificate as my server's. Then I created a small program (attached hl.cs) and run **Mono's** httpcfg to associate the certificate with port 9667. Everything worked just fine with Mono (and on .NET, since I didn't use their httpcfg, you get a connection reset error. See the screenshot at http://gonzalo.name/tmp/httplistener2.png -Gonzalo On Sun, 2010-09-05 at 22:11 -0700, salar2k wrote: I'm trying to use Mono HttpListener but after some test I'm running into an issue with HttpS. The project works well with simple http requests but just doesn't serve https. Here is what I've done to use it (win7), first try to create certificate files: makecert -r -pe -n CN=SALARPC -b 01/01/2000 -e 01/01/2040 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange -sp Microsoft RSA SChannel Cryptographic Provider -sy 12 -sv local.pvk local.cer (this is microsoft makecert application) I've create certifications without password. and registration of files to the port: httpcfg -add -port 9667 -pvk local.pvk -cert local.cer All is done successfully. Unfortunately it doesn't response to https port. (note: actually httpcfg copies cer and pvk files for port 9667 to here: C:\Users\USERNAME\AppData\Roaming\.mono\httplistener) Second try with openssl and pvktool: openssl genrsa -des3 -out localhost.pem 2048 openssl rsa -in localhost.pem -out localhost.pem.nopass openssl req -new -key localhost.pem.nopass -out localhost.csr pvk -in localhost.pem.nopass -topvk -nocrypt -out localhost.pvk httpcfg -del -port 9667 httpcfg -add -port 9667 -pvk localhost.pvk -cert localhost.crt Still no luck with httplistener and https! Debugging the mono code I realize that it throws internally an exception during reading the request (HttpConnection.cs) which says The authentication or decryption has failed.: System.IO.IOException was caught Message=The authentication or decryption has failed. Source=Mono.HttpListener StackTrace: at Mono.Security.Protocol.Tls.SslStreamBase.EndRead(IAsyncResult asyncResult) at Mono.Net.HttpConnection.OnRead(IAsyncResult ares) InnerException: Mono.Security.Protocol.Tls.TlsException Message=A message could not be decoded because some field was out of the specified range or the length of the message was incorrect. Source=Mono.HttpListener Am I doing something wrong! What's the problem? Or this is a bug? [Mono-2.6.7 - windows 7] using System; using System.IO; using System.Net; namespace ConsoleApplication1 { class Class1 { static void Main () { HttpListener l = new HttpListener (); l.Prefixes.Add (https://*:9667/;); l.Start (); l.BeginGetContext (OnGetContext, l); Console.ReadLine (); } static void OnGetContext (IAsyncResult ares) { HttpListener l = ares.AsyncState as HttpListener; if (l == null) return; try { HttpListenerContext ctx = l.EndGetContext (ares); Console.WriteLine (Got request); l.BeginGetContext (OnGetContext, l); using (StreamWriter writer = new StreamWriter (ctx.Response.OutputStream)) writer.Write (Hello world!); ctx.Response.Close (); Console.WriteLine (Sent request); } catch (Exception e) { Console.WriteLine (e); Environment.Exit (1); } } } } ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] XBuild colors
What are you setting XBUILD_COLORS to? It works for me (2.6.7 on opensuse 11.2). What terminal are you trying this in? -Ankit On Wed, Sep 8, 2010 at 2:52 AM, Nicholas Salerno nsale...@securewatch24.com wrote: Has anyone noticed that XBuild warnings are not being colored? Or is it just my setup (Mono 2.6.7 on openSUSE 11.2)? If I change the colors via the XBUILD_COLORS shell variable I can see the colors change for errors and events, but warnings appear unaffected. They still remain the default terminal color (gray, in my case). Nicholas ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Blog : http://www.ankitjain.org/blog ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Interrop native lib
Hello, I try to create my own extension for banshee but I have an issue My project contain 2 project files: 1 c++ project with a native lib and a managed part for extension and glue with banshee. All my code is here : http://github.com/dufoli/banshee All work yesterday, and today, I do not know why but I get a DllNotFoundException : liblastfmfpBridge.so whereas this lib is in the same folder. my config file contain : configuration dllmap dll=liblastfmfpBridge.dll target=liblastfmfpBridge.so os=!windows,osx/ dllmap dll=liblastfmfpBridge.dll target=liblastfmfpBridge.dylib os=osx/ /configuration and I declare cpp function like that: [DllImport(liblastfmfpBridge.dll)] static extern IntPtr Lastfmfp_initialize (int rate, int seconds, int winsize, string artist, string album, string title, int tracknum, int year, string genre); but when I call initalize, I get a DllNotFoundException : liblastfmfpBridge.so whereas lib is in folder. And liblastfmBridge.so use liblastfmfp.so which is copy to the bin folder too. I have try to add both .so in /usr or in ld_config path but it change nothing I follow the documentation but find nothing in http://www.mono-project.com/Interop_with_Native_Libraries. Thanks for any help... Olivier Dufour ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] HttpListener https bug?
Thanks for the reply. I've done the way you did and it works. But that was not my issue. Try to set browser's proxy to localhost:9667 and browse https://mail.google.com/mail/ . You will see it doesn't work and connection resets. This happens only when you're using https in listener. Change l.Prefixes.Add (https://*:9667/;); to l.Prefixes.Add (http://*:9667/;); and browse http://www.google.com it works as expected with a message Hello world!. I've made trusted that certificate to be sure if maybe browser is strict about that. (I've installed the cer file in windows Trusted Root Certification Authorities so now it's trusted). -- View this message in context: http://mono.1490590.n4.nabble.com/HttpListener-https-bug-tp2527913p2530819.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list