Re: [Mono-dev] Trying figure out EF6

2012-11-10 Thread Joe Dluzen
I've had great success with OrmLite, not to mention the entire ServiceStack
suite.

Message: 3
 Date: Fri, 9 Nov 2012 21:45:08 +0100
 From: Raul U. ruri...@yahoo.es
 To: mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] Trying figure out EF6
 Message-ID: 018001cdbebb$1b63cea0$522b6be0$@yahoo.es
 Content-Type: text/plain; charset=iso-8859-1

 Hi, I?m trying to use Entity Framework, I would like to use MySql. In my
 understanding there is no EF6 provider yet, so this is not possible. In
 fact, I only found two providers available for EF, SQL Server and SQL CE.



 Is this right? Is there any other option out there?



 Thx.

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Moonlight for Win/Mac as a cross platform desktop

2011-11-09 Thread Joe Dluzen
I always expected and hoped that Moonlight desktop would take off. It
always seemed like the most logical route. 99% (if not 100%) of your
code (including GUI code!) would target Silverlight/Moonlight 4, and
suddenly your app now runs on Windows Phone, Symbian, Xbox 360 (soon),
Windows, Mac, and Linux in the browser as well as out of browser. On
Linux OOB, you could even have the full runtime available. Microsoft
even lists Moonlight on their Silverlight page under system
requirements. Android demos of Moonlight have also been shown.

Ian Norton has been working on just this sort of thing:
https://github.com/inorton/MoonBase, though it seems to depend on GTK#
in some fashion, it most likely doesn't need the entire suite of libs.
Maybe we could isolate only what is needed (not using the Mono linker
I mean).

While Xamarin is busy in ARM land, I would hope that they could spend
just a bit of time and get the Moonlight trunk in a nice easy-to-build
state. Perhaps some ready-to-integrate static/shared libs too...

Stefan, are you able to target Silverlight 4 OOB? That should take
care of Windows and Mac desktop.

Joe

 Message: 1
 Date: Mon, 7 Nov 2011 16:04:36 +
 From: Stefan Dobrev stefan.dob...@telerik.com
 Subject:
        application platform
 To: mono-devel-list@lists.ximian.com
        mono-devel-list@lists.ximian.com
 Message-ID:
        ac2d0e1b18c6e54f925c08cb20bbde1b0ac...@exchbg02.telerik.com
 Content-Type: text/plain; charset=us-ascii

 Hi guys,

 I know about your current vision that developers should use the native UI 
 toolkit for the platform that they are targeting, but nevertheless I want to 
 bring this question up. Are there any plans to support Moonlight as a cross 
 platform desktop application platform for Windows/Mac? If so what resources 
 should be delegated to implement the basics of the Windows part for example?

 I know that this may sound crazy, but feel free to express your wild ideas 
 and shoot in the dark

 -sdobrev
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.ximian.com/pipermail/mono-devel-list/attachments/2007/aefbf4a0/attachment-0001.html
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Moonlight for Win/Mac as a cross platform desktop

2011-11-09 Thread Joe Dluzen
That's a bummer. Thanks for the clarification M.

Is there an updated class status page for ML4? As well as a
non-automatically generated overview of ML status? What works, what
doesn't, what's missing, you know...

Did you/Novell/Xamarin ask Microsoft to open source it? And if so, why
they said no?

Joe

On Wed, Nov 9, 2011 at 10:47 PM, Miguel de Icaza mig...@xamarin.com wrote:

 While Xamarin is busy in ARM land, I would hope that they could spend
 just a bit of time and get the Moonlight trunk in a nice easy-to-build
 state. Perhaps some ready-to-integrate static/shared libs too...

 Stefan, are you able to target Silverlight 4 OOB? That should take
 care of Windows and Mac desktop.

 Moonlight is somewhere between 3.x and 4.x, with one gap: we do nto have any
 of the generic.xaml code that is needed to style the new controls, and
 Microsoft never open sourced the high-level libraries for 3.x and 4.x like
 they did for 2.x.   So there is a significant amount of work left to be done
 for complete compatibility.
 Miguel
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono-devel-list Digest, Vol 77, Issue 6

