Re: [Mono-list] mcs 2.10.2 compiles fine, gmcs crashes
Hi, I have a simple Helloworld console app that compiles fine with mcs, but gmcs crashes with: using System; namespace foo { public class foo { static void Main() { Console.Writeline(Hello world); } } } Works fine for me[1] ;) Seriously though, any chance of the source, if it's built from source, OS, distro etc? Paul [1] Standard disclaimer - it worked when I wrote it on paper ;) -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Connecting to MySQL
Hi, Is there a standard library that can be included for connecting to a MySQL database rather than having to use the MySQL Connector.NET? I'm trying to reduce overheads on an application... Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Serialized data Q
Hi, I've got a really dumb and probably very simple question to answer. I've serialized a class and am passing it between other classes (see below). Is there a way *other than what I have done* so that when control is return to Main, the output is what it should be (see the comments). Ideally, I'd set in class 2 for Main to be able access the information. Thanks Paul using System; using System.IO; using System.Collections.Generic; using System.Xml.Serialization; namespace serialize { [Serializable] public class testing { public double a; public float b; public int c; public Liststring d = new Liststring(); public string e; public double A { get { return a; } set { a = value; } } public float B { get {return b; } set {b = value;} } public int C { get {return c;} set {c = value;} } public string E { get {return e;} set {e = value;} } } class MainClass { public static void Main (string[] args) { Console.WriteLine (Serialize test); testing t = new testing(); XmlSerializer x = new XmlSerializer(t.GetType ()); StringWriter o = new StringWriter(); x.Serialize(o, t); Console.WriteLine(Done - Serialized data = {0}, o.ToString()); class1 c1 = new class1(); c1.printsomething(o.ToString()); class2 c2 = new class2(); t = c2.dosomething(o.ToString()); Console.WriteLine (t.B); // should read 3.14 foreach(string s in t.d) Console.WriteLine (s); // should read wibble and Darn Console.ReadKey(); } } class class1 { static testing t; public void printsomething(string s) { XmlSerializer x = new XmlSerializer(typeof(testing)); StringReader m = new StringReader(s); t = (testing)x.Deserialize(m); fireoff(); Console.WriteLine (t.E); Console.WriteLine (t.C); } private void fireoff() { t.E = Wibble; t.C = 3; } } class class2 { static testing t; public testing dosomething(string s) { XmlSerializer x = new XmlSerializer(typeof(testing)); StringReader m = new StringReader(s); t = (testing)x.Deserialize (m); t.B = 3.14f; t.d.Add(wibble); t.d.Add (Darn); return t; } } } -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Alternatives to OleDb
Hi, As it looks like OleDb isn't supported any more and I still need to be able to access an Access file on a non-Windows box for an application I'm working on, can anyone suggest any other methods of accessing an Access file on (say) my Linux box? Thanks Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Variable number of Lists depending on a CSV file
Hi, Is there a simple way to do this? What I'd like to do is read in a CSV file with each column being stored in it's own list. This is simple enough if I restrict the file to have a static number of column - I could have something like List double col1 = new Listdouble(); List double col2 = new Listdouble(); and so on. However, what I'd like to do is have a dynamic number of List objects depending on the number of columns. Is this possible? TIA Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-winforms-list] An odd redraw problem
Hi, If I click the NumericUpDown, the code inserts new boxes and also reduces it as expected. However, if I click once to create 3 boxes and then go back down to 2, half of the third row still remains and I have no idea why! Your code does not seem to remove controls. I see how you create and add them to some container, but you never remove them. Ah! I thought that as I dynamically create them, they'd just be removed (if I go from say 6 rows to 5 rows, row 6 is completely removed). How do I go about removing them? Ideally, I'd remove all then add the new ones in. Thanks Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-list] Porting a spreadsheet to C#
Hi, I'm almost done porting a time of death calculator based on the Henssge Monogram spreadsheet[1]. I've got just about all of it done, but am having a shed load of problems with the final step - the final calculation. The code I have so far for the calculation is this private void calctod(DateTime death) { DateTime newdeath = death; double ta = Convert.ToDouble(surroundtemp.Text); double tr = Convert.ToDouble(bodytemp.Text); double m = Convert.ToDouble(weight.Text); double factor; bool t = ta = 23 ? true : false; calculateCandB(ta, tr, m); calculateCorrections(t); calculateIterations(t); factor = correctionfactor(); double h, mi; h = (-cas * factor); mi = -(((cas - Convert.ToInt32(cas)) * 100) / 1.) * factor + h; newdeath.AddHours(h).AddMinutes(mi); TimeSpan calced = death.Subtract(newdeath); DateTime todead = death.Subtract(calced); tod(todead.TimeOfDay.ToString(), todead.Date.ToShortDateString()); } The numbers being returned from the calculate methods are giving me the same result as I get from the spreadsheet, so they're fine. The problem seems to be in trying to parse the Excel =TIME for the time of death. The calculations for mi is a literal conversion of the =TIME equation. Can anyone shed any light on where I'm going wrong as this is driving me somewhat insane! Thanks Paul [1] www.all-the-johnsons.co.uk/tod/henssge.xls [2] www.all-the-johnsons.co.uk/tod/Henssge.zip - source code -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Porting a spreadsheet to C#
Hi, What format is the date text in? The form has a standard datetime picker for inputting the information. The calculator takes the values from the other text boxes, processes them and then should subtract the processed time from the datetime passed in. Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-winforms-list] Getting Error while Crate Bitmap
Hi, I have generate the problem in this line. printImage = New Bitmap(pageWidth, pageHeight) I'm assuming that somewhere you've defined printImage to be a of the type Bitmap... i.e. Bitmap printImage; // do something printImage = new Bitmap(int32, int32); or even easier Bitmap printImage = new Bitmap(int32, int32); Without a bit more information, it could be anything! PFJ -- Vertraue mir, ich weiss, was ich mache... ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-list] Environment.SpecialFolder.MyDocuments question
Hi, Is this correct? If I have Console.WriteLine ({0}, Environment.SpecialFolder.MyDocuments); on my Linux box it returns Personal rather than ~ Under WinXP and 7 it returns the path to MyDocuments. Is this the correct behaviour or should it (under Linux) return ~? TIA Paul P.S. Using mono-2.10 -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-winforms-list] WebBrowser and Textbox
Hi, I have checked to use VS 2008 but I have obtained the same results, the links inside the web page work but I can't enter any word inside the textbox of google, for example. Can you post the code to see if it's anything obvious? PFJ -- Vertraue mir, ich weiss, was ich mache... ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-dev] Unable to build Mono 2.10 RC4 on x86_64
Hi, I'm trying to build the latest release candidate for mono on my 64 bit box and it keeps moaning about an assert failure make[8]: Entering directory `/home/paul/rpmbuild/BUILD/mono-2.10/mcs/tools/gacutil' MCS [basic] gacutil.exe Inconsistency detected by ld.so: dl-deps.c: 623: _dl_map_object_deps: Assertion `nlist 1' failed! make[8]: *** [../../class/lib/basic/gacutil.exe] Error 127 I'm using gcc-4.6.0-0.6.fc15.x86_64 and glib2-2.27.93-1.fc15.x86_64 both under Fedora rawhide. Any ideas on this blocker? TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Nant 0.91-alpha2 build problem on 64 bit system
Hi, I'm trying to build nant-0.91-alpha 2 on my x86_64 Fedora box. It gets so far and then gives me the following error /home/paul/rpmbuild/BUILD/nant-0.91-alpha2/src/NAnt.DotNet/NAnt.DotNet.build(25,18): Function call failed. Expression: ${nant::scan-probing-paths(build.dir + '/bin','NDoc.ExtendedUI.dll')} ^^ NDoc.ExtendedUI.dll could not be found in any of the configured probing paths. I'm not seeing this under 32 bit builds. Any ideas why this is happening? TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mono.cecil
Hi, Mono.Cecil 0.9.4 has been released unto the world and works beautifully. Is there an eta for Mono.Cecil 1.0 and when it arrives, will it see an end to the myriad of packages bundling their own version of mono.cecil as well (e.g. monodevelop has it's own version)? TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-winforms-list] How To Check Mono is installed or Not
Hi, Grep the result of process.start(mono That assumes you have a .NET runtime installed and that grep is on the box in question. Big answer is there isn't an easy one as different operating systems install differently. If the user has Vista/Win7 installed, they'll definately have the .NET runtime environment installed, so process.start(...) is an option. If they're on a linux box, it depends if mono came in rpm/deb format or is self built. Something similar applies to a mac. ls /usr/bin | grep mono will work for Linux and mac... Fun... TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
Re: [Mono-winforms-list] GUI Problem
Hi, I am running my application in Mac in which have generate GUI Problem. When i am Clicking on there where my hidden controls showing virtually. So please suggest me how to refresh my application. Any chance of a looksee at the source? Might help to understand the problem. TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-dev] mono.cecil
Hi, Mono.Cecil 0.9.4 has been released unto the world and works beautifully. Is there an eta for Mono.Cecil 1.0 and when it arrives, will it see an end to the myriad of packages bundling their own version of mono.cecil as well (e.g. monodevelop has it's own version)? TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Unable to build 2.8.1
Hi, I'm unable to build mono-2.8.1 due to the following ./System/System.Net.Sockets/Socket_2_1.cs(523,55): error CS0117: `System.Net.Sockets.SocketType' does not contain a definition for `Dgram' System.Net.Sockets/SocketType_2_1.cs(27,21): (Location of the symbol related to previous error) I've applied some of the patches, but it seems that System.Net.Sockets has gone under massive development since the release of 2.8.1 and was wondering if I'd be better off building from one of the mono svn tarballs or waiting to see if a 2.8.2 release happens. TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Unable to build 2.8.1
Hi, I'm unable to build mono-2.8.1 due to the following ./System/System.Net.Sockets/Socket_2_1.cs(523,55): error CS0117: `System.Net.Sockets.SocketType' does not contain a definition for `Dgram' System.Net.Sockets/SocketType_2_1.cs(27,21): (Location of the symbol related to previous error) I've applied some of the patches, but it seems that System.Net.Sockets has gone under massive development since the release of 2.8.1 and was wondering if I'd be better off building from one of the mono svn tarballs or waiting to see if a 2.8.2 release happens. TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem building mono-2.8.1
Hi, Is there a patch to fix this? I just pushed one: mono-2-8 79d5f2e There is a problem later on which the patch doesn't cater for... /home/paul/rpmbuild/BUILD/mono-2.8.1/mcs/class/lib/moonlight_raw/System.dll (Location of the symbol related to previous warning) ../System/System.Net.Sockets/Socket_2_1.cs(523,55): error CS0117: `System.Net.Sockets.SocketType' does not contain a definition for `Dgram' System.Net.Sockets/SocketType_2_1.cs(27,21): (Location of the symbol related to previous error) -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Problem building mono-2.8.1
Hi, Just working through the latest tarballs and have found I can't build due to the following /home/paul/rpmbuild/BUILD/mono-2.8.1/mcs/class/lib/moonlight_raw/System.dll (Location of the symbol related to previous warning) ../System/System.Net.Sockets/Socket_2_1.cs(488,69): error CS0117: `System.Net.Sockets.SocketType' does not contain a definition for `Dgram' System.Net.Sockets/SocketType_2_1.cs(27,21): (Location of the symbol related to previous error) ../System/System.Net.Sockets/Socket_2_1.cs(519,55): error CS0117: `System.Net.Sockets.SocketType' does not contain a definition for `Dgram' System.Net.Sockets/SocketType_2_1.cs(27,21): (Location of the symbol related to previous error) Is there a patch to fix this? TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Sale of Novell
Hi, Now that Novell has been sold and along with it 882 patents either directly or indirectly to MS, can anyone give a definitive statement on what will happen with Mono and if the licences will remain the same? I don't want to see the sale mean the death of Mono, but with the future of SUSE unclear now, we could do with some sort of re-assurance. TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Mono.Options
Hi, Is Mono.Options switched off in the 2.8 tarball? I'm not seeing it getting packaged at the end of the build (either with a RPM script or as a direct build) Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Porting db4o-tool to use Mono.Options rather than Mono.GetOption
Hi, I'm working out some bugs in db4o so that the upcoming version 8.0 will build out of the box on mono. Currently, it ships with its own version of Cecil, CecilFlowAnalysis and GetOptions. While I can live with the Cecil bits and pieces, GetOptions is dead in the water with mono-2.8 and (from what I can see) has been fazed out since mono-2.2 so rather than continue to support it, I'm trying to port it over to use Mono.Options. Okay, the pre-packaged Cecil stuff will cause me problems with building for Fedora, but that's another story. My only problem is that I can't see an equivalent of return WhatToDoNext.GoAhead; in Mono.Options. Is there such a beastie and if there is, what is it called? TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] Connecting to a database (VB)
Hi, What is wrong? Have you forgotten to state the database password? When I set up the database in VS2010, I did not specify a username or password. TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Webservice in VB vs C# Q
Hi, Trying to debug a webservice I've done in VB and I keep hitting a problem. The webpage generated shows the method and then says that only primitives can be passed. I'm trying to pass in an arraylist (which apparently I can do with C#). Is the use of primitives a VB thing or have I been mis-informed about C# webservices being able to take a Generics? TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Webservice and jQuery problem
Hi, I'm stuck on this one as I think it's all more or less correct. Rather less than more. Your code is vulnerable to SQL injection and other nasty things (behind-firewall host discovery etc.). Really simple POC on how to write code badly for someone teaching a class, however it still needs to work. I know it's vulnerable to all sorts of nasties... TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-dev] log4net, ndoc and mono-2.8
Hi, Has anyone managed to get log4net to build with mono-2.8? It keeps hanging up and complaining here. ndoc is dead with the advent of mono-2.8. Is there something which can replace it that is OSS? TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Building mono-2.8 on 64 bit systems
Hi, I've submitted mono-2.8 to the fedora buildsys so it can go into rawhide. However, the buildsys is coming back with the following error sgen-cardtable.c:229:1: warning: 'collect_faulted_cards' defined but not used {standard input}: Assembler messages: {standard input}:24487: Error: @TLSLDM reloc is not supported with 64-bit output format {standard input}:24487: Error: junk `...@tlsld' after expression make[3]: *** [libmonoruntimesgen_la-sgen-gc.lo] Error 1 Is this a problem with mono or part of our buildsys? Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Building mono-debugger
Hi, While running the configure script for mono-debugger-2.8 it is hitting a problem in that it is looking for monodis which vanished from mono-2.8 Is there a fix for this? Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Problem building against mono-2.8
Hi, A bit of help would go down well here :) I'm doing a mass rebuild for fedora against mono-2.8 and have hit a bit of a problem. When I try to build gtk-sharp2 it looks like MONO_CAIRO_LIBS is not picking up that it's now in $(libdir)/mono/2.0 instead of $(libdir)/mono/1.0. Looking in the configuration files it's a simple problem - pkg-config is looking for mono-cario-2.0.pc and not mono-cairo.pc in $(libdir)/pkgconfig Is there a way to fix this as I'm not sure if this is a fedora problem (with pkgconfig), a mono one (not calling the .pc files correctly), a gtk-sharp2 problem (looking for the incorrect filename during the config process) or a mix of all three! The contents of the mono-cairo.pc file on my box looks like this prefix=${pcfiledir}/../.. exec_prefix=${pcfiledir}/../.. libdir=/usr/lib includedir=${prefix}/include Name: Mono.Cairo Description: Cairo bindings for Mono Version: 2.8 Libs: -r:${libdir}/mono/2.0/Mono.Cairo.dll TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-winforms-list] Adding a pane to a winform
Hi, I'm developing a user interface for a project which is targetting both Mono and MS .NET which is based on a port of an old RISC OS application called MultiShow2 (the name describes what it is - it displays images and video). The problem is this. In the original, there was a central window and a pane which was either underneath or to the right of the viewer window. It was attached to the main window (move the main window, the pane moved). If the window was the same size as the screen area, the pane would move inside of the window. I've googled this problem but can't seem to find what I'm looking for. Does anyone know if it's possible and if it is, can you point me in the right direction to do it? Thanks Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-dev] Preview builds ignoring config parameters
Hi, I'm attempting to build mono-2.8 for fedora rawhide but keep hitting the same problem. The build gets to the end and then comes up with extracting debug info from /home/paul/rpmbuild/BUILDROOT/mono-2.8-1.fc15.i386/usr/lib/mono/2.0/mscorlib.dll.so *** ERROR: No build ID note found in /home/paul/rpmbuild/BUILDROOT/mono-2.8-1.fc15.i386/usr/lib/mono/2.0/mscorlib.dll.so Googling around it says if I see this, I need to add to LDFLAGS --build-id, so my build script now looks like this export LDFLAGS=$LDFLAGS -Wl,--build-id %configure --with-ikvm-native=yes --with-jit=yes --with-xen_opt=yes \ --with-moonlight=yes --with-profile2=yes \ --with-libgdiplus=installed LDFLAGS=$LDFLAGS -Wl,--build-id \ %if %{with_mono4} --with-profile4=yes %endif However, LDFLAGS is being ignored during the configure step (checked this by looking at the generated Makefile in the root of mono-2.8 How can I fix this problem? It's stopping 2.8 hitting rawhide. TTFN Paul -- Vertraue mir, ich weiss, was ich mache... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono 2.4 - Redhat - XCopy Possible?
Hi, Now Novell do not package mono for Redhat anymore so I was wondering what would be the best way forward? Mono 2.4 RC1 is available in Fedora rawhide, you could use that Someone on my team has been running the make file to compile Mono but is there a document that lists what is required to get mono setup? i.e. a list of the environment variables it requires etc. You shouldn't need any environment variables and if you're just after mono by itself, you need to build libgdiplus first then mono should be just ./configure and then make http://www.all-the-johnsons.co.uk/mono/mono-firstcompile.shtml may be of some help, though it is a tad old. TTFN Paul -- It's only me, only me and no-one else. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] How to start a C# winforms project?
Hi, Hi all. I am brand new to monodevelop and would like to get some experience with C# and .net via mono. I've seen there are nice project templates for Gtk# project, but can't see one based on winforms. I mean, if I choose a Gtk# project, I get a predefinded application with gui interface, while selecting C# blank project, does not contain any gui interface. Did I miss something or do I have to desing winforms based project from scratch? Thanks for your help. I don't think there any any predefined templates for Win-forms application cuase there is no GUI-designer for Win-forms (yet?), but nothing stops you from creating a blank solution and work with the System.Windows.Forms namespace. VS.NET doesn't provide you with any predefined templates - it allows you to add widgets to a window. TTFN Paul -- It's only me, only me and no-one else. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-dev] Building mono-debugger 0.60 problem
Hi, I'm trying to build mono-debugger 0.60 on my F9 box (running on rawhide, but that's not really anything new and everything normally just builds). Besides a small patch needed to build the server on the backend (attached) I seem to be hitting a problem just building it. Is there a fix in the pipeline? I'm using the tarball from the mono website to build. I'm building on an x86_64 box against mono-1.9.1 TTFN Paul (throwback from build below - lots of warnings, errors at the end) + make hashtab.c: In function 'find_empty_slot_for_expand': hashtab.c:331: warning: declaration of 'index' shadows a global declaration /usr/include/string.h:309: warning: shadowed declaration is here hashtab.c: In function 'htab_find_with_hash': hashtab.c:430: warning: declaration of 'index' shadows a global declaration /usr/include/string.h:309: warning: shadowed declaration is here hashtab.c: In function 'htab_find_slot_with_hash': hashtab.c:487: warning: declaration of 'index' shadows a global declaration /usr/include/string.h:309: warning: shadowed declaration is here elf64-x86-64.c:37: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:40: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:43: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:46: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:49: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:52: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:55: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:58: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:61: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:64: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:67: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:70: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:73: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:75: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:77: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:79: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:81: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:84: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:87: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:90: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:93: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:96: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:99: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:102: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:107: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c:111: warning: initialization discards qualifiers from pointer target type elf64-x86-64.c: In function 'elf64_x86_64_grok_prstatus': elf64-x86-64.c:270: warning: pointer targets in passing argument 1 of 'abfd-xvec-bfd_getx16' differ in signedness elf64-x86-64.c:274: warning: pointer targets in passing argument 1 of 'abfd-xvec-bfd_getx32' differ in signedness elf64-x86-64.c:285: warning: passing argument 2 of '_bfd_elfcore_make_pseudosection' discards qualifiers from pointer target type elf64-x86-64.c: In function 'elf64_x86_64_size_dynamic_sections': elf64-x86-64.c:1640: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from elf64-x86-64.c:2948: elf64-target.h: At top level: elf64-target.h:624: warning: initialization discards qualifiers from pointer target type In file included from elfcode.h:1577, from elf64.c:23: elflink.h: In function 'bfd_elf64_bfd_final_link': elflink.h:5539: warning: declaration of 'o' shadows a previous local elflink.h:5086: warning: shadowed declaration is here elf32-i386.c:95: warning: initialization discards qualifiers from pointer target type elf32-i386.c:98: warning: initialization discards qualifiers from pointer target type elf32-i386.c:101: warning: initialization discards qualifiers from pointer target type elf32-i386.c:104: warning: initialization discards qualifiers from pointer target type elf32-i386.c:107: warning: initialization discards qualifiers from pointer target type elf32-i386.c:110: warning: initialization discards qualifiers from pointer target type elf32-i386.c:113: warning: initialization discards qualifiers from pointer target type elf32-i386.c:116: warning:
Re: [Mono-list] Mono 1.9 on CentOS 5 (RHEL 5)
Hi, Thank you very much for your response. The RHEL5 ones are for v 1.2.4 and I'd prefer to be on the very latest. Also they don't come with mono-basic, I managed to find an old fedora core 5 version 1.2.4 and installed that. Problem is with this setup that some VB pages work but not others. I'll private email you the links so you can see the errors. But basically some pages load fine, others give a Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0 error. Although all pages are in VB. We have these exact same version of mono running on another server and the same files work perfectly. Only difference is the other server is 32bit where as this setup is 64bit. Now I'm probably going to rip it all out again and install the 32bit version of mono. Given Fedora didn't adopt Mono into it's scheme until F7, the only thing I can think of is that you have another version conflicting with what you have. Personally, if you're after the latest version, try the ones in Fedora Rawhide (I've imported Mono 1.9.1 last night) Warning : Rawhide is bleeding edge TTFN Paul -- Sie können mich aufreizen und wirklich heiß machen! 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
[Mono-dev] Mono under Wine/Crossover Office
Hi, Could anyone help me on this? I have mono-1.9r4 running under Fedora (as you'd expect) but need to be running sharpdevelop (I really need a SWF designer which Monodevelop can't do currently), so also have mono for windows installed. I've downloaded sharpdevelop-2 from sourceforge and have tried to install it using both wine and crossover office (for both ensuring I use the same bottle as for mono), however they both report back saying I need the .NET2 framework installing. Is there a way I can fiddle the installer so it installs? TTFN Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] Sharpdevelop problem with resources
Hi, Sorry if this is the wrong list, but I've restricted access at work. When I've written code using VS.NET to create a resource file, I can define a text file (in my case, it's a plain text help file) as a resource and then just have in the code richtextbox1.Text = global::marker.Properties.help and the text comes out in the textbox. For some reason, when I define the text file in SharpDev as a resource, first it's defined as a byte[] rather than a string and second if I use richtextbox1.Text = (global::marker.Properties.help).ToString(); nothing comes out. Is this a sharpdevelop bug or a problem in how I've set up the resx file? TTFN Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-dev] Compiling mono on ppc64
Hi, I currently build and maintain a number of packages for the Fedora Linux distro and one of the things which I can't find a reason for is why on a PPC64, mono fails to build from source. Is there currently anything within mono which stops this from happening? TTFN Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Compiling mono on ppc64
Hi, The current status is that you should be able to build a ppc (32-bit) Mono 1.2.6 on a ppc64 Linux host. This was tested on Debian, if additional changes to configure.in are necessary to make it work on Fedora please submit patches. If there is any other build failure, as usual please file a detailed bug report. For the likes of mono, Nant, monodevelop and boo, is there a flag which can be passed to the configure script which says to build as ppc32? I'm trying to push a number of packages for both ppc and ppc64, but the Fedora buildsys rejects them currently. TTFN Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mbas
Hi, Are there any plans to remerge mbas back into the main mono tarballs? Also, last time I tried to build it, mbas wouldn't build under Linux - is this still the case? TTFN Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] Parallel port programming
Hi, From the available information I have, there isn't anything which allows me to directly do things through the parallel port. I can open a stream to lpt1 and then do standard stream read/writes, but nothing along the lines of serial programming. Does anyone have any how-to's on parallel port programming (I need to be reading individual pins) or failing that, if I use lpt1 within a program, will the parallel port still be addressed on a non-Windows machine (under Linux for example, my machine has the parallel port set as something totally different to lpt1 and this is probably the case under MacOSX as well) I know there is a parallel port dll out there, but the source isn't open so I can't guarantee it working under Mono. TTFN Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-dev] [final try] redhat support?
Is Mono supported on Redhat Kernel 2.6? Simple answer, yes. TTFN Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Oddity in C#
Hi, Got a bit of a strange one which I'm not sure about. Below is a bit of code I'm playing with... namespace bitcount { public bitcount { private uint BitCounter(uint u) { uint uCount; uCount = u - ((u 1) 0333) - ((u 2) 0111); return (uCount + (uCount 3) 030707070707 % 63; } public static void Main { bitcount bc = new bitcount(); uint number; Console.WriteLine(Please enter a number ); number = Console.Read(); number = BitCounter(number); Console.WriteLine(number); Console.ReadKey(); } } } Okay, it won't compile (Read is static int for a start), but the oddest piece of the puzzle is that the uint variables cause problems when I try to compile (casting). If I change everything to long, the value returned is incorrect (if you re-write this in C or C++ and enter 85, it returns 2, in C# it returns 33). Any clues as to why this behaviour is seen? It makes no difference if I target mono or VS.NET. TTFN Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] Screenshots involving mono
Hi, Does anyone know if there would be any restrictions from either the licence of mono and monodevelop if I use screenshots of both in action for a book I'm writing on Maths for Computer and Video Games programmers in C#? If there is, could some kind soul point me in the right direction of who I need to ask to gain permission? Thanks Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Mono website out of date
Hi, With the advent on mono-1.2.3 coming out, shouldn't the website get updated so that when you go to the downloads, you can actually get to mono-1.2.3? TTFN Paul -- Get your free @ukpost.com account now http://www.ukpost.com/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-dev] svn down?
Hi, For the last couple of days I've not been able to reach the svn server from work. Is it down? I'm just checking to see if the problem is at our end. TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-winforms-list] error when application close
Hi, I've got strange error when closing quite complex application based on SWF (originaly designed for MS Windows). Closing is done only through this.Close(); But this error occurs. What could be wrong? = Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. = When did you compile the source up and are you running an up to date version of mono/SWF/libgdiplus? TTFN Paul -- ein zu starker starker Anblick kann Sie toten. Sie gegen gerade uber den Rand mit dem festen Wissen des Wege vor Ihnen - Linus Tordvals ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-winforms-list] Not sure if this is an event or code problem
Hi, The source for this question is at http://www.smmp.salford.ac.uk/csharp/list7.cs (it's about 8k in length so I'd rather not post it here). I've got an event connected to a button which is set up in the Form definition in the usual way this.Connect.Click += new System.EventHandler(this.Connect_Click) This is made active when either the username and password are entered or an IP address and username and password are entered. The event will do two things, though only does one currently and it's that which I'm not sure about. The event checks the contents of the IP boxes to ensure they're less than 255 (the boxes only accept numbers, so letters aren't a problem). The problem is that if you enter a value 255, the code generates a message box and then clears the box using ((TextBox)IP[i]).Clear(); the button is then disabled. The clear does as it should, but then won't allow a new number to be entered. Have I used the correct method or is this a mono problem? TTFN Paul P.S. Before anyone says, it's not very pleasant to look at when it's compiled (and executed) and under Linux, the number box event handler isn't doing as it should and rejecting non-numbers -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
Re: [Mono-winforms-list] Not sure if this is an event or code problem
Hi, The clear does as it should, but then won't allow a new number to be entered. Have I used the correct method or is this a mono problem? This was due to a bug in TextBox, not resetting the char count on a Clear(). I just fixed it in svn head. Excellent :-) Looks like I'm going to have to move back to the source version over the FC rpms on the laptop and main box at home. Oh well - it was fun having the rpms ;-) P.S. Before anyone says, it's not very pleasant to look at when it's compiled (and executed) and under Linux, the number box event handler isn't doing as it should and rejecting non-numbers That bug has already been fixed in svn and marked as fixed in bugzilla. Thanks again for that Peter :-) TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-dev] Compiling monodoc
Hi, Just building monodoc and it's reporting that the type or namespace Cecil does not exist in the workspace mono - is this me or a problem in svn? TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] A couple of SWF questions
Hi, The code attached works fine with Mono. VC# moans like crazy and I'm not sure why - comments would be welcome. The code also has 2 problems. The first is that then Address label doesn't appear and it should (could someone confirm this so that I can file it in Bugzilla) and the second is the KeyPress event for the NumberBox is being ignored (from what I can see). Again, if someone can confirm this, I'd appreciate it. The code compiles without a hitch under Mono 1.1.13. I'm using the Fedora Core RPMs over the build from source (don't ask). Sorry about the length... using System.Windows.Forms; using System.ComponentModel; using System.Collections; using System.Drawing; public class testwindow : Form { private Label ServerAddress; private Label Address; private Label User; private Label Pass; private Button Connect; private TextBox Username; private TextBox Password; private ComboBox IPAddress; private NumberBox[] IP; private GroupBox box; private StatusBar StateBar; private ProgressBar Progress; private Label Connection; private System.ComponentModel.Container components = null; private testwindow() { InitializeComponent(); } protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); } private void InitializeComponent() { this.SuspendLayout(); this.Size = new Size(300, 150); this.Text = Server connection; this.ServerAddress = new Label(); this.ServerAddress.Size = new Size(72, 12); this.ServerAddress.Name = address; this.ServerAddress.Text = Server Address; this.ServerAddress.Location = new Point(11, 14); this.ServerAddress.TabIndex = 0; this.IPAddress = new ComboBox(); this.IPAddress.DropDownStyle = ComboBoxStyle.DropDownList; this.IPAddress.BackColor = Color.White; this.IPAddress.ForeColor = Color.Black; this.IPAddress.Size = new Size(160, 8); this.IPAddress.Name = ipaddress; this.IPAddress.Location = new Point(100, 12); this.IPAddress.Items.Add(Localhost); this.IPAddress.Items.Add(Other); this.IPAddress.SelectedIndex = 0; this.IPAddress.SelectedIndexChanged += new System.EventHandler(this.IPAddress_SelectedIndexChanged); this.IPAddress.TabIndex = 1; this.Address = new Label(); this.Address.Size = new Size (72, 12); this.Address.Name = numaddr; this.Address.Text = IP Address; this.Address.Enabled = false; this.Address.Location = new Point(11, 36); this.Address.TabIndex = 2; this.IP = new NumberBox[4]; for (int i = 0; i 4; ++i) { this.IP[i] = new NumberBox(); this.IP[i].Size = new Size(44, 8); this.IP[i].Enabled = false; this.IP[i].Location = new Point(100 + (48 * i), 34); this.IP[i].TabIndex = 3 + i; this.IP[i].MaxLength = 3; } this.User = new Label(); this.User.Size = new Size(54, 12); this.User.Name = user; this.User.Text = Username; this.User.Location = new Point(11, 64); this.User.TabIndex = 7; this.Username = new TextBox(); this.Username.Size = new Size(80, 8); this.Username.Name = username; this.Username.Location = new Point(70, 62); this.Username.TextChanged += new System.EventHandler(this.Username_TextChanged); this.Username.TabIndex = 8; this.Pass = new Label(); this.Pass.Size = new Size(48, 12); this.Pass.Name = pass; this.Pass.Text = Password; this.Pass.Location = new Point(150, 64); this.Pass.TabIndex = 9; this.Password = new TextBox(); this.Password.Size = new Size(80, 12); this.Password.Name = password; this.Password.PasswordChar = (char)'*'; this.Password.Location = new Point (200, 62); this.Password.TextChanged += new System.EventHandler(this.Password_TextChanged); this.Password.TabIndex = 10; this.box = new GroupBox(); this.box.SuspendLayout(); this.box.Controls.AddRange(new Control[] {this.ServerAddress, this.IPAddress, this.Address, this.IP[0], this.IP[1], this.IP[2], this.IP[3], this.User, this.Username, this.Pass, this.Password}); this.box.Location = new Point(8, 4); this.box.Name = groupbox; this.box.Size = new Size(290, 86); this.box.Text = Connection details; this.box.TabIndex = 11; this.Connect = new Button(); this.Connect.Size = new Size(70, 20); this.Connect.Name = connect; this.Connect.Enabled = false; this.Connect.Text = Connect; this.Connect.Location = new Point (200, 100); this.Connect.Click += new System.EventHandler(this.Connect_Click); this.Connect.TabIndex = 12; this.StateBar = new StatusBar(); this.StateBar.Location = new Point(0, 130); this.StateBar.Height = 20; this.StateBar.Name = status; this.StateBar.ForeColor = Color.Blue; this.StateBar.Text = Disconnected; this.StateBar.TabIndex = 13;
Re: [Mono-list] A couple of SWF questions
Hi, Your program seems to work fine in VisualStudio 2005. :-) Address label appears but is truncated because the size you set is too short (90 rather than 72 displays it all). KeyPress is being entered. Dang. It looks like there is a problem with Mono and the KeyPress event. TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] An array of SWF icons
Hi, I'm not sure how to do this, so I'm a' askin' I'm trying to create an array of TextBox icons. All of the text boxes have the same properties, so creating them as an array makes sense (it also means I can error handle easier). Currently, the code looks like this private TextBox IP[4]; ... for (int i = 0; i 4; ++i) { this.IP[i] = new TextBox(); this.IP[i].Size = new Size(60, 10); // and so on } this.IP.AddRange(new Control[] {this.IP[0], this.IP[1], this.IP[2], this.IP[3]}); However, this fails to compile. I've followed the suggestion of adding fixed before TextBox, but that then complains list4.cs (16, 25): error CS1642: `testwindow.IP': Fixed size buffer fields may only be members of structs Is there a simple way around this? TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Re: A quick winforms question
Hi, On Tue, 2006-03-07 at 01:30 +0100, Robert Jordan wrote: I know on the platform I used to work with (RISC OS), it was called a labelled box, but have no idea what it is (or if it exists) under SWF. GroupBox Excellent - thanks :-) TTFN Paul -- Träum's nicht, Lebe schon - Dr. Frankenfurter, Rocky Horror Show ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-dev] mono-ikvm
Hi, Which source package contains mono-ikvm? TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-winforms-list] Designing a winform app not on a Windows box
Hi, Does anyone know of any online designer sites which allow you to basically design the winform and export the designer data? TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-dev] Instructions for compiling under Cygwin
Hi, Just to let you know, I've mirrored the ondotnet instructions for building mono from scratch on my website - that now means that I have mac, Linux and Win32 support for building. http://www.all-the-johnsons.co.uk/mono/monowindows.html TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] Help installing mono
Hi, In order to compile mono I had to have a working mcs so I installed the mono-core rpm (I'm running FC4 here). Do I need to remove this package before installing my compiled version of mono? Compiling mono from source can be a bit hectic to say the least and happily, it's now part of FC5. For help, http://www.all-the-johnsons.co.uk/mono/mono-building.html (or is it building-mono - I can't remember!) should have everything you need. Basically libgdiplus, make, make install mono/mcs, make get-monolite-latest, make, make install And that's the core done. What you do next is up to you. TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Ouchy!
http://www.theregister.co.uk/2006/01/11/microsoft_wins_patent_case/ Looks like fat support may have to be slimmed down :-( -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-winforms-list] SWF possible problem
Hi, Not sure if this is a SWF problem, but would appreciate someone having a looksee. The code is too large to post here, so I've uploaded the binary, source and a screenshot http://www.all-the-johnsons.co.uk/mono/dataset.exe http://www.all-the-johnsons.co.uk/mono/dataset.cs http://www.all-the-johnsons.co.uk/mono/dataset.png TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-dev] Printers
Hi, For a project I'm working on, I'll be needing to access a printer dialogue. It's been a while since I last looked at this area, so does anyone know the start of play with System.Printing? TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: On VB to C# Code conversion - RE: [Mono-list] re: Portal code / CMS recs for ASP.NET(DotNetNuke/Rainbow/mojoPortal)
Hi, On Mon, 2005-12-12 at 16:25 +0100, Jacek Blaszczynski wrote: Firstly please do not tell to anyone that code convereters can do the job of converting VB to C# code. The accuracy of current projects is so low that I have dropped using them even for very simple libraries This also applies to other language converters (such as p2c and f2c - neither are much use and give answers different to the original versions of the source). The only real way to convert VB to C# is to know both the object models and the languages then do it by hand. TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-dev] windows.forms crash under osX using darwinports
Hi, I got mono with all libs from darwinports. After fixing the dllmap in /opt/local/etc/mono/config I got it to run, but it crashes somewhere in memory management :(. I append a fairly detailed Crashreport from the osX CrashReporter below. Which version of mono are you using? TTFN Paul -- main(t,_,a) char*a;{return!0t?t3?main(-79,-13,a+main(-87,1-_,main(-86, 0,a+1 )+a)):1,t_?main(t+1,_,a ):3,main (-94,-27+t,a)t==2?_13?main(2, _+1,%s %d %d\n):9:16:t0?t-72?main(_,t,@n'+,#'/*{}w+/w#cdnr/+,{}r/*de} +,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl] '/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n 'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{} rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}## (!!/):t-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1 ):0t?main(2,2,%s):*a=='/'||main(0,main(-61,*a,!ek;dc [EMAIL PROTECTED]'(q)-[w]*%n+r3#l ,{}:\nuwloca-O;m .vpbks,fxntdCeghiry),a+1);} ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] Runtime segfault on amd64
Hi, . Before I do that, though, I'd like to ask whether anybody is observing similar behavior. Can't say I've seen it. TTFN Paul -- main(t,_,a) char*a;{return!0t?t3?main(-79,-13,a+main(-87,1-_,main(-86, 0,a+1 )+a)):1,t_?main(t+1,_,a ):3,main (-94,-27+t,a)t==2?_13?main(2, _+1,%s %d %d\n):9:16:t0?t-72?main(_,t,@n'+,#'/*{}w+/w#cdnr/+,{}r/*de} +,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl] '/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n 'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{} rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}## (!!/):t-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1 ):0t?main(2,2,%s):*a=='/'||main(0,main(-61,*a,!ek;dc [EMAIL PROTECTED]'(q)-[w]*%n+r3#l ,{}:\nuwloca-O;m .vpbks,fxntdCeghiry),a+1);} ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-dev] gtk-sharp ./configure quick question (Very puzzled)
Hi, /usr/include/vte/vte.h:35: error: syntax error before typedef Supposedly, there is a bug in recent vte releases that doesn't specify correct dependencies to pkg-config so that it can build correct CFLAGS values. I don't know if this has been filed upstream to the vte folks, but that's the problem. It's filed as a bug with gnome http://bugzilla.gnome.org/show_bug.cgi?id=325030 TTFN Paul -- main(t,_,a) char*a;{return!0t?t3?main(-79,-13,a+main(-87,1-_,main(-86, 0,a+1 )+a)):1,t_?main(t+1,_,a ):3,main (-94,-27+t,a)t==2?_13?main(2, _+1,%s %d %d\n):9:16:t0?t-72?main(_,t,@n'+,#'/*{}w+/w#cdnr/+,{}r/*de} +,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl] '/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n 'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{} rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}## (!!/):t-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1 ):0t?main(2,2,%s):*a=='/'||main(0,main(-61,*a,!ek;dc [EMAIL PROTECTED]'(q)-[w]*%n+r3#l ,{}:\nuwloca-O;m .vpbks,fxntdCeghiry),a+1);} ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] Slackware install
Hi, I have taken a couple runs at Slackware 10.2 / dropline and Mono... Anyone got a hand up on getting this running? To build it http://www.all-the-johnsons.co.uk/mono/mono-building.html TTFN Paul -- main(t,_,a) char*a;{return!0t?t3?main(-79,-13,a+main(-87,1-_,main(-86, 0,a+1 )+a)):1,t_?main(t+1,_,a ):3,main (-94,-27+t,a)t==2?_13?main(2, _+1,%s %d %d\n):9:16:t0?t-72?main(_,t,@n'+,#'/*{}w+/w#cdnr/+,{}r/*de} +,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl] '/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n 'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{} rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}## (!!/):t-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1 ):0t?main(2,2,%s):*a=='/'||main(0,main(-61,*a,!ek;dc [EMAIL PROTECTED]'(q)-[w]*%n+r3#l ,{}:\nuwloca-O;m .vpbks,fxntdCeghiry),a+1);} ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Re: Mono in Solaris
Hi, 1. What are the minimum requirements to compile the base mono runtime For just mono, libgdiplus and a compiler. http://www.all-the-johnsons.co.uk/mono/mono-compiling.html 2. What additional requirements are needed to compile mono with ASP.net and webservices support None 3. What additional requirements are needed to compile mono with gui forms support http://www.all-the-johnsons.co.uk/mono/faq.html Click on dependancies TTFN Paul -- main(t,_,a) char*a;{return!0t?t3?main(-79,-13,a+main(-87,1-_,main(-86, 0,a+1 )+a)):1,t_?main(t+1,_,a ):3,main (-94,-27+t,a)t==2?_13?main(2, _+1,%s %d %d\n):9:16:t0?t-72?main(_,t,@n'+,#'/*{}w+/w#cdnr/+,{}r/*de} +,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl] '/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n 'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{} rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}## (!!/):t-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1 ):0t?main(2,2,%s):*a=='/'||main(0,main(-61,*a,!ek;dc [EMAIL PROTECTED]'(q)-[w]*%n+r3#l ,{}:\nuwloca-O;m .vpbks,fxntdCeghiry),a+1);} ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-dev] mono X11 rendering
Hi, I am developing a simple applications using Thread class to change the color of the square (Lab assignment). Everything is working properly, except I have to drag or cls /opn the windows in linux to fix theThread and the only solutions to produce the color change. Threading mostly works on Mono, but there are issues with it. Are you able to reproduce the problem using gtk#? TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] pb on Winforms
Hi, This program function very well on Windows with the Windows's CLR. But with the Mono's CLR , there are problems on Linux and on Windows. What's the problem ? Winforms is not fully implemented on non-Windows systems yet. It's getting there, but not fully happy yet. I've not copied your code in (very busy at work), but a description of what is not the same would be useful. Later, i will use gtk# but now i don't have any time for to learn it. does it exist a IDE for GUI in GTK# like visual .NET ? MonoDevelop TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Processname
Hi, 1/ is it possible to execute à file .exe (like ./mysoft.exe) without to write (mono mysoft.exe) ? You should be able to associate .exe files to run with mono. How you do that though depends on the distro, for me, I right click on the mouse, select run with other program, select mono and job's done. I then just run the exe as normal (okay, it only works for graphic executables...) TTFN Paul -- Duirt me leat go raibh me breoite. - T.M. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Is this a bug?
Hi. I'm not too sure if this is or isn't a bug. From what I can see on MSDN, a line such as foo = Console.ReadLine().ToInt32(); should be fine. Yet if I include it in my source, I see the error error:CS0117: `string' does not contain a definition for `ToInt32()' Have I found a bug? TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-dev] MapViewOfFile - I think there is a bug
Hi, According to MSDN, MapViewOfFile should be LPVOID MapViewOfFile( HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap ); I have some code which looks like this dataView = MapViewOfFile(dataMap, FILE_MAP_WRITE, 0, 0, (UIntPtr)BUFFERLEN); This won't compile (can't convert from int to System.UIntPtr). As I understand it though, if I remove (UIntPtr) from before BUFFERLEN, this should then happily compile. However, it doesn't. dataMap is an IntPtr Is this something that needs to go into Bugzilla? TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Big MCS Problem
Hi, I think mcs see /resource:resources/WebUIValidation.js as a file to compile... (because there's a slash before resource) It's compilable now. Nope. Can't get mcs to compile from source... System.Web.UI.WebControls/BoundField.cs(111,25): warning CS0114: `System.Web.UI.WebControls.BoundField.HeaderText' hides inherited member `System.Web.UI.WebControls.DataControlField.HeaderText'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword System.Web.UI.WebControls/DataControlField.cs(308,4):: `System.Web.UI.WebControls.DataControlField.HeaderText.set' (name of symbol related to previous warning System.Web.UI.WebControls/RoleGroupCollection.cs(111,15): warning CS0114: `System.Web.UI.WebControls.RoleGroupCollection.OnValidate(object)' hides inherited member `System.Collections.CollectionBase.OnValidate(object)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword /home/paul/mcs/class/lib/net_2_0/mscorlib.dll: `System.Collections.CollectionBase.OnValidate(object)' (name of symbol related to previous warning System.Web.Compilation/AspComponentFoundry.cs(43,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/AspComponentFoundry.cs(153,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/Directive.cs(80,47): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/Directive.cs(80,4): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/TagAttributes.cs(55,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/TagAttributes.cs(162,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Configuration/CompilationConfiguration.cs(81,22): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Configuration/CompilerCollection.cs(45,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Configuration/GlobalizationConfiguration.cs(62,27): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web.Configuration/GlobalizationConfiguration.cs(65,23): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Configuration/HttpRuntimeConfig.cs(73,21): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Configuration/PagesConfiguration.cs(72,22): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web/HttpApplication.cs(147,50): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web/HttpApplication.cs(994,91): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web/HttpApplication.cs(1088,43): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web/HttpCacheVaryByHeaders.cs(72,59): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web/HttpCacheVaryByParams.cs(47,58): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web/HttpContext.cs(169,33): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web/HttpContext.cs(454,9): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web/HttpRequest.cs(582,63): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web/HttpRequest.cs(1325,9): warning CS0219: The variable `bl' is assigned but its value is never used System.Web/HttpRequest.cs(1324,9): warning CS0219: The variable `ll' is assigned but its value is never used System.Web.Mail/MailMessageWrapper.cs(54,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(55,38): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(59,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(60,45): warning CS0618:
Re: [Mono-list] Brain gone blank
Hi, Its the ByteFX provider that ships with mono or alternately installing the newer MySQL Connector for .NET, though the very newest version of that is not working for mono so you would want the second newest. -r:ByteFX.Data doesn't provide MySql.Data.MySqlClient. Where can I get hold of the newer MySQL connector which isn't the newest one you mention? TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] London Linux Expo
Hi, I dont think they're making a presentation as such - they're down as a major sponsor and last year they had a stand and about 20 people trying to thrust bits of paper and cds at people. Well, they could always say to some folks around hey, we'll supply you with food, travel and accomodation if you'll man a stand for us - I know I'd probably jump at that one. TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] monolite
Hi, Roughly what time (GMT) is the monolite-latest package generated? I'm going to see about adding something to my website about it to avoid the usual make get-monolite-latest gives version x and the source won't compile because it has version y question (which has caught me today!) TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-dev] Mono runtime performance
HI, Anyway, the result was shocking! The mono runtime was about 67% slower than the microsoft runtime. Anybody know why? Without seeing the code, it could be anything. TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] gcc/mcs problem - which is it?
Hi, Which Mono version did you install (make install) before you got that error? I always use the developer branch from svn. First occurance happened yesterday (10th Sept) and now compiles, but during a make install, it dies. It's now in bugzilla - Bug 76058 TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] Mono port to ARM
Hi, On Sun, 2005-09-11 at 13:12 +0200, piontec wrote: - does that port run on StrongARM CPUs as well as on ARM? 26 or 32 bit versions of the SA? TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono bug?
Hi, using System; using CookComputing.XmlRpc; using CookComputing.MetaWeblog; public class _ { public static void Main(string[] args) { IMetaWeblog proxy = (IMetaWeblog)XmlRpcProxyGen.Create(typeof(IMetaWeblog)); XmlRpcClientProtocol cp = (XmlRpcClientProtocol)proxy; cp.Url = http://blog.irregular.ch/xmlrpc.php;; Post[] posts = proxy.getRecentPosts(, admin, , 10); } } Is there a way to test if proxy has been created? I have replaced bool with int in MetaWeblogAPI.cs because the wordpress xmlrpc server returns int instead of bool. Charles Cook himself said this should not be the cause of any problems It shouldn't, but then again... Program received signal SIGPWR, Power fail/restart. What happened here? SIGPWR normally gets thrown if there is a power problem. #9 0xa7ef8ccd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7e5db0e in clone () from /lib/tls/libc.so.6 Roughly, how many threads are being created? I know there is a thread problem currently. I would be happy to provide more information if someone could tell me what to do now. Unfortunately I am not very experienced but I'll try doing what I can. Can you recreate the problem using one of the Mono libraries rather than the CookComputing ones? TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-dev] Bug Day
Hi, These faults don't have to be real ones either. Can you tell us more about this ? I don't understand how we could use fake bugs. Better known as googlies (from the cricket term). Basically, one of the developers reports a fault (under an assumed name of course) which on the surface looks completely correct, but has a very small fault in. If we detect the fault correctly, then those looking at the bugs know not only how much folks know, but also their attention to detail. It helps build confidence in the triage team. TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Bug Day
Hi, As for me, the idea hasn't gone dead, i'm waiting for comments from key developers. However, bringing this on the mono mailing lists again is a good idea :-). Why not just immediately tuckle existing bugs? I have been fixing mcs bugs those days. I don't know much about mcs internals, so I often ask about them on irc. The idea was to have something similar to the Gnome bug days. Given the project is nearing the beta of 1.2, it was suggested that this may be a way forward to have a concerted effort for bug diagnosis and fixing. TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-winforms-list] widgets
Hi, I am a new programmer coming from MS .NET Framework and am trying to learn Mono. My biggest problem is that I can't seem to grasp the widgets concept that is being used for winforms basically. It is exactly the same as under Windows (AFAI can see). The only difference is you don't have an IDE to do everything for you (in other words, you have to know the methods, the values and such instead of reliance on the Visual Studio environment). TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[Mono-dev] Bug Day
Hi, We had some good movement on this, but the idea seems to have gone dead. Are we going to have a Gnome style bug splatting day on the 3rd or 10th Sept? TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] Fresh install
Hi, rug ref rug update mono-1.1-official I got it to report fewer and fewer errors each time: 5 packages will be installed and 13 packages will be removed. This is a 1.65M download. Do you want to continue? [y/N] y Download complete Verifying mono-nunit ... There is no package signature for libgdiplus; package will be installed because user is trusted Removing Installing mono-nunit-1.1.8.3-0.novell.i586.rpm Installing mono-locale-extras-1.1.8.3-0.novell.i586.rpm Transaction failed: Unable to complete RPM transaction Are you doing this as su or as you? If it's as you, it's no real surprise it's not working - you don't have admin right. TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-dev] msdn-browse
Hi, I noticed on the svn branch a nice little utility for browsing msdn without having to pratt about with the MSDN website. I've run makefile, but all I get back is this (the code fails to compile) Unhandled Exception: System.Exception: Trying to emit a local from a different ILGenerator. in 0x005e7 System.Reflection.Emit.ILGenerator:Emit (OpCode opcode, System.Reflection.Emit.LocalBuilder lbuilder) in 0x0005e Mono.CSharp.ScopeInfo:EmitScopeInstance (System.Reflection.Emit.ILGenerator ig) in 0x0005d Mono.CSharp.CaptureContext:EmitMethodHostInstance (Mono.CSharp.EmitContext target, Mono.CSharp.AnonymousContainer am) in 0x0001f Mono.CSharp.EmitContext:EmitMethodHostInstance (Mono.CSharp.EmitContext target, Mono.CSharp.AnonymousMethod am) in 0x0001c Mono.CSharp.AnonymousDelegate+AnonymousInstance:Emit (Mono.CSharp.EmitContext ec) in 0x0004d Mono.CSharp.DelegateCreation:Emit (Mono.CSharp.EmitContext ec) in 0x000c0 Mono.CSharp.AnonymousDelegate:Emit (Mono.CSharp.EmitContext ec) in 0x00214 Mono.CSharp.Argument:Emit (Mono.CSharp.EmitContext ec) in 0x00205 Mono.CSharp.Invocation:EmitArguments (Mono.CSharp.EmitContext ec, System.Reflection.MethodBase mb, System.Collections.ArrayList arguments, Boolean dup_args, Mono.CSharp.LocalTemporary this_arg) in 0x004fa Mono.CSharp.Invocation:EmitCall (Mono.CSharp.EmitContext ec, Boolean is_base, Boolean is_static, Mono.CSharp.Expression instance_expr, System.Reflection.MethodBase method, System.Collections.ArrayList Arguments, Location loc, Boolean dup_args, Boolean omit_args) in 0x00024 Mono.CSharp.Invocation:EmitCall (Mono.CSharp.EmitContext ec, Boolean is_base, Boolean is_static, Mono.CSharp.Expression instance_expr, System.Reflection.MethodBase method, System.Collections.ArrayList Arguments, Location loc) in 0x00066 Mono.CSharp.Invocation:Emit (Mono.CSharp.EmitContext ec) in 0x00012 Mono.CSharp.Invocation:EmitStatement (Mono.CSharp.EmitContext ec) in 0x00011 Mono.CSharp.StatementExpression:DoEmit (Mono.CSharp.EmitContext ec) in 0x00024 Mono.CSharp.Statement:Emit (Mono.CSharp.EmitContext ec) in 0x000a0 Mono.CSharp.Block:DoEmit (Mono.CSharp.EmitContext ec) in 0x0024e Mono.CSharp.Block:Emit (Mono.CSharp.EmitContext ec) in 0x0001b Mono.CSharp.EmitContext:EmitResolvedTopBlock (Mono.CSharp.ToplevelBlock block, Boolean unreachable) in 0x00058 Mono.CSharp.EmitContext:EmitTopBlock (IMethodData md, Mono.CSharp.ToplevelBlock block, Mono.CSharp.InternalParameters ip) in 0x001e8 Mono.CSharp.MethodData:Emit (Mono.CSharp.TypeContainer container, Mono.CSharp.Attributable kind) in 0x00029 Mono.CSharp.Method:Emit () in 0x00625 Mono.CSharp.TypeContainer:EmitType () in 0x00215 Mono.CSharp.RootContext:EmitCode () in 0x00bf0 Mono.CSharp.Driver:MainDriver (System.String[] args) in 0xf Mono.CSharp.Driver:Main (System.String[] args) make: *** [msdnb.exe] Error 1 Is the problem with my mcs or something else? The source (all 2.8k of it!) can be grabbed from http://mono.shacknet.nu/downloads/msdn-browse.tar.gz (it'll save time having to find it from svn!) TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] Hello World for Mono.Cairo.dll
On Mon, 2005-08-29 at 12:43 -0600, Peter Dennis Bartok wrote: We're working on creating some samples that show the use of Mono.Cairo. We'll post a notice when they're in svn. Um, aren't they already in mcs/class/Mono.Cairo/Samples/gtk? Only thing I needed to do to compile them was alter the compile.sh file so instead of having -pkg:gtk-sharp it was changed to -pkg:gtk-sharp-2.0 That shaded demo is a bit bloody quick! TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Fresh install
Hi, I have never really managed to get a completely satisfactory mono install with all the bits in place and everything working, and in a condition where it's updateable as well. I currently have mono 1.1.7 installed, but can't get monodevelop to work at all, and don't seem to be able to update via red carpet any more, for some reason. I've not tried mod_mono yet, at all. The above sounds like you've installed bits via redcarpet and bits from source. If you haven't, have you tried running monodevelop from the command line and see (and report!) the throwback from it? Also, what errors is redcarpet throwing back? So I've decided to do a complete reinstall of SuSE Linux 9.3 on my Linux partition, in a week or so's time. This will also give me the chance to create a FAT32 partition where I can share Windows and Linux files during development. Um, are you dual booting? If you're not, why bother with a FAT32 partition? Wouldn't SAMBA be a far more efficient solution? Could someone give me some advice on what I should install for a good mono installation? I have a basic one: mono/mcs, monodevelop, monodoc, gtksharp, libgdiplus, gtksourceview-sharp, gtkmozembed-sharp. To be honest, I very rarely use monodevelop - emacs is far more usable IMO (but then I use emacs over a IDE all the time) For instance, should I install mono from the SuSE installation disks, or should I not do that but rather install mono via red carpet or something? From source. I would *always* recommend from source unless the person does not feel technically up to the task in which case, red carpet has the most up to date versions (usually) What should I do about Apache? Should I install Apache2? Go with which ever version your distro has. I think they're all on Apache2 now. You will need the Apache-devel files as well. Should I do this before installing mono, or afterwards? Should I install mod_mono from the SuSE disks, or via some other method? When you install from a set of distro discs, choose what you need from that, let it do the install. It actually makes no difference if you install Apache as part of the full install or after - it does make a difference though if you want to install mod_mono as you need it at any point *before* installing mod_mono. Again, choice is yours where to install from, but I would suggest choosing one installer system (YaST or RedCarpet for SuSE) and sticking to it. I'm really determined to get it all working this time. Any help that the list can give me will be very much appreciated. You just need to ask. If you want to go the sources route, then I'll direct you to the fountain of all knowledge which the Mono people still haven't established a link to but is hammered by new users! TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] System Requirements [or am I crazy]
Hi, So I'm asking, how much RAM do I really need for the mono/mod_mono/xsp/apache mix? I have it running on Slackware with 96Mb of memory, no GUI though. Works fine. Okay, it only serves 1/3rd the number of pages you are serving, but the memory overhead doesn't seem that huge. TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono Bug Day
Hi, What needs to be done? I think that putting the following couple of pages together on the Wiki : - General informations on bug days : * What is a bug day ? * Who can attempt ? This would need to be split and preferably, peer mentored. For example, user a may write and compile some code which clearly shows (say) MWF is broken for spot colours. This is submitted and a peer proofs the code to see that it's not user a who has made a boo-boo before submitting as a real bug. * When does it take place ? Logistically, the third is the biggest one given the diversity of places people are (I'm in the UK for instance while Peter (say) is out by 6 hours from GMT). I'd suggest that the bug day would need to be split into two half days for when the developers are around. - Detailed informations on what to do during a bug day : This can be split in two parts : bug squashing and bug triaging : * As for bug triaging : * How to find bug reports that are most important to triage ? * How to triage a bug report ? All bugs are important, just some more than others. I remember finding one very small bug in an application called TechWriterPro (it's a RISC OS app) which when investigated, proved to be massive and set back the release schedule by a month. * As for bug squashing : * How to find bug confirmed bug reports that are most important to fix ? * How to fix a bug ? Ideally, the developers, though others should never be discouraged. This is were the peer review comes into it's own - bugs which aren't bugs never get past the reviewer. along with an IRC channel and a mailing-list to announce special events (like special bug days before a release, etc.) could be a good step forward :-). Definitely! What do you think about this ? I can give some time to help organize these bug squashing/triaging thing. I can write the wiki pages too . However, I think we should discuss about conventions used by mono developers for the bugzilla system (like what version or milestone a bug report should be assigned to, etc.) before doing it. Sounds a very good set of ideas. Would this bug day be best set on a saturday or sunday though? Whatever happens, I'm happy to give over as much time as I can. I am using mono more and more now (especially as it forms the basis of some of my research project) - I can give back this way :-) TTFN Paul (watching MS.NET deinstall while thrashing the HD) -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono Bug Day
Hi, True. I'm assuming this will be a freeze before an official beta release (going by the time line). In that case, some order of importance needs to be given over - something like (most important) compiler and mono runtime - corelibs - MWF [inc. cairo/libgdiplus] - monodevelop - gtklibs - monodoc (least). I've distinguished between MWF and the corelibs as despite it being mega important, having the likes of Encoding, threading and IO streams working spot on is of greater importance as a whole. Again, I will refer to GNOME for this : they use the term showstopper for bugs that truly shows. That is, everybody get to see the consequence of the bug. As for GNOME, it can be for example the mouse pointer that get locked inside the panel, or evolution that can't send and e-mail. True. Problem here is that mono is not GNOME and while we certainly can borrow the methodology, the most important thing has to be that the compiler does as it's told and things like threading don't screw things up. How often is the screw up in MWF or gtk-sharp because of faulty code generation or a problem of the compiler? It must be highly reproductible, and affect many platforms. Yep. We have to consider Win32, MacOSX as well as many different Linux distros. Briefly, the order of importance here is given by how many users can see the bug and how much it prevents them from doing what they want. It certainly would be an interesting statistical exercise to see how many people are affected by the same bug (or more likely, same root problem bug). For example, if there's a bug that prevent monodevelop from starting, it would be marked as a showstopper, whereas not being able to compile a given type of not so often used code with the compiler (which is more a core component than monodevelop) would not. I'd actually argue that that would not constitute it being a show stopper unless it was a component (such as monodoc or gtksharp) which was at fault in which case the show stopper is not with MonoDevelop, but with the broken component, in which case we'd need to do some poking around to form a test case. Next sat sounds fine, though will there be enough time to set things up and would it be an idea for there to be a default email address (say [EMAIL PROTECTED]) whereby test cases arrive to all the reviewers and if they pass, bugzilla them? We can go this way, or mark bug that have not been reviewed as UNAPROVED and then wait for either a developer or a bug day buddy to confirm it before working on a fix. Could do. Whatever we choose, we must have some agreement from the key developers to even start thinking about seting up what we are discussing now. Couldn't agree more. Miguel, Peter, Jordi - comments? TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-dev] Obtain the available memory
Hi, I have seen that the PerformanceCounter class is yet unimplemented in mono, yet, I would like to emulate with mono, the following code PerformanceCounter counter = new PerformanceCounter(Memory, Available Bytes); /code There is the possibility to resort to command-line and to parse the output of the top -b command, but I feel that this option is very poor because the top output is not standardised at all (also this solution may yield very poor performance). I'm not sure what you mean with the top output not being standardised (it certainly wouldn't work on machines which didn't have the top program). You may be right over the performance hit though. What would you suggest to get such information on mono? Wait until PerformanceCounter is implemented? Memory is handled differently by different hardware, it's therefore very hard to get a standardised method. TTFN Paul -- Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr Who ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] help: how to compile mono for arm or some link to download binary for ARM
Hi, or How Can I compile mono for ARM? The exact same way as with any other architecture: follow the instructions for building from svn. At this time the port can't build all of mcs/ and even if it could you likely don't want to do it, since ARM processors are quite slow, WHAT? Slow in comparison to what? For some things, a 600MHz X-Scale ARM processor can blow a 2GHz x86 out of the water. Please don't make such rash statements! TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Build error in svn
Hi, Run the attached code on the system you try to compile mcs tree. And tell us the results. (It prints some redundant information but why not. :) Not able to compile either (UK, UTF-8, 65001) TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] Mono Bug Day
On Thu, 2005-08-25 at 16:04 +0200, Paolo Molaro wrote: On 08/23/05 Julien Gilli wrote: There hasn't been any feedback from several core developers on this point. So I ask the same question again :-). Do you think that it's something that could be help mono development ? Yes, it would be useful. Who is going to step up and organize everything? What needs to be done? TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-dev] Make install on Solaris 8
Hi Nit, I am running make install after a successful compile, but the problem is it keeps failing, and saying install-sh not found. install-sh should be in the root of the directory of each module (i.e. root of mono, root of gtk-sharp etc). A small favour. As you know, I have a page which details how to compile mono from source. It covers Win32, Linux, Mac but not Solaris. Any chance of a brief rundown on how to do it? You will, of course, be credited as the author. TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] mkbundle and crosscompiling
Hi, Is it possible to use mkbundle on a 2.6 kernel distro and compile an executable which can run on a 2.4 kernel + glib combination? Kernel version doesn't make a tot of difference and I doubt the glib version will either. I'll send you something off list, compiled with 2.6.12 (FC rawhide). TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono Bug Day
Hi, The bug squad days are good for GNOME development, one reason is because there are so many developers working from time to time on the code and so many bugs to squash, that everything get a bit messy quickly. Maybe this is not the case for Mono, and thus the idea of a Mono Bug Day is irrelevant. What do you think about this ? It is probably a good idea, but how many are actually developing Mono? I know there are hundreds contributing to Gnome which makes bug days do-able. That said, an alternate idea would be once Mono is in official beta, that for a week all the website, documentation and other non-programming bits are sorted out properly. Given the mono stuff I have online and how much I'm actually using it, I'm happy to do website - the current one is really badly out of date and somewhat haphazard (IMHO). While the wiki style is an improvement, having material which is correct is more important. I'd personally love to see an open source version of MSDN just to hack MS off! TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best two teams on Merseyside, Liverpool and Liverpool Reserves. - Bill Shankly ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list