Re: [Mono-dev] newbie installing 1.1.16 onto SUSE 10.1

2006-07-11 Thread Rafael Teixeira
We should document for those coming from windows and porting to mono that mcs doesn't automatically add the 20 or so references csc does and also that MD now starts with a blank (or really minimal) list of references when creating projects with the default templates. VS.NET templates typically ad

[Mono-dev] Paco's Combined Mono and Gtk# Experimental Windows Installer

2006-07-11 Thread Daniel Morgan
I was wondering if Paco or someone could create a new combined Mono and Gtk# Windows Installer using the latest Mono 1.1.16, gtk#, gnome and gtk+ dependencies to build and run MonoDevelop on Windows. Wade from Novell perhaps? One of the things is to have gtk# 2.4 including gtkhtml and gtkso

Re: [Mono-dev] Action used

2006-07-11 Thread Piotr Zurek
> This method could also be made an instance method of the "Node" class. I > think this is actually what the original poster had in mind: That was exactly what I meant. Thanks for that. Cheers Piotr ___ Mono-devel-list mailing list Mono-devel-list@lists

Re: [Mono-dev] newbie installing 1.1.16 onto SUSE 10.1

2006-07-11 Thread Dick Porter
On Tue, 2006-07-11 at 19:16 +0100, mike horsley wrote: > We have successfully compiled a basic “hello world” app and run it but > when we add a reference to System.Data into the application, we get > the compilation error that the type or namespace “Data” (or if we try > “Xml”) does not exist in t

Re: [Mono-dev] newbie installing 1.1.16 onto SUSE 10.1

2006-07-11 Thread Joe Audette
I installed the latest mono release on Suse 10.1 last weekend using the rpms from the download page and it all works well.You might try uninstalling the one you have and go that route. I think the package installer while easier is not the best way to go.First install the verison of mono that ships

[Mono-dev] newbie installing 1.1.16 onto SUSE 10.1

2006-07-11 Thread mike horsley
Hi   We have just hired a summer placement to start the process of transitioning our application to Mono. We’re using SUSE 10.1.   We have successfully compiled a basic “hello world” app and run it but when we add a reference to System.Data into the application, we get the compilation e

Re: [Mono-dev] Action used

2006-07-11 Thread Jonathan Gilbert
Just a little clean-up for any readers who don't already understand the techniques being used: At 10:41 AM 11/07/2006 +0200, Alejandro Serrano wrote: >public void ForEach (Node node, Action action) >{ >action (node) ; >foreach (Node child in this.Subnodes) ForEach (child, action); >} Th

Re: [Mono-dev] Patch for System.Web MultiView control

2006-07-11 Thread Miguel de Icaza
Hello, > Fixed tests: > MultiView_ControlState, MultiView_OutOfRange, MultiView_OnBubbleEvent, > MultiView_RemoveViewControlEvent, MultiView_SetActiveView in the > MonoTests.System.Web.UI.WebControls.MultiViewTest Looks fine, but please provide a changeLog entry. _

Re: [Mono-dev] strange #if NET_2_0 in HtmlInputControl

2006-07-11 Thread Miguel de Icaza
> Does anybody know why are there these ifdefs in HtmlInputControl.cs? > Because of these ifdefs, > MonoTests.System.Web.UI.HtmlControls.HtmlInputCheckBoxTest.NullPropertie > s fails on net_2_0. I'd like to remove them, see the patch. this might have been a limitation of the early port, the patch

Re: [Mono-dev] Interop Callback Segmentation fault

2006-07-11 Thread Zoltan Varga
Hi, This _might_ be a mono bug. Could you file a bug report and attach some kind of self-contained testcase (a xine dependency is ok) ? Zoltan On 7/11/06, Ivan N. Zlatev <[EMAIL PROTECTED]> wrote: > Hey, > > I am on mono svn head and I get a segm

[Mono-dev] Interop Callback Segmentation fault

2006-07-11 Thread Ivan N. Zlatev
Hey, I am on mono svn head and I get a segmentation fault when trying to use this code: === typedef void (*xine_event_listener_cb_t) (void *user_data, const xine_event_t *event); void xine_event_create_listener_thr

[Mono-dev] Patch for System.Web MultiView control

2006-07-11 Thread Vladimir Krasnov
Hello, Please review the patch that fixes various ActiveViewIndex bugs. It changes 'initied' state variable to views count in the views collection. Fixed tests: MultiView_ControlState, MultiView_OutOfRange, MultiView_OnBubbleEvent, MultiView_RemoveViewControlEvent, MultiView_SetActiveView in the

Re: [Mono-dev] [PATCH] Redirect certain string constructors to CreateString

2006-07-11 Thread Kornél Pál
The previous one did not cache the results. Now this is fixed. BTW is mono_loader_lock () and mono_marshal_lock () necessary as well? Kornél - Original Message - From: "Kornél Pál" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 11, 2006 9:20 AM Subject: [PATCH] Redirect certain string c

Re: [Mono-dev] Action used

2006-07-11 Thread Alejandro Serrano
public void ForEach (Node node, Action action) { action (node) foreach (Node child in this.Subnodes) ForEach (child, action); } Hope this helps ;-) Other solution would be using IEnumerable public class Node : IEnumerable { ... public IEnumerator EnumerateDescendants () {

Re: [Mono-dev] Action used

2006-07-11 Thread latency
Hi Piotr, if I'm not mistaken you want to enumerate through all the elements in your tree by simple using foreach, but you cant. In that case you may take a closer look at the IEnumerable and IEnumerator Interfaces. Short explanation: If an class is marked as IEnumerable it can be used in a fo

[Mono-dev] [PATCH] Redirect certain string constructors to CreateString

2006-07-11 Thread Kornél Pál
Hi, The attached patch implements what I was planning to do. Note that if the patch is approved I'm not going to commit is yet because the encoding classes should be updated first. This patch contains String.cs modifications as well that should compile with the current encoding classes as we