2011-09-21 Thread Joe Dluzen
Thanks Robert, I expected something like that.

Is there an easy way to determine if the runtime has already been
initted? I would like to use Mono for practically all logic for my
unmanaged SO needs, yet allow for the possibility that the application
is managed. I would like to avoid requiring the app to pass some Mono
handle into the SO to do all its work, though if that's the way it is,
then that's the way it is. Then comes the issue of versioning the
runtimes, 2 corlibs being loaded, etc. Should I just stay away from
this whole thing?

Are there any complications that I should be aware of when the
SO+managed code is ready to be unload from the process?

Thanks,
Joe

 Date: Tue, 13 Sep 2011 11:53:07 +0200
 From: Robert Jordan robe...@gmx.net
 Subject: Re: [Mono-dev] Multiple Monos in a single process
 To: mono-devel-list@lists.ximian.com
 Message-ID: j4n96i$6is$1...@dough.gmane.org
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 On 12.09.2011 22:23, Joe Dluzen wrote:
 Hi all,

 let's say I have a C# app A which PInvokes to a native SO/DLL B, which
 embeds Mono for basically 100% of its logic. Do bad things happen on
 Linux vs Windows?

 Yes. Under Linux, libmono is statically linked by default.
 If you p/invoke a library that it turn is linked against
 libmono, you'll end up with 2 runtime instances.

 Even if you link libmono dynamically (there is a `configure'
 switch for this), you must take care to initialize the runtime
 only once. This means that you can't call mono_jit_init/cleanup
 from the SO.

 Robert
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Multiple Monos in a single process

2011-09-21 Thread Joe Dluzen
Whoops, forgot to edit subject. This one should make the above email
more apparent.

On Wed, Sep 21, 2011 at 2:13 PM, Joe Dluzen jdlu...@gmail.com wrote:
 Thanks Robert, I expected something like that.

 Is there an easy way to determine if the runtime has already been
 initted? I would like to use Mono for practically all logic for my
 unmanaged SO needs, yet allow for the possibility that the application
 is managed. I would like to avoid requiring the app to pass some Mono
 handle into the SO to do all its work, though if that's the way it is,
 then that's the way it is. Then comes the issue of versioning the
 runtimes, 2 corlibs being loaded, etc. Should I just stay away from
 this whole thing?

 Are there any complications that I should be aware of when the
 SO+managed code is ready to be unload from the process?

 Thanks,
 Joe

 Date: Tue, 13 Sep 2011 11:53:07 +0200
 From: Robert Jordan robe...@gmx.net
 Subject: Re: [Mono-dev] Multiple Monos in a single process
 To: mono-devel-list@lists.ximian.com
 Message-ID: j4n96i$6is$1...@dough.gmane.org
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 On 12.09.2011 22:23, Joe Dluzen wrote:
 Hi all,

 let's say I have a C# app A which PInvokes to a native SO/DLL B, which
 embeds Mono for basically 100% of its logic. Do bad things happen on
 Linux vs Windows?

 Yes. Under Linux, libmono is statically linked by default.
 If you p/invoke a library that it turn is linked against
 libmono, you'll end up with 2 runtime instances.

 Even if you link libmono dynamically (there is a `configure'
 switch for this), you must take care to initialize the runtime
 only once. This means that you can't call mono_jit_init/cleanup
 from the SO.

 Robert
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Multiple Monos in a single process

2011-09-12 Thread Joe Dluzen
Hi all,

let's say I have a C# app A which PInvokes to a native SO/DLL B, which
embeds Mono for basically 100% of its logic. Do bad things happen on
Linux vs Windows?

Thanks,
Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Async IO/Completion ports/threads

2011-08-29 Thread Joe Dluzen
Hi all,

