Re: [Mono-devel-list] Npgsql breaks multi-line queries

2005-07-28 Thread Francisco Figueiredo Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rafael Teixeira wrote: > I've forwarded your patch to Francisco Jr. that created/maintains > npgsql, as the primary repository for it is at gborg under his > control, and is just synced inside Mono's. > > Thanks for spotting that, > Hi Rafael, Jaro

Re: [Mono-devel-list] Key Exchanges (RSA vs DH)

2005-07-28 Thread Sebastien Pouliot
Hello Thomas, On Thu, 2005-28-07 at 03:50 -0400, Thomas Harning Jr. wrote: > I'm trying to evaluate key exchange algorithms for both speed, > security, and verification [S, S, V]. > I was thinking of using RSA mainly, but I ran accross some info > about DiffieHellman being good for key exchange.

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Kornél Pál
Committed revision 47823. From: Andreas Nahr The problem is, that several Attributes of classes in System.Web do not use the consts scheme, and about one third of your (BIG) patch is just for changing these Attributes. It's still BIG.:) Attached an updated version of the original patch. Korn

Re: [Mono-devel-list] TimeStamp support on oracle...

2005-07-28 Thread Daniel Morgan
You need to modify OciDefineHandle to deal with the TIMESTAMP. See Define(), DefineDate(), and GetValue(). You can create a new function called DefineTimestamp() based on DefineDate() and allocate space for it based OciDataType.TimeStamp. What about TIMESTAMP WITH TIMEZONE and TIMESTAMP WITH

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Ben Maurer
On Fri, 2005-07-29 at 01:31 +0200, Kornél Pál wrote: > This patch is for System.Web.UI.WebControls. > > If you find any problems regarding the patch itself feel free to comment it > but if you imagine any other non-blocking patches that should be done before > committing this one I promise that I

Re: [Mono-devel-list] monodevelop-GtkSourceView-CRITICAL

2005-07-28 Thread Paul F. Johnson
Hi, > i am a new mono programmer, i buy "Mono-a developer's notebook" of > O Reilly and i am studing it. It's a rather good book - my main problem with it is that it looks like a school book with those silly squares on the paper. > I have installed on my linux slackware notebook the lates

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Kornél Pál
This patch is for System.Web.UI.WebControls. If you find any problems regarding the patch itself feel free to comment it but if you imagine any other non-blocking patches that should be done before committing this one I promise that I will propose no more pathes. Kornél - Original Message -

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Ben Maurer
On Fri, 2005-07-29 at 00:57 +0200, Kornél Pál wrote: > BTW is there a way to have a common .sources file because it seems that we > are going to have more and more common files that has to be added to the > .sources file of each assembly? I think that's a bit excessive ;-). The goal is to make sur

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Ben Maurer
On Fri, 2005-07-29 at 00:42 +0200, Andreas Nahr wrote: > Yes - it would make a lot of sense to put them into a single file. However > it would come at a cost of up to 2kb of size added to EACH assembly that > uses Consts. Maybe the *FILE* will be 2 kb, but the metadata added probably won't be. T

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Kornél Pál
Hi, Bens idea is good. There should be a single file to define versions. Then the assembly references could be in the Consts.cs files of each assembly but there were no #if clauses to specify version because the reference constants could use the version constants defined in the common file. BTW

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Andreas Nahr
Yes - it would make a lot of sense to put them into a single file. However it would come at a cost of up to 2kb of size added to EACH assembly that uses Consts. In fact I think we could do something really clever to our compiler here, that would also benefit for a lot of other cases. AFAIK the

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Kornél Pál
Hi, I agree with you that this a better idea but I will never try to submit such a big patch for proposal because it would change too much code and it figured out that it is nearly impossible to make any major change to Mono because if there are no mistakes and errors in the patch itself an endle

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Ben Maurer
On Fri, 2005-07-29 at 00:07 +0200, Andreas Nahr wrote: > No Consts.cs aren't automatically generated. > The problem is, that several Attributes of classes in System.Web do not use > the consts scheme, and about one third of your (BIG) patch is just for > changing these Attributes. > We will then

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Andreas Nahr
No Consts.cs aren't automatically generated. The problem is, that several Attributes of classes in System.Web do not use the consts scheme, and about one third of your (BIG) patch is just for changing these Attributes. We will then have to change these again later, so it might make sense do do

