Re: [Mono-devel-list] Error in Mbas

2005-02-28 Thread Sureshkumar T
> From: "Vasudevan Sudharsan" <[EMAIL PROTECTED]> > To: > Subject: [Mono-devel-list] Error in Mbas > Date: Mon, 28 Feb 2005 23:50:58 -0700 > Hai > > When I tried to build in Mbas I got the following errors [ in mcs/mbas > ] > > driver.cs(70) error CS0117: Attribute `Mono.GetOptions.OptionA

Re: [Mono-devel-list] Implemented Dictionary

2005-02-28 Thread Ankit Jain
Err... attached are the same tests in diff form (.patch) -Ankit On Tue, 1 Mar 2005 12:46:46 +0530, Ankit Jain <[EMAIL PROTECTED]> wrote: > Attached is DictionaryTest.cs with the test cases. > > -Ankit > > > On Mon, 28 Feb 2005 20:34:09 +0530, Ankit Jain <[EMAIL PROTECTED]> wrote: > > Yup.. we

Re: [Mono-devel-list] Implemented Dictionary

2005-02-28 Thread Ankit Jain
Attached is DictionaryTest.cs with the test cases. -Ankit On Mon, 28 Feb 2005 20:34:09 +0530, Ankit Jain <[EMAIL PROTECTED]> wrote: > Yup.. we have the test cases also. Giving a little problem while > running the test, will fix that and send it tomorrow. > > -Ankit > > On Mon, 28 Feb 2005 07:5

[Mono-devel-list] Error in Mbas

2005-02-28 Thread Vasudevan Sudharsan
Hai   When I tried to build in Mbas I got the following errors  [ in "mcs/mbas" ]   driver.cs(70) error CS0117: Attribute `Mono.GetOptions.OptionAttribute' does not contain a definition for `SecondLevelHelp' driver.cs(91) err

[Mono-devel-list] Error in 'make run-test PROFILE=net_2_0'

2005-02-28 Thread Ankit Jain
Hi, I added a file DictionaryTest.cs to mcs/class/corlib/Test/System.Collections.Generic, added an entry to corlib_test.dll.sources. Running $ make test PROFILE=net_2_0 runs fine $ make run-test PROFILE=net_2_0 OS Version: Unix 2.4.21.99Mono Version: 2.0.40607.16 Excluded categories: NotWo

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Jesse Towner
Yes, you're absolutely right. Oh well, I tried. :-) Jesse Towner, Lead Programmer, Hybrid Mobile Technologies, LLC Email Addresses: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> PGP Public Key: http://www.virtuallyonline.net/perso

[Mono-devel-list] Thank you NPTL + AMD64 Fixer

2005-02-28 Thread Thomas Harning Jr.
I was having some horrible trouble compiling Mono from SVN as well as the latest source release until today when I tried one last SVN time before giving up for quite some time and trying to come up with a bug-report and it worked! Btw I think it might have been my NPTL + AMD64 + Gentoo

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Dick Porter
On Mon, 2005-02-28 at 17:57 -0500, Ben Maurer wrote: > In the end, supporting people's completely broken code doesn't seem to > be worthy of adding complexity to io-layer, especially given that we > have a plethora of bugs to track down there already. > > However, it is Dick's call, not mine. If

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Ben Maurer
On Mon, 2005-02-28 at 13:26 -0800, Jesse Towner wrote: > Even so, some > people insist on using it. Just do a google search for "C# TickCount > system uptime" to see > what I mean (note this returns both correct and incorrect examples). > > The correct way to determine the system uptime with the M

[Mono-devel-list] Mono.GetOptions got new features