I was looking at async IO support in Mono, which does seem to use
epoll. I found some sample code at
http://stackoverflow.com/questions/2575404/asynchronous-pages-in-the-asp-net-framework-where-are-the-other-threads-and-how/2576601#2576601,
and it does seem to work under Windows .NET, the number of availableIO
threads is 1 less than maxIO. But under Mono 2.10.3 on Win x64, it has
1 less regular worker threads. Mono 2.10.3 on a Ubuntu 11.04 VM is the
same. A bug? Or should I try something else?

Thanks,
Joe

Slightly modified code:

using System;
using System.IO;
using System.Net;
using System.Threading;

namespace IoCompletionPortTest
{
class Program
{
static WebRequest request;

static IAsyncResult BeginDownload(object sender, EventArgs e,
AsyncCallback cb, object state)
{
request = WebRequest.Create(http://www.google.com;);
return request.BeginGetResponse(cb, state);
}

static void Main(string[] args)
{
IAsyncResult r = BeginDownload(null, null, (ar) =
{
int maxWorkers, maxIO, availableWorkers, availableIO;
ThreadPool.GetMaxThreads(out maxWorkers, out maxIO);
ThreadPool.GetAvailableThreads(out
availableWorkers, out availableIO);
string html;
using (WebResponse response = request.EndGetResponse(ar))
using (StreamReader reader = new
StreamReader(response.GetResponseStream()))
html = reader.ReadToEnd();
Console.WriteLine({0} out of {1} workers, {2} out
of {3} IOs, availableWorkers, maxWorkers, availableIO, maxIO);
}, null);
Console.ReadLine();
}
}
}
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono and the LSB

2011-08-21 Thread Joe Dluzen
Hey all,

anyone having luck, or interested in, mono compiling against the Linux
Standard Base? After patching a few things I got it compiled by using
the LSB compiler wrapper apps, though the app checker still fails on
unknown symbols. Wondering if anyone has done this, or is even
interested in it.

Thanks,
Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Adding AES-NI support

2011-05-06 Thread Joe Dluzen
Hi all,

I'm looking at adding Intel AES-NI support to Mono. Most of the actual
code that does useful stuff is done by other people (on what looks
like a very liberal license), so I'm just gluing it all together. Does
the runtime currently have methods for determining the instruction
sets that the CPU supports? I'd imagine that you'd want to use the
accelerated implementation first if available, and if not, fall back
to the current default, which I think is RijndaelManaged.

Comments?

Thanks,
Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Status of COM interop

2011-04-26 Thread Joe Dluzen
I was under the impression that XPCOM is broken due to a GC bug. Is this
still the case?

Thanks,
Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] WCF Web API

2011-03-22 Thread Joe Dluzen
Hi all,

Anyone able to run the new WCF Web API on Mono? Will the license allow it to
be included in the core when it's ready?

Thanks,
Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Marshal.SizeOf differences on .NET and Mono

2011-02-03 Thread Joe Dluzen
Hi all,

I'm not entirely sure who has the bug here, Mono seems like it is more
logically correct, but perhaps I'm missing an attribute somewhere.

Marshal.SizeOf(typeof(ImClasses)) is not what you'd expect, and is
different depending on if it runs under Mono 2.8 (on Windows) or .NET
3.5.

.NET: Class size: 8
Mono: Class size: 1

Struct sizes are both 1.

Thanks,
Joe

using System;
using System.Runtime.InteropServices;
class Program
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public class ImaClass
{
public byte A;
}

[StructLayout(LayoutKind.Sequential, Pack = 1)]
public class ImClasses
{
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
public ImaClass[] Classes;
}