Re: [Mono-devel-list] [off topic] mono/.net pure managed wrapperlibraries

2005-07-28 Thread Andreas Nahr
Don't think about performance on this one, because the loss will be absolutely unmeasurable (or at least extremely small) unless you want to stream byte by byte. It is quite possible, that the mono jit will inline that code anyways... Just create an abstract base class (or interface) and then in

Re: [Mono-devel-list] Patch for generating debug info in System.Reflection.Emit

2005-07-28 Thread Rodrigo B. de Oliveira
On 7/28/05, Rodrigo B. de Oliveira <[EMAIL PROTECTED]> wrote: > ... > I'm getting off-by-one errors only with raise/throw statements: > The behavior is actually a little more complex but still predictable. The stack trace entry for the raise line is always the line of the next statement in the sa

Re: [Mono-devel-list] mono use 100% cpu when not use root

2005-07-28 Thread Zoltan Varga
Hi, Please zip it and send it to the list or attach it to a bug. Are you by any chance ran a 32bit version of mono on the same machine or a machine which shares the home directory ? thanks Zoltan On 7/28/05, giuli

[Mono-devel-list] monodevelop-GtkSourceView-CRITICAL

2005-07-28 Thread stefano
Hello, i am a new mono programmer, i buy "Mono-a developer's notebook" of O Reilly and i am studing it. I have installed on my linux slackware notebook the latest version of mono but when i run monodevelop i have this error: (MonoDevelop:29539): GtkSourceView-CRITICAL **

Re: [Mono-devel-list] Npgsql breaks multi-line queries

2005-07-28 Thread Rafael Teixeira
I've forwarded your patch to Francisco Jr. that created/maintains npgsql, as the primary repository for it is at gborg under his control, and is just synced inside Mono's. Thanks for spotting that, :) On 7/28/05, Jaroslaw Kowalski <[EMAIL PROTECTED]> wrote: > Hi! > > I found that Npgsql client

Re: [Mono-devel-list] Found a bug in DrawBeziers in Graphics.cs (I think...)

2005-07-28 Thread Duncan Mak
On Mon, 2005-07-25 at 13:36 +0200, Heinz Mueller wrote: > Now to the subject: when trying out a program from the fist > mentioned book (a clock with Bezier spline hands with System.Drawing) > I got an value out of range exception in the points array of > DrawBeziers. > I looked up the source and I

Re: [Mono-devel-list] Source code file name and line form PDB

2005-07-28 Thread Paolo Molaro
On 07/28/05 Kornél Pál wrote: > As I know the only reason is that noone implemented it yet. And the real reason noone even started implementing it is that the pdb file format is not documented. The MS people responsible for it don't even let other MS programmers access the file format (for the off

Re: [Mono-devel-list] Mod_mono / XSP compiled from scratch latest

2005-07-28 Thread Miguel de Icaza
Hello, > Corlib not in sync with this runtime: expected corlib version 37, > found 22. > > Download a newer corlib or a newer runtime at > http://www.go-mono.com/daily. This is not an xsp/mod_mono issue. You updated Mono incorrectly or you have two monos installed. > > > > I’m not exactly

Re: [Mono-devel-list] mono use 100% cpu when not use root

2005-07-28 Thread Chris Morgan
I reported a similar looking bug that went away when I deleted my .wapi directory http://bugzilla.ximian.com/show_bug.cgi?id=75103 The bt I got seemed to have a bit more information. Chris On 7/28/05, Ben Maurer <[EMAIL PROTECTED]> wrote: > On Thu, 2005-07-28 at 19:48 +0200, giulio alfano wro

Re: [Mono-devel-list] mono use 100% cpu when not use root

2005-07-28 Thread Ben Maurer
On Thu, 2005-07-28 at 19:48 +0200, giulio alfano wrote: > I have renamed it, and it's ok now... Can you zip up the old one and attach it. -- Ben ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/

Re: [Mono-devel-list] mono use 100% cpu when not use root

