[Mono-winforms-list] GdipWidenPath isn't implemented in libgdiplus

2010-02-17 Thread Rogier van der Hee

Hi, 

I just ran the MoMa on my app, and almost everything checks out as OK or
doable with a little work, except for an external library I'm using: Dundas
WinChart.

It has a lot of TODO's on GdipWidenPath being called from various methods in
libgdiplus.

Is that a feature being worked on for a future release? 

That would enable to package my application for Mac OS X for example...

Thanks,

Rogier


-- 
View this message in context: 
http://old.nabble.com/GdipWidenPath-isn%27t-implemented-in-libgdiplus-tp27424643p27424643.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] GdipWidenPath isn't implemented in libgdiplus

2010-02-17 Thread Rogier van der Hee



Stifu wrote:
 
 Hey,
 Filing a bug report on this would ensure it doesn't get forgotten.
 

After a bit of searching I found this one:
https://bugzilla.novell.com/show_bug.cgi?id=320856

But it has been open since 2006

Rogier

-- 
View this message in context: 
http://old.nabble.com/GdipWidenPath-isn%27t-implemented-in-libgdiplus-tp27424643p27427954.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


[Mono-winforms-list] Dllimport (SetParent) on linux

2010-02-17 Thread sn4k3

im using SetParent and other 2 methods from user32.dll

now can i do it in linux? does any .so contain SetParent function?

thanks
-- 
View this message in context: 
http://old.nabble.com/Dllimport-%28SetParent%29-on-linux-tp27443866p27443866.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] Problems WinForms in Linux

2010-02-17 Thread mdfederici

Has anyone worked on these winforms performance issues on linux? Using mono
2.4.2.3 I'm still seeing poor winforms performance.
-- 
View this message in context: 
http://n4.nabble.com/Problems-WinForms-in-Linux-tp1542543p1557571.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-aspnet-list] System.InvalidCastException with ScriptManager

2010-02-17 Thread ornitorrinc


Marek Habersack wrote:
 
 The problem is that assembly version redirection doesn't seem to work
 correctly in the runtime. I
 filed a bug describing the issue at
 https://bugzilla.novell.com/show_bug.cgi?id=580185. To make
 your application work for the time being, just recompile the
 Bin/ExtExtenders.dll assembly with
 System.Web.Extensions v3.5.0.0
 
 marek
 

I did exactly what you said and I confirmed you're right. Now the solution
compiles and runs correctly. I hope the bug con be fixed soon.

Now I have other problems but they're related to ExtExtenders.

Thanks for all Marek.
-- 
View this message in context: 
http://n4.nabble.com/System-InvalidCastException-with-ScriptManager-tp1557102p1558791.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


[Mono-aspnet-list] Problem with charsets configuration

2010-02-17 Thread Carlos Eduardo L. Lopes

Hi,

i'm migrating my projects from VS2008 to MonoDevelop and everything works
fine, excepts the charsets configuration that causes errors when i
debug/test my applications in the xsp2 server.

I tried many possibilities and forms (following what is in the FAQ) to make
my code run in MonoDevelop, but the same problem happens. 

When i write some word with accentuation in code-behind (like 'usuários' or
'requisições'), for example: to pass a text to a label. If the text is 'Olá
Usuários', it is rendered 'Ol� Usu�rios'. :confused:

Here is parts of my actual web.config (if you want i can post it here):

...
globalization requestEncoding=utf-8 responseEncoding=utf-8
fileEncoding=iso-8859-1 culture=pt-BR /
...
system.codedom
compilers
  compiler language=c#;cs;csharp extension=.cs
type=Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 warningLevel=4
providerOption name=CompilerVersion value=v3.5 /
providerOption name=WarnAsError value=false /
  /compiler
  compiler language=vb;vbs;visualbasic;vbscript extension=.vb
type=Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 warningLevel=4
providerOption name=CompilerVersion value=v3.5 /
providerOption name=OptionInfer value=true /
providerOption name=WarnAsError value=false /
  /compiler
/compilers
  /system.codedom
...

Anyone know how can i fix this issue?

Thanks all!
-- 
View this message in context: 
http://n4.nabble.com/Problem-with-charsets-configuration-tp1559183p1559183.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


Re: [Mono-aspnet-list] Problem with charsets configuration

2010-02-17 Thread Gonzalo Paniagua Javier
On Wed, 2010-02-17 at 11:11 -0800, Carlos Eduardo L. Lopes wrote:
 Hi,
 
 i'm migrating my projects from VS2008 to MonoDevelop and everything works
 fine, excepts the charsets configuration that causes errors when i
 debug/test my applications in the xsp2 server.
 
 I tried many possibilities and forms (following what is in the FAQ) to make
 my code run in MonoDevelop, but the same problem happens. 
 
 When i write some word with accentuation in code-behind (like 'usuários' or
 'requisições'), for example: to pass a text to a label. If the text is 'Olá
 Usuários', it is rendered 'Ol� Usu�rios'. :confused:

 Here is parts of my actual web.config (if you want i can post it here):
 
 ...
 globalization requestEncoding=utf-8 responseEncoding=utf-8
 fileEncoding=iso-8859-1 culture=pt-BR /
 
That's probably because your file is stored in UTF-8 encoding and you're
telling ASP.NET in your 'fileEncoding' setting that the files are
iso-8859-1. Try setting your fileEncoding to 'utf-8' and see if that
works.

-Gonzalo


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


Re: [Mono-aspnet-list] Problem with charsets configuration

2010-02-17 Thread Carlos Eduardo L. Lopes


Gonzalo Paniagua Javier-3 wrote:
 
 That's probably because your file is stored in UTF-8 encoding and you're
 telling ASP.NET in your 'fileEncoding' setting that the files are
 iso-8859-1. Try setting your fileEncoding to 'utf-8' and see if that
 works.
 
 -Gonzalo
 

Hi Gonzalo, thanks for the reply!

But no, if i remove the fileEncoding property from globalization tag, the
problem happens in a worst case: the code-behind values AND the values
placed directly in the aspx pages appear with �!

