[Mono-list] Creating WinForms application for Linux/Mac
I want to create new GUI C# application which runs in Linux/Mac also. I'm planning to develop it using Microsoft Visual C# Express in Windows. VCS has good Winforms support so I'm planning to use Winforms. However, Winform application may look strange for Linux/Mac user. Is it reasonable to create Linux/Mac/Win application using WinForms ? Andrus. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Visual Basic upgrade.
Hello, In the next couple of days, I will remove mbas, the Visual Basic runtime and the various other incomplete forks of mbas that we have on the mcs tree from the tree as they are outdated, no longer under development, unmaintained and buggy. We will replace this with two new components: * Mainsosft's new fresh VB runtime. This fresh VB runtime was written by Rafael Mizrahi and Boris Kirzner completely in VB.NET. The code also contains two extensive test suites: a C# based test suite for low-level components and it consumes plenty of VB tests from the current runtime, compilers and the new vbc from Rolf Bjarne. * Rolf's VB.NET compiler written in VB.NET. Rolf Bjarne has been working on a VB.NET 9 compiler written in VB.NET itself, which is a very good test for the qualities of his compiler. This compiler is very close to bootstrapping and it is also able to build these new class libraries (it can compile itself, and is missing one tiny feature: embedding resources, to be self-hosting) Rolf effort is partially funded by Google Summer of Code program. Miguel. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Visual Basic upgrade.
Hello, I also forgot to mention, the new VB Runtime written in VB already has many 2.0 features implemented as well. > Hello, > > In the next couple of days, I will remove mbas, the Visual Basic > runtime and the various other incomplete forks of mbas that we have on > the mcs tree from the tree as they are outdated, no longer under > development, unmaintained and buggy. > > We will replace this with two new components: > > * Mainsosft's new fresh VB runtime. > > This fresh VB runtime was written by Rafael Mizrahi and Boris Kirzner > completely in VB.NET. The code also contains two extensive test > suites: a C# based test suite for low-level components and it consumes > plenty of VB tests from the current runtime, compilers and the new vbc > from Rolf Bjarne. > > * Rolf's VB.NET compiler written in VB.NET. > > Rolf Bjarne has been working on a VB.NET 9 compiler written in VB.NET > itself, which is a very good test for the qualities of his compiler. > > This compiler is very close to bootstrapping and it is also able to > build these new class libraries (it can compile itself, and is missing > one tiny feature: embedding resources, to be self-hosting) > > Rolf effort is partially funded by Google Summer of Code program. > > Miguel. -- Miguel de Icaza <[EMAIL PROTECTED]> Novell, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Creating WinForms application for Linux/Mac
Andrus, The looks of a WinForms app on Linux can be altered by selecting a different theme. Alexander Olk has added created both the 'nice' and the 'clearlooks' theme. To try them out, you can 'export MONO_THEME=clearlooks' or 'export MONO_THEME=nice' before starting your app on Linux, they might look less 'strange' than the win32 default theme. The same themes work on the Mac, however, they won't match the native Mac UI. But a theme for that could be created, too. Cheers, Peter -Original Message- From: "Andrus" <[EMAIL PROTECTED]> To: Date: Wednesday, August 16, 2006 09:19 Subject: [Mono-list] Creating WinForms application for Linux/Mac >I want to create new GUI C# application which runs in Linux/Mac also. > >I'm planning to develop it using Microsoft Visual C# Express in Windows. >VCS has good Winforms support so I'm planning to use Winforms. > >However, Winform application may look strange for Linux/Mac user. > >Is it reasonable to create Linux/Mac/Win application using WinForms ? > >Andrus. > >___ >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] Interception X11 events
A windows manager "knows" when a new window application rises by receiving a Maprequest event. This event informs about handle, location and dimension of new window, so the WindowManager can Paint the Title Bar, borders and Minimize, maximize and close buttons. Looking at the source of XplatUI, this event is ignored. I'm thinking in 2 solutons: a) Mono changes the source and translate Maprequest to WM_USER with additional info. b) Rewrite (derivating) Application (Run method), XplatUI and XplatUIX11 classes for this job. Diego. On 8/16/06, Peter Dennis Bartok <[EMAIL PROTECTED]> wrote: > Uhm, I'm not sure what you're asking. You want us to do exactly what? Show > you how to decode the maprequest, or translate the maprequest into some > win32 message (not sure which one that would be). The XplatUI class is > internal anyways, unless you're using reflection you won't get that anything > in there. > > Peter > > -Original Message- > From: "Diego Nunes" <[EMAIL PROTECTED]> > To: > Date: Tuesday, August 15, 2006 20:03 > Subject: [Mono-list] Interception X11 events > > > >I need get X11 event MapRequest, that isn't translated for w32 event. > >In the file XplatUIX11.cs there isn't any handler for this message (in > >GetMessage method) > > > >I need this cos I'm coding a Window Manager (or Desktop Manager) for X11. > > > >Some can help me? > > > >Thanks, > >Diego. > >___ > >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] Interception X11 events
The main information to be translated is window and parent members from XMapRequestEvent struct. window is the handle of new window parent is the handle of parent of new window WM_CREATE is closest win32 message. the function XGetWindowAttributes, get additional info to compose CREATESTRUCT (win32). Diego. On 8/16/06, Peter Dennis Bartok <[EMAIL PROTECTED]> wrote: > Uhm, I'm not sure what you're asking. You want us to do exactly what? Show > you how to decode the maprequest, or translate the maprequest into some > win32 message (not sure which one that would be). The XplatUI class is > internal anyways, unless you're using reflection you won't get that anything > in there. > > Peter > > -Original Message- > From: "Diego Nunes" <[EMAIL PROTECTED]> > To: > Date: Tuesday, August 15, 2006 20:03 > Subject: [Mono-list] Interception X11 events > > > >I need get X11 event MapRequest, that isn't translated for w32 event. > >In the file XplatUIX11.cs there isn't any handler for this message (in > >GetMessage method) > > > >I need this cos I'm coding a Window Manager (or Desktop Manager) for X11. > > > >Some can help me? > > > >Thanks, > >Diego. > >___ > >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] Interception X11 events
Sure, XMapWindow doesn't correspond to WM_CREATE, buts XMapRequest does. On win32, WM_PARENTNOTIFY with fwEvent = WM_CREATE is sent when a child is created. So, if I'll not use translations from mono (I think that all events must be translated), where is the better place to put my own (X11) event handler (without gtk)? All my code uses MWF, there's not reason I use gtk classes. Just for note: Qt library has a function SetX11EventFilter() for this. Diego On 8/16/06, Chris Toshok <[EMAIL PROTECTED]> wrote: > You're probably better off writing your own event handling/translating > for a window manager. The purpose of XplatUIX11.cs is to provide the > win32 semantics MWF needs (and only what it needs) in an X11 world. The > additional events (all the *Request events) have no mapping in the win32 > world, and you'll end up having to set the RedirectRequest flags on > native X windows anyway. Also, there's no way in SWF to read X window > properties. > > If you're looking to draw on window frames using S.D, you can do that > without pulling in SWF. Check out gtk-sharp/gtkdotnet/Graphics.cs for > an example of how to do it with a Gdk.Window. > > Chris > > On Wed, 2006-08-16 at 11:17 -0300, Diego Nunes wrote: > > A windows manager "knows" when a new window application rises by > > receiving a Maprequest event. > > This event informs about handle, location and dimension of new window, > > so the WindowManager can Paint the Title Bar, borders and Minimize, > > maximize and close buttons. > > Looking at the source of XplatUI, this event is ignored. > > I'm thinking in 2 solutons: > > a) Mono changes the source and translate Maprequest to WM_USER with > > additional info. > > b) Rewrite (derivating) Application (Run method), XplatUI and > > XplatUIX11 classes for this job. > > > > Diego. > > > > On 8/16/06, Peter Dennis Bartok <[EMAIL PROTECTED]> wrote: > > > Uhm, I'm not sure what you're asking. You want us to do exactly what? Show > > > you how to decode the maprequest, or translate the maprequest into some > > > win32 message (not sure which one that would be). The XplatUI class is > > > internal anyways, unless you're using reflection you won't get that > > > anything > > > in there. > > > > > > Peter > > > > > > -Original Message- > > > From: "Diego Nunes" <[EMAIL PROTECTED]> > > > To: > > > Date: Tuesday, August 15, 2006 20:03 > > > Subject: [Mono-list] Interception X11 events > > > > > > > > > >I need get X11 event MapRequest, that isn't translated for w32 event. > > > >In the file XplatUIX11.cs there isn't any handler for this message (in > > > >GetMessage method) > > > > > > > >I need this cos I'm coding a Window Manager (or Desktop Manager) for X11. > > > > > > > >Some can help me? > > > > > > > >Thanks, > > > >Diego. > > > >___ > > > >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
Re: [Mono-list] Visual Basic upgrade.
Hello, > I also forgot to mention, the new VB Runtime written in VB already > has many 2.0 features implemented as well. A few folks have asked me if I really meant VB 9. Apparently I got the naming wrong, I mean the VB that ships with VS 2005. > > Hello, > > > > In the next couple of days, I will remove mbas, the Visual Basic > > runtime and the various other incomplete forks of mbas that we have on > > the mcs tree from the tree as they are outdated, no longer under > > development, unmaintained and buggy. > > > > We will replace this with two new components: > > > > * Mainsosft's new fresh VB runtime. > > > > This fresh VB runtime was written by Rafael Mizrahi and Boris Kirzner > > completely in VB.NET. The code also contains two extensive test > > suites: a C# based test suite for low-level components and it consumes > > plenty of VB tests from the current runtime, compilers and the new vbc > > from Rolf Bjarne. > > > > * Rolf's VB.NET compiler written in VB.NET. > > > > Rolf Bjarne has been working on a VB.NET 9 compiler written in VB.NET > > itself, which is a very good test for the qualities of his compiler. > > > > This compiler is very close to bootstrapping and it is also able to > > build these new class libraries (it can compile itself, and is missing > > one tiny feature: embedding resources, to be self-hosting) > > > > Rolf effort is partially funded by Google Summer of Code program. > > > > Miguel. -- Miguel de Icaza <[EMAIL PROTECTED]> Novell, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Interception X11 events
On Wed, 2006-08-16 at 12:45 -0300, Diego Nunes wrote: > Sure, XMapWindow doesn't correspond to WM_CREATE, buts XMapRequest does. > On win32, WM_PARENTNOTIFY with fwEvent = WM_CREATE is sent when a > child is created. That's just it - by the time XMapRequest is generated the window is already created. It just hasn't been mapped. XMapRequest is closer in spirit to WM_SHOWWINDOW. WM_CREATE is equivalent to a (nonexistant) event generated by the XCreateWindow call. > So, if I'll not use translations from mono (I think that all events > must be translated) MWF's (actually XplatUIX11.cs's) goal isn't to provide its users with every X11 event that gets generated. It's goal is to emulate win32 semantics on top of X11. I'm not saying a window manager in MWF isn't a interesting project, but it is also well outside the scope of our goals with MWF, which is to provide a means for writing cross platform applications, and to allow migration of applications from windows to linux. That said, patches will of course be considered. > Just for note: Qt library has a function SetX11EventFilter() for this. Qt controls their api - we don't. Chris > On 8/16/06, Chris Toshok <[EMAIL PROTECTED]> wrote: > > You're probably better off writing your own event handling/translating > > for a window manager. The purpose of XplatUIX11.cs is to provide the > > win32 semantics MWF needs (and only what it needs) in an X11 world. The > > additional events (all the *Request events) have no mapping in the win32 > > world, and you'll end up having to set the RedirectRequest flags on > > native X windows anyway. Also, there's no way in SWF to read X window > > properties. > > > > If you're looking to draw on window frames using S.D, you can do that > > without pulling in SWF. Check out gtk-sharp/gtkdotnet/Graphics.cs for > > an example of how to do it with a Gdk.Window. > > > > Chris > > > > On Wed, 2006-08-16 at 11:17 -0300, Diego Nunes wrote: > > > A windows manager "knows" when a new window application rises by > > > receiving a Maprequest event. > > > This event informs about handle, location and dimension of new window, > > > so the WindowManager can Paint the Title Bar, borders and Minimize, > > > maximize and close buttons. > > > Looking at the source of XplatUI, this event is ignored. > > > I'm thinking in 2 solutons: > > > a) Mono changes the source and translate Maprequest to WM_USER with > > > additional info. > > > b) Rewrite (derivating) Application (Run method), XplatUI and > > > XplatUIX11 classes for this job. > > > > > > Diego. > > > > > > On 8/16/06, Peter Dennis Bartok <[EMAIL PROTECTED]> wrote: > > > > Uhm, I'm not sure what you're asking. You want us to do exactly what? > > > > Show > > > > you how to decode the maprequest, or translate the maprequest into some > > > > win32 message (not sure which one that would be). The XplatUI class is > > > > internal anyways, unless you're using reflection you won't get that > > > > anything > > > > in there. > > > > > > > > Peter > > > > > > > > -Original Message- > > > > From: "Diego Nunes" <[EMAIL PROTECTED]> > > > > To: > > > > Date: Tuesday, August 15, 2006 20:03 > > > > Subject: [Mono-list] Interception X11 events > > > > > > > > > > > > >I need get X11 event MapRequest, that isn't translated for w32 event. > > > > >In the file XplatUIX11.cs there isn't any handler for this message (in > > > > >GetMessage method) > > > > > > > > > >I need this cos I'm coding a Window Manager (or Desktop Manager) for > > > > >X11. > > > > > > > > > >Some can help me? > > > > > > > > > >Thanks, > > > > >Diego. > > > > >___ > > > > >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
Re: [Mono-list] Interception X11 events
So, XplatUIdriver must be an OwnerEventHandler, that can be attached for an handler method, to treat other kind of messages Diego. On 8/16/06, Chris Toshok <[EMAIL PROTECTED]> wrote: > On Wed, 2006-08-16 at 12:45 -0300, Diego Nunes wrote: > > Sure, XMapWindow doesn't correspond to WM_CREATE, buts XMapRequest does. > > On win32, WM_PARENTNOTIFY with fwEvent = WM_CREATE is sent when a > > child is created. > > That's just it - by the time XMapRequest is generated the window is > already created. It just hasn't been mapped. > > XMapRequest is closer in spirit to WM_SHOWWINDOW. WM_CREATE is > equivalent to a (nonexistant) event generated by the XCreateWindow call. > > > So, if I'll not use translations from mono (I think that all events > > must be translated) > > MWF's (actually XplatUIX11.cs's) goal isn't to provide its users with > every X11 event that gets generated. It's goal is to emulate win32 > semantics on top of X11. > > I'm not saying a window manager in MWF isn't a interesting project, but > it is also well outside the scope of our goals with MWF, which is to > provide a means for writing cross platform applications, and to allow > migration of applications from windows to linux. > > That said, patches will of course be considered. > > > Just for note: Qt library has a function SetX11EventFilter() for this. > > Qt controls their api - we don't. > > Chris > > > On 8/16/06, Chris Toshok <[EMAIL PROTECTED]> wrote: > > > You're probably better off writing your own event handling/translating > > > for a window manager. The purpose of XplatUIX11.cs is to provide the > > > win32 semantics MWF needs (and only what it needs) in an X11 world. The > > > additional events (all the *Request events) have no mapping in the win32 > > > world, and you'll end up having to set the RedirectRequest flags on > > > native X windows anyway. Also, there's no way in SWF to read X window > > > properties. > > > > > > If you're looking to draw on window frames using S.D, you can do that > > > without pulling in SWF. Check out gtk-sharp/gtkdotnet/Graphics.cs for > > > an example of how to do it with a Gdk.Window. > > > > > > Chris > > > > > > On Wed, 2006-08-16 at 11:17 -0300, Diego Nunes wrote: > > > > A windows manager "knows" when a new window application rises by > > > > receiving a Maprequest event. > > > > This event informs about handle, location and dimension of new window, > > > > so the WindowManager can Paint the Title Bar, borders and Minimize, > > > > maximize and close buttons. > > > > Looking at the source of XplatUI, this event is ignored. > > > > I'm thinking in 2 solutons: > > > > a) Mono changes the source and translate Maprequest to WM_USER with > > > > additional info. > > > > b) Rewrite (derivating) Application (Run method), XplatUI and > > > > XplatUIX11 classes for this job. > > > > > > > > Diego. > > > > > > > > On 8/16/06, Peter Dennis Bartok <[EMAIL PROTECTED]> wrote: > > > > > Uhm, I'm not sure what you're asking. You want us to do exactly what? > > > > > Show > > > > > you how to decode the maprequest, or translate the maprequest into > > > > > some > > > > > win32 message (not sure which one that would be). The XplatUI class is > > > > > internal anyways, unless you're using reflection you won't get that > > > > > anything > > > > > in there. > > > > > > > > > > Peter > > > > > > > > > > -Original Message- > > > > > From: "Diego Nunes" <[EMAIL PROTECTED]> > > > > > To: > > > > > Date: Tuesday, August 15, 2006 20:03 > > > > > Subject: [Mono-list] Interception X11 events > > > > > > > > > > > > > > > >I need get X11 event MapRequest, that isn't translated for w32 event. > > > > > >In the file XplatUIX11.cs there isn't any handler for this message > > > > > >(in > > > > > >GetMessage method) > > > > > > > > > > > >I need this cos I'm coding a Window Manager (or Desktop Manager) for > > > > > >X11. > > > > > > > > > > > >Some can help me? > > > > > > > > > > > >Thanks, > > > > > >Diego. > > > > > >___ > > > > > >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
Re: [Mono-list] Assembly Signing with PFX files
Quoting Sebastien Pouliot <[EMAIL PROTECTED]>: > Signing with a PKCS #12 file (the PFX extension) is a new option > available in fx 2.0. > > Mono SN doesn't currently support this option (it's on my long todo list > of 2.0 stuff) but it shouldn't be too difficult to add. However I never > checked if this option was also implemented into the CSC compiler > itself... > > Anyway if you fill a bug for this you'll be the first to know when it > get fixed ;-) Thanks for heads up. ~ Matthew ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Npgsql and resgen.exe problems with net_2_0 profile compilation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, After getting a new snapshot from svn after reinstalling my system, I noticed that Makefile seems to be looking for resgen.exe inside net_2.0_bootstrap which seems to not being installed. I had to copy resgen.exe from net_2_0 to make it work. Is this expected? To reproduce it, just issue the following in mcs/Npgsql folder: make PROFILE=net_2_0 clean and make PROFILE=net_2_0 Note that if you make it with profile 1.1 first, this problem won't trigger because the resources will already be generated. Thanks in advance. - -- Regards, Francisco Figueiredo Jr. http://fxjr.blogspot.com Npgsql Lead Developer http://pgfoundry.org/projects/npgsql MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org - - "Science without religion is lame; religion without science is blind." ~ Albert Einstein -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBROOPbv7iFmsNzeXfAQKUBwf8DXB/C0ZGtLQs8g2sugnPXTM/oO00ImEV B2hfS5KnivVMGBh2lXHb2MC9K0E22mQx+jI+4Kuymaok/pJSsWqI06xM1fpr8g/9 RVdHp9vWX6MqM0a0wZ7W1S3cRgP/EfG/xUkDI3Lv/rZimthW9VX3W8NQBHXoQUEZ FPO8Z9+WdB0iNP6An46p/xCmMo3Q29JW7qOvXNF21E68JM80vtoCYutCbEPRQdza LSGyIG9e0Ij+FNxeFZd8EdQW2X4tFNRqKVkb4usw2Cms4TuLPK4LyjXVwalhaRwt 6BIi98JgCH4fvREwvnWsWwAtabNtY0XGKFmxTpKZnQQ2Ucfi9xRYUg== =P9h7 -END PGP SIGNATURE- ___ Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas ! http://br.answers.yahoo.com/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-dev] Call for release notes comments.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel de Icaza wrote: > Hello folks, > > As usual, am calling for people to email me about new features that > are worth mentioning in the release notes for 1.1.17. > > The current -very early draft- is at: > > http://www.go-mono.com/archive/1.1.17 > Hi Miguel! Updated Npgsql to RC3. - -- Regards, Francisco Figueiredo Jr. http://fxjr.blogspot.com Npgsql Lead Developer http://pgfoundry.org/projects/npgsql MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org - - "Science without religion is lame; religion without science is blind." ~ Albert Einstein -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBROORcP7iFmsNzeXfAQL8rQf8CJY1q2tzK9weE0+Y5+87UZu7r9cxrtbE iQHQhybdPQTXBXRdvucF1PFkwotfJShE5IdyjFL8mTHrg2KTjCpN1oWU0NvISNqv pYdaF+2yW5fA1NHsvPbKAr2mCYZKd2WywRzH3v5rp8jrz4XitInlEa9gtb5TZpQL A9m/DZrXi+N2AdriSG/j5O26xdsboTmwA4UOFtl4kr2cu3VyrTwstyHyvgBvFb7h mw9SV16K5Fkxz2lJymVPw+iVZnsx2herDRsyhOUOHq54G2DT9bkd4YXTxqIKi3Gl 2oYjZxbwycDopk0rmJUj6A611dtBGOAlGKx+QRl/uO1A3yoU6wZwMg== =HOyP -END PGP SIGNATURE- ___ O Yahoo! está de cara nova. Venha conferir! http://br.yahoo.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] [ANN] Npgsql 1.0RC3 Released!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'd like to say that Npgsql version 1.0RC3 is out. Npgsql is a .Net Provider for Postgresql 7.x and 8.x. It allows your .Net programs access a Postgresql backend. More info about it can be found at: http://www.mono-project.com/PostgreSQL and http://pgfoundry.org/projects/npgsql Mono SVN updated: Revision 63849. Release notes: http://pgfoundry.org/frs/shownotes.php?release_id=618 Special Thanks: * God for allowing this to happen. * Josh Cooley who gave a big help fixing critical bugs for this release. * All users and developers who give feedback and comments about Npgsql. Please, give it a try and let me know of any problems you get. Download Page: http://pgfoundry.org/frs/?group_id=1000140 - -- Regards, Francisco Figueiredo Jr. http://fxjr.blogspot.com Npgsql Lead Developer http://pgfoundry.org/projects/npgsql Mono Project Contributor http://www.go-mono.com MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBROOTDf7iFmsNzeXfAQJaRwf/RcTk7CcFSfTW9/UkkgOZT1FMx1Sncp6z WH4EIzclRATzrPrjwwsh3KFm7av6wBKx8nB3rRhI3FnSIUPrghWs+hGT5HO3OL44 XCzD5IpzXcfdXIPTdtaHbEJmq++Pmz+bjz1awJZVZdtmmeOaiRf6ajOnISuvD2nc fPRlJkHHyXd4pVU1JBnGjubn/vklZC1B++Q0QbuasmQzp2jLqCg5nvtizQ+TRoif vqcOkJIikOYU1aoPX4TDnwB3hXQGjyG7K0A0FiE2tEn1HBPuctywoj+6gYx2OwBk VFpo29RdkGBPTSObZZvsVJkIjDYOAfYzWTWy+S0yOrgRw6lB+XvJpg== =skCY -END PGP SIGNATURE- ___ O Yahoo! está de cara nova. Venha conferir! http://br.yahoo.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] [mono-vb] Visual Basic upgrade.
Hello, > It's great to hear this is working out! Are there binary snapshots > available of vbnc? Is there a website or somewhere the progress is > tracked? The code is on SVN, module `vbnc', currently you need an MS compiler to bootstrap it, but in the next few days I will start working on putting the packages together. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] [Mono-dev] [mono-vb] Visual Basic upgrade.
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Miguel de Icaza > Sent: donderdag 17 augustus 2006 7:14 > To: Jelmer Vernooij > Cc: mono-list@lists.ximian.com; mono-vb@lists.ximian.com; mono-devel- > [EMAIL PROTECTED] > Subject: Re: [Mono-dev] [mono-vb] Visual Basic upgrade. > > Hello, > > > It's great to hear this is working out! Are there binary snapshots > > available of vbnc? Is there a website or somewhere the progress is > > tracked? > > The code is on SVN, module `vbnc', currently you need an MS compiler to > bootstrap it, but in the next few days I will start working on putting > the packages together. Will the new compiler allow targeting of both 1.0 & 2.0 profile ? What I mean to say is, will there be something like vbnc/gbnc (bad name, I know) or a command line switch to specify whether to emit an assembly that references the 1.0 (1.1) or 2.0 system assemblies (and allow/disallows 2.0 constructs such as generics, nullable types, ...) ? Sorry if this was answered before... Gert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] [Mono-dev] Visual Basic upgrade.
Hello, Miguel de Icaza wrote: > Hello, > > In the next couple of days, I will remove mbas, the Visual Basic > runtime and the various other incomplete forks of mbas that we have on > the mcs tree from the tree as they are outdated, no longer under > development, unmaintained and buggy. I don't think just removing existing ones is good, since some 1.x applications might use MS.VB.dll and 1.x ASP.NET pages in VB. They are truly unsupported, but people might be using them in their live code. (New components only support 2.0, right?) I think, having old MS.VB.dll in $prefix/mono/lib/1.0 and new MS.VB.dll in $prefix/mono/lib/2.0 would be nicer. And mbas for 1.0, vbnc for 2.0 as well. Would the build be messed up much? Atsushi Eno ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] [Mono-dev] [mono-vb] Visual Basic upgrade.
Hello, > Will the new compiler allow targeting of both 1.0 & 2.0 profile ? What I > mean to say is, will there be something like vbnc/gbnc (bad name, I know) or > a command line switch to specify whether to emit an assembly that references > the 1.0 (1.1) or 2.0 system assemblies (and allow/disallows 2.0 constructs > such as generics, nullable types, ...) ? > > Sorry if this was answered before... There are two issues here: whether the compiler can be manually lowered to only accept VB.NET 7 syntax only and whether the compiler produces executables that reference the 1.1 profile assemblies. The first could be done, but considering that there is a lot of work that will probably need to go into it, having a "lowered" mode is probably not the best use of time (although Rolf, the compiler author might have a different opinion). The assemblies generated currently are 2.0 assemblies, this is a side of effect of how reflection works (if you reference corlib, it references the compiler corlib, which in the new compiler case happens to be 2.0). I do not think that the compiler can work on the 1.0 profile, which means that unless we come up with some gross hack, this is a compiler that will only work to link against the 2.0 profile. Finally, the runtime is a different beast as its main purpose is to run existing code, the runtime will probably have to be compiled on Windows, or we will have to do some PE-level hacks to the resulting executable. Miguel ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] [Mono-dev] Visual Basic upgrade.
Hello, > I don't think just removing existing ones is good, since some 1.x > applications might use MS.VB.dll and 1.x ASP.NET pages in VB. They > are truly unsupported, but people might be using them in their > live code. (New components only support 2.0, right?) We will ship 1.0 and 2.0 assemblies. > I think, having old MS.VB.dll in $prefix/mono/lib/1.0 and new > MS.VB.dll in $prefix/mono/lib/2.0 would be nicer. And mbas for > 1.0, vbnc for 2.0 as well. Would the build be messed up much? The mbas compiler is just a source of frustration for its users, so it is going to leave SVN very soon (we will keep the tests though) ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Interception X11 events
XMapWindow doesn't correspond to WM_CREATE. WM_CREATE corresponds to window creation (XCreateWindow on X, for which there is no event sent to the client). XMapWindow just puts the window on the screen. Chris On Wed, 2006-08-16 at 11:35 -0300, Diego Nunes wrote: > The main information to be translated is window and parent members > from XMapRequestEvent struct. > window is the handle of new window > parent is the handle of parent of new window > > WM_CREATE is closest win32 message. > the function XGetWindowAttributes, get additional info to compose > CREATESTRUCT (win32). > > Diego. > > On 8/16/06, Peter Dennis Bartok <[EMAIL PROTECTED]> wrote: > > Uhm, I'm not sure what you're asking. You want us to do exactly what? Show > > you how to decode the maprequest, or translate the maprequest into some > > win32 message (not sure which one that would be). The XplatUI class is > > internal anyways, unless you're using reflection you won't get that anything > > in there. > > > > Peter > > > > -Original Message- > > From: "Diego Nunes" <[EMAIL PROTECTED]> > > To: > > Date: Tuesday, August 15, 2006 20:03 > > Subject: [Mono-list] Interception X11 events > > > > > > >I need get X11 event MapRequest, that isn't translated for w32 event. > > >In the file XplatUIX11.cs there isn't any handler for this message (in > > >GetMessage method) > > > > > >I need this cos I'm coding a Window Manager (or Desktop Manager) for X11. > > > > > >Some can help me? > > > > > >Thanks, > > >Diego. > > >___ > > >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
Re: [Mono-list] Interception X11 events
You're probably better off writing your own event handling/translating for a window manager. The purpose of XplatUIX11.cs is to provide the win32 semantics MWF needs (and only what it needs) in an X11 world. The additional events (all the *Request events) have no mapping in the win32 world, and you'll end up having to set the RedirectRequest flags on native X windows anyway. Also, there's no way in SWF to read X window properties. If you're looking to draw on window frames using S.D, you can do that without pulling in SWF. Check out gtk-sharp/gtkdotnet/Graphics.cs for an example of how to do it with a Gdk.Window. Chris On Wed, 2006-08-16 at 11:17 -0300, Diego Nunes wrote: > A windows manager "knows" when a new window application rises by > receiving a Maprequest event. > This event informs about handle, location and dimension of new window, > so the WindowManager can Paint the Title Bar, borders and Minimize, > maximize and close buttons. > Looking at the source of XplatUI, this event is ignored. > I'm thinking in 2 solutons: > a) Mono changes the source and translate Maprequest to WM_USER with > additional info. > b) Rewrite (derivating) Application (Run method), XplatUI and > XplatUIX11 classes for this job. > > Diego. > > On 8/16/06, Peter Dennis Bartok <[EMAIL PROTECTED]> wrote: > > Uhm, I'm not sure what you're asking. You want us to do exactly what? Show > > you how to decode the maprequest, or translate the maprequest into some > > win32 message (not sure which one that would be). The XplatUI class is > > internal anyways, unless you're using reflection you won't get that anything > > in there. > > > > Peter > > > > -Original Message- > > From: "Diego Nunes" <[EMAIL PROTECTED]> > > To: > > Date: Tuesday, August 15, 2006 20:03 > > Subject: [Mono-list] Interception X11 events > > > > > > >I need get X11 event MapRequest, that isn't translated for w32 event. > > >In the file XplatUIX11.cs there isn't any handler for this message (in > > >GetMessage method) > > > > > >I need this cos I'm coding a Window Manager (or Desktop Manager) for X11. > > > > > >Some can help me? > > > > > >Thanks, > > >Diego. > > >___ > > >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
Re: [Mono-list] [mono-vb] Visual Basic upgrade.
On Wed, 2006-08-16 at 09:48 -0400, Miguel de Icaza wrote: > In the next couple of days, I will remove mbas, the Visual Basic > runtime and the various other incomplete forks of mbas that we have on > the mcs tree from the tree as they are outdated, no longer under > development, unmaintained and buggy. > * Rolf's VB.NET compiler written in VB.NET. > > Rolf Bjarne has been working on a VB.NET 9 compiler written in VB.NET > itself, which is a very good test for the qualities of his compiler. > > This compiler is very close to bootstrapping and it is also able to > build these new class libraries (it can compile itself, and is missing > one tiny feature: embedding resources, to be self-hosting) > > Rolf effort is partially funded by Google Summer of Code program. It's great to hear this is working out! Are there binary snapshots available of vbnc? Is there a website or somewhere the progress is tracked? Cheers, Jelmer signature.asc Description: This is a digitally signed message part ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] [Mono-dev] Visual Basic upgrade.
The version of Microsoft.VisualBasic.dll and vbc compiler, which shipped with .NET 2.0 ,and with VisualStudio 2005, is version 8. (to be exact its 8.0.50727.42) Rafael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel de Icaza Sent: Wednesday, August 16, 2006 18:27 To: mono-list@lists.ximian.com Cc: mono-vb@lists.ximian.com; mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Visual Basic upgrade. Hello, > I also forgot to mention, the new VB Runtime written in VB already > has many 2.0 features implemented as well. A few folks have asked me if I really meant VB 9. Apparently I got the naming wrong, I mean the VB that ships with VS 2005. > > Hello, > > > > In the next couple of days, I will remove mbas, the Visual Basic > > runtime and the various other incomplete forks of mbas that we have on > > the mcs tree from the tree as they are outdated, no longer under > > development, unmaintained and buggy. > > > > We will replace this with two new components: > > > > * Mainsosft's new fresh VB runtime. > > > > This fresh VB runtime was written by Rafael Mizrahi and Boris Kirzner > > completely in VB.NET. The code also contains two extensive test > > suites: a C# based test suite for low-level components and it consumes > > plenty of VB tests from the current runtime, compilers and the new vbc > > from Rolf Bjarne. > > > > * Rolf's VB.NET compiler written in VB.NET. > > > > Rolf Bjarne has been working on a VB.NET 9 compiler written in VB.NET > > itself, which is a very good test for the qualities of his compiler. > > > > This compiler is very close to bootstrapping and it is also able to > > build these new class libraries (it can compile itself, and is missing > > one tiny feature: embedding resources, to be self-hosting) > > > > Rolf effort is partially funded by Google Summer of Code program. > > > > Miguel. -- Miguel de Icaza <[EMAIL PROTECTED]> Novell, Inc. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list