2005-07-28 Thread giulio alfano
I have renamed it, and it's ok now... In any case, Miguel, I have tried with your rpm (1.1.8.2, 1.1.8.3) and with source(1.1.8.3). 2005/7/28, Zoltan Varga <[EMAIL PROTECTED]>: > Hi, > > Also, could you try renaming your $HOME/.wapi directory to something e

Re: [Mono-devel-list] Is there a way to Mono show accent characters?

2005-07-28 Thread Rafael Teixeira
FAQ updated: http://www.mono-project.com/FAQ:_ASP.NET#I_write_pages_that_contain_non-ASCII_characters.2C_and_they_appear_garbled_in_the_browser._What.27s_wrong.3F I also moved the content of ASP_NET section on FAQ:Technical to FAQ: ASP.NET leaving a link to the destination. :) On 7/28/05, Mig

[Mono-devel-list] Npgsql breaks multi-line queries

2005-07-28 Thread Jaroslaw Kowalski
Hi! I found that Npgsql client breaks multi-line queries by removing newline characters. This leads to improper sql being sent do postgresql. The following CommandText select a as b from C is sent as "select a as bfrom C" which is obviously an error because the space between "b" and

[Mono-devel-list] second attempt to checkin managed(?) collation patch

2005-07-28 Thread Atsushi Eno
header file. It will be like 1000 KB commit :( http://monkey.workarea.jp/tmp/20050728/collation-tables.h Unlike culture-info-table.h it does not index strings, so further fixes on the tables won't mess SVN commit logs, I think. Would it be looking good? Atsushi Eno Index: loca

[Mono-devel-list] [off topic] mono/.net pure managed wrapper libraries

2005-07-28 Thread Dominik Pich
Ok, I'm aware this is offtopic but hey :) it is _RELATED_ to mono in so far that I think about using it :P So... my situation: I have managed code written using ms .NET which uses MS managed wrapper for WMP. I'd like to port that code to osx using mono and as I then dont have WMP but QuickT

[Mono-devel-list] Mod_mono / XSP compiled from scratch latest

2005-07-28 Thread Colt D. Majkrzak
I just downloaded all of mono/xsp/mod_mono to upgrade to the latest on our Cpanel server, removing the cpanel outdated crap for mono.  I recompiled everything exactly how each describes but I’m getting a 503 Service temporarily Unavailable from the website itself, and if I look at the apach

RE: [Mono-devel-list] Calling Native C api - Marshalling issue.

2005-07-28 Thread Yogendra Thakur
Thanks Massi & Zoltan. It works after removing the ref. As Zoltan said, by defualt classed are passed as reference to unmanaged code. -YoGi -Original Message- From: Massimiliano Mantione To: Yogendra Thakur Cc: 'mono-devel-list@lists.ximian.com ' Sent: 7/28/05 11:17 AM Subject: Re: [Mon

Re: [Mono-devel-list] Looking for people to do Mono/autopackage integration

2005-07-28 Thread Mike Hearn
> a) You'd be rewriting what already exists, for what benefit? Raise the bar in the state of art of Linux installation. That's certainly a worthy goal, but I'd like to think we already did - easy to use one click installs are something we put a lot of effort into. If you haven't watched the F

Re: [Mono-devel-list] Looking for people to do Mono/autopackage integration

2005-07-28 Thread Miguel de Icaza
Hello, > > For those programs that do not require native libraries, we could > > probably generate a Mono-based installer that can use console or > > Windows.Forms based installations. > > Well, I can see why this would be tempting for you but my advice is don't: > > a) You'd be rewriting what a

[Mono-devel-list] TimeStamp support on oracle...

2005-07-28 Thread Hubert FONGARNAND
I really need the new TimeStamp type (supported starting from oracle 9). It's a MS.NET supported type (i've made tests)... I've begin to do a little patch (attached) to add the timestamp type to oracle.client... but... I've a strange error when i try to do a Fill, it failed with: Unhandled Excep

Re: [Mono-devel-list] mono use 100% cpu when not use root

2005-07-28 Thread Zoltan Varga
Hi, Also, could you try renaming your $HOME/.wapi directory to something else and trying again ? Zoltan On 7/28/05, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > Hello, > > > I use SuSE Linux 9.3 (x86-64) out of the box... > > Is there something