So, i put the fileEncodgin tag, and this fix the problem with the aspx
values, but the values passed from code-behind continue with the problem!
:-((
-- 
View this message in context: 
http://n4.nabble.com/Problem-with-charsets-configuration-tp1559183p1559251.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


[Mono-dev] Equivalent of DPAPI in Linux / Status of ProtectedData ?

2010-02-17 Thread Lionel Cuir
Hello,
 
In Windows/.NET, we can access the DPAPI via the ProtectedData class.
According to http://www.mono-project.com/Cryptography, There is partial
support for ProtectedData and ProtectedMemory on Mono. On Windows Mono will
use DPAPI (Data Protection API) for increased interoperability, while it
will use its own implementation on other operating systems. 
 
= Is it possible to have any details about this own implementation? How
secure it is? On which mechanism/other software it relies in Linux?
 
Many thanks in advance,
 
Lionel
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] moonlight

2010-02-17 Thread Rolf Bjarne Kvinge
Hi,


 At FOSDEM Andreia told me that Linux x86/amd64 were the only supported 
 platforms but patches would be welcome for other platforms.
 
For starters, moonlight needs to find a way to stop using libunwind since
this
library is almost a Linux-only thing. It has been partially ported only to
hpux. 
Then it is necessary to allow the use of OSS since both OpenSolaris and
FreeBSD can use this infrastructure. ALSA is again a Linux-only thing.

 

We don't disallow OSS nor require ALSA - moonlight will work (silently)
without ALSA.

 

Somebody just have to write the code required to interact with OSS,
moonlight's audio playback code is abstracted away so this should not be
difficult.

 

Rolf



A.S.

--
Apostolos Syropoulos
Xanthi, Greece

 https://signup.live.com/signup.aspx?id=60969 


  _  

Hotmail: Αξιόπιστο email με την ισχυρή προστασία ενάντια στην ανεπιθύμητη
αλληλογραφία που παρέχει η Microsoft. Εγγραφείτε τώρα.
https://signup.live.com/signup.aspx?id=60969 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2690 - Release Date: 02/16/10
08:35:00

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


Re: [Mono-dev] Equivalent of DPAPI in Linux / Status of ProtectedData ?

2010-02-17 Thread Sebastien Pouliot
Bonjour Lionel,

On Wed, 2010-02-17 at 09:29 +0100, Lionel Cuir wrote:
 Hello,
  
 In Windows/.NET, we can access the DPAPI via the ProtectedData class.
 According to http://www.mono-project.com/Cryptography, There is
 partial support for ProtectedData and ProtectedMemory on Mono. On
 Windows Mono will use DPAPI (Data Protection API) for increased
 interoperability, while it will use its own implementation on other
 operating systems. 
  
 = Is it possible to have any details about this own implementation?

You mean something like the source code ? ;-)

http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.Security/System.Security.Cryptography/ProtectedData.cs?revision=52282
http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.Security/Mono.Security.Cryptography/ManagedProtection.cs?revision=51999

  How secure it is? 

It should be as much secure as your user/machine (scope dependent) file
system is (keypair persistence). I.e. if someone can logon as the user
then it can access the data (which is identical to DPAPI behavior on
Windows).

 On which mechanism/other software it relies in Linux?

It's entirely a managed implementation. From source code::

// * Separate RSA 1536 bits keypairs for each user and the computer 
// * AES 128 bits encryption (separate key for each data protected) 
// * SHA256 digest to ensure integrity

Sebastien


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


Re: [Mono-dev] Mono: Issue running xsp on RHEL5

2010-02-17 Thread Purnima
Hi Nagappan,

 

Thanks for your reply.

Steps followed by me:

1.   Previously I had installed the xsp from tar file into the same
'/opt/downloads' folder.

2.   I went into the same folder  executed 'make uninstall' command.

3.   Executed:./configure  --prefix /usr/local

4.   Executed:make

5.   Executed:make install

6.   After above execution, I came out of all folders using 'cd' 
executed 'xsp' command, it gave me the same error as mentioned in previous
mail.

7.   I tried the 'xsp' command by 'cd /usr/local' as well, but no luck.

8.   Should I try Fedora 8, as I have read that it comes with mono
pre-installed in it.

 

 

Not understanding as to what is going wrong.

Please help out if you have any guidelines.

 

Regards,

Purnima K.

 

 

From: Nagappan Alagappan [mailto:nagap...@gmail.com] 
Sent: Wednesday, February 17, 2010 11:41 AM
To: pkavil...@melstar.com
Cc: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Mono: Issue running xsp on RHEL5

 

Hello Purnima,

On Tue, Feb 16, 2010 at 7:37 PM, Purnima pkavil...@melstar.com wrote:

Hi,

 

Problem: ASP.NET application not running on mono/xsp not running on Red Hat
Enterprise Linux 5 (RHEL5).

 

Steps carried out:

1.   I have a system with RHEL5.

2.   I have installed following the same sequence: 

a.   libgdiplus-2.4.2.tar.bz2 

b.  mono-2.4.2.3.tar.bz2

c.   mod_mono-2.4.2.tar.bz2 

d.  xsp-2.4.2.tar.bz2 

3.   All the above tar files were copied to '/root/opt/downloads'
folder.

4.   All of them were untarred  installed in the same above folder.

5.   For testing, I created a Test.cs file  executed using: mcs Test.cs
 mono Test.exe commands, which worked well.

6.   But, when I write 'xsp' command, it gives error: 'bash: xsp:
command not found'

XSP is not installed in PATH.

Thanks
Nagappan

7.   What am I doing wrong? 

a.   xsp not properly not installed 

b.  mono  other tar files not installed at the path '/usr/local'

c.   Apache/mod_mono needs to be used rather than xsp

 



Please provide necessary help/guidelines.


Regards,

Purnima K.


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




-- 
Linux Desktop (GUI Application) Testing Project -
http://ldtp.freedesktop.org
http://nagappanal.blogspot.com

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


[Mono-dev] Building Mono on Scratchbox2

2010-02-17 Thread dvosp

Hi All,

I've setup sbox2 on Ubuntu Karmic using the Sourcery Lite (2009q3-67)
GNU/Linux compiler.  The environment seems to be working.

I'm now trying to build mono according to
http://www.mono-project.com/Mono:ARM

I copied the seed rootfs from the compiler archive to ~/pierre/buildroot.
made a ~/pierre/buildroot/src directory
extracted, glib 2.22.0 and mono-2.6.1 to ~/pierre/buildroot/src.

I had to build glib (the seed rootfs does not include this).

I then try to do the 2 step build of mono.
Host build succeeds.
when I try to build the target part, ./configure succeeds, but make gives
the following error:

