Re: [Mono-devel-list] Mono ASP.NET is very slow with big html pages...
Hello, We've rewritten our programm without using any server side text-size calculation... I just use the client browser, (a table without any fixed width can adapt his size automatically) Now, my pages loads as fast as MS.NET But, the problem isn't here System.Drawing font measure function is incredibly slower and CPU intensive than MS.NET... I can do benchmarks if you want... (i've gentoo linux and WS2003 on the same machine) Le Jeudi 12 Mai 2005 19:50, Rafael Teixeira a écrit : Also, you can create that font only once (cache it by the Name and Size) and reuse in many pages, just beware o memory consumption, if you doesn't limit the choices for fonts and sizes. I also reiterate what Ben said, doesn't calculate things on the server, because things will go diferently on the client. To add another issue (besides user-chosen-css, installed fonts) the resolution may be different, what makes the same font render quite differently. HIH, On 5/12/05, Ben Maurer [EMAIL PROTECTED] wrote: On Thu, 2005-05-12 at 11:04 +0200, Hubert FONGARNAND wrote: I apologize, i've found my problem... This slowdown is due to System.Drawing Let me explain... Mono renders a page with more than 100 menu, for each menu, the largest item size is calculated by this function : SizeF size; float emSize = Convert.ToSingle(fontInfo.Size.Unit.Value); emSize = (emSize==0 ?8 :emSize); Font stringFont = new Font(fontInfo.Name, emSize); Graphics g=new Bitmap(1,1); size = g.MeasureString(text, stringFont); g.Dispose(); return size; After doing some tests, i've seen that the slowest line is : Font stringFont = new Font(fontInfo.Name, emSize); So the creation of this Font object (the font is Arial) is extremely slow comparing to MS.NET... If I remove this line, the page loads as fast as MS.NET (a little bit faster...) Is there a way to optimize System.Drawing for this problem; or is there a better way to measure a text string length (with variable font size) without using this very slow function... I'm not sure how much we can speed that up. I can take a look at how Cairo does the stuff. However, if I understand what you are doing correctly, you are trying to measure a string on the server and see how large it will be on the client. I am not sure how well that will work. On the client side, people might have different fonts installed, or might even use a user css sheet. Nonetheless, we should still try to be faster here. -- Ben ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Ce message et les éventuels documents joints peuvent contenir des informations confidentielles. Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite. Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] Stetic looking for gtk-sharp-2.0 = 2.5.0
On Thu, 2005-05-12 at 15:21 -0300, Ricardo Markiewicz wrote: Hi all, why Stetic depend on Gtk# 2.5 in SVN Head? Gtk# 2.5 exists ? :-) Looking at configure.in:31 : PKG_CHECK_MODULES(STETIC, gtk-sharp-2.0 = 2.5.0 gnome-sharp-2.0) Thatks See http://lists.ximian.com/archives/public/gtk-sharp-list/2005-May/005857.html HTH -Alexandros ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] Getting path of bundled executable at runtime
Hello, I need to find out the path of a bundled mono executable (built with mkbundle) at runtime. Until now I have been using Assembly.GetCallingAssembly().Location but this fails in the bundle because the assemblies are loaded from memory. I have tried various System.Enviroment.* methods and properties but they don't work correctly in the case of a bundled executable. Is there a way I can get the path of the bundled executable? Thank you, Alexandros ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] Re: glibc not Making on Solaris 2.9 so can't get mono working correctly
Doug, Just wondering if anyone has glibc working on Solaris 2.9? I get errors during the make of glibc - any You don't need glibC for Mono! glib (w/out C) is the library Mono depends on: http://ftp.gnome.org/pub/GNOME/sources/glib/ Rob ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] [PATCH] Stack propagation for Thread, Delegates and ThreadPool
Hello, This patch adds support for stack|context propagation between threads in the following cases: * Thread.Start; * delegates (BeginInvoke|EndInvoke); * ThreadPool.[Unsafe]QueueUserWorkItem; Several tests are available under /mono/mono/tests/cas/threads/ Note that the propagation stuff is much updated in CLR|FX 2.0, i.e. it doesn't _only_ apply to security anymore. This is why the runtime patch looks for either (a) the security manager being active or (b) a corlib version 2.x to enable the capture of the execution context of the thread (but in the later case the CAS security stack propagation is still only done if the security manager is active). The ThreadPool.UnsafeQueueUserWorkItem is unsafe in two ways ;-) First it unsafe framework-wise because (a) it doesn't propagate the stack (so it has some security prerequisites) and (b) the current implementation doesn't make it 100% sure that the stack won't be propagated (if the other rules applies). We're missing a safe way to tell the runtime if we want a safe or unsafe invocation. Comments welcome! P.S. A previous patch was sent to mono-winforms-list, earlier this week, for dealing with Control.BeginInvoke. The (updated) code is already in SVN. http://lists.ximian.com/archives/public/mono-winforms-list/2005-May/001635.html -- Sebastien Pouliot [EMAIL PROTECTED] blog: http://pages.infinit.net/ctech/poupou.html Index: metadata/domain.c === --- metadata/domain.c (revision 44492) +++ metadata/domain.c (working copy) @@ -615,6 +615,9 @@ mono_defaults.runtimesecurityframe_class = mono_class_from_name ( mono_defaults.corlib, System.Security, RuntimeSecurityFrame); + mono_defaults.executioncontext_class = mono_class_from_name ( + mono_defaults.corlib, System.Threading, ExecutionContext); + domain-friendly_name = g_path_get_basename (filename); return domain; Index: metadata/security-manager.c === --- metadata/security-manager.c (revision 44492) +++ metadata/security-manager.c (working copy) @@ -189,6 +189,34 @@ return TRUE; } +/* + * Context propagation is required when: + * (a) the security manager is active (1.x and later) + * (b) other contexts needs to be propagated (2.x and later) + * + * returns NULL if no context propagation is required, else the returns the + * MonoMethod to call to Capture the ExecutionContext. + */ +MonoMethod* +mono_get_context_capture_method (void) +{ + static MonoMethod *method = NULL; + + if (!mono_security_manager_activated) { + if (mono_image_get_assembly (mono_defaults.corlib)-aname.major 2) + return NULL; + } + + /* older corlib revisions won't have the class (nor the method) */ + if (mono_defaults.executioncontext_class !method) { + mono_class_init (mono_defaults.executioncontext_class); + method = mono_class_get_method_from_name (mono_defaults.executioncontext_class, Capture, 0); + } + + return method; +} + + /* System.Security icalls */ MonoBoolean Index: metadata/security-manager.h === --- metadata/security-manager.h (revision 44492) +++ metadata/security-manager.h (working copy) @@ -57,6 +57,7 @@ gboolean mono_is_security_manager_active (void); MonoSecurityManager* mono_security_manager_get_methods (void); gboolean mono_is_ecma_key (const char *publickey, int size); +MonoMethod* mono_get_context_capture_method (void); void mono_secman_inheritancedemand_class (MonoClass *klass, MonoClass *parent); void mono_secman_inheritancedemand_method (MonoMethod *override, MonoMethod *base); Index: metadata/ChangeLog === --- metadata/ChangeLog (revision 44492) +++ metadata/ChangeLog (working copy) @@ -1,3 +1,19 @@ +2005-05-13 Sebastien Pouliot [EMAIL PROTECTED] + + * class-internals.h: Added executioncontext_class field to + MonoDefaults structure. + * domain.c: Cache System.Threading.ExecutionContext class in + mono_defaults. + * object.c: Capture the ExecutionContext for asynchroneous calls in + mono_async_result_new. + * object-internals.h: Added execution_context and original_context + fields to MonoAsyncResult. Added execution_context to MonoThread. + * security-manager.c|.h: Added mono_get_context_capture_method to + return the capture method (if required by the security manager or by + the framework version used). + * threadpool.c: Apply capture (if present) ExecutionContext in + mono_async_invoke and revert to original context after it completes. + 2005-05-12 Zoltan Varga [EMAIL PROTECTED] * marshal.c (emit_marshal_custom): Add some error checking and call the Index: metadata/threadpool.c === --- metadata/threadpool.c (revision 44492) +++ metadata/threadpool.c (working copy) @@ -887,7 +887,18 @@
[Mono-devel-list] Patch for Mono returns bigint as decimal in SqlClient
Hi, The bug is reported very often: http://bugzilla.ximian.com/show_bug.cgi?id=53169 http://bugzilla.ximian.com/show_bug.cgi?id=62390 http://bugzilla.ximian.com/show_bug.cgi?id=69768 http://bugzilla.ximian.com/show_bug.cgi?id=74856 This means that this should be corrected. The problem is that Mono uses TDS 7.0 and it returns bigint as decimal(19,0). This could be solved by implementing a TDS 8.0 client but it requires time...:) The bug reports pointed out that the problem occurs when using SqlDataReader with typed result processing to get the best performance. Bigint should be get using GetSqlInt64 or GetInt64 but on Mono it isn't Int64. I attached a patch that works around the limitation of TDS 7.0 by enabling GetSqlInt64 and GetInt64 on decimals that can be bigint (the original type cannot be determined). If you think this is a good solution please post it to SVN otherwise pleas comment the code. Sincerely, Kornl SqlDataReader.diff Description: Binary data ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] Remoting troubles
I've been developing a library for License verification using Remoting [and encrypting data that is passed through it before it reaches the remoting boundary] and have found some strange things with the remoting system. If I throw a bunch of requests at a remoting server it throws a NullReference exception from the RealProxy [I think]. I've wrapped up the functions so they retry if an exception occurs, since I know that the only exception thrown would be the ones related to remoting (since I make sure nothing escapes through remoting). This has worked, but it makes the situation ugly and unnatural. I've thrown the stuff at a Windows 2003 system with MS .Net and it runs slower but doesn't crash. Quite strange in my opinion... as the W2k3 system has 4 CPU's. [Though it was probably in use by a few users at the time] I'll try to come up with a simple test case using multiple threads [I was generating many new individual processes]. -- Thomas Harning Jr. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] Mono.Unix documentation
Hi, Is there some documentation on Mono.Unix ? Thanks Poorna ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono.Unix documentation
On Fri, 2005-05-13 at 03:03 -0600, Poorna Pushkala wrote: Is there some documentation on Mono.Unix ? There is *some* documentation, at: http://www.go-mono.com/docs/index.aspx?link=N:Mono.Unix Documentation is something I obviously need to write more of... - Jon ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] hosting webservices
Have you looked into using XSP? http://www.mono-project.com/ASP.NET#XSP On 5/12/05, Jonathan J. Vargas R. [EMAIL PROTECTED] wrote: hi.i want to develop an architecture based in a community of serviceswhich use the web services spec. the services can comunicatethemselves through the web services. but i want dedicated web servicehosting for each service, and use ASP .NET hosted in IIS or Apache for each host that offers a service is not a lighweight solution..so i wonder about a lightweigth web server, or a web serviceindependant server for .NET, dedicated specifically for thatwebservice. i would use Remoting under Http channel.but i want web servicesbecause i need interoperability with java and some other technologies,but i dunt want to use Apache or IIS, or another external browsersince my specific task would be a web service and just that. I am looking for an API like Remoting using Http, but with thedifference that its main task would be handling web services.does that exist?another solution or technic?--Jonathan J. Vargas Rodriguez [EMAIL PROTECTED]___Mono-list maillist-Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] VS.NET project built with Mono
Hi Joe, Thanks but that's not the case. My application works fine in VS.NET but I want it to work in Linux that's why Ineed to build it in that environment using Mono. Best Regards, Narcís Calvethttp://support.steema.com "Important note: If you are a TeeChart registered customer, please post yoursupport questions at Steema's Support monitored Forums for customers:http://support.steema.com for a prompter reply." - Original Message - From: Joe Audette To: Narcís Calvet ; mono-list@lists.ximian.com Sent: Thursday, May 12, 2005 7:14 PM Subject: Re: [Mono-list] VS.NET project built with Mono I build my solutions in VS.NET and deploy on mono.The main things is that everything in the bin must becompiled using Rebuild not just Build. If you areusing any third party dlls they also must be compiledwith Rebuild. Mono doesn't like incremental buildsthat you get with normal Build.Hope it helps,Joe--- Narcís Calvet [EMAIL PROTECTED] wrote: Hello, I have a quite complex project developed using VS.NET and I'd like to build it using Mono. The project complexity lies on that it has several references/dependencies. I've tried the following to build it without success: 1) Using "mcs /target:library /out:MyProject.dll /recurse:\MyProjectFolder\*.cs -r:System.Windows.Forms -r:System.Drawing -r:System.Data". The first problem is that System.Windows.Forms doesn't exist on Mono and I can get through this. 2) I've tried automake, autoconfig, ... But I found it really complicated to generate a reliable makefile for my project. 3) I've used prj2make-sharp to convert my .csproj or .sln to a .prjx file but I got several errors. Considering none of those options has brought me to a working solution, what would you suggest me? It may be that I need to adapt my project implementation to Mono capabilities? There's an easy way to build my project? Thanks in advance! Narcís Calvetjoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] VS.NET project built with Mono
Hi Peter, Thanks for your help. I'm already using Mono 1.1.6. Yes, I can see it already finds System.Windows.Forms, the problem is more related to my project namespaces (being in different files) and its compilation order. I'll try to do some testing merging files together. Thanks and regards, Narcís Calvet - Original Message - From: Peter Dennis Bartok To: Narcís Calvet ; mono-list@lists.ximian.com Sent: Thursday, May 12, 2005 7:30 PM Subject: Re: [Mono-list] VS.NET project built with Mono 1) Using "mcs /target:library /out:MyProject.dll /recurse:\MyProjectFolder\*.cs -r:System.Windows.Forms -r:System.Drawing -r:System.Data". The first problem is that System.Windows.Forms doesn't exist on Mono and I can get through this.Unless you're on the 1.0 branch or pre 1.1.4, you have System.Windows.Forms. If you're on 1.0 or pre 1.1.4 I'd like to strongly encourage you to update to a newer version of Mono.Depending on what classes you're using from SWF, you still may get an error though, since we're still missing a few classes (DataGrid, RichTextBox)Cheers, Peter ___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] eclipse IDE
I have the eclipse IDE and it says something about java I also have java installed for firefox can I make a link to the eclipse folder so that it will work? or do I need to dowenload some different java ? I looked at the java site I have this file j2eesdk-1_4-linux.bin Is it the correct one? will this one over right the one i use for browsing? -- Registered Linux User: #376813 www.fedorajim.homelinux.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Computer Language Shootout Benchmarks
now using Mono 1.1.6 http://shootout.alioth.debian.org/great/benchmark.php?test=alllang=csharpsort=fullcpu We really welcome improvements/alternatives to the existing programs, and contributions for the micro-benchmarks we haven't done yet. On Friday 11 March 2005 6:25 pm, Mario Sopena wrote: Hello, We really welcome improvements/alternatives to the existing programs, and contributions for the micro-benchmarks we haven't done yet. I've realized you use Mono 1.0.5. You should use Mono 1.1.4. Is the one suggested by experts (a lot of improvements aren't backported). Look in the released notes of the 1.0.6: __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] eclipse IDE
omg, wtf? On Fri, 2005-05-13 at 10:52 -0400, jim lawrence wrote: I have the eclipse IDE and it says something about java I also have java installed for firefox can I make a link to the eclipse folder so that it will work? or do I need to dowenload some different java ? I looked at the java site I have this file j2eesdk-1_4-linux.bin Is it the correct one? will this one over right the one i use for browsing? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] video control in a mono app
+ Kennedy Kok + wrote: I am very new to mono. I would like a video control embedded in my application that plays a Quicktime movie (Sorenson 3 encoded). What is the best way to go about doing it? Thanks Kennedy Look at http://gstreamer.freedesktop.org/. There are C# bindings for it. Regards, gamehack ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] video control in a mono app
The C# bindings are not part of the official release. Can someone walk me through and show me how I can get the GST# binding? I need it to work both on Linux and windows. Thanks Kennedy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Milen Dzhumerov Sent: Friday, May 13, 2005 12:11 PM To: Mono List Subject: Re: [Mono-list] video control in a mono app + Kennedy Kok + wrote: I am very new to mono. I would like a video control embedded in my application that plays a Quicktime movie (Sorenson 3 encoded). What is the best way to go about doing it? Thanks Kennedy Look at http://gstreamer.freedesktop.org/. There are C# bindings for it. Regards, gamehack ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] eclipse IDE
haha On 5/13/05, Rafael Ferreira [EMAIL PROTECTED] wrote: omg, wtf? On Fri, 2005-05-13 at 10:52 -0400, jim lawrence wrote: I have the eclipse IDE and it says something about java I also have java installed for firefox can I make a link to the eclipse folder so that it will work? or do I need to dowenload some different java ? I looked at the java site I have this file j2eesdk-1_4-linux.bin Is it the correct one? will this one over right the one i use for browsing? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list -- th3 m0nq ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Xml-rpc.net problem with mono
Hello, I downloaded the XML-RPC implementation for .NET from www.xml-rpc.net . I can't make it work. I built it using nant I can even successfully compile programs with it. This is the example program which I am trying to run: program using System; using CookComputing.XmlRpc; struct sumdiff { public int sum; public int diff; } [XmlRpcUrl(http://www.cookcomputing.com/sumAndDiff.rem;)] class sumdiffproxy: XmlRpcClientProtocol { [XmlRpcMethod(sample.sumAndDiffernce)] sumdiff calc(int x,int y) { return (sumdiff)Invoke(SumAndDifference,new Object[]{x,y}); } public static void Main() { sumdiffproxy s=new sumdiffproxy(); sumdiff v=s.calc(4,5); Console.WriteLine(v.sum); Console.WriteLine(v.diff); } } /program I compiled the above program with : 'mcs /r:CookComputing.XmlRpc.dll sumdiff.cs' But when I run the program I get the following errors: error Compat mode: the request from /usr/lib/mono/gac/CookComputing.XmlRpc/0.9.1.0__a7d6e17aa302004d/CookComputing.XmlRpc.dll to load System was remapped (http://www.go-mono.com/remap.html) Compat mode: the request from /usr/lib/mono/gac/CookComputing.XmlRpc/0.9.1.0__a7d6e17aa302004d/CookComputing.XmlRpc.dll to load System.Web was remapped (http://www.go-mono.com/remap.html) Unhandled Exception: System.Exception: Invoke on non-existent or non-public proxy method in 0x00074 CookComputing.XmlRpc.XmlRpcClientProtocol:GetRpcMethodName (object,string) in 0x0004e CookComputing.XmlRpc.XmlRpcClientProtocol:MakeXmlRpcRequest (System.Net.WebRequest,string,object[],object) in 0x000b7 CookComputing.XmlRpc.XmlRpcClientProtocol:Invoke (object,string,object[]) in 0x00013 CookComputing.XmlRpc.XmlRpcClientProtocol:Invoke (string,object[]) in 0x0006b (wrapper remoting-invoke-with-check) CookComputing.XmlRpc.XmlRpcClientProtocol:Invoke (string,object[]) in 0x0008c sumdiffproxy:calc (int,int) in 0x0007d (wrapper remoting-invoke-with-check) sumdiffproxy:calc (int,int) in 0x0004f sumdiffproxy:Main () /error Is the problem with my program or the way I built the package. Thanks for any help Rohit -- http://www.geocities.com/rohitkkumar ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] eclipse IDE
On 5/13/05, Rafael Ferreira [EMAIL PROTECTED] wrote: omg, wtf? Whats the problem, If you don't anything positive to add don't post any responses -- Registered Linux User: #376813 www.fedorajim.homelinux.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] eclipse IDE
I think what he meant to say was: This is not a Java mailing list, and not an Eclipse mailing list; you should visit www.eclipse.org for help with configuring Eclipse. Eclipse is an IDE implemented in Java (which explains why they say something about Java), and while there are many extensions for developing in other languages (such as C/C++ with the CDT or PHP with PHPEclipse, both of which are fantastic plugins), it is primarily intended for Java development (which is one of the reasons IBM replaced their WSAD IDE with it). Implicit in his comments was also, what does your question have to do with Mono, which is about as far removed from Java (other than the fact that C# is about as close to copyright infringement as even MS would want to go) as you can get? HTH Greg jim lawrence wrote: On 5/13/05, Rafael Ferreira [EMAIL PROTECTED] wrote: omg, wtf? Whats the problem, If you don't anything positive to add don't post any responses ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] ANN: Linux filesystems in C# (FUSE wrapper)
--- Valient Gough [EMAIL PROTECTED] wrote: Announcement for SULF - a C# interface to FUSE (fuse.sf.net) which allows the creation of Linux filesystems in C#. Why? Because I could. It has received major updates over the last few weeks and has the beginnings of high-level interfaces, as well as pass-through wrappers to make virtual filesystems easier to implement. The project documentation and download links are available at http://pobox.com/~vgough/sulf An example filesystem (using high-level map interface - see examples/HelloFS.cs): Sulf.MapFS root = new Sulf.MapFS(); // populate the directory with some files - // and a tmp directory which is really just a wrapper for /var/tmp root[hello] = Hello world!\n; root[README] = This file comes from the 'hello' filesystem example.\n +It is part of the SULF C# project which builds on FUSE.\n +For more information, see http://pobox.com/~vgough/sulf \n +\n +Also, try \cat hello\\n; root[tmp] = new PassthruDirNode( tmp, /var/tmp ); // mount the filesystem in /tmp/hellofs Channel channel = Sulf.Mounter.Mount(HelloFS, root, /tmp/hellofs); channel.EventLoop(); ls /tmp/hellofs hello README tmp cat /tmp/hellofs/README This file comes from the 'hello' filesystem example. It is part of the SULF C# project which builds on FUSE. For more information, see http://pobox.com/~vgough/sulf Also, try cat hello ls -lad /tmp/hellofs/tmp drwxrwxrwt 9 root root 1584 2005-05-12 23:49 /tmp/hellofs/tmp ls -lad /var/tmp drwxrwxrwt 9 root root 1584 2005-05-12 23:49 /var/tmp that would be very interest if that goes for UFS2 of NetBSD or FreeBSD Thank you Kamel NetBSD is very JIHBED __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono.Unix documentation
--- Jonathan Pryor [EMAIL PROTECTED] wrote: On Fri, 2005-05-13 at 03:03 -0600, Poorna Pushkala wrote: Is there some documentation on Mono.Unix ? There is *some* documentation, at: http://www.go-mono.com/docs/index.aspx?link=N:Mono.Unix It there also pages of man and Info -:) Regards Kamel NetBSD is very JIHBED __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Npgsql.dll
I'm amazed. I figured out how to connect to PostgreSQL and populate a datagrid today. The first problem I ran into was getting TCP/IP turned on in the postgresql.conf file. The next problem was giving my IP address permission to connect in the pg_hba.conf file. The biggest problem I ran into was calling the npgsql.dll assembly. For some reason, it worked just fine from a console application written in C#, but it would not run from my web page until I copied the npgsql.dll file in the bin folder of my web application. I'm not sure if that is caused by the web application using the mod_mono.so file to run the compiler. I'm not posting a link to the page, because I'm in the process of making changes to it, but it's a thrill to see an ASP.NET datagrid control showing up on my page as an HTML table full of data. Carl Olsen http://www.carl-olsen.com/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Npgsql.dll
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl Olsen wrote: I'm amazed. I figured out how to connect to PostgreSQL and populate a datagrid today. Hi Carl, congratulations!! The first problem I ran into was getting TCP/IP turned on in the postgresql.conf file. The next problem was giving my IP address permission to connect in the pg_hba.conf file. The biggest problem I ran into was calling the npgsql.dll assembly. For some reason, it worked just fine from a console application written in C#, but it would not run from my web page until I copied the npgsql.dll file in the bin folder of my web application. I'm not sure if that is caused by the web application using the mod_mono.so file to run the compiler. Did you add Npgsql.dll to global assembly cache? If not, you must put your assemblies in bin folder in order to asp.net find them. I'm not posting a link to the page, because I'm in the process of making changes to it, but it's a thrill to see an ASP.NET datagrid control showing up on my page as an HTML table full of data. Very good to hear! Please, let us know if you get any problem. - -- Regards, Francisco Figueiredo Jr. Npgsql Lead Developer http://gborg.postgresql.org/project/npgsql MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org - - Science without religion is lame; religion without science is blind. ~ Albert Einstein -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQoVoZP7iFmsNzeXfAQK8KAf9HVzjuxvN9UL1ZReLH2en3VlRU28vVkuH 7l0tkonitbZKWrcF6e7pynZqjStUrXPynW4pCekrtU5dJBphktm1ACkC5XZWNuCB MPPRpYT7rSlUmolPvN6p0U96kWLNSE7pmD2DXW+aXASXOGQ0NOyotAHi5xgzpRr/ 6p9IzCVMg3PO91LEl5f8oqtj6GV09YFHWz5BvYrMM9ReqgNgwsQLP+1Bgfjct4td k+Zq6KULFH35gIe5zPLEASHvQ0fxEahNFZSOKsxNlVBcFkrrA/hw9cAOTPLAMQ7g w4vCHdphNlzEg9GRRzuI651qXLTfjjxd3DKf0qfuB1pt2290iNVo7A== =KIp0 -END PGP SIGNATURE- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Npgsql.dll
Hi Francisco, My web page is running on Apache and Linux using C# as the page language and PostgreSQL as the database. I'm executing a stored procedure that creates a temporary table and then returns the data from the temporary table to a datagrid in the web page. A temporary table only exists while a connection is open, so I open and close the connection in the page load event handler. The problem I'm having is that when I hit the Refresh button in Internet Explorer 6, I get an error message saying that the temporary table already exists. I always thought the Refresh button reloaded the page, but apparently not. How can I capture the event that occurs when the Refresh button is selected? By the way, I thought Npgsql.dll was installed in the global assembly cache by default in SUSE 9.2 Professional. I just used Red Carpet to upgrade to Mono 1.1.x, but it appears that Npgsql.dll is installed in the global assembly cache. That's where I copied it from to get it into the bin folder of my web application. I copied the Npgsql.dll file from /usr/lib/mono/Npgsql/1.0.5000_0.5d8b90d52f46da7 Carl Olsen http://www.carl-olsen.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francisco Figueiredo Jr. Sent: Friday, May 13, 2005 9:54 PM To: mono-list@lists.ximian.com Subject: Re: [Mono-list] Npgsql.dll -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl Olsen wrote: I'm amazed. I figured out how to connect to PostgreSQL and populate a datagrid today. Hi Carl, congratulations!! The first problem I ran into was getting TCP/IP turned on in the postgresql.conf file. The next problem was giving my IP address permission to connect in the pg_hba.conf file. The biggest problem I ran into was calling the npgsql.dll assembly. For some reason, it worked just fine from a console application written in C#, but it would not run from my web page until I copied the npgsql.dll file in the bin folder of my web application. I'm not sure if that is caused by the web application using the mod_mono.so file to run the compiler. Did you add Npgsql.dll to global assembly cache? If not, you must put your assemblies in bin folder in order to asp.net find them. I'm not posting a link to the page, because I'm in the process of making changes to it, but it's a thrill to see an ASP.NET datagrid control showing up on my page as an HTML table full of data. Very good to hear! Please, let us know if you get any problem. - -- Regards, Francisco Figueiredo Jr. Npgsql Lead Developer http://gborg.postgresql.org/project/npgsql MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org - - Science without religion is lame; religion without science is blind. ~ Albert Einstein -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQoVoZP7iFmsNzeXfAQK8KAf9HVzjuxvN9UL1ZReLH2en3VlRU28vVkuH 7l0tkonitbZKWrcF6e7pynZqjStUrXPynW4pCekrtU5dJBphktm1ACkC5XZWNuCB MPPRpYT7rSlUmolPvN6p0U96kWLNSE7pmD2DXW+aXASXOGQ0NOyotAHi5xgzpRr/ 6p9IzCVMg3PO91LEl5f8oqtj6GV09YFHWz5BvYrMM9ReqgNgwsQLP+1Bgfjct4td k+Zq6KULFH35gIe5zPLEASHvQ0fxEahNFZSOKsxNlVBcFkrrA/hw9cAOTPLAMQ7g w4vCHdphNlzEg9GRRzuI651qXLTfjjxd3DKf0qfuB1pt2290iNVo7A== =KIp0 -END PGP SIGNATURE- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] HTML rendering and .NET
Are there any cross platform HTML renderers for .NET besides Gecko#? I am looking for a HTML renderer that is both cross platform and that works with Windows Forms. Does anyone know of such a thing? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list