Re: [Mono-devel-list] mono use 100% cpu when not use root

2005-07-28 Thread Miguel de Icaza
Hello, > I use SuSE Linux 9.3 (x86-64) out of the box... > Is there something that I can do to solve the problem? How did you install Mono, from our packages, or from your source? If you did it from source, could you post your config.h and configure log files? Miguel _

Re: [Mono-devel-list] Calling Native C api - Marshalling issue.

2005-07-28 Thread Massimiliano Mantione
On Thu, 2005-07-28 at 10:15 -0400, Yogendra Thakur wrote: > I am getting problem while executing the c library function from C#. > //Define equivalent class to MyData structure > [StructLayout(LayoutKind.Sequential)] > public class CSMyData > { either should be a struct, not a class...

Re: [Mono-devel-list] Calling Native C api - Marshalling issue.

2005-07-28 Thread Zoltan Varga
Hi, classes are by default passed by-ref to unmanaged code, i.e. a pointer to the data is passed to the C side. If you define your managed method as 'ref', then the unmanaged code will receive a pointer-to-a-pointer to the data. Try removing the 'ref', or de

RE: [Mono-devel-list] PEAPI and 1.1.8.3 build

2005-07-28 Thread Gary M. Smithrud
That's it! Thanks! Gary M. Smithrud Haley Systems, Inc. Phone: 724-934-7853 [EMAIL PROTECTED] www.haley.com Moving at the Speed of Change -Original Message- From: Atsushi Eno [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 10:38 AM To: Gary M. Smithrud Cc: mono-devel-list@lists.

Re: [Mono-devel-list] PEAPI and 1.1.8.3 build

2005-07-28 Thread Atsushi Eno
Hi, Gary M. Smithrud wrote: I'm attempting to build 1.1.8.3 on Solaris (if anyone has any experience doing this and has suggestions, let me know) and it fails because it is attempting to build PEAPI, which is not part of the tarball. Is this needed? I'm not sure whether I should comment it out

[Mono-devel-list] Calling Native C api - Marshalling issue.

2005-07-28 Thread Yogendra Thakur
I am getting problem while executing the c library function from C#. Following is the equivalent code . C Code : --- //This is the structure in C typedef struct MyDataType { u_intdata1; u_int data2; } MyData; //This is the C function which is called by passing poi

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Kornél Pál
Hi, Note that I found 2:0:3600:0 in test-377-net_2_0-il.il so I canged it as well to 2:0:0:0. I found {2,0,3600,0}and {8,0,3600,0}in domain.c I changed them as well. I think there are no more x.0.3600.0 versions anywhere because this time I searched for 3600. Updated patch attached. Could you pl

[Mono-devel-list] PEAPI and 1.1.8.3 build

2005-07-28 Thread Gary M. Smithrud
I'm attempting to build 1.1.8.3 on Solaris (if anyone has any experience doing this and has suggestions, let me know) and it fails because it is attempting to build PEAPI, which is not part of the tarball. Is this needed? I'm not sure whether I should comment it out of the makefile or attempt to

Re: [Mono-devel-list] XmlValidationReader: Mono and MS.NET difference

2005-07-28 Thread Atsushi Eno
Hi, Vorobiev Maksim wrote: Good day. There is the difference in Mono and MS.NET behavior. The situations is the next: 1.XmlValidationReader reads xml-file, that reference the scheme. 2.schemeLocation contains path to scheme, but in this path scheme does NOT present. 3. Before call to Read(),

Re: [Mono-devel-list] mono use 100% cpu when not use root

2005-07-28 Thread giulio alfano
I use SuSE Linux 9.3 (x86-64) out of the box... Is there something that I can do to solve the problem? 2005/7/28, Miguel de Icaza <[EMAIL PROTECTED]>: > Hello, > > > > You could try stracing the process and see what its doing, or attaching > > > with gdb and getting a stack trace of all threads

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Andreas Nahr
Imho it would be a good idea to fix all those attributes in System.Web first to use the Consts - Scheme before having to change all that stuff twice. mfg Andreas - Original Message - From: "Kornél Pál" <[EMAIL PROTECTED]> To: "Miguel de Icaza" <[EMAIL PROTECTED]>; Sent: Thursday, Ju

Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

