Re: [Mono-docs-list] Updating class library docs
Hector E. Gomez Morales wrote: Sorry If I was grumpy but I thank you for you work and time spent, but that is peer review is all about, I think :). I didn't mind. :) One question again, I like very much some parts of your program but I like some things too from update.exe can I borrow some code from your app and use it to merge and make a new better update.exe? Yeah, go for it. I'm curious to know what you're using from update, though. -- - Joshua Tauberer http://taubz.for.net ** Nothing Unreal Exists ** ___ Mono-docs-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-docs-list
RE: [Mono-list] Simple code - differences in output between mono .Net
On Thu, 2004-03-04 at 03:13, Jonathan Stowe wrote: StreamReader mtab = new StreamReader(/etc/mtab); ArrayList stuff = new ArrayList(); string[] fields; while ( (line = mtab.ReadLine()) != null ) { fields = line.Split(new char[]{' '}); if (fields[0] != none) { stuff.Add(fields[1]); } } What happens to /proc and /proc/bus/usb with this system? -- Iain McCoy [EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Simple code - differences in output between mono .Net
On Thu, 2004-03-04 at 09:39, Iain McCoy wrote: On Thu, 2004-03-04 at 03:13, Jonathan Stowe wrote: StreamReader mtab = new StreamReader(/etc/mtab); ArrayList stuff = new ArrayList(); string[] fields; while ( (line = mtab.ReadLine()) != null ) { fields = line.Split(new char[]{' '}); if (fields[0] != none) { stuff.Add(fields[1]); } } What happens to /proc and /proc/bus/usb with this system? They are explicitly skipped as a result of the 'fields[0] != none' - if of course you wanted then in there then you could just remove that condition. As has been pointed out this is probably not vaery useful as a GetLogicalDrives on a Unix-like system. However it could be adapted to (say) a GetMountedDrives() returning an array of MountedDrive structs - this could be useful for writing 'df' or 'mount' or a disk management tool in C#. /J\ ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Simple code - differences in output between mono .Net
this could be useful for writing [..] a disk management tool in C#. Which was precisely my intention as a first big mono/GTK# app ;) -Original Message- From: Jonathan Stowe [mailto:[EMAIL PROTECTED] Sent: 04 March 2004 09:51 To: Iain McCoy Cc: COOPER, Jonathan -Syntegra UK; [EMAIL PROTECTED]; Mono-List Subject: RE: [Mono-list] Simple code - differences in output between mono .Net On Thu, 2004-03-04 at 09:39, Iain McCoy wrote: On Thu, 2004-03-04 at 03:13, Jonathan Stowe wrote: StreamReader mtab = new StreamReader(/etc/mtab); ArrayList stuff = new ArrayList(); string[] fields; while ( (line = mtab.ReadLine()) != null ) { fields = line.Split(new char[]{' '}); if (fields[0] != none) { stuff.Add(fields[1]); } } What happens to /proc and /proc/bus/usb with this system? They are explicitly skipped as a result of the 'fields[0] != none' - if of course you wanted then in there then you could just remove that condition. As has been pointed out this is probably not vaery useful as a GetLogicalDrives on a Unix-like system. However it could be adapted to (say) a GetMountedDrives() returning an array of MountedDrive structs - this could be useful for writing 'df' or 'mount' or a disk management tool in C#. /J\ This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Mono mini-meeting in Boston: March 5th and 6th
Good Morning: As of a few minutes ago, I followed the link http://www.ximian.com/about_us/contact/ and was redirected to: http://www.novell.com/company/contact.html. It was not clear if I could obtain the physical address to Ximian offices in Cambridge from the ridericted page. Just in case, the old page (as of Feb 27, 2004) stated the address below: 8 Cambridge Center, Suite 500 Cambridge, MA 02142 Phone: 617-613-2000 Francisco Paco Martinez mobile: 1.214.288.9458 http://www.mfconsulting.com/aboutus/personnel/martinf.htm ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] [ANN] Firebird .NET Data Provider 1.6 Alpha1 released
Hello: Firebird .NET Data Provider 1.6 Alpha 1 available for download. Changes in this release (Review the changelog for details): Alpha 1 ( 2004-02-04 ) - - - -- -- - - Initial support for the Firebird Embedded server. - Improved Connection Pooling implementation, now there will be different polls by connection string (like in SqlClient), each pool can have a min and max size, these can be specified in the Connection string using elements: Min Pool Size Max Pool Size - New FbScript implementation. - Improved array datatype support. - Removed Firebird Events API implementation. - New build option ( builds foud different assemblys ) : (1) FirebirdSql.Data.Firebird.dll With ADO.NET classes. (2) FirebirdSql.Data.Common.dll With common classes for all GDS implementations (3) FirebirdSql.Data.Gds.dll With classes for the native C# GDS implementation. (4) FirebirdSql.Data.FbClient.dll With classes for the PInvoke GDS implementation. --- You can read the Changelog at: http://sourceforge.net/project/shownotes.php?release_id=221426 You can download binarys for .NET 1.0 at: http://prdownloads.sourceforge.net/firebird/FirebirdNETProvider1.6-Alpha1-NET1.0.exe?download You can download binarys for .NET 1.1 at: http://prdownloads.sourceforge.net/firebird/FirebirdNETProvider1.6-Alpha1-NET1.1.exe?download You can download sources at: http://prdownloads.sourceforge.net/firebird/FirebirdNETProvider1.6-Alpha1-Src.zip?download You can download documentation at: http://prdownloads.sourceforge.net/firebird/FirebirdNETProvider1.6-Alpha1-Doc.zip?download CVS Tag: NP_1_6_ALPHA1 -- Best regards Carlos Guzmán Álvarez Vigo-Spain ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Re: win32 vs linux override discrepancy
I'm wotking with mono-0.30.2 on Linux, I'm trying to connect to MySql database with ByteFX. On Linux is very slow and return TIMED OUT. On Windows (0.30) is slow to but the connection SUCCESS. When the compilation on Win32 with .NET is success, the execution of the program without MONO, the accent(ñóíáéú) UTF8 encoding blank the string of the Gtk# LABEL, but the execution with MONO don't produce it. I'm trying with MySQLDriverCS the latest version, the compilation with mono don't success and inform me that i have to recompile the source because mono need to incremental... With .NET, the compilation is success, but i have the same problem blank GTK# Label. THANKS > I've been using gtk# on linux (mono) and win32 (.net). This has been > working flawlessly for quite a while. Now that I upgraded gtk# on linux > to 0.17, the same code does not compile on .net. I decided to compile my > 0.17 dll's using cygwin (for the first time). Not sure if I'm doing it > right. Took the 7 compiled dll's and put them in my Bin/Debug directory > of my visual studio solution. This is where I usually put them when I > download them from the gtk# site and they work. > > Assuming that I compiled them correctly, I cannot override > OnButtonPressEvent on win32 (.net). On linux it's ok. > > I get "no suitable method found to override." > > I'm using: > > protected override bool OnButtonPressEvent(Gdk.EventButton evnt) > > In order for it to work on .net, I have to use ref: > > protected override bool OnButtonPressEvent(ref Gdk.EventButton evnt) > > > Also, members of Gdk.EventButton are lower case in win32 and uppercase > on mono (linux) such as: > > button, x, and y > > Does anyone have the windows dll's for 0.17? I would like to try someone > else's? > > Regards, > > Alvaro Consigue tu correo GRATIS en Manizales.com, dale vida a tus mensajes con ms de 300 motivos gráficos. Busca el portal de tu ciudad en http://66.216.122.105 ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] ManagedGL 0.1.1
Hi all! I am working on a game library for .NET which should be completely cross-platform. The development platform is Linux with mono. I got a first version up and running, which can provide some basic graphics functionality. It is available from http://www.sourceforge.net/projects/managedgl. It includes a makefile for Linux. Version 0.1.1, currently the most current version, includes a bechmarker, which resides in the bin/Release directory after make is ran. I would like some people to test it, so I can get a grasp on the current performance. Please email me your benchmark scores at [EMAIL PROTECTED] If this thing works out, mono might become a great simple game development platform too! -- Sijmen Mulder _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Accessing member objects in destructors
Hi, Reading the Mono code i have seen sometimes a class destructor access a method of a member object: Socket socket = new Socket(); ~ { socket.Close (); } Is this correct? You can assert the socket object is not freed before XXX object? Thx, best regards. G. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Running Mono on Mac OS X Write up
Hi Griffin, very interesting write-up. I have a few questions : 1) Do you want to submit that for inclusion in the mono documentation ? We could use a MacOS HOWTO. 2) You chose not to include the boehm gc. I think we need that on MacOS X. 3) Have you tried to build GTK# on MacOS ? I am having problems getting bonobo-activation2 to build and it's a dependency of gnomeui which is a dependency of GTK# (for some stuff) ? 4) Would it be best for most people to get Mono from the Daily Snapshot (irregular) or the release instead of the anon CVS 5) What's your success in using the JIT on MacOS especially for large compilation (so mcs on mono, not mint). Just wondering. Erik On Mar 3, 2004, at 11:51 PM, Griffin Caprio wrote: Hello all, I have recently built and installed Mono on my powerbook, running Mac OS X 10.3. Since there is no real help out there for users of the Mac, I have written up the steps required in order to build Mono. Below is the link. http://homepage.mac.com/griffincaprio/mono/RunningMonoOnMacOSX.html Hope that this will help others. I will keep updating the page with any new information, or add anything that I forgot. Ciao, Griffin Caprio ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Accessing member objects in destructors
From Overriding the Finalize Method in the .NET Framework SDK documentation: An object's Finalize method should not call a method on any objects other than that of its base class. This is because the other objects being called could be collected at the same time as the calling object, such as in the case of a common language runtime shutdown. Dave -Original Message- From: Gustavo García Bernardo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 11:24 AM To: [EMAIL PROTECTED] Subject: [Mono-list] Accessing member objects in destructors Hi, Reading the Mono code i have seen sometimes a class destructor access a method of a member object: Socket socket = new Socket(); ~ { socket.Close (); } Is this correct? You can assert the socket object is not freed before XXX object? Thx, best regards. G. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Running Mono on Mac OS X Write up
On Thursday, March 04, 2004, at 11:28AM, Erik Dasque [EMAIL PROTECTED] wrote: Hi Griffin, very interesting write-up. I have a few questions : 1) Do you want to submit that for inclusion in the mono documentation ? We could use a MacOS HOWTO. Sure. Does a MacOS HOWTO exist yet? 2) You chose not to include the boehm gc. I think we need that on MacOS X. Yes, that's a glaring omission on my part. Again, there were no instructions on having to enable GC for the Mac. I have corrected this, and will be pushing out an update on building Mono w/ GC tonight. 3) Have you tried to build GTK# on MacOS ? I am having problems getting bonobo-activation2 to build and it's a dependency of gnomeui which is a dependency of GTK# (for some stuff) ? Haven't tried yet. Most of my work deals in the core ( mono mac ), but I will look into it. 4) Would it be best for most people to get Mono from the Daily Snapshot (irregular) or the release instead of the anon CVS I guess it depends on how you like to work. Personally, i like to work with CVS because Mono is in such an infant state. Daily commits to CVS are more likly to include core bugfixes and new core features. This is the opposite of a more mature product, whose CVS tree would likly be more focued on new features. 5) What's your success in using the JIT on MacOS especially for large compilation (so mcs on mono, not mint). Well, I was trying to compile my OSS project, DotNetMock, on mono, BUT i was running into trouble trying to compile NAnt first. That is how I figured out the missing GC stuff. I will say, that my DotNetMock project is fairly large, and it should be interesting to see how it performs. Just wondering. Erik Griffin On Mar 3, 2004, at 11:51 PM, Griffin Caprio wrote: Hello all, I have recently built and installed Mono on my powerbook, running Mac OS X 10.3. Since there is no real help out there for users of the Mac, I have written up the steps required in order to build Mono. Below is the link. http://homepage.mac.com/griffincaprio/mono/RunningMonoOnMacOSX.html Hope that this will help others. I will keep updating the page with any new information, or add anything that I forgot. Ciao, Griffin Caprio ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Running Mono on Mac OS X Write up
1) Do you want to submit that for inclusion in the mono documentation ? We could use a MacOS HOWTO. Sure. Does a MacOS HOWTO exist yet? Not as such, I don't believe. Haven't tried yet. Most of my work deals in the core ( mono mac ), but I will look into it. Yes, getting bonobo-activation2 to intall from Fink is the hold up for me right now. 5) What's your success in using the JIT on MacOS especially for large compilation (so mcs on mono, not mint). Well, I was trying to compile my OSS project, DotNetMock, on mono, BUT i was running into trouble trying to compile NAnt first. That is how I figured out the missing GC stuff. I will say, that my DotNetMock project is fairly large, and it should be interesting to see how it performs. Were you successful in geting NAnt to compile ? What is DotNetMock ? Erik ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Weird Exception in mod_mono
El mié, 03-03-2004 a las 12:33, Jonathan Stowe escribió: I am getting this and I can't find any reports in the list or elsewhere of anything quite the same: System.InvalidOperationException: Process has not been started. in 0x00065 System.Diagnostics.Process:get_ExitCode () in 0x00050 (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ExitCode () in 0x00231 Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters,string[],bool) in 0x00302 Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[]) in 0x0005c Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit) in 0x00123 System.Web.Compilation.CachingCompiler:Compile (System.Web.Compilation.BaseCompiler) in 0x002ab System.Web.Compilation.BaseCompiler:GetCompiledType () in 0x001de System.Web.Compilation.AspGenerator:GetCompiledType () in 0x00046 System.Web.Compilation.GlobalAsaxCompiler:CompileApplicationType (System.Web.UI.ApplicationFileParser) in 0x0003b System.Web.UI.ApplicationFileParser:GetCompiledApplicationType (string,System.Web.HttpContext) in 0x00047 System.Web.HttpApplicationFactory:CompileApp (System.Web.HttpContext) in 0x00032 System.Web.HttpApplicationFactory:InitializeFactory (System.Web.HttpContext) in 0x00096 System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext) in 0x00129 System.Web.HttpRuntime:InternalExecuteRequest (System.Web.HttpWorkerRequest) It looks like it is being fed something it doesn't like from Apache But I am not quite sure what ( it is a bog standard new apache 2 which is not doing anything else). Any ideas what might be causing this or where I should be looking to find out myself? Ensure that mcs is in your PATH environment variable and is executable when you run mod-mono-server. -Gonzalo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Accessing member objects in destructors
Hi Gustavo Did you mean object destructor or did you really mean a class destructor? For a *class* destructor, I would say that accessing methods of member objects would be correct because, AFAIK, as there isn't any other point at which the class is told to release it's resources. For an *object* destructor, I would say that accessing methods of member objects is incorrect: implement IDisposable instead. As I understand it, disposal happens as requested or when an object is made available for garbage collection, whereas destruction is done whenever the garbage collector decides to get around to it. When destruction happens, you have no guarantee that any of your references to member objects are still valid. I'm sure someone will correct me if I'm wrong, but for now that's my two cents. Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo García Bernardo Sent: Thursday, March 04, 2004 10:24 AM To: [EMAIL PROTECTED] Subject: [Mono-list] Accessing member objects in destructors Hi, Reading the Mono code i have seen sometimes a class destructor access a method of a member object: Socket socket = new Socket(); ~ { socket.Close (); } Is this correct? You can assert the socket object is not freed before XXX object? Thx, best regards. G. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Missing classes in gtk-sharp
Hi all, I've just checked out the latest mono stuff from CVS and I'm not able to build monodoc because the following classes are missing in gtk-sharp: UrlRequestedArgs LinkClickedArgs OnUrlArgs Any idea? j3d. -- Giuseppe Greco ::agamura:: phone: +41 91 604 67 65 mobile: +41 76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] monoDevelop (how do i get a beta copy) ?
I really need to start into monoDevelop. I am developing some web sites with mono and my employees are ok using MS visual .Net shit, but i have been using Linux on the desktop for 2+ years now and I can't go back to touching a Windows box (for obvious reasons). So i would love to try monoDevelop even if it was pretty buggy and beta. Anyone know how i can get a copy (like today?). There is notes in CVS about SVN but all require a keygen, and I don't need to commit work, just grab a copy, and I don't want to go through a SVN install and a keygen, if someone can just email me a copy or direct me on how to get it - please. Thanks in advance -tl ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Repeaters
This is my first post to this mailing list, so please tell me if this in not the most appropriate place to ask this question. I have scoured the net for information regarding this problem, but have come up empty. Maybe somebody here has some insight into this problem. I have some C# code that creates a Repeater and then assigns a template to it. This works as documented under IIS, but doesn't work at all under Mono. Here is ther error I get: System.NullReferenceException: A null value was found where an object instance was required in 0x0007e System.Web.UI.TemplateControl:GetTypeFromControlPath (string) in 0x0001d System.Web.UI.TemplateControl:LoadTemplate (string) in 0x00356 Pangomedia.Sitechunk.Page:Render (System.Web.UI.HtmlTextWriter) in 0x0001c System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter) in 0x000de System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter) in 0x00011 System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter) in 0x0344e Pangomedia.Sitechunk.Controller:Render (System.Web.UI.HtmlTextWriter) in 0x0001c System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter) in 0x000de System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter) in 0x00011 System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter) in 0x0001c System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter) in 0x0041f System.Web.UI.Page:InternalProcessRequest () in 0x0008f System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) in 0x00186 .ExecuteHandlerState:Execute () in 0x00084 .StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool) It appears that System.Web.UI.TemplateControl.GetTypeFromControlPath is returning a null value (called from LoadTemplate()). Here is the code used: foo.aspx: %@ Page validateRequest=false language=C# Debug=true % %@ register tagprefix=MN namespace=My.Namespace assembly=Foo % MN:Foo id=some_id runat=server / Foo.cs: using System; using System.Collections; using System.Web; using System.Web.UI.WebControls; namespace My.Namespace { public class Foo: System.Web.UI.Page { System.Web.UI.HtmlTextWriter writer; public Foo() { ArrayList list = new ArrayList(); list.Add(foo); Repeater rpt = new Repeater(); rpt.ItemTemplate = LoadTemplate(bar.ascx); rpt.DataSource = list; rpt.DataBind(); Controls.Add(rpt); base.Render(writer); } } } bar.ascx %@ Control Language=C# % html head /head body This is bar.ascx /body /html Ideas, anyone? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] monoDevelop (how do i get a beta copy) ?
On Thu, 2004-03-04 at 21:47, ted leslie wrote: I really need to start into monoDevelop. I am developing some web sites with mono and my employees are ok using MS visual .Net shit, but i have been using Linux on the desktop for 2+ years now and I can't go back to touching a Windows box (for obvious reasons). So i would love to try monoDevelop even if it was pretty buggy and beta. Anyone know how i can get a copy (like today?). There is notes in CVS about SVN but all require a keygen, and I don't need to commit work, just grab a copy, and I don't want to go through a SVN install and a keygen, if someone can just email me a copy or direct me on how to get it - please. A somewhat old snapshot can be found here: http://devservices.go-mono.com/MonoDevelop/ Version 0.1 will be released soon. /Richard signature.asc Description: This is a digitally signed message part
Re: [Mono-list] Simple code - differences in output between mono .Net
David Sheldon [EMAIL PROTECTED] writes: On Wed, Mar 03, 2004 at 10:11:28AM -0500, Nick Berardi wrote: I guess logical drives in Linux is just the root. But I would think that they would include the mount points in here? Don't you think? Because basically that is all that a Windows Drive is. A mounted partition. Anybody on the list disagree? I disagree. The call is get*Logical*Drives. Linux only has a single logical drive, though it is made up of several physical drives mounted into it. If you enumerate /, /cdrom, /floppy, /mnt/moredisk, /mnt/moredisk/someNFSserver then you will end up with applications double counting files and generally recursing over more then they need to in order to find a file. Indeed. What is the definition of a propspective mountpoint anyway? Things in /mnt? Things like /{floppy,cdrom}? Things declared with `noauto' in /etc/fstab? What about LVM mountpoints? Or things that *are* actually mounted but that *aren't* generally transient in nature - /, /usr, /var, /home, whatever else people tend to peel-off? There's a case to be made for most of the above, I think - but I would only go with / as the most portable, myself. ~Tim -- Product Development Consultant OpenLink Software Tel: +44 (0) 20 8681 7701 Web: http://www.openlinksw.com Universal Data Access Data Integration Technology Providers ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Problem with XSP
Sir, My name is Siddhartha Upadhyaya. I want to create an environment for ASP.Net in Linux environment. For this I am using the tools provided by mono. I successfully build the c# compiler, which successfully working with "Hello World" and as well as some database operation (Postgresql Npgsql MS-Sql database). It is working fine. For ASP.Net I need a web server and I download XSP. I compile it and except some database operation it is working fine with the test site comes with XSP. Now I want to bind XSP with Apache (1.3 I am using). For this I compile mod_mono. The module is build properly, and I make the changes required for mono modules. Since during Apache startup it is not providing any error, but when I am requesting for the ASP.Net virtual directory, it is showing 403 (forbidden) error. Can you suggest me what problem it is. And which file is the configuration file for mod_mono_server, like in Java-tomcat server.xml is the configuration file. With Thanks Regards Siddhartha Upadhyaya Ps: I change the permission for the socket file mod_mono..., to 0777. Still it is not working. Do you Yahoo!? Yahoo! Search - Find what youre looking for faster.
Re: [good] Re: [Mono-list] monoDevelop (how do i get a beta copy) ?
Great but ... for deps i might be stuck on not having cvs to get gtksourceview-sharp.. is it available anywhere for a quick download? (sorry down know about Red Carpet or their channels). From README on monoDev ... gtksourceview = 0.7 gtksourceview-sharp from mono's cvs (gtksourceview is available on Red Carpet, on many of the OpenCarpet channels.) -tl Richard Torkar wrote: On Thu, 2004-03-04 at 21:47, ted leslie wrote: I really need to start into monoDevelop. I am developing some web sites with mono and my employees are ok using MS visual .Net shit, but i have been using Linux on the desktop for 2+ years now and I can't go back to touching a Windows box (for obvious reasons). So i would love to try monoDevelop even if it was p Anyone know how i can get a copy (like today?). There is notes in CVS about SVN but all require a keygen, and I don't need to commit work, just grab a copy, and I don't want to go through a SVN install and a keygen, if someone can just email me a copy or direct me on how to get it - please. A somewhat old snapshot can be found here: http://devservices.go-mono.com/MonoDevelop/ Version 0.1 will be released soon. /Richard ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [good] Re: [Mono-list] monoDevelop (how do i get a beta copy) ?
On Thu, 2004-03-04 at 22:23, ted leslie wrote: Great but ... for deps i might be stuck on not having cvs to get gtksourceview-sharp.. is it available anywhere for a quick download? (sorry down know about Red Carpet or their channels). From README on monoDev ... gtksourceview = 0.7 gtksourceview-sharp from mono's cvs (gtksourceview is available on Red Carpet, on many of the OpenCarpet channels.) It's available on the mono cvs as well. http://www.go-mono.com/ccvs.html The name of the module is gtksourceview-sharp I believe. /Richard signature.asc Description: This is a digitally signed message part
[Mono-list] Debugger problem
I'm trying to run some code through the debugger but I'm having trouble setting breakpoints. I can set a breakpoint using: break Sandbox.cs : 6 But this is on a very simple project. When I try breaking on a file in the XSP project (specifically XSPApplicationHost.cs:303) I get this error: $ break XSPApplicationHost.cs : 303 No method contains the specified file/line. Has anyone had much luck with debugging Mono apps, or how do other people do it? Cheers -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Accessing member objects in destructors
Below... On Thu, 2004-03-04 at 15:01, Uppenborn, Jason wrote: snip/ For a *class* destructor, I would say that accessing methods of member objects would be correct because, AFAIK, as there isn't any other point at which the class is told to release it's resources. What, pray tell, is a class destructor, as opposed to an object destructor? The destructor syntax is used to implement the class finalizer, which is very different from a C++ destructor. The finalizer overrides System.Object.Finalize, and is thus a method, and only applies to instances of a class, not the class itself. I'm not sure what a class destructor would be. I can imagine it would be something called when the class is unloaded, in which case listening to the AppDomain.Unload event is the nearest equivalent... For an *object* destructor, I would say that accessing methods of member objects is incorrect: implement IDisposable instead. As I understand it, disposal happens as requested or when an object is made available for garbage collection, whereas destruction is done whenever the garbage collector decides to get around to it. When destruction happens, you have no guarantee that any of your references to member objects are still valid. I'm sure someone will correct me if I'm wrong, but for now that's my two cents. Here's the correction: System.Object.Finalize is called when the object is collected by the Garbage Collector. You should NEVER access member objects from your finalizer, as those members may have already had their Finalize methods called, though memory may not have been reclaimed yet. .NET's GC does NO ordering of object finalization, so it's quite possible for your members to be finalized before you are. Exception: Unmanaged resources. The GC doesn't know anything about them, so it's your responsibility to deal with these resources. Exception 2: You really know what you're doing, or you're part of the runtime infrastructure itself, and make sure that all objects involved can have their Finalize (or Dispose) methods called *safely* multiple times. One example I heard about was .NET's System.Threading.Thread finalizer, which needs to make sure it doesn't finalize the Finalizer thread. :-) This is why the typical IDisposable implementation only accesses members when Dispose was explicitly called. When the finalizer executes, nested members aren't accessed. For example: class Test : IDisposable { IDisposable nested; public void Dispose () { Dispose (true); } ~Test () { Dispose (false); } protected virtual void Dispose (bool disposing) { if (disposing) { // safe to access members if (nested != null) nested.Dispose (); } // Always deal with unmanaged members here. } } - Jon ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Problem with XSP
The socket file is changed back every time xsp is started, maybe that is your problem. WhatI do is start XSP with sudo and have it run under apache's user/group. Solves those problems nicely and doesn't make you chmod a potentially important file 777 :) Another thing are you sure you setup apache correctly? You may want to add index.aspx to your index pages. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Siddhartha UpadhyayaSent: Wednesday, March 03, 2004 9:05 PMTo: [EMAIL PROTECTED]Subject: [Mono-list] Problem with XSP Sir, My name is Siddhartha Upadhyaya. I want to create an environment for ASP.Net in Linux environment. For this I am using the tools provided by mono. I successfully build the c# compiler, which successfully working with "Hello World" and as well as some database operation (Postgresql Npgsql MS-Sql database). It is working fine. For ASP.Net I need a web server and I download XSP. I compile it and except some database operation it is working fine with the test site comes with XSP. Now I want to bind XSP with Apache (1.3 I am using). For this I compile mod_mono. The module is build properly, and I make the changes required for mono modules. Since during Apache startup it is not providing any error, but when I am requesting for the ASP.Net virtual directory, it is showing 403 (forbidden) error. Can you suggest me what problem it is. And which file is the configuration file for mod_mono_server, like in Java-tomcat server.xml is the configuration file. With Thanks Regards Siddhartha Upadhyaya Ps: I change the permission for the socket file mod_mono..., to 0777. Still it is not working. Do you Yahoo!?Yahoo! Search - Find what youre looking for faster.
Re: [Mono-list] Running Mono on Mac OS X Write up
On Mar 4, 2004, at 1:13 PM, Erik Dasque wrote: 1) Do you want to submit that for inclusion in the mono documentation ? We could use a MacOS HOWTO. Sure. Does a MacOS HOWTO exist yet? Not as such, I don't believe. Should we start one up? I have no problem maintaining one. Haven't tried yet. Most of my work deals in the core ( mono mac ), but I will look into it. Yes, getting bonobo-activation2 to intall from Fink is the hold up for me right now. 5) What's your success in using the JIT on MacOS especially for large compilation (so mcs on mono, not mint). Well, I was trying to compile my OSS project, DotNetMock, on mono, BUT i was running into trouble trying to compile NAnt first. That is how I figured out the missing GC stuff. I will say, that my DotNetMock project is fairly large, and it should be interesting to see how it performs. Were you successful in geting NAnt to compile ? What is DotNetMock ? No, I haven't gotten NAnt to compile. I keep trying, but I am getting strange errors. DotNetMock is a open source library for implementing Mock Objects in .NET. I am the creator admin of the project. They are very useful for unit testing. -Griffin Erik ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] libmySQL-Dll not found exception
I installed mySQL using the MySql rpms (v 4.0.18.0). I tried executing the TestMySqlExecuteReader.cs program in /mcs/class/Mono.Data.MySql/Test and got the following exception: Unhandled Exception: System.DllNotFoundException: libmySQL in 0x0005c (wrapper managed-to-native) Mono.Data.MySql.MySql:Init (intptr) in 0x000f2 Mono.Data.MySql.MySqlConnection:Open () in 0x0004f (wrapper remoting-invoke-with-check) Mono.Data.MySql.MySqlConnection:Open () in 0x00093 TestSystemDataSqlClient.TestSqlDataReader:Main (string[]) I then added a symbolic link from /usr/lib/libmysqlclient.so to /usr/lib/libmySQL.so using ln -s libmysqlclient.so libmySQL.so Now executing TestMySqlExecuteReader.cs I get the following exception: Unhandled Exception: System.EntryPointNotFoundException: mysql_connect in 0x0005c (wrapper managed-to-native) Mono.Data.MySql.MySql:Connect (intptr,string,string,string,string,uint,string,uint) in 0x0017f Mono.Data.MySql.MySqlConnection:Open () in 0x0004f (wrapper remoting-invoke-with-check) Mono.Data.MySql.MySqlConnection:Open () in 0x00093 TestSystemDataSqlClient.TestSqlDataReader:Main (string[]) What should I do to make the program run correctly? Regards, Roopa ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list