Re: [Mono-dev] Gtk# not found

2006-04-10 Thread Rafael Teixeira
Well Paulo, It does make sense. On Linux GTK# 2.4 is able to run with most installed linuxes, without forcing people to upgrade GTK+. Windows doesn't come with GTK, so normally it is installed with GTK#, and so in that we can use the latest stable version, as that has also better support

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 and modify some Encoding wrappers

2006-04-10 Thread Atsushi Eno
Hi, UnicodeEncoding overrides GetString in profile 2.0. This makes it possible to use a faster method without copying bytes to a temporary char array. I also noticed that some wrappers of Encoding class are implemented differently on Mono than on MS.NET that can caouse problems when they

[Mono-dev] PATCH: System.Web.UI/Page.cs

2006-04-10 Thread Konstantin Triger
Hello, Attached a small refactoring patch, which implements the Page.GetDataItem(). If no one objects Ill commit. Regards, Konstantin Triger ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

[Mono-dev] RE: PATCH: System.Web.UI/Page.cs

2006-04-10 Thread Konstantin Triger
The patch reattached. Regards, Konstantin Triger From: Konstantin Triger Sent: Monday, April 10, 2006 10:23 AM To: mono-devel Subject: PATCH: System.Web.UI/Page.cs Hello, Attached a small refactoring patch, which implements the Page.GetDataItem(). If no one

[Mono-dev] SIGSEGV with Windows.Forms programs (Mono 1.1.14)

2006-04-10 Thread Heinz Mueller
Hi all, programs with Windows.Forms work no longer with Mono 1.1.14 on Linux. Sample Code, 'makefile' and stack trace are attached. Regards and thanks for the good work, Heinz Copyright notice: the sample code is from Charles Petzold's Programming Microsoft Windows with C# -- Heinz Mueller

[Mono-dev] PageThemeFileParser.AddDirective

2006-04-10 Thread Andrew Skiba
Hello, Chris. I attach skin file, that works perfectly in dotnet, but fails in mono. If I remove PageThemeFileParser.AddDirective, then TemplateControlParser.AddDirective perfectly performs the job. PageThemeFileParser.AddDirective overrides TemplateControlParser.AddDirective to make adding

[Mono-dev] PATCH custom WebControls in skin files

2006-04-10 Thread Andrew Skiba
When I use a custom web control in a skin file, then the dll holding this control must be added to references when compiling PageTheme. The attached patch makes this possible. As such references is already found by parsers of individual skins, it's only necessary to add new assemblies to the theme

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 and modifysome Encoding wrappers

2006-04-10 Thread Kornél Pál
No, but if you have conceptions regarding what kind of new tests we need I can create some. Kornél - Original Message - From: Atsushi Eno [EMAIL PROTECTED] Cc: mono-devel-list@lists.ximian.com Sent: Monday, April 10, 2006 8:09 AM Subject: Re: [Mono-dev] [PATCH] Add GetString to

Re: [Mono-dev] Re: What would you like to see in Mono? [.wapi-less config]

2006-04-10 Thread Dick Porter
On Sun, 2006-04-09 at 16:50 +0200, Joachim Ante wrote: So will such a configure variable be added? Or will MONO_DISABLE_SHM be reintroduced? Yes - Dick signature.asc Description: This is a digitally signed message part ___ Mono-devel-list mailing

[Mono-dev] [PATCH] Missing Socket.Send and Socket.Receive methods

2006-04-10 Thread Tomi Valkeinen
Hi, Included is a patch that implements the missing Socket.Send and Socket.Receive methods that take SocketError as an out parameter. These methods do not throw an exception when an error occurs (such as WouldBlock) and so are quite essential for non-blocking socket IO. I also changed the

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 and modifysome Encoding wrappers