2005-07-28 Thread Kornél Pál
Hi, I attached a patch file that replaces all 2.0.3600.0 to 2.0.0.0 and 8.0.3600.0 to 8.0.0.0 where they are used to set versions of an assembly or reference an assembly. I did not add any ChangeLog entries. If we want to provide so much ChangeLog some automated tool should be used. Kornél --

[Mono-devel-list] Patch for System.DirectoryServices - kerberos support for TARGET_JVM

2005-07-28 Thread Boris Kirzner
Hello all, Attached is a proposed patch for kerberos authentication support in TARGET_JVM. Most of the implementation resides in .jvm directory or under ifdef TARGET_JVM, also I have changed Bind api a bit so it can receive AuthenticationTypes as an additional parameter. Boris -- Boris Kir

[Mono-devel-list] Source code file name and line form PDB

2005-07-28 Thread Kornél Pál
Hi, It could be very good if Mono could read PDB files because it could help debugging code on Mono compiled by MS compilers. As I know the only reason is that noone implemented it yet. Are there any known legal or other issues regarding PDB files? Kornél _

Re: [Mono-devel-list] Patch for generating debug info in System.Reflection.Emit

2005-07-28 Thread Rodrigo B. de Oliveira
On 5/17/05, Lluis Sanchez <[EMAIL PROTECTED]> wrote: > Hi! > Hi again! > This patch adds some basic support for generating debug info in SRE. > I'm getting off-by-one errors only with raise/throw statements: def foo(): raise "foo" return 1 def bar(): foo() bar() Unhandled Exce

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

2005-07-28 Thread Jonathan Pryor
On Thu, 2005-07-28 at 13:37 +0400, Vorobiev Maksim wrote: > Today I've upgraded mono version to 1.1.8.3 and found, that it has no > fixes for syslog support. Not in sources, not in binaries. That version > will contain these changes? Those changes were made to svn-trunk, not the 1.1.8 branch, so t

[Mono-devel-list] problems with Syscall.syslog fot mono-1.1.8.3

2005-07-28 Thread Vorobiev Maksim
Good day. Today I've upgraded mono version to 1.1.8.3 and found, that it has no fixes for syslog support. Not in sources, not in binaries. That version will contain these changes? The oiginal discussion of problem listed below. Thank you. -Original Message- From: [EMAIL PROTECTED] [ma

Re: [Mono-devel-list] Looking for people to do Mono/autopackage integration

2005-07-28 Thread Mike Hearn
We already have a "for all distros" installer (that uses bitrock). But it'd be really cool to see this use autopackage. Yes, I saw. Bitrock is a good product. My main aim here is to get Mono applications themselves using graphical installers - if the Mono runtime itself is also autopackaged an

Re: [Mono-devel-list] Looking for people to do Mono/autopackage integration

2005-07-28 Thread Mike Hearn
Miguel de Icaza wrote: For those programs that do not require native libraries, we could probably generate a Mono-based installer that can use console or Windows.Forms based installations. Well, I can see why this would be tempting for you but my advice is don't: a) You'd be rewriting what alr

[Mono-devel-list] Key Exchanges (RSA vs DH)

2005-07-28 Thread Thomas Harning Jr.
I'm trying to evaluate key exchange algorithms for both speed, security, and verification [S, S, V]. I was thinking of using RSA mainly, but I ran accross some info about DiffieHellman being good for key exchange. I plan on using the key exchange algorithm in exchanging keys for say... Rijndael or

[Mono-devel-list] Ironpython -0.7.6 compile status(use mono-47990)

2005-07-28 Thread 황윤성
mcs -t:library -r:bin/IronMath.dll /r:System.dll /r:mscorlib.dll -out:bin/IronPython.dll -recurse:IronPython/*.cs IronPython/AST/CodeGen.cs(568) warning CS0219: The variable `mb' is assigned but its value is never used IronPython/AST/Namespace.cs(100) warning CS0219: The variable `c' is assigne