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

2005-07-29 Thread Daniel Morgan
You may need to allocate a TimeStamp descriptor. OciHandle might need to be modified to create a TimeStamp descirptor. See the difference between a DATE and TIMESTAMP in table 3-2 below. Notice how DATE is a char[7] while TIMESTAMP is a descriptor which uses opache type of OCIDateTime. http://d

[Mono-devel-list] Generics - Class Constraint

2005-07-29 Thread Stephen Quattlebaum
Trying to compile some C# code that uses generics on mono in Linux (gentoo).  I ran across the following problem (which is probably just unimplemented functionality).      public static T QueryInterface(object val)     where T : class     {     if (val == null)

Re: [Mono-devel-list] [Patch] Publisher Policy support

2005-07-29 Thread Ben Maurer
On Fri, 2005-07-29 at 22:31 -0400, Miguel de Icaza wrote: > Hello Carlos, > > > I'm attaching a patch which adds support for publisher policy files > > ( http://msdn.microsoft.com/library/default.asp?url=/library/en- > > us/cpguide/html/cpconcreatingpublisherpolicyfile.asp ), which allows to > > r

Re: [Mono-devel-list] mcs

2005-07-29 Thread Miguel de Icaza
Hello, > As part of a project I have to study the mcs, especially those > structures corresponding to a symbol table, which shall later be used > in a source code analyzer. In the mcs, those symbol-table-like data > structures are just parts of the tree created when parsing. To get > some

Re: [Mono-devel-list] [Patch] Publisher Policy support

2005-07-29 Thread Miguel de Icaza
Hello Carlos, > I'm attaching a patch which adds support for publisher policy files > ( http://msdn.microsoft.com/library/default.asp?url=/library/en- > us/cpguide/html/cpconcreatingpublisherpolicyfile.asp ), which allows to > redirect one assembly version to another. The patch looks good to me.

[Mono-devel-list] Re: [Mono-docs-list] [PATCH] Monodoc Gecko support improved

2005-07-29 Thread Todd Berman
On Fri, 2005-07-29 at 18:23 -0700, Todd Berman wrote: > On Sat, 2005-07-30 at 02:36 +0200, Mario Sopena wrote: > > Hola, > > > > On 7/30/05, Todd Berman <[EMAIL PROTECTED]> wrote: > > > I am curious how this works. My copy of gecko# is 0.6, and it is built > > > against gtk# 2.0, this prevents it

[Mono-devel-list] Re: [Mono-docs-list] [PATCH] Monodoc Gecko support improved

2005-07-29 Thread Todd Berman
On Sat, 2005-07-30 at 02:36 +0200, Mario Sopena wrote: > Hola, > > On 7/30/05, Todd Berman <[EMAIL PROTECTED]> wrote: > > I am curious how this works. My copy of gecko# is 0.6, and it is built > > against gtk# 2.0, this prevents it from being used to built monodoc. So > > this check here doesn't w

[Mono-devel-list] Re: [Mono-docs-list] [PATCH] Monodoc Gecko support improved

2005-07-29 Thread Mario Sopena
Hola, On 7/30/05, Todd Berman <[EMAIL PROTECTED]> wrote: > I am curious how this works. My copy of gecko# is 0.6, and it is built > against gtk# 2.0, this prevents it from being used to built monodoc. So > this check here doesn't work. Where did you get this gecko# 0.6? Because the one in SVN is g

[Mono-devel-list] [PATCH] Monodoc Gecko support improved

2005-07-29 Thread Mario Sopena
Hey everybody, after being stucked for a couple of days because of a stupid error that I made, I've finally added some improvements to the gecko patch. * Gecko support is now only built when gecko-sharp is present (GeckoHtmlRender.dll). Gecko-sharp is not a requirement now. * The HtmlRender.

[Mono-devel-list] Re: [Mono-docs-list] [PATCH] Monodoc Gecko support improved

2005-07-29 Thread Todd Berman
On Sat, 2005-07-30 at 02:08 +0200, Mario Sopena wrote: > Hey everybody, > > after being stucked for a couple of days because of a stupid error > that I made, I've finally added some improvements to the gecko patch. > > * Gecko support is now only built when gecko-sharp is present > (GeckoHtml

Re: [Mono-devel-list] Using RSA optimally with both Mono and MS .Net

2005-07-29 Thread Sebastien Pouliot
Hello Thomas, On Fri, 2005-29-07 at 13:07 -0400, Thomas Harning Jr. wrote: > With Mono's implementation, it's really easy to use the RSA Crypto > classes because it doesn't generate a key automatically on construction. yes, this is done by default. > I'm developing an application with Windows as

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

2005-07-29 Thread Ben Maurer
On Fri, 2005-07-29 at 19:21 +0200, Kornél Pál wrote: > >>From Kornel: > >> BTW what about the 2.0.0.0 patch? > > > > I'd still like to kill all the #if NET_1_1 crap in the files and use > > MonoConsts.FxVersion or something. It will save us pain in the future. > > In this case I would like to do s

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