[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ImaStruct
{
public byte A;
}

[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ImStructs
{
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
public ImaStruct[] Structs;
}

static void Main(string[] args)
{
int sizeofClasses = Marshal.SizeOf(typeof(ImClasses));
int sizeofStructs = Marshal.SizeOf(typeof(ImStructs));
Console.WriteLine(Class size:  + sizeofClasses);
Console.WriteLine(Struct size:  + sizeofStructs);
}
}
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Announcing Monoreports - report designer and reporting engine

2010-12-10 Thread Joe Dluzen
This is really fantastic! A lot of people are going to love this,
myself included.


Joe

 Date: Thu, 09 Dec 2010 11:09:29 +0100
 From: Tomasz Kubacki tomasz.kuba...@gmail.com
 Subject: [Mono-dev] Announcing Monoreports - report designer and
        reporting       engine
 To: mono-devel-list@lists.ximian.com
 Message-ID: 1291889369.28614.43.ca...@sokrates
 Content-Type: text/plain; charset=UTF-8

 Hi all,

 I've started new project that may interest you: report designer and
 reporting engine for mono/.net. It's similar to the CrystalReport and
 other tools like that, except it's not this much sql oriented.

 I've done short (6 minutes) youtube demo here:

 http://www.youtube.com/watch?v=P7jHXFyMstM

 Monoreport is MIT11 licensed and githubed at:

 https://github.com/tomaszkubacki/monoreports

 Binary package:

 Since the only Monoreports dependency is mono = 2.6  or .net = 3.5
 you can grab binary package from here:
 http://github.com/downloads/tomaszkubacki/monoreports/monoreports_pre.zip
 and play without compilation.

 Monoreports features:

 - simple layouting - if control in section is growable and will grow due
 to assigned data, engine will do layouting to make report look properly

 - page breaking - Monoreports engine will break or keep together report
 sections whatever is needed

 - generating and running reports from designer and code.

 - pdf export

 - reporting engine is not tightly coupled with gtk/cairo stuff,
 therefore it's reasonably easy to write new export backends (e.g. html,
 xls etc)

 Call for help:

 Now the most important thing. I've zero experience running open source
 projects, so i will appreciate any help, comments, constructive
 criticism.

 All this can be done here:
 http://groups.google.com/group/monoreports

 For short yes/no question/comments my twitter nick is tomaszkubacki

 Cheers,

 Tomasz Kubacki
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] WCF REST POST POCO, and null value

2010-11-25 Thread Joe Dluzen
On Thu, Nov 25, 2010 at 8:48 PM, Atsushi Eno
atsushi...@veritas-vos-liberabit.com wrote:
 Hello,

 (2010/11/25 5:42), Joe Dluzen wrote:

 Hi all,

 I've recently been familiarizing myself with the
 System.ServiceModel.Web namespace, as I'm looking to do some WCF REST
 style development.

 I've found 2 things that appear to be bugs, and am wondering if there
 are workarounds, or if I can [attempt to] patch it.

 1. When passing an object in the body of a POST call, I get Unhandled
 Exception: System.NotImplementedException: parameter user is not
 contained in the URI template blah 0 0. IHello.SayHi2 in the included
 code.


 Interesting. Look like (the latest?) .NET allows such a URI template that
 ignores the user parameter.

Yes, I'm just trying to pass a bare POX object in the body.

 2. When passing null in the URI to a GET call with a named value, I
 get Unhandled Exception: System.ArgumentException: The argument name
 value collection does not contain non-null value for 'BLAH'. However,
 when I GET in the browser, http://localhost:1337/Joe?age=1337 leaving
 off the blah, it works fine. IHello.SayHi in the included code.

 On Win7 64, Mono 2.8.1. The code works without issue on MS.NET.


 I couldn't reproduce this with our git master. It might be fixed between 2.8
 and master, but it rather looks like the request is sent to the SayHi  (not
 SayHi2) and hence blah isn't involved, so, is it really what you intended?

Yes, I was trying to pass blah as null in code, to SayHi. The server
code looks like it works though, as the request completes as expected
in the browser using http://localhost:1337/Joe?age=1337.

 Code:
 Shared library: http://pastebin.com/WSfiaj63
 Server: http://pastebin.com/veJ9JubX
 Client: http://pastebin.com/jniuHsiz

 Can you please file a bug on bugzilla and attach them?

