[Mono-list] Re: Patch for mcs

2004-10-31 Thread Gaurav Vaish
Oh!

   I haven't seen Atsushi's patches. Can I have a look at them?


Atsushi,

   It will not make a difference at all provided I am able to get the following:

1. Raw Documentation: You wrote that you handle XmlElement and the
stuff. It is somehow possible to get the raw comment?
2. All comments, be it /// or /** style.
   Ok.. it won't matter if you collect just /// comments. Adding
support for /** will not be much task because I will need updation
in only cs-tokenizer.cs

Can you let me know where can I find your patch / diff's? If
there's any help / support, that I need I'd let you know. :-)



Happy Hacking,
Gaurav
http://csdoc.sf.net
http://gallery.mastergaurav.org
-


On Sat, 30 Oct 2004 12:45:45 -0400, Miguel de Icaza [EMAIL PROTECTED] wrote:
 Hello Gaurav,
 
 Here's the latest diff.
 
 Rest is same as in previous patch. However, in this I have a change
  in the definition of enum_declaration in cs-parser.jay:
 
 We are very close to integrate Atushi's patches, as we have been working
 to get his patches to a mature state for the past five months.
 
 What is different between your code and Atsushi's?
 
 Miguel

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: [Mono-hackers-list] Re: Patch for mcs

2004-10-31 Thread Atsushi Eno
Hi Gaurav,
Hmm, I thought you're trying to create totally different
documentation feature ;-) I've been posting my patch to
mono-devel-list:
http://archive.neotonic.com/archive/mono-devel-list/messages/8531?noheader=1
Actually my patch does handle /** ... */ style documentation. I mean,
it still does not handle some special formatting such as
/**
 *
 * Those asterisk characters are handled as nothing.
 *
 */
/doc patch TODO items are:
- handle those special tokenization described above
- need to warn documentation on incorrect locations
- having raw strings rather than XmlElement (learned
  from your patch ;-) It would also improve the code
  tip that Marek suggested
But currently I think those improvements might not be so trivial,
so I was stopping this feature right now as it is.
Thanks,
Atsushi Eno
Gaurav Vaish wrote:
Oh!
   I haven't seen Atsushi's patches. Can I have a look at them?
Atsushi,
   It will not make a difference at all provided I am able to get the following:
1. Raw Documentation: You wrote that you handle XmlElement and the
stuff. It is somehow possible to get the raw comment?
2. All comments, be it /// or /** style.
   Ok.. it won't matter if you collect just /// comments. Adding
support for /** will not be much task because I will need updation
in only cs-tokenizer.cs
Can you let me know where can I find your patch / diff's? If
there's any help / support, that I need I'd let you know. :-)

Happy Hacking,
Gaurav
http://csdoc.sf.net
http://gallery.mastergaurav.org
-
On Sat, 30 Oct 2004 12:45:45 -0400, Miguel de Icaza [EMAIL PROTECTED] wrote:
Hello Gaurav,

  Here's the latest diff.
  Rest is same as in previous patch. However, in this I have a change
in the definition of enum_declaration in cs-parser.jay:
We are very close to integrate Atushi's patches, as we have been working
to get his patches to a mature state for the past five months.
What is different between your code and Atsushi's?
Miguel
___
Mono-hackers-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-hackers-list
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] sqlite multiple row insertion

2004-10-31 Thread Francesc Xavier De Blas Foix
Hi people, this is my first post

I need to insert multiple rows in a sqlite database, but it's not directly supported:
http://www.sqlite.org/cvstrac/wiki?p=UnsupportedSql


In mono i see the SqlParameter class but i don't know how to use it.

Can you show me a piece of code?

Thanks
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] sqlite multiple row insertion

2004-10-31 Thread Brian Pickles
Francesc
For an example of SqlParameter class see :-
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconupdatingdatainsqldatabase.asp
There is some more info on MSDN.
Brian
Francesc Xavier De Blas Foix wrote:
Hi people, this is my first post
I need to insert multiple rows in a sqlite database, but it's not directly supported:
http://www.sqlite.org/cvstrac/wiki?p=UnsupportedSql
In mono i see the SqlParameter class but i don't know how to use it.
Can you show me a piece of code?
Thanks
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: [Mono-hackers-list] Re: Patch for mcs

2004-10-31 Thread Gaurav Vaish
Hi Atushi,

 http://archive.neotonic.com/archive/mono-devel-list/messages/8531?noheader=1

   Thanks for the pointer. I see that you do handle /**/, setting
docAppend = true and then probably that would invoke consuming.

   I am not sure, but probably, unless you have:

/**
 * summaryThis would be handled/summary
 */

  it would be discarded.

 Actually my patch does handle /** ... */ style documentation. I mean,
 it still does not handle some special formatting such as

  Check my comments above.