make[3]: Entering directory
`/home/pierre/buildroot/src/mono-2.6.1/mono/utils'
make  all-am
make[4]: Entering directory
`/home/pierre/buildroot/src/mono-2.6.1/mono/utils'
CC  mono-hash.lo
mono-hash.c:39: fatal error: glib.h: No such file or directory
compilation terminated.
make[4]: *** [mono-hash.lo] Error 1
make[4]: Leaving directory
`/home/pierre/buildroot/src/mono-2.6.1/mono/utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/pierre/buildroot/src/mono-2.6.1/mono/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pierre/buildroot/src/mono-2.6.1/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pierre/buildroot/src/mono-2.6.1'
make: *** [all] Error 2

I have verified that glib.h is present in the correct directories and the
correct include path is specified in the Makefile.

Any ideas?

Regards
Pierre
-- 
View this message in context: 
http://old.nabble.com/Building-Mono-on-Scratchbox2-tp27450942p27450942.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


Re: [Mono-dev] Can run my apps

2010-02-17 Thread Stifu

How about showing your application source code?
-- 
View this message in context: 
http://n4.nabble.com/Can-run-my-apps-tp1556267p1559316.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


Re: [Mono-dev] Can run my apps

2010-02-17 Thread Stifu

When you said you couldn't execute that, you meant it even built in the first
place?
This looks like C or C++, Mono can't build that. Use C# instead (or another
.NET language that Mono supports).
-- 
View this message in context: 
http://n4.nabble.com/Can-run-my-apps-tp1556267p1559379.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


Re: [Mono-dev] Can run my apps

2010-02-17 Thread Tom Spink
Hi,

I think the OP is posting to the wrong mailing list.  He/she needs to
be posting to the monodevelop mailing list.

The problem is a MonoDevelop problem, not a Mono problem.

-- Tom

On 17 February 2010 20:53, Stifu st...@free.fr wrote:

 How about showing your application source code?
 --
 View this message in context: 
 http://n4.nabble.com/Can-run-my-apps-tp1556267p1559316.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




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


Re: [Mono-dev] Mono.Simd.dll and operator*

2010-02-17 Thread Rodrigo Kumpera
On Sun, Feb 14, 2010 at 1:38 PM, Erven Rohou erven.ro...@inria.fr wrote:

 Hi Rodrigo,

 Do you mean that Mono.Simd if for SSE only?


Mono.Simd is meant to work with other hardware than x86. There are efforts
to port it to Altivec and NEON.

The point is that there is no advantage in using an operation that can't be
properly supported by the target cpu.
I expect that, for example, the Altivec support will result into a few new
methods been added that won't have
a decent translation with SSE.

Multiplication is an example of operations that there is no point in adding
if there is no hardware that supports it.
No matter how well our JIT does, it will be very slow if there is no
reasonable translation into what the hardware supports.
If there is a reasonable, even if not optimal, translation of a given
function, there is not reason why mono's JIT won't do it.




 There is an ongoing effort to support AltiVec. What would be the right way
 to support it in the library?


The way to support it is to add specific operations that are Altivec only
and then check if it's doable to implement them
with SSE.




 Wouldn't it make sense to provide generic functionality at the library
 level, and then the JIT generates the best code sequence on any platform?


We thought about that during the initial development of Mono.Simd and a few
issues were raised:

-There was no available similar library offering x-arch generic functionally
to us learn from;
-We had no expert in all the main simd hardware (x86, neon and altivec) to
help us;
-Our initial target was x86/amd64.

We decided that is was better to initially map only to SSE and fix the
design once other port happened. It was better to something out
that nothing at all.

Mono.SIMD is meant to be a low level library and we don't expect that much
code will be portable across hardware because if the idea
is to squeeze maximum performance, there will be multiple versions of the
same method, depending on what it's running on.

I don't pretend to know the answer for what will be the generic portable set
of functionality so I rather wait to see it emerges.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-list] Sending email via gmx in C#

2010-02-17 Thread pfj

Hi,

Currently my code looks like this

void SendClick(object sender, EventArgs e)
{
string un = uname + @ + address;
string ipa = IP address sent from :  + ip.Text;
StreamWriter sw = new StreamWriter(@h:/test.txt);
sw.WriteLine(name);
sw.WriteLine(un);
sw.WriteLine(mess);
sw.WriteLine(ipa);
sw.Close();

MailMessage mail = new MailMessage();
mail.To.Add(p...@foundationcampus.com);
mail.From = new System.Net.Mail.MailAddress(un);
mail.Subject = A quick test;
mail.Body = Just a quick test to make sure this works;
mail.Attachments.Add(new Attachment(@h:/test.txt)); 
System.Net.Mail.SmtpClient smtp = new
System.Net.Mail.SmtpClient(mail.gmx.com);
smtp.EnableSsl = true;
smtp.Credentials = new 
System.Net.NetworkCredential(usern...@gmx.com,
password);
try
{
smtp.Send(mail);
}
catch (System.Net.Mail.SmtpException ex)
{
MessageBox.Show(ex.Message.ToString(), 
Ouchy!!!,
MessageBoxButtons.OK);
}
}

This should work happily, but I always get an error thrown -

Mailbox unavailable. The server response was 5.7.0 Sender address does not
belong to logged in user {mp-eu001}

According to the docs for gmx, I'm doing this correctly.

Is my code wrong or is there something else I need to do for gmx to play
ball?

Thanks

Paul
-- 
View this message in context: 
http://n4.nabble.com/Sending-email-via-gmx-in-C-tp1558501p1558501.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Sending email via gmx in C#

2010-02-17 Thread Robert Jordan
On 17.02.2010 12:04, pfj wrote:
 This should work happily, but I always get an error thrown -

 Mailbox unavailable. The server response was 5.7.0 Sender address does not
 belong to logged in user {mp-eu001}

 According to the docs for gmx, I'm doing this correctly.

 Is my code wrong or is there something else I need to do for gmx to play
 ball?

GMX does not allow sending of mails with a sender address !=
the gmx email address, unless you're a paying customer.

So you better assure that 'un = uname + @ + address;'
is actually building a valid gmx e-mail address matching
the account you're sending mails from.

Robert

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


[Mono-list] NBC Olympics Video under Ubuntu 9.10

2010-02-17 Thread cement_head

Hello,

  Managed to get Moonlight to work with NBC Olympics Videos.  It is
imperative that these instructions be followed:
http://www.mono-project.com/Moonlight/OlympicsPlayerIssues 


  I originally did the standard upgrade of the plugin and it did not work. 
But removal of the Moonlight 2.0 and new install of the Moonlight 3.0 seems
to have gotten it to work.

  However, the CPU cycles are bad - one of my dual cores is pinned to 100%
(50% of the total CPU) when the 3.0 Beta is running.

- CH
-- 
View this message in context: 
http://n4.nabble.com/NBC-Olympics-Video-under-Ubuntu-9-10-tp1558532p1558532.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] NBC Olympics Video under Ubuntu 9.10

2010-02-17 Thread Rolf Bjarne Kvinge
Hi,

 

You might want to read:

 

http://www.mono-project.com/Moonlight/OlympicsPlayerIssues#Performance_Issue
s

 

Rolf

 

From: mono-list-boun...@lists.ximian.com
[mailto:mono-list-boun...@lists.ximian.com] On Behalf Of cement_head
Sent: miércoles, 17 de febrero de 2010 12:36
To: mono-list@lists.ximian.com
Subject: [Mono-list] NBC Olympics Video under Ubuntu 9.10

 

Hello, Managed to get Moonlight to work with NBC Olympics Videos. It is
imperative that these instructions be followed:
http://www.mono-project.com/Moonlight/OlympicsPlayerIssues I originally did
the standard upgrade of the plugin and it did not work. But removal of the
Moonlight 2.0 and new install of the Moonlight 3.0 seems to have gotten it
to work. However, the CPU cycles are bad - one of my dual cores is pinned to
100% (50% of the total CPU) when the 3.0 Beta is running. - CH 

  _  

View this message in context: NBC
http://n4.nabble.com/NBC-Olympics-Video-under-Ubuntu-9-10-tp1558532p1558532
.html  Olympics Video under Ubuntu 9.10
Sent from the Mono - http://n4.nabble.com/Mono-General-f1490591.html
General mailing list archive at Nabble.com.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2693 - Release Date: 02/17/10
08:35:00

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


Re: [Mono-list] Using svcutil to generate WCF proxies

2010-02-17 Thread Costantino Pipero
I somewhat advanced on this after reading Atsushi Eno's blog .

When I point the browser to http://localhost:8080/wsdl I get

This XML file does not appear to have any style information associated with 
it. The document tree is shown below.
  
−
s:Envelope
−
s:Body
−
s:Fault
faultcodea:DestinationUnreachable/faultcode
faultstring xml:lang=en-USerror occured/faultstring
/s:Fault
/s:Body
/s:Envelope


Here's my simple (server side) code:

namespace SimpleMessageService
{

 [ServiceContract]
 public interface ISimpleMessage
 {
  [OperationContract]
  string SendMessage();
 }


 public class SimpleMessage : ISimpleMessage 
 {

  public string SendMessage()
  {
   return This is a very simple message;
  }
 } 


 class MainClass
 {
  public static void Main (string[] args)
  {
   var binding = new BasicHttpBinding (); 
  var address = new Uri (http://localhost:8080/);
  var host = new ServiceHost (typeof (SimpleMessage));
   var meta = new ServiceMetadataBehavior()
{
 HttpGetEnabled = true,
 HttpGetUrl = new Uri(wsdl,UriKind.Relative)
};
   host.Description.Behaviors.Add(meta);
  host.AddServiceEndpoint(
  typeof (ISimpleMessage), binding, address);
  host.Open ();
   Console.WriteLine(Host listening on {0} with status: {1}, 
host.Description.Endpoints[0].Address, host.State);
  Console.WriteLine (SimpleMessageService running, press ENTER to stop 
it...);
  Console.ReadLine ();
  host.Close ();  
  }
 }
}


Thank you for any help on this
Cos



From: Costantino Pipero 
Sent: Monday, February 15, 2010 6:59 AM
To: mono-list@lists.ximian.com 
Subject: [Mono-list] Using svcutil to generate WCF proxies


Hello,

I have Mono 2.6 on OpenSuse 11.2 and I am trying out WCF.

Everything works as expected, I created a service hosted in a console app and a 
client on another app, like the example on the Mono Olive Notebook.

It works, but it works because I reference the server class in the client.

Instead I want to generate a proxy using svcutil like it should be done if you 
want to consume from a remote web service that you don't have the source for.

I tried several things like:

svcutil http://lcalhost:8080/MyService.svc?wsdl -o myfile.cs
svcutil http://lcalhost:8080/MyService.svc|wsdl -o myfile.cs
svcutil MyService.exe -o myfile.cs

I some case the prompt sits there and does nothing, in others it throws 
numerous exceptions. Before I show the laundry list of errors I wanted to check 
if I am taking the right approach...


Thanks 
Cos





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


[Mono-list] Mono and SqlBulkCopy

2010-02-17 Thread phosphor

I'm trying to use SqlBulkCopy in mono however when trying to write to the
database an array index is out of range exception is thrown.  This happens
only in Mono, and not when running under .Net.

I tried passing an array of rows to bulkcopy instead, however this results
in the same array index out of range exception.

Does anyone have any suggestions or  help, as anything would be greatly
appreciated. 
-- 
View this message in context: 
http://n4.nabble.com/Mono-and-SqlBulkCopy-tp1558606p1558606.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] DB2 connection problem

2010-02-17 Thread Niklas . Albers
Hi,

I have problems with connecting to a remote db2 database with mono. I am 
using DB2 v.9.5 and mono developer 2.2. The db2 .net data provider and the 
client are allready installed. I also added dllmap dll=db2 
target=libdb2.so os=!windows/ to /etc/mono/config and  the system 
(Suse 11.2) allready knows the lib path of the db2 client.

I try to connect with the following code: 

using System;
using IBM.Data.DB2;

namespace TestDB
{
class MainClass
{
public static void Main(string[] args)
{
try
{
DB2Connection con = new 
DB2Connection(Server=192.168.69.32;Database=Silva;UID=DBUser;PWD=password;);
con.Open();
con.Close();

Console.WriteLine(Connection Ok);
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
}
}
}
}

When I run this code, I get the following exception:

IBM.Data.DB2.DB2Exception: No error information
  at IBM.Data.DB2.DB2ClientUtils.DB2CheckReturn (Int16 sqlRet, Int16 
handleType, IntPtr handle, System.String message, 
IBM.Data.DB2.DB2Connection connection) [0x0] in filename unknown:0 
  at IBM.Data.DB2.DB2Environment..ctor () [0x0] in filename 
unknown:0 
  at IBM.Data.DB2.DB2Environment.get_Instance () [0x0] in filename 
unknown:0 
  at IBM.Data.DB2.DB2ConnectionPool.FindConnectionPool (System.String 
connectionString) [0x0] in filename unknown:0 
  at IBM.Data.DB2.DB2ConnectionSettings.GetConnectionSettings 
(System.String connectionString) [0x0] in filename unknown:0 
  at IBM.Data.DB2.DB2Connection.SetConnectionString (System.String 
connectionString) [0x0] in filename unknown:0 
  at IBM.Data.DB2.DB2Connection..ctor (System.String conString) [0x0] 
in filename unknown:0 
  at (wrapper remoting-invoke-with-check) IBM.Data.DB2.DB2Connection:.ctor 
(string)
  at dbhansi.MainClass.Main (System.String[] args) [0x0] in 
/home/develop/Projects/TestDB/TestDB/Main.cs:12 


The connection string should be correct, in windows it works fine.

Has anybody an idea?

Greetings 

Niklas Albers
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Sending email via gmx in C#

2010-02-17 Thread pfj

Hi,

I've got a valid gmx email address that I can send from my google account to
the gmx one (or even my work email to gmx). According to the set up for
thunderbird, the smtp needs usern...@gmx.com and a password. In my code
they're both valid, yet I'm still unable to send.

Am I missing something?

TTFN

Paul
-- 
View this message in context: 
http://n4.nabble.com/Sending-email-via-gmx-in-C-tp1558501p1558655.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Sending email via gmx in C#

2010-02-17 Thread A.M. Abdelaziz
it's said that port 25 is the default, but u r using ssl
have u tried seting smtp.port = 465

On Wed, Feb 17, 2010 at 3:28 PM, pfj pjohns...@uclan.ac.uk wrote:


 Hi,

 I've got a valid gmx email address that I can send from my google account
 to
 the gmx one (or even my work email to gmx). According to the set up for
 thunderbird, the smtp needs usern...@gmx.com and a password. In my code
 they're both valid, yet I'm still unable to send.

 Am I missing something?

 TTFN

 Paul
 --
 View this message in context:
 http://n4.nabble.com/Sending-email-via-gmx-in-C-tp1558501p1558655.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




-- 
A.M. Abdelaziz
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Is there any discussion about migration Mono to embedded device ?

2010-02-17 Thread Cubean

Recently, I have been learnning Mono and .Net technology. I want to migration
Mono to an embedded device. The device's OS is closed and it executes other
IL. I need to convert Mono IL to the embedded IL partly. Is there anyone
discussing the Mono migration?
-- 
View this message in context: 
http://old.nabble.com/Is-there-any-discussion-about-migration-Mono-to-embedded-device---tp27400054p27400054.html
Sent from the Mono - General mailing list archive at Nabble.com.

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


[Mono-list] Help on read unicode data from Oracle

2010-02-17 Thread vinhpt

Hi All.
I have a ASP.NET application read Unicode data from Oracle Database and show
Unicode on the webpage. Please help me how to config (webbrowser, webserver
and database server) 

OS: Ubuntu 8.10
Mono: 2.6.1
Webserver: XSP2
Database: Oracle 10g (NLS_LANGUAGE=AMERICA_AMERICAN.UTF8 data store in
NVARCHAR2 field type)
Application: ASP.NET VB.NET 2.0

Code:
Dim strConn as String
strConn = Data Source=  txtDatabase.Text  ;User ID= 
txtUser.Text  ;Password=  txtPassword.Text  ;Unicode=True
Dim conn As OracleConnection
conn = New OracleConnection(strConn)
conn.Open()
Dim cmd As OracleCommand
cmd = conn.CreateCommand()
cmd.CommandText = SELECT * FROM AD_ORG
Dim read As OracleDataReader
read = cmd.ExecuteReader()

Dim dTable As DataTable
dTable = New DataTable()
dTable.Load(read)

GridView1.AutoGenerateColumns = True
GridView1.DataSource = dTable
GridView1.DataBind()

Result:
VALUENAME  DESCRIPTION
CNDLTDA L?TDA L?T
NTHC NH?N  NH?N TR?CH

All the unicode character be replaced by '?'.
If test on Window and IIS is ok.

Please help.

-- 
View this message in context: 
http://old.nabble.com/Help-on-read-unicode-data-from-Oracle-tp27394445p27394445.html
Sent from the Mono - General mailing list archive at Nabble.com.

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


[Mono-list] Moblin

2010-02-17 Thread SimonPBond


I am looking to use Moblin as I have an Atom-based motherboard. Is there a
particular implementation of mono that I should be using (I want to run a
system I have developed in c#, asp.net, wcf...)?

Thanks
-- 
View this message in context: 
http://old.nabble.com/Moblin-tp27457462p27457462.html
Sent from the Mono - General mailing list archive at Nabble.com.

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


[Mono-list] embedding mono runtime

2010-02-17 Thread stobi

With great interest I read the article on how to Embedding Mono !
http://www.mono-project.com/Embedding_Mono

Cause I'm new to Mono I'm not sure if this means what I think !
Can I embed the mono runtime into my application exe so that I do not have
to
distribute the mono runtime ?

Otherwise is it able to deploy the mono runtime by just copying some exes
and 
dlls into a directory ?

Does this anybody already on windows platform ? Perhaps you can
send my some hints or instructions how to do that on the windows platform ?

Thank you very much

-- 
View this message in context: 
http://old.nabble.com/embedding-mono-runtime-tp27478751p27478751.html
Sent from the Mono - General mailing list archive at Nabble.com.

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


Re: [Mono-list] C# REPL shell on Windows in Mono 2.6 does not work at all?

2010-02-17 Thread zvolkov

Clarification: I think it actually works but the prompt is not displayed
properly. In the command-line REPL shell (csharp) the Prompt csharp is
never displayed. In graphic REPL shell (gsharp) the Prompt is displayed
but the ContinuationPrompt never seems to display, at least not when I try
the sample code from http://www.mono-project.com/CsharpRepl 

from f in Directory.GetFiles (/etc)



zvolkov wrote:
 
 The command-line C# REPL shell does not work for me on Windows. 
 
 I start the Mono Command Line shortcut provided by the installation.
 From that I run csharp.bat located at Mono's bin directory.
 What I get is a command prompt that allows me to type and echoes my
 characters but never prints anything back. Looks like csharp.exe is not
 running in the interactive mode and waits for the EOF of the file it's
 supposed to compile.
 
 Mono itself works fine. Mcs / Gmcs both work fine. The graphical GUI
 (gcsharp) works fine. I'm running Mono 2.6 (General Availability release
 mono-2.6-gtksharp-2.12.9-win32-4.exe) on Windows Server 2008 64 bit. 
 
 Anybody experiences same issue? Am I doing anything stupid?
 

-- 
View this message in context: 
http://old.nabble.com/C--REPL-shell-on-Windows-in-Mono-2.6-does-not-work-at-all--tp26802324p27503256.html
Sent from the Mono - General mailing list archive at Nabble.com.

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


[Mono-list] I18N problem in Mono 2.6.1

2010-02-17 Thread melon1234

Hi everyone,

I am using Ubuntu 9.10 32bit with LANG=zh_CN.UTF-8. The default installed
mono is in version 2.4. I built Mono 2.6.1 from source code:
./configure --prefix=/opt/mono-2.6
make
make install

Installation is all ok. But it seems this mono does not support I18N
characters. Take KeePass.exe as example. If run in mono 2.4, no problem,
but Chinese characters becomes hollow square (maybe font problem). If run in
mono 2.6, exception throws from CreateZStream if the GUI contains any
Chinese characters.

Is there any method to solve this problem? Can I specify the codepage /
encoding for a mono executable?

Thanks in advance.

--
ShenLei

-- 
View this message in context: 
http://old.nabble.com/I18N-problem-in-Mono-2.6.1-tp27512887p27512887.html
Sent from the Mono - General mailing list archive at Nabble.com.

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


[Mono-list] Re lease cycle

2010-02-17 Thread Stellenbosser

Does anyone have an idea as to the planned release date for Mono 2.8?
-- 
View this message in context: 
http://old.nabble.com/Release-cycle-tp27544541p27544541.html
Sent from the Mono - General mailing list archive at Nabble.com.

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


Re: [Mono-list] mod_mono - Symbol not found _strndup/n

2010-02-17 Thread jcargilo

@Gonzalo - Thanks, that did the trick.  I have a new issue, but I'll post
that elsewhere.  Thanks again.
-- 
View this message in context: 
http://n4.nabble.com/mod-mono-Symbol-not-found-strndup-n-tp1502025p1556781.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Expecting and got EOF when attempting to run ASP.NET/MONO on OSX/Apache2

2010-02-17 Thread jcargilo

Alright, so finally after 3 days of working around issue after issue, I
managed to get Mono up and running with the mod_mono module on Apache2 of my
new Snow Leopard Mac Mini Server.  The idea is to serve ASP.NET 2.0
applications, but of course I'm trying to work through some issues first. 
Keep in mind, I'm not a Mac/UNIX person, so I'm flying by the seat of my
pants here.

My issue is that after the install and XSP test files were validated, I
attempted to run one of my working beta applications that was live
previously on a windows server.  However, when I attempt to run the
application (and thereby ASP.NET compiles it at run time) I receive the
error Expecting  and got EOF.  The stack trace remarks on a
System.Web.Compilation.AspGenerator.ParseError error from ASP.NET,
unimportant probably, as I believe this is an issue with Mono or the setup
of Mono itself.

I'm at a loss of what to try, and web searches and forum searches have left
me clueless as to what I should try next.  Any suggestions?
-- 
View this message in context: 
http://n4.nabble.com/Expecting-and-got-EOF-when-attempting-to-run-ASP-NET-MONO-on-OSX-Apache2-tp1556787p1556787.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] where is config.nice for apache for the vmware mono image ???

2010-02-17 Thread cpMon

I am trying to build a module for apache, and I don't know how apache was
built. Can someone provide config.nice, or the source kit.

I try:
   apxs2 -c mod_xmlrpc.c

and I get:

  pxs:Error: /usr/sbin/httpd2-prefork not found or not executable.

Further, I can't find config.nice to rebuild from the latest 2.2.

Thanks in Advance,
Cal Page

-- 
View this message in context: 
http://n4.nabble.com/where-is-config-nice-for-apache-for-the-vmware-mono-image-tp1557250p1557250.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Which version of Mono do I need for Linux?

2010-02-17 Thread Chu

Hey everyone -

I'm very new to mono. I'm joining a team of guys who are all replacements to
the original group who worked on the product, so none of them know much
about it either. 

Our product is written in .NET, using WinForms. The product needs to be
deployed and be flexible enough to run on any version of Linux. Ideally,
we'd like to deploy mono with our installation package. 

When looking at the options of mono packages for Linux there are many. Is
there a way to determine which one is needed?
-- 
View this message in context: 
http://n4.nabble.com/Which-version-of-Mono-do-I-need-for-Linux-tp1557906p1557906.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Possible Bug

2010-02-17 Thread Abe Gillespie
Bug #580564

On Tue, Feb 16, 2010 at 7:42 PM, Michael Hutchinson
m.j.hutchin...@gmail.com wrote:
 On Tue, Feb 16, 2010 at 10:27 AM, Abe Gillespie abe.gilles...@gmail.com 
 wrote:
 I'll be happy to file a bug ... I just need more info.  In visual
 studio you do *not* need a reference to System.Core to compile OK.  So
 does csc.exe handle this differently from gmcs.exe or does visual
 studio automatically add a System.Core reference on-the-fly when a
 compile is fired off?

 Essentially, what bug(s) / what product(s) should I file this against?

 That's sounds like it's a gmcs issue then, not MD.

 --
 Michael Hutchinson
 http://mjhutchinson.com

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


Re: [Mono-list] Sending email via gmx in C#

2010-02-17 Thread Robert Jordan
On 17.02.2010 14:28, pfj wrote:

 Hi,

 I've got a valid gmx email address that I can send from my google account to
 the gmx one (or even my work email to gmx). According to the set up for
 thunderbird, the smtp needs usern...@gmx.com and a password. In my code
 they're both valid, yet I'm still unable to send.

 Am I missing something?

Yes, you didn't read my response. Being able to send a mail from
Google to GMX means nothing in this context.

Again: GMX *requires* that the FROM address is a GMX address. This
means that you MUST NOT send a mail FROM 'pjohns...@uclan.ac.uk'
via GMX' servers. The FROM address MUST be 'someth...@gmx.com',
the account/login name MUST be 'someth...@gmx.com' and the
password MUST match.

All capitalized words as per RFC-2119 ;)

Robert

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


Re: [Mono-list] Which version of Mono do I need for Linux?

2010-02-17 Thread Jonathan Pryor
On Tue, 2010-02-16 at 12:36 -0800, Chu wrote:
 Our product is written in .NET, using WinForms. The product needs to be
 deployed and be flexible enough to run on any version of Linux. Ideally,
 we'd like to deploy mono with our installation package. 

Any version of Linux is quite a requirement.

There are two fundamental ways to go about this:

1. Create distro-specific packages which have proper dependencies, and
don't bundle Mono with your app.  Things like the openSUSE Build Service
can help.

Pro: your packages are smaller, and you don't need to worry about
maintaining Mono and tracking bug/security fixes (as you'll be using the
distro-provided mono).

Con: you won't be maintaining Mono (and thus if/when they upgrade it
your app might break); not all platforms provide a system mono (RHEL).

2. Bundle mono and all dependencies with your app.  Assuming you're just
using WinForms, this will likely be (at minimum) mono, mcs, and
libgdiplus.  Install all into a custom prefix
(e.g. /opt/ComputerLabSolutions), and provide a shell script
(/opt/ComputerLabSolutions/bin/YourAppName) which sets LD_LIBRARY_PATH
and other relevant environment variables so that your mono  libraries
are used (and not the system-provided libraries).

Pro: Your package is self-contained, and less reliant on
distro-provided packages.

Con: The feasibility of this approach declines as your dependency list
increases.  Mono  libgdiplus?  Sure.  Gtk# and a custom GTK+?  Uh...

The real killer is dependencies wrt any version of Linux, as any
version of linux will include distros that have an ancient libgdiplus
(assuming they have one at all), or an equally ancient GTK+ stack (if
you're writing a Gtk# app), and any number of other implicit and
explicit dependencies.

Have you considered just providing a VM image and using SUSE Studio to
build it?

http://susestudio.com/

 - Jon


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


Re: [Mono-list] Moblin

2010-02-17 Thread Jonathan Pryor
On Thu, 2010-02-04 at 10:26 -0800, SimonPBond wrote:
 I am looking to use Moblin as I have an Atom-based motherboard. Is there a
 particular implementation of mono that I should be using (I want to run a
 system I have developed in c#, asp.net, wcf...)?

Atom is x86, so any x86 version of Mono should work.

 - Jon


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


Re: [Mono-list] embedding mono runtime

2010-02-17 Thread Jonathan Pryor
On Sat, 2010-02-06 at 03:11 -0800, stobi wrote:
 With great interest I read the article on how to Embedding Mono !
 http://www.mono-project.com/Embedding_Mono
 
 Cause I'm new to Mono I'm not sure if this means what I think !
 Can I embed the mono runtime into my application exe so that I do not have
 to
 distribute the mono runtime ?

Maybe.  You can dynamically link your app against
libmono.so/libmono.dll, in which case you would still need to distribute
the mono runtime.

Alternatively, you could statically link mono into your app, but since
libmono is distributed under the LGPL this is inadvisable.  See the LGPL
for details (and commercial licenses are available).

I believe that you would still need to distribute Mono's assemblies,
though e.g. mkbundle2(1) could be used to minimize this requirement.

(Note: I have no idea if mkbundle2 and embedding can be made to work
together.)

 Otherwise is it able to deploy the mono runtime by just copying some exes
 and 
 dlls into a directory ?

Yes.  It just requires that you set some environment variables before
running so that Mono's files can be found (e.g. setting LD_LIBRARY_PATH
on Linux, %PATH% on Windows).

 Does this anybody already on windows platform ? Perhaps you can
 send my some hints or instructions how to do that on the windows platform ?

This has been done; see http://www.novell.com/products/mono/
(specifically the Success  Awards section).

Using Mono for run-from-CD-style programs on Windows has also been
discussed (see the archives).  It generally requires copying your
program and Mono's files onto the CD, then writing a .ini file for the
CD which launches the Mono present on the CD and passes your program to
Mono.  Should be a ~trivial operation for anyone familiar with the
necessary .ini file incantations...

 - Jon


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


Re: [Mono-list] Which version of Mono do I need for Linux?

2010-02-17 Thread Ben Gamari
Excerpts from Chu's message of Tue Feb 16 15:36:40 -0500 2010:
 Our product is written in .NET, using WinForms. The product needs to be
 deployed and be flexible enough to run on any version of Linux. Ideally,
 we'd like to deploy mono with our installation package.

You really really don't want to do this. Shipping prerequisites with an
application creates a packaging nightmare for anyone who comes in
contact with your code. A hack like this might be for some reason
accepted in the Windows world but that doesn't make it a sound practice.
Shared object versioning is hard enough without every package and its
mother installing its own libraries.

For the sake of your users' sanity (not to mention good software
engineering), Mono should be installed using the native package manager
of the target machine.


 When looking at the options of mono packages for Linux there are many. Is
 there a way to determine which one is needed?

See above.

Cheers,

- Ben
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re lease cycle

2010-02-17 Thread Jonathan Pryor
On Thu, 2010-02-11 at 04:19 -0800, Stellenbosser wrote:
 Does anyone have an idea as to the planned release date for Mono 2.8?

http://www.mono-project.com/Roadmap#Upcoming_Releases

No date has been announced yet, but that URL will contain the date once
it has been chosen.

 - Jon


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


[Mono-list] interop with native C DLL on MAC OS X

2010-02-17 Thread Gigi Sayfan
Thanks, Gonzalo. This did the trick:

export MONO_LOG_LEVEL=debug
export MONO_LOG_MASK=dll


I was able to see exactly what mono is trying to do and it turned out that when 
looking for a native DLL from within a non-executable assembly (a DLL) the 
native DLL should have NO extension (regardless of the config file).

Actually, this debugging tip is in the page : 
http://www.mono-project.com/Interop_with_Native_Libraries but it is way down 
there in a separate trobleshooting section and not in the section that talks 
about Library Handling. Anyway, it looks like the documentation is not 
exactly accurate.

Thanks, Gigi




 

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


[Mono-list] TweetSharp Failing

2010-02-17 Thread Abe Gillespie
Hi,

I'm doing something like this:

var result = FluentTwitter
.CreateRequest()
.AuthenticateAs(sender, password)
.DirectMessages()
.Send(receiver, tweet tweet)
.AsJson()
.Request();

On Windows this succeeds.  On Mono (Mac  Linux) I'm getting an
exception with 401 Unauthorized in the description.  Now I've used
certmgr to install the certs at https://api.twitter.com and
https://www.twitter.com for both the local user store and the machine
store.  But I'm still getting the error.

This certainly might be a TweetSharp question, but using the
TweetSharp source I've traced the failure down to a single WebRequest
call.

Any ideas on this?

Thanks.
-Abe
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with System.Web.Mvc

2010-02-17 Thread Marek Habersack
On Wed, 10 Feb 2010 12:21:37 -0500
Abe Gillespie abe.gilles...@gmail.com wrote:

Hello,

 Using .Net Reflector I noticed there are compiled-in resources for
 System.Web.Mvc.dll on Win/MS .Net.  However, these resources are not
 present for Mono included System.Web.Mvc.dll.
On mono you can use

monodis --presources assembly.dll

to list the embedded resources

 
 This site runs on Windows / MS .Net and Mac OS X / Mono.  It's just my
 Linux box that's having this problem.  Mind you, my Mac is running 2.6
 where the Linux box is running 2.6.1.
It's fixed in r151926 (trunk) and in r151927 (2.6 branch)

best regards,

marek
 
 -Abe
 
 On Wed, Feb 10, 2010 at 12:07 PM, Juan C. Olivares juan...@juancri.com 
 wrote:
  On Wed, Feb 10, 2010 at 1:08 PM, Abe Gillespie abe.gilles...@gmail.com
  wrote:
 
  Here's the stack trace if that helps:
 
  System.Resources.MissingManifestResourceException: Could not find any
  resources appropriate for the specified culture or the neutral
  culture.  Make sure System.Web.Mvc.Resources.MvcResources.resources
  was correctly embedded or linked into assembly System.Web.Mvc at
  compile time, or that all the satellite assemblies required are
  loadable and fully signed.
 
  I have had this problem. There's a problem with the resources, but that will
  not fix the real problem. The MVC is trying to display other error related
  with the application. Sometimes, it's because the action doesn't exist. Try
  to test this app on .NET and check the controller and action.
  --
  Atte,
  Juan Cristóbal Olivares
  חואנכרי
 
  ==
 
  Renovarse o morir: Mi PC de los sesenta tenía veinte mil militantes. Y mi PC
  del siglo XXI tiene cuarenta gigabytes.
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

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


Re: [Mono-list] Problem with System.Web.Mvc

2010-02-17 Thread Abe Gillespie
Great.  Thanks!

On Wed, Feb 17, 2010 at 3:14 PM, Marek Habersack
gren...@twistedcode.net wrote:
 On Wed, 10 Feb 2010 12:21:37 -0500
 Abe Gillespie abe.gilles...@gmail.com wrote:

 Hello,

 Using .Net Reflector I noticed there are compiled-in resources for
 System.Web.Mvc.dll on Win/MS .Net.  However, these resources are not
 present for Mono included System.Web.Mvc.dll.
 On mono you can use

 monodis --presources assembly.dll

 to list the embedded resources


 This site runs on Windows / MS .Net and Mac OS X / Mono.  It's just my
 Linux box that's having this problem.  Mind you, my Mac is running 2.6
 where the Linux box is running 2.6.1.
 It's fixed in r151926 (trunk) and in r151927 (2.6 branch)

 best regards,

 marek

 -Abe

 On Wed, Feb 10, 2010 at 12:07 PM, Juan C. Olivares juan...@juancri.com 
 wrote:
  On Wed, Feb 10, 2010 at 1:08 PM, Abe Gillespie abe.gilles...@gmail.com
  wrote:
 
  Here's the stack trace if that helps:
 
  System.Resources.MissingManifestResourceException: Could not find any
  resources appropriate for the specified culture or the neutral
  culture.  Make sure System.Web.Mvc.Resources.MvcResources.resources
  was correctly embedded or linked into assembly System.Web.Mvc at
  compile time, or that all the satellite assemblies required are
  loadable and fully signed.
 
  I have had this problem. There's a problem with the resources, but that 
  will
  not fix the real problem. The MVC is trying to display other error related
  with the application. Sometimes, it's because the action doesn't exist. Try
  to test this app on .NET and check the controller and action.
  --
  Atte,
  Juan Cristóbal Olivares
  חואנכרי
 
  ==
 
  Renovarse o morir: Mi PC de los sesenta tenía veinte mil militantes. Y mi 
  PC
  del siglo XXI tiene cuarenta gigabytes.
 
 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


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


Re: [Mono-list] Using svcutil to generate WCF proxies

2010-02-17 Thread Atsushi Eno
Oops, I missed the first post. So, hello,

There were couple of bugs around ServiceMetadataBehavior (support for wsdl).
WCF in trunk has a couple of fixes with related to this kind of issue.

Though there still likely are other issues. I have written some notes on how
WSDL support in both simple ServiceHost and ASP.NET is done (and how they
are messy :/ ) at
http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.ServiceModel/HTTP_listener_notes.txt?view=co

A possible workaround for your issue is to use non-empty HttpGetUrl such as
  /wsdl which will expose WSDL at .../foo.svc/wsdl instead of 
../foo.svc?wsdl .

Atsushi Eno


On 2010/02/17 21:17, Costantino Pipero wrote:
 I somewhat advanced on this after reading Atsushi Eno's blog 
 http://veritas-vos-liberabit.com/monogatari/2009/12/mono-wcf-advent-day-4-expose-and-consume-wsdls.html
  
 .
 When I point the browser to http://localhost:8080/wsdl I get
 This XML file does not appear to have any style information 
 associated with it. The document tree is shown below.

 −
 s:Envelope
 −
 s:Body
 −
 s:Fault
 faultcodea:DestinationUnreachable/faultcode
 faultstring xml:lang=en-USerror occured/faultstring
 /s:Fault
 /s:Body
 /s:Envelope
 Here's my simple (server side) code:
 namespace SimpleMessageService
 {
  [ServiceContract]
  public interface ISimpleMessage
  {
   [OperationContract]
   string SendMessage();
  }
  public class SimpleMessage : ISimpleMessage
  {
   public string SendMessage()
   {
return This is a very simple message;
   }
  }

  class MainClass
  {
   public static void Main (string[] args)
   {
var binding = new BasicHttpBinding ();
   var address = new Uri (http://localhost:8080/);
   var host = new ServiceHost (typeof (SimpleMessage));
var meta = new ServiceMetadataBehavior()
 {
  HttpGetEnabled = true,
  HttpGetUrl = new Uri(wsdl,UriKind.Relative)
 };
host.Description.Behaviors.Add(meta);
   host.AddServiceEndpoint(
   typeof (ISimpleMessage), binding, address);
   host.Open ();
Console.WriteLine(Host listening on {0} with status: {1}, 
 host.Description.Endpoints[0].Address, host.State);
   Console.WriteLine (SimpleMessageService running, press ENTER to 
 stop it...);
   Console.ReadLine ();
   host.Close ();
   }
  }
 }
 Thank you for any help on this
 Cos

 *From:* Costantino Pipero mailto:c...@beeond.net
 *Sent:* Monday, February 15, 2010 6:59 AM
 *To:* mono-list@lists.ximian.com mailto:mono-list@lists.ximian.com
 *Subject:* [Mono-list] Using svcutil to generate WCF proxies

 Hello,
 I have Mono 2.6 on OpenSuse 11.2 and I am trying out WCF.

 Everything works as expected, I created a service hosted in a console 
 app and a client on another app, like the example on the Mono Olive 
 Notebook.
 It works, but it works because I reference the server class in the 
 client.
 Instead I want to generate a proxy using svcutil like it should be 
 done if you want to consume from a remote web service that you don't 
 have the source for.
 I tried several things like:
 svcutil http://lcalhost:8080/MyService.svc?wsdl -o myfile.cs
 svcutil http://lcalhost:8080/MyService.svc|wsdl -o myfile.cs
 svcutil MyService.exe -o myfile.cs
 I some case the prompt sits there and does nothing, in others it 
 throws numerous exceptions. Before I show the laundry list of errors I 
 wanted to check if I am taking the right approach...
 Thanks
 Cos

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


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


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


[Mono-list] Industrial Computer: Processor RISC ARM9 with Linux ver. 2.6

2010-02-17 Thread mmmmmm

Hi,

Can Mono be isntalled and run on an industrial computer with RISC ARM9
processor and Operating System Linux ver. 2.6? Is so, what is the proper
version to download?

Thank you veru much.

-
Best regards,
Mitica
-- 
View this message in context: 
http://n4.nabble.com/Industrial-Computer-Processor-RISC-ARM9-with-Linux-ver-2-6-tp1559749p1559749.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list