2005-02-28 Thread Rafael Teixeira
Landed on SVN HEAD, some small new features for Mono.GetOptions (that mbas is already using). Changed Mono.GetOptions/OptionAttribute.cs, Mono.GetOptions/OptionDetails.cs, Mono.GetOptions/OptionList *1* Implemented support for vbc style booleans: /debug+ /debug- . * Usage: [Option

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Jesse Towner
Ben Maurer wrote: Yes, sure. I can do that. However, I'm a little unsure if I should bother with all of these changes if they're not going to be committed anyway. I know of at least a few people who have mistakenly used System.Environment.TickCount and complained it didn't work the way they expecte

Re: [Mono-devel-list] VTable & Interfaces

2005-02-28 Thread Ben Maurer
On Mon, 2005-02-28 at 21:02 +0100, Willibald Krenn wrote: > > > > For some meanings of `very high costs'. The cost is likely orders of > > magnitude less than the actual recompilation. > > Ahm, yes - of course. But I meant in comparison to 'normal' instance > methods.. > Any answer to the 'real'

Re: [Mono-devel-list] VTable & Interfaces

2005-02-28 Thread Willibald Krenn
For some meanings of `very high costs'. The cost is likely orders of magnitude less than the actual recompilation. Ahm, yes - of course. But I meant in comparison to 'normal' instance methods.. Any answer to the 'real' question? Thanks, Willi ___ Mono-

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Ben Maurer
> Yes, sure. I can do that. However, I'm a little unsure if I should > bother with all of these changes if they're not going to be committed > anyway. I know of at least a few people who have mistakenly used > System.Environment.TickCount and complained it didn't work the > way they expected it to

Re: [Mono-devel-list] Development environment used for developing mono.

2005-02-28 Thread Simon Bain
Just to confirm that I am using Fedora Core 2 and also Win XP. Cheers Simon > This is varied: many developers use different distros in different > versions. > > Just an example: I'm still using Fedora Core 2. > > > On Mon, 28 Feb 2005 11:40:40 +1300, Scott Mohekey > <[EMAIL PROTECTED]> wrote: >>

Re: [Mono-devel-list] log4net on Mono

2005-02-28 Thread Rafael Teixeira
Last time I checked its have a target build specific for mono. It moved to Apache Foundation Incubator: http://logging.apache.org/log4net/ and they answer your question at: http://logging.apache.org/log4net/release/framework-support.html HIH, On Mon, 28 Feb 2005 18:33:40 +0100 (CET), Mauro Be

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Jesse Towner
Paolo Molaro wrote: On 02/26/05 Jesse Towner wrote: Could you add configure tests for this, instead of using operating system defines? Yes, that can be done. Do you have access to such systems? If the code is not tested it's better to not include it. I'll remove code for the systems I can't test.

Re: [Mono-devel-list] VTable & Interfaces

2005-02-28 Thread Ben Maurer
> Hi! > > I just looked at the VTable and hope someone can confirm my 'findings': > > Each virtual method that is part of an interface has (at least?) two > entries in the VMT: One in the 'class' area, a second one in the > 'interface' area. Even more pointers to the same method are possible in > t

Re: [Mono-devel-list] Development environment used for developing mono.

2005-02-28 Thread Rafael Teixeira
This is varied: many developers use different distros in different versions. Just an example: I'm still using Fedora Core 2. On Mon, 28 Feb 2005 11:40:40 +1300, Scott Mohekey <[EMAIL PROTECTED]> wrote: > Hi all, I'm interested in elliminating any possible issues caused by > incompatabilities of

Re: [Mono-devel-list] Problems with UTF-8 Decoder

2005-02-28 Thread Rafael Teixeira
Sorry I now checked: FEFF is the ZERO WIDTH NO-BREAK SPACE that is also used as Byte Order Marker, what normally entails it to be eliminated if it is the first unicode character in a text stream, but it sure should be preserved by the encoder/decoder. About the character: http://www.fileformat.inf

Re: [Mono-devel-list] Problems with UTF-8 Decoder

2005-02-28 Thread Rafael Teixeira
You are using outdated documentation for the utf-8 standard as of unicode 3.x, we have more than 1 million codepoints (20 bits) and utf-8 was extended to expand some of those in 5 or 6 bytes. Get some updated documentation. Also from the top of my mind \uFEFF is the continuation prefix in utf-16

Re: [Mono-devel-list] Performance of Mono on Windows

2005-02-28 Thread Rafael Teixeira
inline On Sat, 26 Feb 2005 05:54:58 -0700, Ritvik Mayank <[EMAIL PROTECTED]> wrote: > Quite a few test are hanging under mbas : > under Test/errors and Test/tests and Test/rerrors > (i have substituted vbc.exe with mbas using a symbolic links.) >From SVN HEAD I'm getting an Exception in the co

[Mono-devel-list] VTable & Interfaces

2005-02-28 Thread Willibald Krenn
Hi! I just looked at the VTable and hope someone can confirm my 'findings': Each virtual method that is part of an interface has (at least?) two entries in the VMT: One in the 'class' area, a second one in the 'interface' area. Even more pointers to the same method are possible in the interface

[Mono-devel-list] log4net on Mono

2005-02-28 Thread Mauro Bertoli
Hi, log4net is available/ported on Mono? Thx ___ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora! http://it.messenger.yahoo.it ___ Mono-devel-l

[Mono-devel-list] RE: HttpWebRequest over SSL

2005-02-28 Thread Andrew Gleave
It's ok, I've figured out how to do it and it is now working fine.  However, the timeout property for the HttpWebRequest object doesn't seem affect the timeout period.  I'm setting it to timeout after 500 (ms) but it's taking about 4-5mins until it actually does.  Any ideas?   Thanks a lot

Re: [Mono-devel-list] develop under Microsoft .NET and porting toMono is correct?

2005-02-28 Thread Mauro Bertoli
Ok, I understand. But SWF will implemented as Windows or Mono's team will correct this problems or are in the SWF base-structure? I think is faster develop in SWF and I believe that the time will implement SWF Forms very similar to Windows OS... and more portable... Chiacchiera con i tuoi amici in

Re: [Mono-devel-list] Implemented Dictionary

2005-02-28 Thread Ankit Jain
Yup.. we have the test cases also. Giving a little problem while running the test, will fix that and send it tomorrow. -Ankit On Mon, 28 Feb 2005 07:58:06 -0500 (EST), Ben Maurer <[EMAIL PROTECTED]> wrote: > > Attached is an implementation of Generic Dictionary coded by Suresh and > > I. > > Mu

[Mono-devel-list] HttpWebRequest over SSL

2005-02-28 Thread Andrew Gleave
Hi all,     We're experimenting with mono for a small app that uses a GET to pull down page contents.  I have tested the code over http, and https using .NET and it works fine.  However, when using mono the http test works fine but the https fails.  I'm getting the following exception thrown

Re: [Mono-devel-list] [PATCH] Flags handling for _wapi_recv, _recvfrom, _send, _sendto and getsockopt

2005-02-28 Thread Dick Porter
On Mon, 2005-02-28 at 19:27 +0530, Ankit Jain wrote: > Attached patch adds conversion of SocketFlags to linux flags required > for _wapi_recv, _wapi_recvfrom, _wapi_send, _wapi_sendto calls. The patch adds non-W32 API to io-layer, which breaks the windows build. You should turn managed flags into

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Dick Porter
On Mon, 2005-02-28 at 15:01 +0100, Paolo Molaro wrote: > GetTickCount () is defined as returning the (possibly wrapped) number of > ms since the boot. Of course anyone who uses it to get the uptime is > stupid, but that doesn't mean we should not have a correct implementation > when possible. It's

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Paolo Molaro
On 02/28/05 Dick Porter wrote: > However, using GetTickCount to look up the boot time is completely > pointless on reliable OSes, because as Ben says the 32bit counter wraps > round every 47 days. Therefore I won't be applying a patch to "fix" > this non-issue. GetTickCount () is defined as retur

[Mono-devel-list] develop under Microsoft .NET and porting toMono is correct?

2005-02-28 Thread Stephen Quattlebaum
> More specifically, it will look like > Windows, which might as well be ass on Gnome/KDE. :-) Worse, it'll look like Windows 95, which looked like ass even on Windows 95... XP isn't exactly a Mac, but when an app does its themeing correctly, it's a hell of a lot better than the 95 look. > Wh