- handle those special tokenization described above

  Ok. Let me know if I can be of any help.

- having raw strings rather than XmlElement (learned
  from your patch ;-) It would also improve the code
  tip that Marek suggested

   Well, that's what I am exactly looking for. My way of handling the
documentation would be to gather the comments as raw elements, and
register any warnings only in the end. (I safely assume that it may
suck! ;-)

   But the philosophy behind the whole is that mcsdoc does not
compile. Nor does it give only xml but full html/chm etc. But yes..
that's in advanced times. It's still in infancy.

 But currently I think those improvements might not be so trivial,
 so I was stopping this feature right now as it is.

  Well, not exactly. Although it may not be trivial, but it's also not
tough. The only issue is that you've already started with the XML-only
stylo. :-D

  My aim with mcsdoc is not to just get xml-style docs but the
javadoc-@ stylos also. :-) I remember, I wrote in one of my mails a
year back, they are cheaper.

  Do we strike a deal somewhere? :-)


Happy Hacking,
Gaurav
http://csdoc.sf.net
http://gallery.mastergaurav.org
-
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Virus emails

2004-10-31 Thread Paul
Hi,

  from the antivirus software. Hopefully no one is ignorant enough to open
  that file just because it's stating to be coming from someone at ximian. ;)
  
 
 or start a mail thread about it to flood this list even further. :)

 I would imagine someone's already looking into this. my mail server however,
 automatically cleans such mails on arrival, so by the time they make it to
 my mailbox - its just an empty attachment. you might want to talk to your
 ISP or your mail server admin.

Anyone one know which one it is? I can't seem to identify it.

TTFN

Paul
-- 
Trust me, I know what I'm doing - Det. Sledgehammer


signature.asc
Description: This is a digitally signed message part


Re: [Mono-list] Virus emails

2004-10-31 Thread gennady wexler
On 10/31/04 11:01 AM, Paul [EMAIL PROTECTED] wrote:

 Hi,
 
 from the antivirus software. Hopefully no one is ignorant enough to open
 that file just because it's stating to be coming from someone at ximian. ;)
 
 
 or start a mail thread about it to flood this list even further. :)
 
 I would imagine someone's already looking into this. my mail server however,
 automatically cleans such mails on arrival, so by the time they make it to
 my mailbox - its just an empty attachment. you might want to talk to your
 ISP or your mail server admin.
 
 Anyone one know which one it is? I can't seem to identify it.

spam mail?

according to message header:

Received: by lists.ximian.com (Postfix, from userid 38) id B487112466D; Sun,
31 Oct 2004 11:42:56 -0500 (EST)
Received: from test-9o2q20twha.com (i69133.upc-i.chello.nl [62.195.69.133])
by lists.ximian.com (Postfix) with SMTP id 54F8D124045 for
[EMAIL PROTECTED]; Sun, 31 Oct 2004 11:42:50 -0500 (EST)
To: Mono-list [EMAIL PROTECTED]
From: Lupus [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary=viziipwhegwdeesvhubd
X-Spam-Status: No, hits=4.8
required=5.0tests=HTML_30_40,MIME_HTML_ONLY,RCVD_IN_ORBSversion=2.53
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp)
Subject: [Mono-list] Re: Hello
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.13

SpanAssassin as you can see can deal with it just fine. need to have it
deployed for your mail needs though.

 
 TTFN
 
 Paul


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Virus emails

2004-10-31 Thread Mikko Korkalo
[EMAIL PROTECTED] according to Norton AV 2004
Oh.. and please let's not flood this list with any more non-mono related 
mails about this subject :)

Mikko Korkalo
At 21:14 31.10.2004, Paul [EMAIL PROTECTED] wrote:
I meant which virus.
TTFN
Paul

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: [Mono-hackers-list] Re: Patch for mcs

2004-10-31 Thread Atsushi Eno
Gaurav Vaish wrote:
Hi Atushi,

http://archive.neotonic.com/archive/mono-devel-list/messages/8531?noheader=1

   Thanks for the pointer. I see that you do handle /**/, setting
docAppend = true and then probably that would invoke consuming.
   I am not sure, but probably, unless you have:
/**
 * summaryThis would be handled/summary
 */
  it would be discarded.
Mhm, I cannot understand what you meant. What is (and should not be?)
discarded? My patch handles usual /** ... */ comments as well as
those comments.
  - having raw strings rather than XmlElement (learned
from your patch ;-) It would also improve the code
tip that Marek suggested

   Well, that's what I am exactly looking for. My way of handling the
documentation would be to gather the comments as raw elements, and
register any warnings only in the end. (I safely assume that it may
suck! ;-)
Actually why I prefered XmlElement instead of raw string was to handle
warnings embedded into the XML documentation. Having just a raw string
in MemberCore is not sufficient.
   But the philosophy behind the whole is that mcsdoc does not
