[Mono-dev] NHibernate 1.2 problem on mono 1.2.4 preview

2007-05-05 Thread Pascal Fresnay
Hi,
It seems that the new NHibernate major release (1.2 - 3 may 2007) can't
be used on mono, a method is missing that throw a
NotImplementedException
( http://bugzilla.ximian.com/show_bug.cgi?id=78637 ) in auto-generated
proxies.
Any chance to have a fix in 1.2.4 release ?
Thanks,
Pascal

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


Re: [Mono-dev] For those who requests backporting fixes (Re: 1.2.4 preview test)

2007-04-26 Thread Pascal Fresnay
Hi,
It's not a very important fix, but it can help some ASP.NET 2.0 website
to work on Mono. Fix is trivial (just see reactivity of fix ;) ), if you
think that it can breaks some existing functionnalities, juste ignore it
of course, I can wait next release or compile trunk myself for my
personal needs.

Le jeudi 26 avril 2007 à 23:18 +0900, Atsushi Eno a écrit :
> Hi,
> 
> Can you, and every possible followers of similar requestors, please
> explain what is the rational reason that this fix should be go into
> svn in danger of possible breakage?
> 
> Some fixes are backported because they are significant. But that
> is not the case for *every* fixes, so we need a reason. There are
> reasons that we don't make releases just by picking random instant
> trunk version.
> 
> Atsushi Eno
> 
> 
> Pascal Fresnay wrote:
> > Hi,
> > Can this fix be integrated in 1.2.4 ? It doesn't seem to be fixed in 
> > preview :
> > http://bugzilla.ximian.com/show_bug.cgi?id=81396
> > Thanks
> > ___
> > Mono-devel-list mailing list
> > Mono-devel-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > 
> 
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 

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


[Mono-dev] 1.2.4 preview test

2007-04-26 Thread Pascal Fresnay
Hi,
Can this fix be integrated in 1.2.4 ? It doesn't seem to be fixed in 
preview :
http://bugzilla.ximian.com/show_bug.cgi?id=81396
Thanks
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] What would you like to see in Mono?

2006-03-29 Thread Pascal Fresnay

Hey,

What would be the top feature you would like to see in Mono?

Think of a feature that is not something we are currently working
on (we know about those), for example avoid saying: a class-is-missing
feature or "IDE" or "the debugger".  We know about those.

Miguel.


Something similar to WinFS will be really great for Linux : A unique 
database shared by all application for access data, for example :
- music player/organizer like Muine and Banshee will access same music 
database (same concept for other media like photo with f-spot)

- unique adress book and mail repository
There's a lot of possibilities : beagle enhancement, easy sharing of 
data across databases (across computer, across universe)

Isn't it exciting ? :)

Pascal Fresnay
http://monofrance.free.fr


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


Re: [Mono-dev] gluing C code into my apps

2006-01-09 Thread Pascal Fresnay

Use DllImport :
http://www.mono-project.com/Dllimport

Lukas a écrit :

Hello,

I recently asked a question about parallel port acces in mono, and it
was suggested that I "glue" some C code into my apps. This is what I
originally though that I might have to do but there is one problem.
How do I use C code within my C# apps? Do i have to call an external
progam or can i do it inline?
--
God Bless,

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


  


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


Re: [Mono-dev] Mono website down ?

2005-10-07 Thread Pascal Fresnay
Le vendredi 07 octobre 2005 à 15:53 -0300, Rafael Teixeira a écrit :
> All is normal navigating from here. But you are the second person I
> hear talking this in the last hour, so possibly it was some server/dns
> glitch.
Probably. Everything seems ok now.
Thanks.
> 
> Best regards,
> 
> On 10/7/05, Pascal Fresnay <[EMAIL PROTECTED]> wrote:
> > Hi,
> > www.mono-project.com doesn't speak about mono anymore (Novell page
> > now)... what's the problem ?
> >
> > ___
> > Mono-devel-list mailing list
> > Mono-devel-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> 
> 
> --
> Rafael "Monoman" Teixeira
> ---
> I'm trying to become a "Rosh Gadol" before my own eyes.
> See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
> It hurts!
> 

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


[Mono-dev] Mono website down ?

2005-10-07 Thread Pascal Fresnay
Hi,
www.mono-project.com doesn't speak about mono anymore (Novell page
now)... what's the problem ?

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