Most definitely:
https://bugzilla.novell.com/show_bug.cgi?id=656020
https://bugzilla.novell.com/show_bug.cgi?id=656021

 Thanks,
 Atsushi Eno
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] WCF REST POST POCO, and null value

2010-11-24 Thread Joe Dluzen
Hi all,

I've recently been familiarizing myself with the
System.ServiceModel.Web namespace, as I'm looking to do some WCF REST
style development.

I've found 2 things that appear to be bugs, and am wondering if there
are workarounds, or if I can [attempt to] patch it.

1. When passing an object in the body of a POST call, I get Unhandled
Exception: System.NotImplementedException: parameter user is not
contained in the URI template blah 0 0. IHello.SayHi2 in the included
code.

2. When passing null in the URI to a GET call with a named value, I
get Unhandled Exception: System.ArgumentException: The argument name
value collection does not contain non-null value for 'BLAH'. However,
when I GET in the browser, http://localhost:1337/Joe?age=1337 leaving
off the blah, it works fine. IHello.SayHi in the included code.

On Win7 64, Mono 2.8.1. The code works without issue on MS.NET.

Code:
Shared library: http://pastebin.com/WSfiaj63
Server: http://pastebin.com/veJ9JubX
Client: http://pastebin.com/jniuHsiz

Thanks,
Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Problem with CA sending certified emails

2010-06-21 Thread Joe Dluzen
Hello,

I tried replacing the Mono.Security.dll file with the one from 2.6, it
didn't work for me:
http://stackoverflow.com/questions/2884290/ssl-authentication-error-remotecertificatechainerrors-on-asp-net-on-ubuntu

I tried having a parallel installation of 2.6, and redirecting
mod_mono to use the new one, it didn't work for me:
http://lists.ximian.com/pipermail/mono-aspnet-list/2010-March/000668.html

My next attempt is to use http://badgerports.org/ to upgrade the whole
thing to 2.6. My current workaround is to use:
http://ubuntu-tutorials.com/2008/11/11/relaying-postfix-smtp-via-smtpgmailcom/
and send mail to localhost.


Joe

 Message: 3
 Date: Mon, 21 Jun 2010 11:52:38 +0200
 From: APS dev.ma...@apsystems.it
 Subject: [Mono-dev] Problem with CA sending certified emails
 To: mono-devel-list@lists.ximian.com
 Message-ID: mailserverdifwb4saf0...@mail.apsystems.it
 Content-Type: text/plain; charset=us-ascii

 Hi everyone,

 I need your help cause I've problems sending certified mail with mono
 and a specific provider.
 I tried with gmail as explained in
 http://www.mono-project.com/FAQ:_Security#Does_SSL_works_for_SMTP.2C_like_GMail_.3Fhttp://www.mono-project.com/FAQ:_Security#Does_SSL_works_for_SMTP.2C_like_GMail_.3F
 and it works.
 Using same code with another local email provider also works.
 Using same code with a third email provider in windows I have to
 manually install the CA certificate, if I do that in local computer
 store I'm able to send certified mails.
 In mono I installed the CA certificate using

 certmgr --add -c -m CA /tmp/certca.crt

 but sending mails I receive the following error, if I launch

 certmgr -list -c -m CA

 I see the gmail certificate and my new certificate, what I'm doing wrong?

 Here is the error.

 System.Net.Mail.SmtpException: Message could not be sent. ---
 System.IO.IOException: The authentication or decryption has failed.
 --- System.InvalidOperationException: SSL authentication error:
 RemoteCertificateNotAvailable, RemoteCertificateChainErrors
   at System.Net.Mail.SmtpClient.callbackm__3 (System.Object
 sender, System.Security.Cryptography.X509Certificates.X509Certificate
 certificate, System.Security.Cryptography.X509Certificates.X509Chain
 chain, SslPolicyErrors sslPolicyErrors) [0x0] in filename unknown:0
   at
 System.Net.Security.SslStream+BeginAuthenticateAsClientc__AnonStorey7.m__9
 (System.Security.Cryptography.X509Certificates.X509Certificate cert,
 System.Int32[] certErrors) [0x0] in filename unknown:0
   at
 Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation
 (System.Security.Cryptography.X509Certificates.X509Certificate
 certificate, System.Int32[] errors) [0x0] in filename unknown:0
   at
 Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation
 (System.Security.Cryptography.X509Certificates.X509Certificate
 certificate, System.Int32[] errors) [0x0] in filename unknown:0
   at
 Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation
 (System.Security.Cryptography.X509Certificates.X509Certificate
 certificate, System.Int32[] certificateErrors) [0x0] in filename
 unknown:0
   at
 Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates
 (Mono.Security.X509.X509CertificateCollection certificates) [0x0]
 in filename unknown:0
   at
 Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1
 () [0x0] in filename unknown:0
   at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process
 () [0x0] in filename unknown:0
   at (wrapper remoting-invoke-with-check)
 Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
   at
 Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage
 (Mono.Security.Protocol.Tls.TlsStream handMsg) [0x0] in filename
 unknown:0
   at
 Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback
 (IAsyncResult asyncResult) [0x0] in filename unknown:0
   --- End of inner exception stack trace ---
   at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback
 (IAsyncResult asyncResult) [0x0] in filename unknown:0
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage
 message) [0x0] in filename unknown:0
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100621/ff8290df/attachment-0001.html

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] Android Support [4/4]