[Mono-devel-list] [PATCH] Flags handling for _wapi_recv, _recvfrom, _send, _sendto and getsockopt

2005-02-28 Thread Ankit Jain
Hi, Err.. forgot to attach the patch... Attached patch adds conversion of SocketFlags to linux flags required for _wapi_recv, _wapi_recvfrom, _wapi_send, _wapi_sendto calls. I'm not sure how to handle these flags though: DontRoute MaxIOVectorLength Partial Also, the patch adds handling of Soc

Re: [Mono-devel-list] Is native codes for C# methods and CLI internal calls different?

2005-02-28 Thread Vivek, Bharath Varma (IE10)
>From inside the mono runtime, the proper way to walk the stack >frames in a thread is to use the mono_walk_stack() function, there >are a couple of examples of its use in mini/mini-exceptions.c. For a HelloWorld application, I make a call to mono_jit_walk_stack from an unhandled exception filter

[Mono-devel-list] [PATCH] Flags handling for _wapi_recv, _recvfrom, _send, _sendto

2005-02-28 Thread Ankit Jain
Hi, Attached patch adds conversion of SocketFlags to linux flags required for _wapi_recv, _wapi_recvfrom, _wapi_send, _wapi_sendto calls. I'm not sure how to handle these flags though: DontRoute MaxIOVectorLength Partial Also, the patch adds handling of SocketOption.Error for getsockopt which i

Re: [Mono-devel-list] Serialization/Deserialization question

2005-02-28 Thread Lluis Sanchez
On dl, 2005-02-28 at 14:19 +0100, Aleksandar Dezelin wrote: > I have an object serialized in .NET and I wan't to deserialize it in > Mono but I throws an exception saying that "binary object cannot be > found". I've tried to "chop" BinaryFormatter from latest svn code but > it won't work properly u

[Mono-devel-list] Serialization/Deserialization question