Re: [Mono-dev] Mono structure of development

2005-10-06 Thread Pascal Fresnay

Harry a écrit :


Hi All,

I have a questions regarding Mono structure
development. I have tried all the link at Mono
website, but I couldn't find it. here is my questions.


1. Is Mono only supporting runtime not the library for
all other programming languages? 
 

All libraries are accessible for every languages that are targeting 
.NET/Mono runtime.
Mono si language independant, it execute a low level code (IL for 
Intermediate Language).

Each compiler (C#, VB.NET, etc.) generate IL code.


2. Why all the library such as System, System.Drawing,
etc... class is in the mcs library not in Mono library
i.g Mono[verions]/Class/System.Windows.Forms ?
 

System & co are base libraries defined by ECMA standards and/or 
compatible with Microsoft .NET.
Others libs may be in different places, some are Mono specific, other 
GTK specific, etc.



3. Are you guys have different compiler for every
languages and always includes the library such as
System, System.Drawing, etc... i.g [../class/System] ?
 


4. Is Mono only support runtime for C# programming
languages? 
 


No, Mono runtime is language independant.
Mono project (not only runtime) also provide a C# compiler (mcs), a 
VB.NET compiler, a Java compiler (ikvm) and a JScript compiler.
Some others compiler for Boo or Nemerle are also provided but not 
supported (I think)



Thank you in advance for your answers



--

Harry Tanama
Programmer/Developer
.NET / JAVA
Powerd by GNU/LiNUX  



"Let Christ be glorify in our words and actions."

"Jesus Christ save the entire human race from sins & GNU/Linux save human from high 
cost software applications."



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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


 



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


Re: [Mono-dev] .aspx and .aspx.cs (spliting "codebehind")

2005-09-22 Thread Pascal Fresnay
Le jeudi 22 septembre 2005 à 19:39 +0200, Florian Kinast a écrit :
> Hi Everybody,
> 
> I am sorry if this problem is not appropriate here, but I am looking for
> a solution to that now for some time.
> 
> Problem:
> 
> I got a request.aspx which works if I put the "codebehind" and the aspx
> in one file.
> If I try to split it into a request.aspx and request.aspx.cs it doesn't
> work anymore: There is just no reaction on the click (it seems to load, but
> just the same pages comes back).
Please try this simple test :
WebForm1.aspx :
<%@ Page language="c#" Inherits="WebForm1" %>


Test









WebForm1.cs :
using System;
using System.Web.UI.WebControls;
 
public class WebForm1 : System.Web.UI.Page
{
protected Button button1;
protected Label label1;
 
override protected void OnInit(EventArgs e)
{
button1.Click += new System.EventHandler(button1_click);
base.OnInit(e);
}
 
private void button1_click(object sender, EventArgs e)
{
label1.Text = "Hello World !";
}
}

mcs WebForm1.cs -target:library -out:bin/WebForm1.dll -r:System.Web.dll
xsp --port:8081
http://localhost:8081/WebForm1.aspx
Does it works ?

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


Re: [Mono-dev] Please revert your changes.

2005-08-10 Thread Pascal Fresnay

Miguel de Icaza a écrit :


Hello,

 


Your code does not print anything at all that may be the reason you see
nothing.

typeof(_CustomAttributeBuilder) may fail because you did not import
System.Runtime.InteropServices as Jeroen Frijters has written before me.
   



As I said last night, the issue was that I posted the wrong sample, here
is the correct sample:

using System;
using System.Reflection.Emit;

class X {
static void Main ()
{
// The following line does not build
//Type j = typeof 
(System.Runtime.InteropServices._CustomAttributeBuilder);

Type t = typeof (CustomAttributeBuilder);

foreach (Type i in t.GetInterfaces ()){
Console.WriteLine ("Interface: " + i);
}
}
}

This sample displays nothing when compiled on my system which has:

.NET 1.1 SP1
.NET SDK 1.1


 


it seems that there is various .NET 1.1 SP1 :)
First, I think that .NET SDK is not necessary, csc.exe is included in 
redistribuable package.

What is your mscorlib version number ?
on my config :
$ /cygdrive/c/WINNT/Microsoft.NET/Framework/v1.1.4322/gacutil.exe -l 
mscorlib


