RE: [Mono-list] Re: [Mono-docs-list] Mono 1.0 quickly approaching.
Trying to get on http://www.go-mono.com:8080/ to help with doc but it's not working. -Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel de Icaza Sent: Monday, April 26, 2004 9:41 PM To: Joshua Tauberer Cc: Mono Docs; [EMAIL PROTECTED] Subject: [Mono-list] Re: [Mono-docs-list] Mono 1.0 quickly approaching. Hello! We are only nine weeks from Mono 1.0, and now is a perfect time to start documenting some classes using Monodoc if you have some spare time. Only 21,118 things left to document in corlib! (This is the number of occurences of To be added in the corlib XML files, which are now pretty much in sync with the actual assembly.) Those are fantastic news! That means that statistically, likelyhood of two people documenting the same class simultaneously is almost zero. So everyone, start hitting those [Edit] links in Monodoc ;-) Miguel ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-docs-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-docs-list
Re: [Mono-docs-list] xsl bug with 0.31?
Hello, It seems monodoc is broken with mono/mcs 0.31. Here is the output of monodoc T:System.String. node `debugger' is not defined on the documentation map node `classlib-gtkmozembed' is not defined on the documentation map free(): invalid pointer 0x41e1c740! Trying: T:System.String This works for me, am wondering if you could track where that free() call is coming from. And also mono --debug might be helpful here. Miguel ___ Mono-docs-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-docs-list
RE: [Mono-list] Re: [Mono-docs-list] Mono 1.0 quickly approaching.
hello, Trying to get on http://www.go-mono.com:8080/ to help with doc but it's not working. Well, to help you need Monodoc, the inline editing is not available on the web site edition, only on the Gtk# client. ___ Mono-docs-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-docs-list
RE: [Mono-list] Re: [Mono-docs-list] Mono 1.0 quickly approaching.
On Tue, 2004-04-27 at 18:12, Dan wrote: Miguel, My mistake, I saw this on the bottom of the http://www.go-mono.com/classlib-doc.html page: The terminology is a little confusing: the documentation viewing program, monodoc, is called the browser for short. That's what the statement is referring to, not a web browser. Peter -- Peter Williams [EMAIL PROTECTED] [Ninjas] are cool; and by cool, I mean totally sweet. -- REAL Ultimate Power ___ Mono-docs-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-docs-list
[Mono-docs-list] Easing the documentation process
I've just been filling in some stuff in the Activator class. One thing that occurs frequently here is a lot of similar methods; because every function just creates an instance of a type, the descriptions for the functions are very similar. All of the functions have similar sets of overloads, too. What I'm thinking is that it might be handy to have a duplicate documentation button, which takes all of the docs for one method and replicates them as much as is sensible for another. Does this sound useful to other people? I'll look at implementing it if other people think it sounds good. -- Iain McCoy [EMAIL PROTECTED] ___ Mono-docs-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-docs-list
[Mono-list] System.Data.Odbc.dll
Hi, Where I can find System.Data.Odbc.dll ??? Eric == If you know what you are doing, it is not called RESEARCH! == ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] heads up
| -Original Message- | From: [EMAIL PROTECTED] [mailto:mono-list- | [EMAIL PROTECTED] On Behalf Of Jackson Harper | Sent: Tuesday, April 27, 2004 3:46 PM | To: mono-devel mailing list; mono-list | Subject: [Mono-list] heads up | | Hello, | | I have just committed some changes to our build system. We now | build | libraries for each profile into their own directory class/lib/$(PROFILE) | so that we can build all the profiles libraries at once without them | overwriting each other. Since this is such a large change there may be | issuesplease reply to the list with anything you notice. | Jackson, Here's what I noticed: 'make test' from mcs doesn't work anymore. NUnit.Framework.dll is not being copied into class/lib/default. Nick D. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] evolution-sharp
On Tue, 2004-04-27 at 09:25 +0200, Michael Zehrer wrote: Hi, Are there any examples or docs about evolution-sharp? Hello. The build brings doc's stubs for Monodoc. Another good resource is the source code at dashboard/backends/EvolutionAddressbookBackend.cs from the dashboard project (http://nat.org/dashboard/) Regards. -- cesar lopez nataren [EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] SPARC v9 roadmap
Hi folks, I ran into this just now and was wondering when we could expect to see support for UltraSPARC? depmode=none /bin/bash ../../depcomp \ /bin/bash ../../libtool --mode=compile cc -xtarget=ultra -xarch=v9 -xcode=pic32 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgc/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -mt -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include-DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -DNO_UNALIGNED_ACCESS -g -Dinline= -g -c -o mini-sparc.lo `test -f 'mini-sparc.c' || echo './'`mini-sparc.c rm -f .libs/mini-sparc.lo cc -xtarget=ultra -xarch=v9 -xcode=pic32 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgc/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -mt -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -DNO_UNALIGNED_ACCESS -g -Dinline= -g -c mini-sparc.c -KPIC -DPIC -o mini-sparc.o mini-sparc.c, line 82: #error: Sparc V9 support not yet implemented. cc: acomp failed for mini-sparc.c gmake[4]: *** [mini-sparc.lo] Error 1 gmake[4]: Leaving directory `/var/tmp/mono-0.31/mono/mini' gmake[3]: *** [all] Error 2 As it stands neither Mono nor Pnet will compile on Solaris 64 bit with the Sun compiler, so GNU gettext can't be fully compiled. Thanks, Mark. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] System.Data.Odbc.dll
System.Data.Odbc is found in the System.Data.dll assembly. This is because the default setup for Mono is based on .NET 1.1 which has System.Data.Odbc in System.Data.dll There is no System.Data.Odbc.dll. However, I wonder if we could create a stand alone Microsoft.Data.Odbc.dll to be compatible with .NET 1.0 which also uses a namespace of Microsoft.Data.Odbc. It is not included with .net 1.0, but is something you can download from Microsoft to add ODBC support to .NET 1.0. Remember: an assembly can contain many different namespaces. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Chow Sent: Wednesday, April 28, 2004 4:20 AM To: [EMAIL PROTECTED] Subject: [Mono-list] System.Data.Odbc.dll Hi, Where I can find System.Data.Odbc.dll ??? Eric == If you know what you are doing, it is not called RESEARCH! == ___ 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] Getting ASP .NET Apache module to work with 1.3.29
Hmm, so I should just follow the documentation for compilation of Mono, and mod-mono? Is there any better tutorial for getting mod_mono to work from start to finish? As I said, it seems like the mono documentation is a bit out of date. Hello Robert, -Original Message- From: [EMAIL PROTECTED] [mailto:mono-list- [EMAIL PROTECTED] On Behalf Of Robert Geller Sent: Tuesday, April 27, 2004 11:40 PM Is there ANY way at all I could get the ASP .NET module to work with Apache 1.3.29? I have it running with Apache 1.3.27 and a CVS version of last week. mod_mono recognizes the Apache version during compilation. My http.conf entries look like: LoadModule mono_module /usr/lib/apache/mod_mono.so MonoRunXSP True MonoExecutablePath /usr/local/bin/mono MonoServerPath /usr/local/bin/mod-mono-server.exe MonoApplications /xsptest:/usr/local/share/xsp/doc/test Alias /xsptest /usr/local/share/xsp/doc/test Directory /usr/local/share/xsp/doc/test SetHandler mono IfModule mod_dir.c DirectoryIndex index.aspx /IfModule Order allow,deny Allow from all /Directory HTH, Joerg. --Robert Geller Creative Director Works of Magic Productions 3403 St. Pauls Fairfax, VA 22031 703.279.1637 Fax: 703.279.1607 ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Getting ASP .NET Apache module to work with 1.3.29
Hello Robert, -Original Message- From: Robert Geller [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 2:40 PM Hmm, so I should just follow the documentation for compilation of Mono, and mod-mono? Is there any better tutorial for getting mod_mono to work from start to finish? As I said, it seems like the mono documentation is a bit out of date. I've compiled them without problems on Suse 8.2. The only thing I needed additionally was the development package for Apache. Joerg. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Getting ASP .NET Apache module to work with 1.3.29
Why do you need the Apache-Dev package? Hello Robert, -Original Message- From: Robert Geller [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 2:40 PM Hmm, so I should just follow the documentation for compilation of Mono, and mod-mono? Is there any better tutorial for getting mod_mono to work from start to finish? As I said, it seems like the mono documentation is a bit out of date. I've compiled them without problems on Suse 8.2. The only thing I needed additionally was the development package for Apache. Joerg. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list --Robert Geller Creative Director Works of Magic Productions 3403 St. Pauls Fairfax, VA 22031 703.279.1637 Fax: 703.279.1607 ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Getting ASP .NET Apache module to work with 1.3.29
Why do you need the Apache-Dev package? For compilation of mod_mono. Joerg. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] PalmOS
I don't believe PalmOS has a GTK implementation, does it ? Also, Mono hasn't been ported to the Palm OS. Erik On Apr 27, 2004, at 9:33 PM, felipe maya wrote: x-tad-smallerSomthing know if mono-gtk programs run on PalmOS for palm, handspring, sony clie, etc. /x-tad-smallerx-tad-smaller THANKS/x-tad-smallerx-tad-smallerConsigue tu correo GRATIS en /x-tad-smallerx-tad-smallerManizales.com/x-tad-smallerx-tad-smaller,/x-tad-smallerx-tad-smaller dale vida a tus mensajes con más de 300 motivos gráficos./x-tad-smallerx-tad-smaller Busca el portal de tu ciudad en /x-tad-smallerx-tad-smallerhttp://66.216.122.105/x-tad-smallerx-tad-smaller ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list/x-tad-smaller
[Mono-list] Global.asax.cs problems; from Visual Studio .NET to Mono/XSP.
Hi there! I have some code generated using VS.NET. I tried to run that very same code using Mono/XSP and I got an error 500 (System.NullReferenceException) from it. Apparenly this is due to a line where `Application[ContadorAccesos].ToString()' is consulted before it is initialized. The trick here is that `Application[ContadorAccessos]' is actually initialized in the Global.asax.cs file (set to zero on the method Application_Start of class Global. Somehow VS.NET executes the initialization prior to the value being consulted, while Mono/XSP does not. I have tried stuff like compiling the files in different ways and under different names; none of them with success. The latest command line I used was mcs Global.asax.cs AssemblyInfo.cs Session.aspx.cs -r:System.Web -r:System.Drawing -r:System.Data -t:library -o bin/Session.aspx.dll The stack trace is shown at the bottom of this message, and the four related files are attached as well. I hope you can help me understand how to use the Global.asax(.cs) file(s) and anything else I should know in order to be able to deploy some of my VS.NET generated code using Mono/XSP. Thanks for your help. Stack Trace: System.NullReferenceException: Object reference not set to an instance of an object in 0x0003d WebAppLatam.Session:Page_Load (object,System.EventArgs) in 0x0005a (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in 0x00090 System.Web.UI.Control:OnLoad (System.EventArgs) in 0x00033 System.Web.UI.Control:LoadRecursive () in 0x0018b System.Web.UI.Page:InternalProcessRequest () in 0x0008d System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) in 0x00327 ExecuteHandlerState:Execute () in 0x0007e StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool) %@ Page language=c# Codebehind=Session.aspx.cs AutoEventWireup=false Inherits=WebAppLatam.Session % !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTML HEAD titleSession/title meta name=GENERATOR Content=Microsoft Visual Studio .NET 7.1 meta name=CODE_LANGUAGE Content=C# meta name=vs_defaultClientScript content=JavaScript meta name=vs_targetSchema content=http://schemas.microsoft.com/intellisense/ie5; /HEAD body form id=Form1 method=post runat=server PFONT color=#ff size=5STRONGApplication y Session/STRONG/FONT/P PNumero de accesos: asp:Label id=lblContador runat=server/asp:Label/P P asp:Button id=btnContador runat=server Text=Incrementa el contador/asp:Button/P PFONT color=#cc66cc size=5STRONGAutenticacion/STRONG/FONT/P PNombre: asp:TextBox id=txtNombre runat=server/asp:TextBox/P PClave: asp:TextBox id=txtClave runat=server/asp:TextBox/P P asp:Button id=btnCrea runat=server Text=Crear sesion/asp:Buttonnbsp; asp:Button id=btnLee runat=server Text=Leer sesion/asp:Button asp:Button id=btnAbandona runat=server Text=Abandonar sesion/asp:Button/P P asp:Label id=lblSesion runat=server/asp:Label/P P asp:HyperLink id=HyperLink1 runat=server ImageUrl=VerificaSession.aspxVerifica Sesion/asp:HyperLink/P Pnbsp;/P /form /body /HTML using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace WebAppLatam { /// summary /// Descripción breve de Session. /// /summary public class Session : System.Web.UI.Page { protected System.Web.UI.WebControls.Label lblContador; protected System.Web.UI.WebControls.Button btnContador; protected System.Web.UI.WebControls.TextBox txtNombre; protected System.Web.UI.WebControls.TextBox txtClave; protected System.Web.UI.WebControls.Button btnCrea; protected System.Web.UI.WebControls.Button btnLee; protected System.Web.UI.WebControls.Button btnAbandona; protected System.Web.UI.WebControls.Label lblSesion; protected System.Web.UI.WebControls.HyperLink HyperLink1; private void Page_Load(object sender, System.EventArgs e) { //Console.WriteLine(Application[ContadorAccesos].ToString());
[Mono-list] Nemerle 0.1.2 released
The 0.1.2 release of the Nemerle compiler has hit our server. 0.1.2, Apr 28 2004 This release brings several important bugfixes, more documentation (great thanks to our techwriter for making it more readable) and improvements in macro subsystem. * Macros are now hygienic -- that is each macro invocation introduces new virtual namespace for generated names. See meta-programming paper for details. * Macros themselves now sits in namespaces. Notable example is printf, that is now Nemerle.IO.printf. You will need to update your sources. Common macros (like if and while) are in Nemerle.Core, so no changes are needed. * Symbols in macro quotations are now bound to their global meaning (e.g. imported namespaces, nesting in modules) at the place of quotation definition, not the place of macro use. * The - operator now properly computes each expression just once. * Loading assembly with -r flag now loads also all assemblies referenced by it. * New integer operators , , %|, % and %^ for common bitwise functions. * New -- and ++ prefix operators for decrement/increment (both return void). * Events can be now accessed with add_EventName and remove_EventName, no +=/-= syntax yet. * Full support for various integer and floating point types (like uint, long, double etc). Literals like 0u, 0l, 3.14f are now also supported. * System.Windows.Forms examples can now be compiled. * foo bar is now single string literal. * Added preliminary SQL helper macros. * Reordered parameters of Fold and Map in Hashtable to match List. * Few fixes in error messages. * Several other bugfixes (particularly with code generation and boxing). * Compiler now properly checks if type of field/method is as accessible as the field/method itself. * Resolved some lengthy compilation issues with Gtk# and System.Windows.Forms types. * Resolved problem with literal fields on Windows. * Under Unix we now require mono 0.31 or later, The deb packages might be a bit out of sync, they should be fixed tomorrow. MSI and RPM packages (as well as the source tarball of course) are OK. The source tarball can be downloaded from: http://nemerle.org/download/nemerle-0.1.2.tar.gz And other packages as usual from: http://nemerle.org/download.html ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Mono build broken on Windows
Guys, guys settle down: I posted a patch to this on the dev-list about a week ago, but nobody replied/approved it. - Urs -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: Tuesday, April 27, 2004 11:06 PM To: Daniel Morgan; [EMAIL PROTECTED] Subject: Re: [Mono-list] Mono build broken on Windows - Original Message - From: Daniel Morgan [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 2:00 AM Subject: RE: [Mono-list] Mono build broken on Windows At this point, mono has been built successfully. If you'll notice, it is only coping Mono.CSharp.Debugger.dll during make install. I agree that mono has been successfully built, but I definitely get the error during make, not make install. Since the debugger does not work on Windows, the assembly is not needed. Ok, but it should not cause the make to fail ... The mono-build-w32.sh automatically does a make install. I'm not using that script ... You can always manually copy the assemblies over that you need. Sure, but I'm sure this issue will get fixed soon ... Thanks ! Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gert Driesen Sent: Tuesday, April 27, 2004 1:57 AM To: [EMAIL PROTECTED] Subject: [Mono-list] Mono build broken on Windows Hi, Apparently the Mono build is broken on Windows : Making all in runtime make[2]: Entering directory `/cygdrive/d/cvs/mono/mono/runtime' cp -f /usr/local/lib/Mono.CSharp.Debugger.dll . cp: cannot stat `/usr/local/lib/Mono.CSharp.Debugger.dll': No such file or directory make[2]: *** [Mono.CSharp.Debugger.dll] Error 1 make[2]: Leaving directory `/cygdrive/d/cvs/mono/mono/runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/cvs/mono/mono' make: *** [all] Error 2 The Mono.CSharp.Debugger assembly is only built on unix, hence the error ... Gert ___ 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 debugger.patch Description: Binary data
[Mono-list] Help wanted for Minosse RDBMS project
Hi all guys! Some of you already know me, but, anyway, let me introduce myself. My name's Antonio Provenzano, from Palermo, Sicily. I recently published one of my projects, named Minosse, a complete Relational DataBase System entirely written in C#. It is intended to be a good competitor to MySQL, PostgreSQL or Interbase database systems, to embed in Mono-built applications (being it intended to run mainly under Mono Runtime). The fact is that the project is huge, the bugs a lot and the ACTIVE developers very few. The cause I'm posting this topic is easily guessed: I would like to ask the help of all the developers that would like to contribute to the project. For further informations, please refere to the following links: http://www.minosse.com http://forge.novell.com/modules/xfmod/project/?minosse [EMAIL PROTECTED] (for contacting me personally out of the mailing list). I wish to thank you everyone for the kindness and the help given to me and (mainly) to the project. Ciao! Antonello ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Apache virtual hosts, all or some mod_mono
Maybe I can make my question more clear. I have one Apache 2.0 server running. It must handle requests for several domains: gerontology.byu.edu fhss.byu.edu familylife.byu.edu and anyway you get the idea. Several of these domains will be sites that use mod_mono, all on the same Apache 2.0.49 server. I can use virtual hosts in Apache to get Apache to respond with different root directories for each URL request. My problem is getting mod_mono to also recognize the virtual hosts (NOT virtual directories within one host) and serve up the correct root directories. Here is what we are trying in httpd.conf: LoadModule mono_module modules/libmod_mono.so # Note that these next paths are NOT virtual directories, but should be roots in virtual hosts MonoApplications /:/var/www/gerontology,/:/var/www/fhss,/:/var/www/familylife # ... NameVirtualHost *:80 VirtualHost *:80 ServerName gerontology.byu.edu DocumentRoot /var/www/gerontology /VirtualHost VirtualHost *:80 ServerName fhss.byu.edu DocumentRoot /var/www/fhss /VirtualHost The trouble is that mod_mono appears to be trying to pull, for example, FHSS.byu.edu content from gerontology.byu.edu. There is no way to specify virtual hosts in the MonoApplications directive, rather just virtual directories, which doesn't fit here. Thanks in advance for your help! Andrew Arnott From: [EMAIL PROTECTED] on behalf of Gonzalo Paniagua Javier Sent: Tue 4/27/2004 2:31 AM To: [EMAIL PROTECTED] Subject: Re: [Mono-list] Apache virtual hosts, all or some mod_mono El lun, 26-04-2004 a las 22:53, Andrew Arnott escribió: I am trying to set up multiple virtual hosts on Apache 2.0.49. Each of which of course has its own physical root directory. Trouble is the MonoApplications line only takes virtual directory paths. Running mod-mono-server.exe and looking at the argument syntax doesn't help. How can I have multiple virtual roots on various virtual hosts, and configure Mono to work on them all? MonoApplications takes virtual:physical pairs separated by a comma. For your purpose, you have to use the 'Alias virtual physical' apache directive and when configuring the virtual host, set mod_mono as the handler for the virtual directory for that virtual host. -Gonzalo ___ 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] Mono build broken on Windows
- Original Message - From: Urs Muff [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Daniel Morgan [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 5:33 PM Subject: RE: [Mono-list] Mono build broken on Windows Guys, guys settle down: I don't think any of us was getting worked up I see no reason for that anyway... Gert ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Question about attributes
Hi ! I've question about attributes in Mono. I would like to comment my assemblys by using attributes (meta-attributes...) and i'm wondering if there is rules (or preconisations...) about which attributes using... Thanks for any help ! -- Xiii29 [EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Overlapped IO was Re: [Mono-list] threads and Async Socket methods
Sorry for replying to myself, but I thought some other people might benefit from seeing a few references. It seems what I am interested in is the following question: Does Mono support overlapped IO on the asynchronous socket calls. Winsock does support this. It seems the .Net framework is supposed to support this. When I put a server under heavily load, this fails on mono 0.31 on debian unstable. Any Mono guru's out there care to comment on Overlapped IO on Sockets in mono? I have found some background links discussing various issues with overlapped IO and unix: Wine has had to deal with this: http://www.winehq.org/hypermail/wine-devel/2001/11/0020.html http://www.kerneltraffic.org/wine/wn20020726_130.html#3 Here is a discussion about IO models in winsock programming which sings the praises of overlapped IO: http://tangentsoft.net/wskfaq/articles/io-strategies.html I am having a hard time writing a test case only using sockets which can expose (what a believe to be) the bug. In my code, I have ~50 sockets which are created with a lot of data being copied between the sockets. At that point, I start to see sockets which just stop working. For instance, BeginSend methods stop calling the callback function, and the socket basically gets stuck (some internal deadlock maybe?) I looked at the code for the System.Net.Sockets.Socket class. It seems to implement the BeginSend and BeginReceive methods just using a Worker without any attempt at any kind of thread safety (which I can imagine would cause problems if you call interleaved BeginSend and BeginRead). Best, Oscar On Tue, Apr 27, 2004 at 05:33:04PM -0700, P Oscar Boykin wrote: Hello All, I have some code that does asynchronous Socket.BeginSend and Socket.BeginReceive calls. My question is the following: 1) The documentation (in monodoc) says that no instance members of Socket are guaranteed to be thread safe. 2) Given the above, is it safe to have a BeginSend call active while a BeginReceive call is also active? Given that the under the hood it appears that these methods are implemented with threads. So, to make it clear, if I have code like: -- BeginSend() BeginReceive() [ other stuff here ] EndReceive() EndSend() - is this safe? To me, it would seem like it would not be safe if none of the members are guaranteed to be thread safe, but on the other hand, I have a C# networking book that has examples such as this. The reason I ask is that I have some code that (on mono 0.31) appears that *SOMETIMES* the BeginSend never calls the callback function to indicate that it finished (and the other side never gets the data). This is happening while a BeginReceive() is active. When I see bugs that happen only sometimes, it usually makes me worry about thread safety. It would be nice if the Begin* methods were designed such that there could be more than one of them active at a time (particularly, it would be nice to have a send going on while a receive was also active). Am I expecting too much here? Thanks, Oscar -- [EMAIL PROTECTED]http://pobox.com/~boykinjabber: [EMAIL PROTECTED] fingerprint=D250 4AD9 4544 B7D2 A17C 911D D608 D387 6718 D75F Hague Convention is Bad News: http://www.gnu.org/philosophy/hague.html -- [EMAIL PROTECTED]http://pobox.com/~boykinjabber: [EMAIL PROTECTED] fingerprint=D250 4AD9 4544 B7D2 A17C 911D D608 D387 6718 D75F Read about net freedom: http://www.politechbot.com/ signature.asc Description: Digital signature
Re: [Mono-list] ASP.NET bug?? (solved)
Doesn't happen in latest CVS. Pablo Baena wrote: Before I post a bug report, can you spot some stupid mistake in this code? Because the table that I'm querying has lots of records and it is showing only one. THanks html script language=C# runat=server void BindGrid() { string connectionString = server=localhost;database=somedatabase;user id=root;password=;; MySqlConnection dbcon; dbcon = new MySqlConnection(connectionString); dbcon.Open(); string sql = SELECT numero, nombre + FROM clientes; MySqlDataAdapter adapter = new MySqlDataAdapter(sql, dbcon); DataSet dataset = new DataSet (); adapter.Fill (dataset, clientes); MyDataGrid.DataSource = dataset.Tables[clientes].DefaultView; MyDataGrid.DataBind(); ShowStats(); } void Page_Load(Object sender, EventArgs e) { if (chk1.Checked) { MyDataGrid.PagerStyle.Mode=PagerMode.NumericPages; } else { MyDataGrid.PagerStyle.Mode=PagerMode.NextPrev; } BindGrid(); } void MyDataGrid_Page(Object sender, DataGridPageChangedEventArgs e) { MyDataGrid.CurrentPageIndex = e.NewPageIndex; BindGrid(); } void ShowStats() { lblCurrentIndex.Text = CurrentPageIndex is + MyDataGrid.CurrentPageIndex; lblPageCount.Text = PageCount is + MyDataGrid.PageCount; } /script body h3font face=VerdanaBasic Paging with DataGrid/font/h3 form runat=server ASP:DataGrid id=MyDataGrid runat=server AllowPaging=True PageSize=10 PagerStyle-Mode=NumericPages PagerStyle-HorizontalAlign=Right PagerStyle-NextPageText=Next PagerStyle-PrevPageText=Prev OnPageIndexChanged=MyDataGrid_Page BorderColor=black BorderWidth=1 GridLines=Both CellPadding=3 CellSpacing=0 Font-Name=Verdana Font-Size=8pt HeaderStyle-BackColor=#dd AlternatingItemStyle-BackColor=#ee / p asp:Checkbox id=chk1 runat=server Text=Show numeric page navigation buttons Font-Name=Verdana Font-Size=8pt AutoPostBack=true / p table bgcolor=#ee cellpadding=6trtd nowrapfont face=Verdana size=-2 asp:Label id=lblCurrentIndex runat=server /br asp:Label id=lblPageCount runat=server /br /font/td/tr/table /form /body /html ___ 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] Question about attributes
On Wed, 2004-04-28 at 16:46, Xiii29 wrote: I've question about attributes in Mono. I would like to comment my assemblys by using attributes (meta-attributes...) and i'm wondering if there is rules (or preconisations...) about which attributes using... I'm pretty sure I don't understand your question at all. But I'll take a shot anyway... To use an assembly-level attribute, you need to explicitly specify what the attribute is associated with. For example: [assembly: AssemblyTitle (my title)] [assembly: AssemblyVersion (1.0.*)] The assembly: indicates that the attribute applies to the assembly. Otherwise it would apply to the next member listed in the file (delegate, class, structure, etc.) or generate an error (namespaces don't support attributes). Similar things can be done for other elements; for example: return: can be used to place an attribute on the return type of a method, while normally the attribute applies to the method itself: [SomeAttribute (applies to MyMethod)] [return: SomeAttribute (applies to the return type)] int MyMethod () {return 42;} As for general rules... You can only use attributes which can be applied to an assembly; that is, the attribute you're trying to use must itself have an AttributeUsage attribute with AttributeTargets.Assembly specified. Not all attributes do this; the DllImport attribute, for example, can only be applied to methods. Aside from that, the normal attribute restrictions apply. Which means that attribute positional and named parameters can only be: one of the CLS-compliant built-in types (bool, byte, char, double, float, int, long, short, string); System.Type, an enum type; System.Object; or an array of one of the previous types. See a good C# book, or MSDN, or google, for more information. - Jon ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Apache virtual hosts, all or some mod_mono
Maybe I can make my question more clear. I have one Apache 2.0 server running. It must handle requests for several domains: gerontology.byu.edu fhss.byu.edu familylife.byu.edu and anyway you get the idea. Several of these domains will be sites that use mod_mono, all on the same Apache 2.0.49 server. I can use virtual hosts in Apache to get Apache to respond with different root directories for each URL request. My problem is getting mod_mono to also recognize the virtual hosts (NOT virtual directories within one host) and serve up the correct root directories. Here is what we are trying in httpd.conf: LoadModule mono_module modules/libmod_mono.so # Note that these next paths are NOT virtual directories, but should be roots in virtual hosts MonoApplications /:/var/www/gerontology,/:/var/www/fhss,/:/var/www/familylife # ... NameVirtualHost *:80 VirtualHost *:80 ServerName gerontology.byu.edu DocumentRoot /var/www/gerontology /VirtualHost VirtualHost *:80 ServerName fhss.byu.edu DocumentRoot /var/www/fhss /VirtualHost The trouble is that mod_mono appears to be trying to pull, for example, FHSS.byu.edu content from gerontology.byu.edu. There is no way to specify virtual hosts in the MonoApplications directive, rather just virtual directories, which doesn't fit here. Thanks in advance for your help! Andrew Arnott I too have been trying to figure this one out. I can't do it either. -- Michael ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] what do I need for asp.net etc
what is monodoc? what rpms do I need to run it? do I need anything other than mono,mcs and xsp to run an asp.net application (especially a web service)? thanks - just getting going on this --- ABS Web Site: www.abs.gov.au ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list