2010-04-19 Thread Joe Dluzen
Awesome.

How do these compare with Koush's: http://github.com/koush/androidmono
? Are they a complete reimplementation?

Joe

 Message: 5
 Date: Mon, 19 Apr 2010 13:44:24 -0400
 From: Jonathan Pryor jonpr...@vt.edu
 Subject: [Mono-dev] [PATCH] Android Support [4/4]
 To: mono-devel-list mono-devel-l...@ximian.com
 Message-ID: 1271699064.6173.30.ca...@lina.magi.jprl.com
 Content-Type: text/plain; charset=utf-8

 This is a series of patches to add support to Mono for building against
 the Android NDK [0].  Android runs the Linux kernel, but moves many
 things around compared to a normal desktop Linux distro.

 These patches are based against the mono-2-6 branch.

 This fourth patch patches mono/support so that it will properly build
 and link under Android, largely because many POSIX functions aren't
 present under Android (hence the numerous configure checks):

        * dirent.c, grp.c, macros.c, pwd.c, signal.c, sys-statvfs.c, 
 sys-time.c,
          unistd.c: Add #if HAVE_XXX checks for functions which aren't
          provided on Android.

 Permission to commit?

 - Jon

 [0] http://developer.android.com/sdk/ndk/index.html
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] sh#

2010-04-09 Thread Joe Dluzen
I was working on* just this project. I toyed with the standard Ironing
of the names, IronBash or maybe bash4.net. I'd love to see this too.
Would be nice to use it as a drop in replacement for boot,
compilation, everything. Auto generate and save an assembly... oh the
possibilities.

Joe

