View unanswered posts | View active topics


Reply to topic  [ 6 posts ] 
Mono 1.2 winforms implementation (cross-platform FD?) 
Author Message
Member

Joined: Sun Dec 25, 2005 2:59 pm
Posts: 113
Location: Chapecó-SC,Brazil
Post Mono 1.2 winforms implementation (cross-platform FD?)
It seems that Mono 1.2 winforms implementation is quite mature from what I've been seeing on Mono's mailing list. I wonder if it would be now possible to do a port of FD2 to Mono? Imagine running FD2 nativelly on Linux! That would be awesome!

Btw, does anyone know if the Flash 8 IDE runs fine on Linux under wine?

Cheers,

Marcelo.

_________________
The Impossible Just Delays A Little More


Wed Oct 04, 2006 1:17 pm
Profile ICQ WWW
Online
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 7471
Location: Paris, France
Post 
First thing to try: running FD with mono on Windows.
If this works (that would already be awesome) we can start considering other platforms.


Wed Oct 04, 2006 2:28 pm
Profile WWW
Member

Joined: Thu Feb 16, 2006 11:18 am
Posts: 3
Location: Oslo
Post 
I saw that Mono 1.2 was recently released which according to the release notes (http://www.go-mono.com/archive/1.2/) supports WinForms 1.1.

I installed SharpDevelop and managed to build FD without problems, but my attempts at building it with Mono were unsuccessful - then again I'm an Actionscript developer :) Has anybody else managed to get it to build/run with Mono/Windows?

And does this mean we're a step closer to a possible OS X release? ;)


Wed Feb 21, 2007 1:09 pm
Profile WWW
Member

Joined: Fri Feb 17, 2006 3:39 pm
Posts: 49
Location: Boston
Post 
I ran FlashDevelop.exe and the PluginCore.dll through the Mono Migration Analyzer (MoMA).

Image

I'm not familiar with the technical details, but I'm guessing that the report looks promising. What are P/Invokes?

Quote:
P/Invokes (platform invokes) are used to call functions that are written in unmanaged languages, often times provided by the platform itself (user32.dll, shell32.dll). However, these can also be calls into your own unmanaged libraries. Mono can handle these calls when the unmanaged library is available for the platform you are using, however many times the whole purpose of using Mono is to run on many platforms.


http://www.mono-project.com/MoMA_-_Issue_Descriptions#P.2FInvokes

_________________
Tim
http://timwalling.com


Wed Feb 21, 2007 3:28 pm
Profile WWW
Online
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 7471
Location: Paris, France
Post 
It happens that Mono mainly supports "pure" .NET. This is not enough for FlashDevelop which uses some "lower-level" Windows interaction (ie. P/Invoke) to enhance the UI and integrate with the editor component - basically, the quality of FlashDevelop as a software depends on it.

Our technical conclusion is:
- it happens not to be very interesting to support Mono on Windows (.NET is on almost all machines),
- porting FD to another platforms requires to recreate the UI using the best "local" GUI toolkit for the task (Cocoa# for MacOS and GTK# for Linux).


Wed Feb 21, 2007 3:42 pm
Profile WWW
Member

Joined: Fri Feb 17, 2006 3:39 pm
Posts: 49
Location: Boston
Post 
Thanks for the explanation.

_________________
Tim
http://timwalling.com


Wed Feb 21, 2007 3:48 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: Philippe and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.