compile. Nor does it give only xml but full html/chm etc. But yes..
that's in advanced times. It's still in infancy.
When it comes to that you're just using the common markup to
csc /doc, why just not pipeline to ndoc(-console) or whatever?
  My aim with mcsdoc is not to just get xml-style docs but the
javadoc-@ stylos also. :-) I remember, I wrote in one of my mails a
year back, they are cheaper.
Well, such extensions should not be done with /doc switch. It should
be available in different switch name, for example /docx.
Atsushi Eno
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: [Mono-hackers-list] Re: Patch for mcs

2004-10-31 Thread Gaurav Vaish
 Mhm, I cannot understand what you meant. What is (and should not be?)
 discarded? My patch handles usual /** ... */ comments as well as
 those comments.

  Well, you can only understand

  /**
   * summaryThis is ok/summary
   */

 but not this. It will complain...

  /**
   * Raw text is not ok.
   */

 Actually why I prefered XmlElement instead of raw string was to handle
 warnings embedded into the XML documentation. Having just a raw string
 in MemberCore is not sufficient.

  Right. You point is well taken. Mine is just an extension.

 When it comes to that you're just using the common markup to
 csc /doc, why just not pipeline to ndoc(-console) or whatever?

  Because they will not understand extended tags. My idea is to the
built the infrastructure like that of Doclet and Taglet, hence I
cannot simply pipeline.

 Well, such extensions should not be done with /doc switch. It should
 be available in different switch name, for example /docx.

  That's what mcsdoc is. But for that to happen, I should be able to
get the raw comment, not XMLElement.

   I hope that explains my bits.


--
Happy Hacking,
Gaurav
http://csdoc.sf.net

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: Delegates on windows XP

2004-10-31 Thread Amish Munshi
Hello all,

I tried this on mono-1.1.1 on SuSE Pro 9.1, if I use ./delegate.exe I
get the correct result, where as mono delegate.exe gives me garbage.
I cannot understand what could be wrong. How is ./delegate.exe
different from mono delegate.exe??

Amish.




On Sat, 30 Oct 2004 06:21:58 -0700, Amish Munshi [EMAIL PROTECTED] wrote:
 I have mono 1.0.1 and .NET 1.1, .NET2.0 in stalled on winXP Home.
 The output of following code is given below.
 
 using System;
 
 namespace Munshi.Amish.DBTest
 {
 public class delGT
 {
 delegate string amish();
 
 public static void Main()
 {
 int x = 10;
 amish a = new amish(x.ToString);
 amish b = new amish((x+1).ToString);
 Console.WriteLine(ToString of amish is :  + a() +  
 \nAdding one
 gives +1 =  + b());
 }
 }
 }
 
 delegate.exe
 ToString of amish is : 10
 Adding one gives +1 = 11
 
 mono delegate.exe
 ToString of amish is : 6910616
 Adding one gives +1 = 6910616
 
 Does delegates work with mono on windows?
 
 Amish.

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Delegates on windows XP

2004-10-31 Thread Jonathan Gilbert
I did a few mini tests, and while I have no clue where to go to fix this, I
can say that it is a problem with the runtime and not the compiler. Your
test code compiled with either compiler behaves the same way in the
respective operating systems. Also, I modified the test slightly by
explicitly boxing the integer value:

object q = (x + 1);
amish b = new amish(q.ToString);

It did not help.

Hopefully this info well help someone :-)

Jonathan Gilbert

At 09:27 AM 01/11/2004 +0530, Amish Munshi wrote:
Hello all,

I tried this on mono-1.1.1 on SuSE Pro 9.1, if I use ./delegate.exe I
get the correct result, where as mono delegate.exe gives me garbage.
I cannot understand what could be wrong. How is ./delegate.exe
different from mono delegate.exe??

Amish.




On Sat, 30 Oct 2004 06:21:58 -0700, Amish Munshi [EMAIL PROTECTED]
wrote:
 I have mono 1.0.1 and .NET 1.1, .NET2.0 in stalled on winXP Home.
 The output of following code is given below.
 
 using System;
 
 namespace Munshi.Amish.DBTest
 {
 public class delGT
 {
 delegate string amish();
 
 public static void Main()
 {
 int x = 10;
 amish a = new amish(x.ToString);
 amish b = new amish((x+1).ToString);
 Console.WriteLine(ToString of amish is :  +
a() +  \nAdding one
 gives +1 =  + b());
 }
 }
 }
 
 delegate.exe
 ToString of amish is : 10
 Adding one gives +1 = 11
 
 mono delegate.exe
 ToString of amish is : 6910616
 Adding one gives +1 = 6910616
 
 Does delegates work with mono on windows?
 
 Amish.

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list