Microsoft (R) .NET Global Assembly Cache Utility.  Version 1.1.4318.0
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

The Global Assembly Cache contains the following assemblies:

The cache of ngen files contains the following entries:
   mscorlib, Version=1.0.5000.0, Culture=neutral, 
PublicKeyToken=b77a5c5619
34e089, 
Custom=5a00410050002d004e0035002e0030002d0038004600440053002d00300030003

00031004300320033003200
   mscorlib, Version=1.0.5000.0, Culture=neutral, 
PublicKeyToken=b77a5c5619
34e089, 
Custom=5a00410050002d004e0035002e0030002d003800460053002d003100300031003

8004600370039003700

Number of items = 2


BTW please read my previous (long) message that begins with some explanation
about RTM in this thread as it contains a lot of information and my opinion
about SP1 extensions.
   



I have read it, but am still debating whether we should follow or not.

Having a new interface is not terrible compared to having a new base
class.

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


 



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


Re: [Mono-dev] Please revert your changes.

2005-08-10 Thread Pascal Fresnay

Miguel de Icaza a écrit :


Hello,

 


Type t = typeof (CustomAttributeBuilder);
Console.WriteLine (t.BaseType);

And it does not display anything.   When compiled with csc 8, it does
display _CustomAttributeBuilder.
 


Huh? _CustomAttributeBuilder is an interface, so it obviously won't show
up with the above code (not on csc 8 either) and it definitely exists in
NET 1.1 SP1.
   



Sorry, I posted the wrong code snipped.

My other piece of code (now at work) calls:

foreach (Type t in typeof (CustomAttributeBuilder).GetInterfaces()){
}

And that code does not display _CustomAttributeBuilder.

And typeof(_CustomAttributeBuilder) fails to build.

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


 


My tests with 1.1 SP1 :
[EMAIL PROTECTED] ~
$ more test.cs
using System;
using System.Reflection.Emit;

class X {
static void Main ()
{
   foreach(Type t in typeof (CustomAttributeBuilder).GetInterfaces())
   Console.WriteLine(t);

   
Console.WriteLine(typeof(System.Runtime.InteropServices._CustomAttribute

Builder));
}
}

[EMAIL PROTECTED] ~
$ /cygdrive/c//WINNT/Microsoft.NET/Framework/v1.1.4322/csc test.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.


[EMAIL PROTECTED] ~
$ ./test.exe
System.Runtime.InteropServices._CustomAttributeBuilder
System.Runtime.InteropServices._CustomAttributeBuilder


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


Re: [Mono-devel-list] ByteFX mysql

2005-08-08 Thread Pascal Fresnay

Stefano Incontri a écrit :


Successfull in Visual Studio .NET 1.1 (adding the dll to the reference)
but not in linux by command line, I guess the path is missing
(referencePath?)...
 


Probably you d'ont have ByteFX.Data.dll installed.
You can find it here :
http://dev.mysql.com/downloads/connector/net/1.0.html
To install, unzip binary, then :
gacutil -i ByteFX.data.dll
This line will install MySQL connector in the Global assembly cache, so 
when you reference it with -r:, compiler will find it.



Il giorno lun, 08/08/2005 alle 15.46 +0200, Kamil Skalski ha scritto:
 


You must modify the build process of your project. What are you using?
Makefiles, MonoDevelop, Visual Studio?

Anyway, you must add ByteFX to referenced assemblies, either by
modifying compilation scripts to include
mcs sources.cs  -r ByteFX.Data.dll

or add referenced assembly in your IDE

2005/8/8, Stefano Incontri <[EMAIL PROTECTED]>:
   


Hi All,
I'm a newby with C# and Mono... maybe this is a stupid question : I'm
willing to use ByteFX mysql connector, but I don't know how to import or
reference it in my project, the 'using' keyword doesn't find it.
The message is 'Main.cs(4) error CS0246: The namespace `ByteFx.Data' can
not be found (missing assembly reference?)'.

Thanks
Stefano






___
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 

   








___ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

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


 



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


Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Pascal Fresnay

Paul F. Johnson a écrit :


Hi,

 


 public void synchTest()
 {
   del();
   if (count1 != count2)
 lbl.Text = "Unsynched";
 }
}
 