*: Just initial research, nothing written. Too many things, too little time. :(

 What does everyone think about making a new dlr script language that is
 compatible with sh or bash? Maybe called sh#?
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono on Android: state of the union?

2010-04-08 Thread Joe Dluzen
I would think that you could develop your own bindings, as there are
at least 3 other implementations that I know of. However, like most of
us, IANAL. The MonoDroid and the efforts by Koushik Dutta[1] may be
one and the same, but I don't know right now. On Novell's side, there
is quite literally no information other than we're working on it and
here's the name. I'm eagerly watching Koush's RSS for anything
Android + Mono related. It appears that the last part of the puzzle
which is still missing, is a tool to generate the C# bindings from the
Java API.

As for the LGPL, the mono runtime binaries installed on the phone
should easily be user replaceable. And if it's an open source app,
then there's no problem at all.

If anyone has any more info, please reply. I'd imagine that many
people are waiting for any information at all.

Joe


[1] http://www.koushikdutta.com/2010/01/androiddll.html

 Message: 2
 Date: Thu, 8 Apr 2010 05:20:16 -0800 (PST)
 From: JeroMiya bell.jer...@gmail.com
 Subject: Re: [Mono-dev] Mono on Android: state of the union?
 To: mono-devel-list@lists.ximian.com
 Message-ID: 1270732816608-1774004.p...@n4.nabble.com
 Content-Type: text/plain; charset=us-ascii


 Would I be allowed to develop my own java bindings (obviously they wouldn't
 be as high-quality as Novell's commercial product) for mono on android and
 deploy mono-based applications without licensing Novell's commercial
 product? Would I subsequently be able to release said bindings under an
 appropriate open source license?

 It seems natural to assume so, but you need to be a lawyer to understand
 software licensing these days.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono and the LSB, or self contained installations

2009-08-28 Thread Joe Dluzen
Hello all,

anyone have luck compiling Mono against the Linux Standard Base?

Or to put it another way, anyone have tips or tutorials or best
practices to compile Mono and deploy it with minimal dependencies?

I'm looking to deploy the minimum requirements for a Mono app along
side the application, so that it can run on as many distributions as
possible, without .debs or .rpms. And so you can basically unzip and
run. Although I'd prefer to statically link everything that the
runtime needs, I probably won't be able to to satisfy the LGPL, but
shared libs along side the app is fine. I won't be able to use
mkbundle either due to licensing.

Thanks,
J
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] GUIDs in a web service

2009-07-05 Thread Joe Dluzen
Hi all,

I'm having trouble with GUID parameters in a web service. Error:
XmlSchema error: Referenced schema type http://www.example.com/:guid
was not found in the corresponding schema. Related schema item
SourceUri: , Line 0, Position 0.

Stack trace:

System.Xml.Schema.XmlSchemaException: XmlSchema error: Referenced
schema type http://www.example.com/:guid was not found in the
corresponding schema. Related schema item SourceUri: , Line 0,
Position 0.
  at System.Xml.Schema.ValidationHandler.RaiseValidationEvent
(System.Xml.Schema.ValidationEventHandler handle, System.Exception
innerException, System.String message,
System.Xml.Schema.XmlSchemaObject xsobj, System.Object sender,
System.String sourceUri, XmlSeverityType severity) [0x0]
  at System.Xml.Schema.XmlSchemaObject.error
(System.Xml.Schema.ValidationEventHandler handle, System.String
message, System.Exception innerException,
System.Xml.Schema.XmlSchemaObject xsobj, System.Object sender)
[0x0]
  at System.Xml.Schema.XmlSchemaObject.error
(System.Xml.Schema.ValidationEventHandler handle, System.String
message) [0x0]
  at System.Xml.Schema.XmlSchemaAttribute.Validate
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaComplexContentExtension.Validate
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaComplexContent.Validate
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaElement.Validate
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaSequence.Validate
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaComplexContentExtension.Validate
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaComplexContent.Validate
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h,
System.Xml.Schema.XmlSchema schema) [0x0]
  at System.Xml.Schema.XmlSchema.Validate
(System.Xml.Schema.ValidationEventHandler handler) [0x0]
  at System.Xml.Schema.XmlSchemaSet.Compile () [0x0]
  at System.Xml.Schema.XmlSchema.Compile
(System.Xml.Schema.ValidationEventHandler handler,
System.Xml.XmlResolver resolver) [0x0]
  at System.Xml.Schema.XmlSchema.Compile
(System.Xml.Schema.ValidationEventHandler handler) [0x0]
  at System.Xml.Serialization.XmlSchemas.Find
(System.Xml.Schema.XmlSchema schema, System.Xml.XmlQualifiedName name,
System.Type type) [0x0]
  at System.Xml.Serialization.XmlSchemas.Find