2006-04-10 Thread Atsushi Eno
Kornél Pál wrote: No, but if you have conceptions regarding what kind of new tests we need I can create some. Things that fails without your patch but does not fail with it. (Otherwise why did you create the patch? ;-) For GetBytes() fix I can imagine the difference (though it is very minor:

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 and modifysome Encoding wrappers

2006-04-10 Thread Kornél Pál
OK, now I understand what you mean.:) UnicodeEncoding.GetString should have exactly the same result as previously but it should be much faster because data is written directly to the string instead of creating a temporary char[] buffer. All the modified Encoding methods are very high level

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 and modifysome Encoding wrappers

2006-04-10 Thread Kornél Pál
Hi, Now I understood why is UnicodeEncodig.GetBytes(string) overridden in MS.NET 1.x but not in MS.NET 2.0. Encoding of MS.NET uses char[] to convert strings in all versions and the call an overload that takes char[] in GetBytes(string) as well. (This is a difference compared to Mono as it

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 and modifysome Encoding wrappers

2006-04-10 Thread Atsushi Eno
Hi, Kornél Pál wrote: Hi, Now I understood why is UnicodeEncodig.GetBytes(string) overridden in MS.NET 1.x but not in MS.NET 2.0. Encoding of MS.NET uses char[] to convert strings in all versions and the call an overload that takes char[] in GetBytes(string) as well. (This is a difference

[Mono-dev] PATCH: System.Web.UI.WebControls.BulletedList.cs

2006-04-10 Thread Tal Klar
Hello, Attached a patch that contains a test file for the class System.Web.UI.WebControls.BulletedList. If no one objects, I will commit. Tal Klahr BulletedListTest.patch Description: BulletedListTest.patch ___ Mono-devel-list

[Mono-dev] PATCH ThemeDirectoryCompiler.GetCompiledType fix

2006-04-10 Thread Andrew Skiba
Hi Chris, Please review the attached patch for the method in subj. If no one objects, I will commit. Index: ThemeDirectoryCompiler.cs === --- ThemeDirectoryCompiler.cs (revision 59261) +++ ThemeDirectoryCompiler.cs (working

[Mono-dev] XML Parser

2006-04-10 Thread Przemysław Sitek
Hi, I would like to have a XML Parser that parses network XML stream from server. I would like to be able to feed it with data received from a socket, then be notified of XML nodes encountered in that stream. Say, server sends me stream message/ presence/ iq/ /stream I would like

Re: [Mono-dev] XML Parser

2006-04-10 Thread Sunny
On 4/10/06, Przemysław Sitek [EMAIL PROTECTED] wrote: Hi, I would like to have a XML Parser that parses network XML stream from server. I would like to be able to feed it with data received from a socket, then be notified of XML nodes encountered in that stream. Say, server sends me

Re: [Mono-dev] PageThemeFileParser.AddDirective

2006-04-10 Thread Chris Toshok
Because most directives are illegal in skin files (Page, Assembly, etc), I assumed that all were. Obviously this isn't the case :) After more investigation, it looks like Register is the only directive allowed. Does this agree with your assessment? By the way, I'm subscribed to this list, so

Re: [Mono-dev] PATCH ThemeDirectoryCompiler.GetCompiledType fix

2006-04-10 Thread Chris Toshok
looks good. please remove the XXX comment as well. Chris ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] XML Parser

2006-04-10 Thread Przemysław Sitek
Hi, Sunny wrote: Take a look at XmlTextReader class. I have looked at that class but I have not found any method to achieve such push behaviour. I would like to have something like that: SomeDataAvailableFroRead () { char [] data = Socket.Read (); parser.Parse (data);

Re: [Mono-dev] PATCH custom WebControls in skin files

2006-04-10 Thread Chris Toshok
patch looks fine, but I'd prefer an AddAssemblyByFileName that looks more like AddAssemblyByName, as in: internal virtual Assembly AddAssemblyByFileName (string filename) { Assembly assembly = null; Exception error = null; try {

[Mono-dev] Re: [PATCH] DocumentableItem.ExtensibleAttributes

2006-04-10 Thread Lluis Sanchez
Hi, Isn't there a way of doing this without modifying ServiceDescriptionSerializerBase.cs? it is a generated file, so it should not be modified by hand. Lluis. El jue, 06-04-2006 a las 19:23 +0530, Ankit Jain escribió: Hi, The attached patch adds the property

[Mono-dev] Where is the JIT compiler?

2006-04-10 Thread Alan Cyment
Hi everyone out there! Is mini.c the heart of the JIT compiler? I'm trying to understand the way the JIT works, but I'm not having an easy time finding my way around the source code tree. Thanks, Alan __ Do You Yahoo!? Tired of spam? Yahoo! Mail

RE: [Mono-dev] HttpRequest.MapPath and UrlUtils.Combine codeduplication

2006-04-10 Thread Gonzalo Paniagua Javier
On Mon, 2006-04-10 at 13:38 -0700, Andrew Skiba wrote: [...] If you say that you want to replace backslashes on non-windows system, too, then I will leave Combine intact. But anyway the code that I removed from MapPath can be removed safely, Combine does all that anyway. As long as

Re: [Mono-dev] FAMWatcher race condition patch

2006-04-10 Thread Gonzalo Paniagua Javier
On Sun, 2006-04-09 at 16:37 +1200, Thong Nguyen wrote: The FAM based FileSystemWatcher has problems monitoring directories recursively because FAM doesn't support this natively. FMAWatcher gets around this by telling FAM to monitor a subdirectory every time a sub directory is created. This

Re: [Mono-dev] Bug in System.WebHttpUtility.UrlDecode

2006-04-10 Thread Gonzalo Paniagua Javier
On Mon, 2006-03-27 at 01:56 -0800, Vladimir Krasnov wrote: Hello, There is a bug in UrlDecode method in System.WebHttpUtility, when two precent chars '%%' are present in encoded Url, UrlDecode fails to decode. Also, when the % char follows characters that are not hex numbers, the result of

Re: [Mono-dev] Gtk# not found

2006-04-10 Thread PauloMorfeo
Ok, i also remembered to try with my older version. That one had been compiled in Linux with mono 1.1.13.2 . I remembered of it complaining, also, of not finding Gtk but it isn't true, it complains of something else. Attached, i send the file erro.txt with the console result. One other dude who

Re: [Mono-dev] Gtk# not found

2006-04-10 Thread PauloMorfeo
I understood what you say. But in my head it is still hardly acceptable. What is mono and what are those virtual machines? They work like they do, in a great part, so we can have a intermediate language with which to compile programs which will work on all systems because each system will have

Re: [Mono-dev] [PATCH] Missing Socket.Send and Socket.Receive methods

2006-04-10 Thread Gonzalo Paniagua Javier
On Mon, 2006-04-10 at 13:17 +0300, Tomi Valkeinen wrote: Hi, Included is a patch that implements the missing Socket.Send and Socket.Receive methods that take SocketError as an out parameter. These methods do not throw an exception when an error occurs (such as WouldBlock) and so are

Re: [Mono-dev] PATCH: System.Web.UI.WebControls.BulletedList.cs

2006-04-10 Thread Gonzalo Paniagua Javier
On Mon, 2006-04-10 at 06:22 -0700, Tal Klar wrote: Hello, Attached a patch that contains a test file for the class System.Web.UI.WebControls.BulletedList. Hi Tal. New test cases are always welcome but, please, follow the coding style guidelines in

[Mono-dev] VB ASP.NET on a Fedora Core 3

2006-04-10 Thread Mauro Bertoli
Hi, I'm not sure that this is the correct list. I'm trying to run a VB ASP.NET developed with VS2003 on a Fedora Core 3 x86-64 using XSP: xsp-1.0.9-0.novell MONO: 1.1.8 I've copied all (RELEASE - NO incremental build) files but I get an error, so I searched and dropped CodeBehind