2005-07-29 Thread Kornél Pál
Disk space is cheap. I can get disk space for under $0.50 per Gigabyte. If you want to measure performance gains, they have to be in terms of time (reducing the number of pages read from disk: ie, show that you save at least 1 page from being read from the disk) or memory (show that you save at le

[Mono-devel-list] new page of contents

2005-07-29 Thread Paulino Padial
http://www.espacioblog.com/luffy :) only for informati ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-devel-list] Using RSA optimally with both Mono and MS .Net

2005-07-29 Thread Thomas Harning Jr.
With Mono's implementation, it's really easy to use the RSA Crypto classes because it doesn't generate a key automatically on construction. I'm developing an application with Windows as a target, since ATM my family uses it and it currently has a large userbase. I've tried out using CspParameters

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

2005-07-29 Thread Ben Maurer
On Fri, 2005-07-29 at 18:10 +0200, Andreas Nahr wrote: > And as you said it will be near to impossible to measure performance > gains, because you would need to instrument the OS itself. >From Kornel: > Note that the things I said earlier in this thread and above are only a > discussion about poss

Re: [Mono-devel-list] [PATCH] Assembly.GetReferencedAssemblies

2005-07-29 Thread Zoltan Varga
Hi, This looks ok to commit. Zoltan On 7/29/05, Carlos Alberto Cortez <[EMAIL PROTECTED]> wrote: > Hey, > > The attached patch fixes the behavior for GetReferencedAssemblies (it > used to load the references and get the info from them, instead of > get

[Mono-devel-list] Fwd: MethodCall target not working on Windows?

2005-07-29 Thread Valient Gough
When building NLog (http://nlog.sf.net) with Mono, the resulting dll works on Mono but not on Windows .NET. If the .dll is built with csc, then it works both on .NET and Mono (both Windows and Linux). The symptom is that the simple test program can't run. But I don't understand what's causing it

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

2005-07-29 Thread Andreas Nahr
Kornel already said that: its just a suggestion. And as you said it will be near to impossible to measure performance gains, because you would need to instrument the OS itself. However one thing is clear, you could save assembly size (and with it OS disc cache and so on). And it would allow us t

[Mono-devel-list] mcs

2005-07-29 Thread Christian Hoeglinger
Hi! As part of a project I have to study the mcs, especially those structures corresponding to a symbol table, which shall later be used in a source code analyzer. In the mcs, those symbol-table-like data structures are just parts of the tree created when parsing. To get some snapshots of

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

2005-07-29 Thread Kornél Pál
I think that these removals could result in disk space save rather than in much better performance. Anyway I think eliminating unnecessary data is good altough is not critical. Now I understand why it's better to have optimalizers outside compilers but I think compilation performance may be better

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

2005-07-29 Thread Ben Maurer
On Fri, 2005-07-29 at 09:32 +0200, Andreas Nahr wrote: > - Original Message - > From: "Ben Maurer" <[EMAIL PROTECTED]> > To: "Andreas Nahr" <[EMAIL PROTECTED]> > Cc: "Kornél Pál" <[EMAIL PROTECTED]>; "Miguel de Icaza" > <[EMAIL PROTECTED]>; > Sent: Friday, July 29, 2005 1:15 AM > Subject

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

2005-07-29 Thread Ben Maurer
On Fri, 2005-07-29 at 11:00 +0200, Kornél Pál wrote: > I agree with you. I don't like the fact that the compiler embeds private > constants altough they are not used at all. Furthermore in a lot of cases > private enumerations are not required at runtime. > > I think we don't need any special obfu

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

2005-07-29 Thread Hubert FONGARNAND
I've made a new patch... It worked when I send a timestamp in string format, but with binary format it fails after binding parameters t... with an undebuggable error: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object in <0x0> in (wrappe

[Mono-devel-list] Type.GUID

2005-07-29 Thread Jonathan S. Chambers
The implementation of Type.GUID currently always returns an empty GUID. I believe in MS it will return the Guid specified by a GuidAttribute on the Type. I can post a patch if desired. I noticed a lot of other methods on the Type are done as internal calls. Should this be the case with the GUID? O

[Mono-devel-list] Error in .Net cole

2005-07-29 Thread Rajesh Kumar
Friends, I am running Apache on top of XSP. I created a folder /NetLinux and running XSP from that folder. I have index.aspx and index.aspx.cs files available in the same folder. When I used http://localhost:8080 I am getting the following error. Server Error in '/' Application Parser Error De

[Mono-devel-list] Re: Problem with accessing C library from MONO

2005-07-29 Thread Muthiah Annamalai
Hello! --- Muthiah Annamalai <[EMAIL PROTECTED]> wrote: > My problem I think is with Installation. > Can someone please help me? I fixed the problem, thanks to a bug in compilation of the C library. export MONO_LOG_LEVEL=debug and running my program fixed the issue, its really cool, because I go

[Mono-devel-list] Problem with accessing C library from MONO

2005-07-29 Thread Muthiah Annamalai
Hi! Im trying to access C library from MONO/C#. The error I get when trying to access the code is: [EMAIL PROTECTED] ~/g2-0.70/mono/src ] make mcs --unsafe --target library g2.cs -o g2.dll Compilation succeeded [EMAIL PROTECTED] ~/g2-0.70/mono/src ]

[Mono-devel-list] [PATCH] Assembly.GetReferencedAssemblies

2005-07-29 Thread Carlos Alberto Cortez
Hey, The attached patch fixes the behavior for GetReferencedAssemblies (it used to load the references and get the info from them, instead of getting it from the metadata tables, just like MS impl). It also fix a problem when calling this with a Reflection Only assembly. The corlib nunit tests r

RE: [Mono-devel-list] Re: Mono-devel-list Digest, Vol 3, Issue 83

2005-07-29 Thread Colt D. Majkrzak
;return "OciDate"; >> >+ case OciDataType.TimeStamp: >> >+ return "TimeStamp"; >> >default: >> >

RE: [Mono-devel-list] Re: Mono-devel-list Digest, Vol 3, Issue 86

2005-07-29 Thread Colt D. Majkrzak
gt;>> >return OracleType.VarChar; >>> >case OciDataType.OciDate: >>> > return OracleType.DateTime; >>> >+ case OciDataType.TimeStamp: >>>

Re: AW: [Mono-devel-list] Re: Mono-devel-list Digest, Vol 3, Issue 83

2005-07-29 Thread Rajesh Kumar Aggani
OracleType.DateTime; >>> >+ case OciDataType.TimeStamp: >>> >+ return OracleType.Timestamp; >>> >default: >>> >throw new NotImplementedExcepti

[Mono-devel-list] Re: Mono-devel-list Digest, Vol 3, Issue 86

2005-07-29 Thread Rajesh Kumar Aggani
case OciDataType.OciDate: >>> >return OracleType.DateTime; >>> >+ case OciDataType.TimeStamp: >>> >+ return OracleType.Timestamp; >>> >

Re: [Mono-devel-list] Re: Mono-devel-list Digest, Vol 3, Issue 83

2005-07-29 Thread Carlos Alberto Cortez
I think you need the devel package for apache. Carlos. El vie, 29-07-2005 a las 09:12 +, Rajesh Kumar Aggani escribió: > Hi Friends, > > I want to use Mono on Red Hat linux Server edition. I have installed Mono > with binary file. Apache is already installed during RedHat installation. > >

AW: [Mono-devel-list] Re: Mono-devel-list Digest, Vol 3, Issue 83

2005-07-29 Thread Matthias Felgner
pe.TimeStamp: >> >+ return "TimeStamp"; >> >default: >> >return "Unknown"; >> >} >> >Index: >> &

[Mono-devel-list] Re: Mono-devel-list Digest, Vol 3, Issue 83

2005-07-29 Thread Rajesh Kumar Aggani
case OciDataType.OciDate: >> >return "OciDate"; >> >+ case OciDataType.TimeStamp: >> >+ return "TimeStamp"; >> >

[Mono-devel-list] MonoDevelop autopackage example

2005-07-29 Thread Mike Hearn
Hi, Last night I put together a basic autopackage of MonoDevelop. I also wrote a simple C stub program to replace the startup shell script, so it can be fully relocatable. I haven't tested the package extensively, beyond a simple "does it install and run?" check. A MonoDevelop developer would be

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

2005-07-29 Thread Kornél Pál
I agree with you. I don't like the fact that the compiler embeds private constants altough they are not used at all. Furthermore in a lot of cases private enumerations are not required at runtime. I think we don't need any special obfuscator or Cecil tool we just should add two compiler options t

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

2005-07-29 Thread Heinz Mueller
Duncan Mak wrote: 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 s

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

2005-07-29 Thread Hubert FONGARNAND
Le Vendredi 29 Juillet 2005 02:48, vous avez écrit : > 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.TimeSt

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

2005-07-29 Thread Andreas Nahr
I like it a lot ;) Sorry for the previous discussion. I've gone through this quite a few times before. Also what I wrote was just a suggestion. I personally would like to have seen your initial patch applied if the one for WebContols wasn't created. But its just much better this way ;) So tha

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

2005-07-29 Thread Andreas Nahr
- Original Message - From: "Ben Maurer" <[EMAIL PROTECTED]> To: "Andreas Nahr" <[EMAIL PROTECTED]> Cc: "Kornél Pál" <[EMAIL PROTECTED]>; "Miguel de Icaza" <[EMAIL PROTECTED]>; Sent: Friday, July 29, 2005 1:15 AM Subject: Re: [Mono-devel-list] [PATCH] Profile 2.0 assembly versions

Re: [Mono-devel-list] SQLsharpgtk Makefile Bug

2005-07-29 Thread Daniel Morgan
This is the better way using a slash to separate a directory. I tested it and it builds successfully on Cygwin and Linux. SQLSHARP_GTK_LIBS = $(GTK_SHARP_LIBS) /r:System.Data.dll /r:Mono.Data.dll /r:../browser/Mono.Data.SqlSharp.DatabaseBrowser.dll The fix has been committed to svn trunk HEAD.