2005-02-28 Thread Aleksandar Dezelin
I have an object serialized in .NET and I wan't to deserialize it in Mono but I throws an exception saying that "binary object cannot be found". I've tried to "chop" BinaryFormatter from latest svn code but it won't work properly under .NET. Does anybody have an idea how can I transform this serial

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Dick Porter
On Sat, 2005-02-26 at 19:48 -0500, Ben Maurer wrote: > On Sat, 2005-02-26 at 13:07 -0800, Jesse Towner wrote: > > This should fix the problem of System.Environment.TickCount reporting > > incorrect values on > > non-windows systems. It now determines the boot time of the system, and > > from there

Re: [Mono-devel-list] Implemented Dictionary

2005-02-28 Thread Ben Maurer
> Attached is an implementation of Generic Dictionary coded by Suresh and > I. Much, much, much better. Is this api compat with the latest msft version? Miguel, do you have any pending changes from ECMA? Also, do you have unit tests? -- Ben ___ Mono-

Re: [Mono-devel-list] develop under Microsoft .NET and porting to Mono is correct?

2005-02-28 Thread Jonathan Pryor
On Mon, 2005-02-28 at 09:57 +0100, Mauro Bertoli wrote: > Hi, thank for answers. I don't understand why I should > use GTK# or similares... the windows forms Mono layer > is not native? it require some extra-libraries / > layers? It think not, I'm wrong? I will integrate > Forms on Linux after... I

Re: [Mono-devel-list] Implemented Dictionary

2005-02-28 Thread Ankit Jain
Attached is an implementation of Generic Dictionary coded by Suresh and I. Regards, Ankit On Sun, 27 Feb 2005 12:56:51 -0500 (EST), Ben Maurer <[EMAIL PROTECTED]> wrote: > > > > - Original Message - > > From: "Ben Maurer" <[EMAIL PROTECTED]> > > To: "Matthijs ter Woord (meddochat)" <[EMA

Re: [Mono-devel-list] Building mono1.1.4 on linux ppc

2005-02-28 Thread Paolo Molaro
On 02/28/05 Jeffrey Knight wrote: > MONO_PATH="../../class/lib/default:$MONO_PATH" > /root/mono-1.1.4/runtime/mono-wrapper ../../class/lib/default/mcs.exe > -d:NET_1_1 -d:ONLY_1_1 -debug /noconfig /r:mscorlib.dll /r:System.dll > /r:System.Windows.Forms.dll @Microsoft.VisualBasic.dll.resources > -

Re: [Mono-devel-list] Tests for Reflection Only

2005-02-28 Thread Paolo Molaro
On 02/25/05 Carlos Alberto Cortez wrote: > Attached are some checks added to the nunit tests for System.Reflection > classes that could throw an exception, when the assembly they belong to > is a reflection only one. > > Could I commit? Commit after you have tested the tests work on the MS runtim

Re: [Mono-devel-list] Is native codes for C# methods and CLI internal calls different?

2005-02-28 Thread Paolo Molaro
On 02/25/05 Okehee Goh wrote: > I'm using mono1.1.4 with JIT in Linux on X86. > I'd like to check native codes generated for C# applications with JIT. > I want to see how C# methods and Mono Internal calls are translated > into native codes, and also how stack frames for them are different? > Ult

Re: [Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

2005-02-28 Thread Paolo Molaro
On 02/26/05 Jesse Towner wrote: > This should fix the problem of System.Environment.TickCount reporting > incorrect values on > non-windows systems. It now determines the boot time of the system, and > from there can > determine the uptime, which is what GetTickCount requires. I haven't > tested it

Re: [Mono-devel-list] malloc_consolidate segfaults

2005-02-28 Thread Paolo Molaro
On 02/28/05 Scott Mohekey wrote: > All of the malloc_consolidate issues have gone, however the > mono_jit_free_method assertion failure (method->dynamic) still occurs on > occasion. Could you file a bug report with a test case that reproduces this? Thanks. lupus -- ---

Re: [Mono-devel-list] develop under Microsoft .NET and porting to Mono is correct?

2005-02-28 Thread Mauro Bertoli
Hi, thank for answers. I don't understand why I should use GTK# or similares... the windows forms Mono layer is not native? it require some extra-libraries / layers? It think not, I'm wrong? I will integrate Forms on Linux after... I will it another 4/6 months or year! What do you think? Mauro > -

Re: [Mono-devel-list] develop under Microsoft .NET and porting to Mono is correct?

2005-02-28 Thread Mauro Bertoli
--- Zac Bowling <[EMAIL PROTECTED]> ha scritto: > Everything should be perfect. For better integration > of GTK# elements > into a Windows environment use the WIMP theme. It > emulates Windows text > regions and exposes accessibility features of > Windows on GTK widgets. > Avoid using GConf, Gnom