(System.Xml.XmlQualifiedName name, System.Type type) [0x0]
  at ASP.DefaultWsdlHelpGenerator_aspx.BuildParameters
(System.Collections.ArrayList list,
System.Web.Services.Description.OperationMessage opm) [0x0]
  at ASP.DefaultWsdlHelpGenerator_aspx.BuildOperationInfo () [0x0]
  at ASP.DefaultWsdlHelpGenerator_aspx.Page_Load (System.Object
sender, System.EventArgs e) [0x0]
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x0]
  at System.Web.UI.Control.LoadRecursive () [0x0]
  at System.Web.UI.Page.ProcessLoad () [0x0]
  at System.Web.UI.Page.ProcessPostData () [0x0]
  at System.Web.UI.Page.InternalProcessRequest () [0x0]
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
context) [0x0]


From searching around, it seems that GUID is not a build in type, but
a schema possibly existed at one point in time at
http://microsoft.com/wsdl/types.

I've found 
http://lists.ximian.com/pipermail/mono-devel-list/2005-November/015981.html
which seems to be related.

I'm now attempting
http://msdn.microsoft.com/en-us/magazine/cc164115.aspx#S7 to see if
that will help, but I'm really hoping that there's an easier way.

I'm on XP with Mono 2.4 and XSP.
Ubuntu 8.10 Mono 2.4.

Thanks,
J
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] wsdl2 cannot generate SOAP1.2

2009-05-28 Thread Joe Dluzen
Hi all.

It seems that wsdl2 cannot generate SOAP1.2 bindings, the
/protocol:soap12 switch is not handled. Anyone know of any plans to
implement it, or other workarounds? I see that Mono itself handles
SOAP1.2 since 1.2.3: http://www.go-mono.com/archive/1.2.3/ so I can
probably just generate it on Windows for now. I was going to look in
Bugzilla before I post this, but I can't get to it right now for some
reason.

The reason that I am not using WCF at this point is because I am going
to have a Mono hosted server, and then either Linux or Windows
clients, and I'd like to use the most up to date web service
technology which is also the most cross platform. So SOAP1.2 should
fit the bill here. But technically I don't have a problem sticking
with SOAP1.1.

Thanks,
Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCH] Mono.Unix.Native.MountFlags

2008-01-04 Thread Joe Dluzen
Hi all,

I was working on a program to mount and unmount various drives/etc
when I found that Mono.Unix.Native.MountFlags had no option for
ST_NOEXEC. (I was attempting to mount a DVD in my drive, and saw in
/proc/mounts that it had an option for noexec.) Looking in
sys/mount.h, I found the appropriate values and created the diff below
(which includes additional values that were missing):

Index: Mono.Unix.Native/Syscall.cs
===
--- Mono.Unix.Native/Syscall.cs (revision 92223)
+++ Mono.Unix.Native/Syscall.cs (working copy)
@@ -646,13 +646,16 @@
ST_RDONLY  =1,  // Mount read-only
ST_NOSUID  =2,  // Ignore suid and sgid bits
ST_NODEV   =4,  // Disallow access to device special 
files
+   ST_NOEXEC  =8,  // Disallow program execution
ST_SYNCHRONOUS =   16,  // Writes are synced at once
+   ST_REMOUNT =   32,  // Alter flags of a mounted FS
ST_MANDLOCK=   64,  // Allow mandatory locks on an FS
ST_WRITE   =  128,  // Write on file/directory/symlink
ST_APPEND  =  256,  // Append-only file
ST_IMMUTABLE   =  512,  // Immutable file
ST_NOATIME = 1024,  // Do not update access times
ST_NODIRATIME  = 2048,  // Do not update directory access times
+   ST_BIND= 4096,  // Bind directory at different place
}

[Map][Flags]


Please note that this is my first patch... ever. Also note that this
was found on Ubuntu 7.10, so I do not know if these were purposefully
omitted due to non-portability, as the actual mount() call was, or
something else.

Thanks,
Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list