Your code access the UI from another thread.
This is unsuported with SWF (on MSFT's runtime, too).
You must use Control.Invoke if you want to update the UI from
another thread, otherwise strange things will happen.
   



How do I use Control.Invoke within my code and I'm not sure this
explains the r00t access the code gave me.

TTFN

Paul
 


Hi,
look at this sample :
http://samples.gotdotnet.com/QuickStart/howto/default.aspx?url=/quickstart/howto/doc/WinForms/WinFormsThreadMarshalling.aspx

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


[Mono-devel-list] mono french web site

2005-05-14 Thread Pascal Fresnay
Hi everybody,
Here is a little contribution that I hope could be helpful for french
beginners in the Mono world :
http://pascalfresnay.free.fr/monoweb/
Any suggestions are welcome !
May be a link on mono wiki in International sites section ?

---
Pascal Fresnay

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


Re: [Mono-devel-list] Mono and FC

2005-03-18 Thread Pascal Fresnay
This message explains that there is no problem to use MS patents to
implement CLI / C# standards : licence is free for this particular use.
So there is definitively NO MS patents problem with Mono.
Ask them for IBM or Sun patents, especially on Eclipse or Java
technologies, just for fun.
It seems that Red Hat wants to adopt Java and doesn't like Novell
technologies, but i really don't know why :-)
Le vendredi 18 mars 2005 Ã 17:00 +, Paul a Ãcrit :
> Hi,
> 
> http://web.archive.org/web/20030609164123/http://mailserver.di.unipi.it/pipermail/dotnet-sscli/msg00218.html
> 
> Can anyone shed any further light on this? I'm trying to get mono
> adopted into the official Fedora Extras but because of the above, it
> seems there is a lot of negative against it.
> 
> TTFN
> 
> Paul

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


Re: [Mono-devel-list] (no subject)

2005-03-17 Thread Pascal Fresnay
Hi, try this :
svn co svn://svn.myrealbox.com/source/trunk/mcs 
svn co svn://svn.myrealbox.com/source/trunk/mono 
svn co svn://svn.myrealbox.com/source/trunk/gtk-sharp
if it doesn't work, please describe exact error returned by svn.
Regards,

Pascal
Le jeudi 17 mars 2005 Ã 13:37 +0530, Sridhar Kulkarni a Ãcrit :
> Hi,
> 
> I am trying to download Mono source using anonymous user name. Everytime I 
> am getting connection refused. I want to contribute to mono development. Can 
> anyone guide me to check out the latest source of Mono? I tried using online 
> explaination to check out the sources on Mono site.
> 
> Reagrds,
> 
> -Sri
> 
> _
> The MSN Survey! 
> http://www.cross-tab.com/surveys/run/test.asp?sid=2026&respid=1 Help us help 
> you better!
> 
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 

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


Re: [Mono-devel-list] develop under Microsoft .NET and porting to Mono is correct?

2005-02-25 Thread Pascal Fresnay
Hi,
Every things will work like you expect (reflection, activator, database
access, etc.), except WinForms (and EnterpriseServices namespace) : they
are not fully implemented yet (but will be in the next months).
Make sure that your presentation layer can be replaced by another, (even
if WinForms will be implemented), based on GTK# for example :
- it will works on Windows and Linux
- it will integrate perfectly on Linux
You can test your application with Mono on Windows : if it works fine on
Windows with mono, it will probably works on Linux :)
Regards,

Pascal

Le vendredi 25 fÃvrier 2005 Ã 21:25 +0100, Mauro Bertoli a Ãcrit :
> HI! Great work!
> A question:
> Mono wants to allow that the developers Windows can
> easily pass to Mono (on Linux)?
> I'm developing an complex office application (that use
> Forms) and my best target is running it under Linux
> because I think is the best place I can have! 
> Do I have to watch out for something? Can use
> reflection, activator, and others feature quietly?
> What's the limit? I read in FAQ that some API aren't
> supported (I'm happy!) and I don't understand if I
> must (when Forms on Mono are available) rewrite some
> code portions. My application will have database layer
> (postgres 8), and human interface with MDI Forms.
> 
> Thank you and best regards, Mauro
> 
> 
>   
> ___ 
> Nuovo Yahoo! Messenger: E' molto pià divertente: Audibles, Avatar,
Webcam, Giochi, Rubricaâ Scaricalo ora! 
> http://it.messenger.yahoo.it
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 



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