[Mono-devel-list] machine.config not found on Windows

2005-06-28 Thread Michi Henning
Hi, I've just installed Mono 1.1.8. When I try to run one of my binaries, I now get (under cygwin): $ mono ./server.exe Ice.DNSException: GetHostName failed ---> System.TypeInitializationException: An exception was thrown by the type initia lizer for System.Net.Dns ---> System.Configuration.Con

RE: [Mono-devel-list] XSP2 & VS 2005 Express

2005-06-28 Thread Miguel de Icaza
Hello, > Thanks for your reply, is there any way i can get it to work if I modify the > tags (I'm _really_ new to ASP.NET 2)? I had a look at the class library > status and only used stuff that was listed as working / supported in the > project. The best thing to do at this point is to post a ful

RE: [Mono-devel-list] XSP2 & VS 2005 Express

2005-06-28 Thread Joshua McAdam
Hi Miguel, Thanks for your reply, is there any way i can get it to work if I modify the tags (I'm _really_ new to ASP.NET 2)? I had a look at the class library status and only used stuff that was listed as working / supported in the project. Regards, Josh -Original Message- From: Miguel

[Mono-devel-list] Winforms state.

2005-06-28 Thread Miguel de Icaza
Hello, > Does anyone in the mono project keep a comprehensive list of what is > implemented in Windows.Forms and what is not. I have been playing with > porting Infragistics to Linux and it is just not clear what will run and > what won't. The right place to discuss winforms is the mono-winfo

Re: [Mono-devel-list] System.Drawing.Printing

2005-06-28 Thread Miguel de Icaza
Hello, > We're gonna be using the Cairo postscript driver to output to cups on Linux, > (postscript output should also work for the Mac). But this requires a) the > cairo API to settle down and b) moving all of gdiplus to the 1.0 cairo API. > Cairo is still too much in flux (even though they're

Re: [Mono-devel-list] XSP2 & VS 2005 Express

2005-06-28 Thread Miguel de Icaza
Hello, > I can view all the demo’s including 1.1 and 2.0 pages, all my 1.1 > projects seem to work fine J but I can’t use anything I create with VS > 2005, it simply says it cannot find the ProjectName.Global class which > Global.asax inherits from. This is normal, Mono currently does not have su

[Mono-devel-list] Mono repository RSS feeds

2005-06-28 Thread Joshua Tauberer
At one point Mono's SVN web view provided RSS feeds which I found really useful. I don't think we have that anywhere anymore, so (because I was bored) I set up RSS feeds for the repository. You can pick out the precise directory to watch by editing the URL, e.g: http://taubz.for.net/monorss/f

[Mono-devel-list] XSP2 & VS 2005 Express

2005-06-28 Thread Joshua McAdam
Hi Guys,   I have been having a look at the VS 2005 Express edition and thought I would try it with XSP2 to see how it went.   So I upgraded to mono1.1.8.1 and xsp 1.0.9, copied my project onto my test server and started XSP2 up. I can view all the demo’s including 1.1 and 2.0 pages, al

[Mono-devel-list] MONO_PARSE_PARAM in metadata.c???

2005-06-28 Thread Okehee Goh
There is a function mono_metadata_parse_type_full() at metadata.c. It include the following part: /* FIXME: remove the != MONO_PARSE_PARAM condition, this accounts for * almost 10k (about 2/3rds) of all MonoType's we create. */ if (mode != MONO_PARSE_PARAM && !ty

Re: [Mono-devel-list] System.Drawing.Printing

2005-06-28 Thread Peter Dennis Bartok
There is a plan, yes, and it involves, to some extent, a mechanism comparable to our driver model in MWF, yes. However, our focus is on MWF controls right now, we're planning working on S.D.P and MWF printing once the rest of MWF is ready. We're gonna be using the Cairo postscript driver to out

[Mono-devel-list] System.Drawing.Printing

2005-06-28 Thread Aleksandar Dezelin
Is there any plan to implement System.Drawing.Printing namespace? Can it be implemented using a driver model as in MWF? For example, we can use cups on Linux, Win32 API on Windows, some other printing mechanism on Mac OS X, etc... Cheers, Aleksandar Dezelin-- Linux is like wighwam, no windows no g

Re: [Mono-devel-list] [PATCH] System.Activator

2005-06-28 Thread Ben Maurer
On Tue, 2005-06-28 at 20:55 +0100, Elliott Draper wrote: > Hi guys, > > This is a simple patch that implements the generic > Activator.CreateInstance method found in the .Net framework v2.0, within > Mono (NET_2_0). It will allow code written under .Net v2.0 using the > method, to take advantag

Re: [Mono-devel-list] [PATCH] System.Net.FtpWebRequest

2005-06-28 Thread Miguel de Icaza
hello, > Also, need to add these lines to the mono supplied machine.config > under to do RegisterPrefix: > > /> > /> This sounds strange, I could swear that these classes are only available in the 2.x profile; Are you sure that we want to use the 1.0.5000.0 version? Miguel _

[Mono-devel-list] [PATCH] System.Activator

2005-06-28 Thread Elliott Draper
Hi guys, This is a simple patch that implements the generic Activator.CreateInstance method found in the .Net framework v2.0, within Mono (NET_2_0). It will allow code written under .Net v2.0 using the method, to take advantage of the same method under Mono without code change. The full metho

Re: [Mono-devel-list] mcs patch for precise location handling

2005-06-28 Thread Allan Edwards
several expressions and statements. For members in iterators (MoveNext() and so on), it reuses the same Location of the corresponding iterator itself. http://monkey.workarea.jp/tmp/20050627/precise-location-20050628.diff Total memory allocated decreased a bit: 77618 KB http://monkey.workarea.jp/tmp/2005

Re: [Mono-devel-list] Re: [Mono-patches] r46615 - trunk/mcs/class/System.Data/Test/System.Data

2005-06-28 Thread Ben Maurer
On Tue, 2005-06-28 at 20:23 +0300, Eyal Alaluf wrote: > Hi, Ben. > > As I said we have a problem. It works fine for me, I looked at the test and it > does not use 1 as a year (it uses 2000). Something is wrong. > Also, did you commit all the changes? I get a ton of erros about SqlMoney > (whic

Re: [Mono-devel-list] Re: [Mono-patches] r46615 - trunk/mcs/class/System.Data/Test/System.Data

2005-06-28 Thread Eyal Alaluf
Hi, Ben. As I said we have a problem. It works fine for me, I looked at the test and it does not use 1 as a year (it uses 2000). Something is wrong. Also, did you commit all the changes? I get a ton of erros about SqlMoney (which I don't understand at all, the code looks perfectly innocent). I

Re: [Mono-devel-list] mcs patch for precise location handling

2005-06-28 Thread Atsushi Eno
Hi, Sorry, the last patch actually didn't include the fix for bug #57047. This time it should be included (I found it running diff against two diff files). This time the patch changes only a few things than before: http://monkey.workarea.jp/tmp/20050627/precise-location-20050628_2.diff You coul

Re: [Mono-devel-list] Re: [Mono-patches] r46615 - trunk/mcs/class/System.Data/Test/System.Data

2005-06-28 Thread Ben Maurer
On Tue, 2005-06-28 at 19:51 +0300, Eyal Alaluf wrote: > Hi, Ben. > > I believe that we have an issue to resolve here. I never got this particular > error and I believe that you have a problem on your side. Specifically, I > don't get any failures like that for the following tests: > -

Re: [Mono-devel-list] Re: [Mono-patches] r46615 - trunk/mcs/class/System.Data/Test/System.Data

2005-06-28 Thread Eyal Alaluf
Hi, Ben. I believe that we have an issue to resolve here. I never got this particular error and I believe that you have a problem on your side. Specifically, I don't get any failures like that for the following tests: - [Category ("NotWorking")] public void ReadXml_St

Re: [Mono-devel-list] Re: [Mono-patches] r46615 - trunk/mcs/class/System.Data/Test/System.Data

2005-06-28 Thread Atsushi Eno
Hi Eyal, You can check the buildbot log and what was failing for everyone. http://mono.ximian.com:8008/i386-head-mono/builds/137/test%20profiles/0 (I searched "failure 1" and it hit "failures1) ...") To find build breakage for class libraries from the top page (http://mono.ximian.com:8008/ ), "te

Re: [Mono-devel-list] Re: [Mono-patches] r46615 - trunk/mcs/class/System.Data/Test/System.Data

2005-06-28 Thread Ben Maurer
On Tue, 2005-06-28 at 11:16 +0300, Eyal Alaluf wrote: > Hi, Ben. > > Can you send me & Kosta the list of failures you have? I don't recall these > tests below failing and perhaps something does not work well on your side. I mostly got stuff like: 2) MonoTests_System.Data.DataSetTest2.ReadXml_Str

Re: [Mono-devel-list] mcs patch for precise location handling

2005-06-28 Thread Marek Safar
Hello Eno, Now as you moved Location to MemberName public class MemberName { public readonly string Name; public readonly MemberName Left; + public readonly Location Location; You could remove loc from MemberCore and add only property as Lo

Re: [Mono-devel-list] mcs patch for precise location handling

2005-06-28 Thread Atsushi Eno
ecuded Location argument in several expressions and statements. For members in iterators (MoveNext() and so on), it reuses the same Location of the corresponding iterator itself. http://monkey.workarea.jp/tmp/20050627/precise-location-20050628.diff Total memory allocated decreased a bit: 77618 KB htt

Re: [Mono-devel-list] Detecting Unicode strings

2005-06-28 Thread Rafael Teixeira
Hi Aleksandar, Are you meaning Unicode (16-bit wide chars [in truth UTF-16, as Unicode is 32bit nowadays]) or UTF-8 (8-bit multibyte encoding of Unicode chars)? The wide char encodings (UCS-2, UTF-16, UCs-4) are easily spotted by the large number of zeroed bytes in the stream for texts in western

[Mono-devel-list] Detecting Unicode strings

2005-06-28 Thread Aleksandar Dezelin
How can I detect if the string is a Unicode string at runtime? cheers, Aleksandar Dezelin-- Linux is like wighwam, no windows no gates and apache inside... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/

Re: [Mono-devel-list] Nested Master Pages

2005-06-28 Thread Johann BLAIS
Kornél Pál wrote: From: "Johann BLAIS" I'm sorry but I still don't understand what prevent ASP.NET 2.0 features from being documented (a little)... It takes time to document something.:) And as it' still under development it's no use to create documentation about implemented features. You

Re: [Mono-devel-list] Problem with MSSQL server and GUID parameters...

2005-06-28 Thread Hubert FONGARNAND
Le Mardi 28 Juin 2005 12:41, Hubert FONGARNAND a écrit : I've seen with ethereal that a GUID parameter is sent as binary form with MS.NET with Mono, a GUID parameter is sent as text : 0x is that the problem??? > I've an issue with MSSQL Server and mono... > I just do a select * where [EMAIL P

Re: [Mono-devel-list] mcs patch for precise location handling

2005-06-28 Thread Raja R Harinath
Hi, Atsushi Eno <[EMAIL PROTECTED]> writes: [snip] > - I changed tokenizer to return Location for keywords, and > new "LocatedToken" for IDENTIFIERS, unary operators and > some symbols such as SEMICOLON. And modified cs-parser.jay > to cast correct types (especially

Re: [Mono-devel-list] mcs patch for precise location handling

2005-06-28 Thread Marek Safar
Hello Eno, That is massive ;-) In the most cases we don't need to pass Location as extra parameter now. It would be nice to remove also this redundant casts and arguments. For example. $$ = new ComposedCast ((Expression) $1, "*", ((Expression) $1).Location); or $$ = new Invocation ((Expression

Re: [Mono-devel-list] Indentation

2005-06-28 Thread Michele Beltrame
Hello! > Its just a style choice. Like any style choice it is pretty much made > up arbitrarily. > The point is that for the sake of conformance, we must keep the coding > style consistent. Thank you (and thanks to Ben Maurer as well) for you explanation. The was no intention to start a flamewa

RE: [Mono-devel-list] problems with Syscall.syslog

2005-06-28 Thread Vorobiev Maksim
Good day. But it still has a problem in map.c for function int Mono_Posix_FromSyslogFacility (int x, int *r). It checks for constants via &-mask: search for first occurrence. The next code: if ((x & Mono_Posix_SyslogFacility_LOG_USRE) == Mono_Posix_SyslogFacility_LOG_USRE) #ifdef LOG_USRE

Re: [Mono-devel-list] Nested Master Pages

2005-06-28 Thread Kornél Pál
From: "Johann BLAIS" I'm sorry but I still don't understand what prevent ASP.NET 2.0 features from being documented (a little)... It takes time to document something.:) And as it' still under development it's no use to create documentation about implemented features. You can look at the status

Re: [Mono-devel-list] Nested Master Pages

2005-06-28 Thread Johann BLAIS
Lluis Sanchez wrote: El dv 17 de 06 del 2005 a les 11:41 +0200, en/na Johann BLAIS va escriure: Hi, I'm still working on Master Pages (thanks to Lluis), but now I face another problem : I cannot nest master pages. Usually this is done by adding a master attribute to the child master defin

Re: [Mono-devel-list] problems with Syscall.syslog

2005-06-28 Thread Jonathan Pryor
On Mon, 2005-06-27 at 18:35 +0400, Vorobiev Maksim wrote: > I've started using Syscall.syslog method and encounted several > problems. It may be errors in mono, or I just missed some details. > Please note, that I use Suse 9.2 linux distribute. It's nice to know someone is testing it. :-) > 1. In

[Mono-devel-list] Re: problems with Syscall.syslog

2005-06-28 Thread Martin Honermeyer
Hello Vorobiev, Vorobiev Maksim wrote: > Good day. > > I've started using Syscall.syslog method and encounted several problems. > It may be errors in mono, or I just missed some details. Please note, > that I use Suse 9.2 linux distribute. > > 1. In Syscall.cs enumeration SyslogFacility declare

Re: [Mono-devel-list] [PATCH] Reworked unified Locale classes

2005-06-28 Thread Kornél Pál
I posted this message a long ago. Please review the benchmark results and tell me whether this overhead is worth or is too much. Kornél - Original Message - From: Miguel de Icaza From: Ben Maurer I want to know the real impact (we have the tools, it should take a few minutes at most

[Mono-devel-list] Problem with MSSQL server and GUID parameters...

2005-06-28 Thread Hubert FONGARNAND
I've an issue with MSSQL Server and mono... I just do a select * where [EMAIL PROTECTED] and fiche_id is a Guid parameters... MS.NET return something, mono returns nothing; here's my code : class MainClass { static string cnx="packet size=4096;user id=sa;password=sa;data source=10.69.100.

[Mono-devel-list] Re: [Mono-patches] r46615 - trunk/mcs/class/System.Data/Test/System.Data

2005-06-28 Thread Eyal Alaluf
Hi, Ben. Can you send me & Kosta the list of failures you have? I don't recall these tests below failing and perhaps something does not work well on your side. Eyal. On Mon, 27 Jun 2005, Ben Maurer <[EMAIL PROTECTED]> wrote: > Date: Mon, 27 Jun 2005 18:35:04 -0400 (EDT) > From: "Ben Maurer <[EM