Re: [Mono-dev] Marshal.GetComSlotForMethodInfo Patch
Hi, This looks ok to check in. Please use 'if (cinfo) {' style indentation. Zoltan On 6/8/06, Jonathan S. Chambers [EMAIL PROTECTED] wrote: Here is an implementation (withtests) of Marshal.GetComSlotForMethodInfo. Please review. Thanks, Jonathan ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
RE: [Mono-dev] Marshal.GetComSlotForMethodInfo Patch
Committed with style change. Thanks. - Jonathan -Original Message- From: Zoltan Varga [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 8:24 AM To: Jonathan S. Chambers Cc: Mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Marshal.GetComSlotForMethodInfo Patch Hi, This looks ok to check in. Please use 'if (cinfo) {' style indentation. Zoltan On 6/8/06, Jonathan S. Chambers [EMAIL PROTECTED] wrote: Here is an implementation (withtests) of Marshal.GetComSlotForMethodInfo. Please review. Thanks, Jonathan ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] [PATCH] System.Web, fix for ObjectDataSourceView.OldValuesParameterFormatString
Hello, The attached patch and test case ensure that the default value for OldValuesParameterFormatString is as documented {0}. If no one objects I'll commit. Regards, Konstantin Triger OldValuesParameterFormatString.patch Description: OldValuesParameterFormatString.patch ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Invalid escape selecting table rows
Hi guys, I've a datatable containing a list of urls. I select them using Tables[0].Select((PAGE='\wsngmono\Categ.aspx' OR PAGE='/wsngmono/Categ.aspx') AND (CONTROL='' OR CONTROL IS NULL) AND ENABLED=0) and I obtain this error: System.Data.SyntaxErrorException: Invalid escape sequence: '\s'. in 0x00118 Mono.Data.SqlExpressions.Tokenizer:ProcessEscapes (Char c) in 0x000cc Mono.Data.SqlExpressions.Tokenizer:ReadString (Char terminator, Boolean canEscape) in 0x0015b Mono.Data.SqlExpressions.Tokenizer:ParseToken () in 0x00030 Mono.Data.SqlExpressions.Tokenizer:advance () in 0x00274 Mono.Data.SqlExpressions.Parser:yyparse (yyInput yyLex) in 0x00112 Mono.Data.SqlExpressions.Parser:Compile (System.String sqlExpr) in 0x000dd System.Data.DataTable:Select (System.String filterExpression, System.String sort, DataViewRowState recordStates) in 0x00014 System.Data.DataTable:Select (System.String filterExpression) Apparently there's no escape sequence in the query, I'm doing something wrong? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Re: Invalid escape selecting table rows
I select them using Tables[0].Select((PAGE='\wsngmono\Categ.aspx' OR PAGE='/wsngmono/Categ.aspx') AND (CONTROL='' OR CONTROL IS NULL) AND ENABLED=0) and I obtain this error: System.Data.SyntaxErrorException: Invalid escape sequence: '\s'. in 0x00118 Mono.Data.SqlExpressions.Tokenizer:ProcessEscapes (Char c) in 0x000cc Mono.Data.SqlExpressions.Tokenizer:ReadString (Char terminator, Boolean canEscape) in 0x0015b Mono.Data.SqlExpressions.Tokenizer:ParseToken () in 0x00030 Mono.Data.SqlExpressions.Tokenizer:advance () in 0x00274 Mono.Data.SqlExpressions.Parser:yyparse (yyInput yyLex) in 0x00112 Mono.Data.SqlExpressions.Parser:Compile (System.String sqlExpr) in 0x000dd System.Data.DataTable:Select (System.String filterExpression, System.String sort, DataViewRowState recordStates) in 0x00014 System.Data.DataTable:Select (System.String filterExpression) Apparently there's no escape sequence in the query, I'm doing something wrong? Escape all \ with \\. Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Passing values into the default.build boo script
On 6/7/06, PFJ [EMAIL PROTECTED] wrote: Hi, Hi! Is there a way to pass values into the default.build script for boo-0.7.6.2237? Yes, you can use -D:propertyName=propertyValue and override any properties you want. I'm packaging it for Fedora Extras... Great. Thanks! -- bamboo *** See you at the first global db4o User Conference in London, July 10 and 11, 2006 *** http://www.db4o.com/about/productinformation/events/duc2006/ ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Passing values into the default.build boo script
Hi, Is there a way to pass values into the default.build script for boo-0.7.6.2237? Yes, you can use -D:propertyName=propertyValue and override any properties you want. Well, most of them ;-) I'm packaging it for Fedora Extras... Great. Thanks! It's slow going - mainly as currently to get things to work properly I have to meddle with _libdir so that things always go into /usr/lib rather than /usr/lib64 for 64 bit architecture. I've noticed the spec files on the go-mono website all make the packages as noarch. Is this really the only sure fire way to ensure everything is picked up (such as boo, ikvm et al for monodevelop)? TTFN Paul P.S. http://www.all-the-johnsons.co.uk/mono/rpms.html have the x86 and x86_64 binaries for various mono packages (including the new boo and nant) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mono in VS
Here's three minor changes to help mono build in VS (one issue I introduced). Thanks, Jonathan vs.diff Description: vs.diff ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] C++ code as Internal call
Yah, After to you read that article there is a niche with p/invoking C++. You can't safely invoke into C++ libraries unless the functions you want are exported as C functions (using extern 'C' {...}). The vtable and name mangling differences between each C++ compiler (since they are not standardized except on IA64 platforms) make this a very very complicated and ultimately unmaintainable to make part of pinvoke it self (I know, I tried :-P). There are a few tricks to make it work it on static functions that only work on one compiler at a time (using the entry point argument), but they are very dangerous and will break very easily. So if the library you want to call doesn't provide standard C exports on its own, then the best solution is write a wrapper library in C++ that does. Hope that helps. Zac Bowling http://zacbowling.com On Thu, 2006-06-08 at 01:35 +0200, Zoltan Varga wrote: Hi, Read this, especially the section Invoking Unmanaged Code: http://www.mono-project.com/Interop_with_Native_Libraries Zoltan On 6/8/06, Rusmin Susanto [EMAIL PROTECTED] wrote: As far as I know, Mono is written in C. Internal calls are also written in C. If I have a cool library/package that is written in C++, how do I define it in Mono without having to re-write the library/package in C? I've tried this few times but it seems that it's not working with g++. Regards __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Zac Bowling [EMAIL PROTECTED] ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] mono in VS
Hello, Here's three minor changes to help mono build in VS (one issue I introduced). The first two patches look fine, and I understand what they do. But what does the third do? (And they need ChangeLogs) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list