[Mono-dev] Issues to build IronPython on mono

2009-07-25 Thread Ivan Porto Carrero
Hi,
A little bit earlier I fixed the mono build for IronPython.

I had to work around 2 problems that don't exist on the .NET framework. You
can see the diffs here:
http://github.com/mletterle/ironruby/commit/308c8953291f6310a947a4c9e99b6fdd2e9faa7d
.

---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Issues to build IronPython on mono

2009-07-25 Thread Seo Sanghyeon
2009/7/26 Ivan Porto Carrero i...@flanders.co.nz:
 Hi,
 A little bit earlier I fixed the mono build for IronPython.
 I had to work around 2 problems that don't exist on the .NET framework. You
 can see the diffs
 here: http://github.com/mletterle/ironruby/commit/308c8953291f6310a947a4c9e99b6fdd2e9faa7d

Both problems are already known.
https://bugzilla.novell.com/show_bug.cgi?id=336258
https://bugzilla.novell.com/show_bug.cgi?id=415375

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


[Mono-dev] SVN trunk build failed

2009-07-25 Thread KISHIMOTO, Makoto
Hello

Mono SVN trunk build failed.

$ gmake
(snip)
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake all-local
gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[8]: *** No rule to make target 
`System.Reflection.Emit/EventOnTypeBuilderInst.cs', needed by 
`../../class/lib/basic/mscorlib.dll'.  Stop.
gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[7]: *** [do-all] Error 2
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
(snip)
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-list] Gecko-sharp question (seek examples) handles to content

2009-07-25 Thread ted leslie
I have a need to use gecko-sharp to display some web content in an app.

I want to access some of that web content,
for example, like one would with java script in the page,
to manipulate, even do ajax type things, and beyond,
but I would like to code it in c# in the app,
in other words I just want the handles to the
content that gecko is rendering (and perhaps
 fire/control redrawing).
I assume this is doable, are there any good examples
of this (in c#/mono), or failing that some reasonable starting point?
Also, how well would this work on Windows at this time
(i.e. gecko-sharp, and xul, and libgtkembedmoz and such)?

thanks,

-- 
ted leslie tles...@tcn.net
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Gecko-sharp question (seek examples) handles to content

2009-07-25 Thread Michael Hutchinson
On Sat, Jul 25, 2009 at 2:09 PM, ted leslietles...@tcn.net wrote:
 I have a need to use gecko-sharp to display some web content in an app.

 I want to access some of that web content,
 for example, like one would with java script in the page,
 to manipulate, even do ajax type things, and beyond,
 but I would like to code it in c# in the app,
 in other words I just want the handles to the
 content that gecko is rendering (and perhaps
  fire/control redrawing).
 I assume this is doable, are there any good examples
 of this (in c#/mono), or failing that some reasonable starting point?

Unfortunately there is no C# DOM wrapper for either Gecko# or WebKit.
AFAIK there is one there is for Mono's WinForms web control
(gluezilla), so it could perhaps be adapted for Gecko#. It might even
be possible to use gluezilla as the basis of a GTK# control, skipping
gtkmozembed entirely.

Back in 2005, before Webkit-GTK or mozembed existed, AspNetEdit (an
ASP.NET editor) did Gecko# C#-JS interop this very effectively using
a horrible hack - message-passing between C# and JS, using the status
bar and the URL string. As far as I know, this still works. You can
find the code in Mono SVN:
http://anonsvn.mono-project.com/viewvc/trunk/jscall-sharp/
I recommend copying the C# files into your app instead of building as
a separate library.

 Also, how well would this work on Windows at this time
 (i.e. gecko-sharp, and xul, and libgtkembedmoz and such)?

Gecko# worked pretty well on Windows last time I tried - but that was
2005. I don't think there have been any newer builds since then, but
if you could find the old installers, they'd probably still work.

I know this is a weak point in the cross-platform GTK# story, but
getting a cross-platform web browser control that can integrate with
GTK is quite difficult. Mozilla/Gecko doesn't make embedding easy at
the best of times, and is only designed to use GTK on Unix/Linux.
Going forwards, Webkit-GTK is probably better.

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