[Gtk-sharp-list] Re: [Mono-cvs-list] Mono CVS: gtk-sharp rodo

Radek Doulík rodo@ximian.com
22 Jan 2003 17:36:52 +0100


On St, 2003-01-22 at 15:02, Radek Doulík wrote:
> Hi Mike,
> 
> thanks for reminding this.
> 
> On St, 2003-01-22 at 03:20, Mike Kestner wrote:
> > Since this has happened with a couple recent commits by different
> > people, I figured I would comment on this publicly.  
> > 
> > The xml files that are in api directory should *not* be hand edited. 
> > Any hand edits done will be lost the next time someone uses the parser
> > to regenerate the files from source. The xml files are only checked in
> > to cvs to make it easier for people to build from cvs without having to
> > start from scratch with all the C source.
> > 
> > The proper way to make such an edit is via a metadata rule in the
> > sources dir.  There are several examples in sources/Gtk.metadata to show
> > how to format a rule to suppress default ctor generation.
> > 
> > rodo, let me know if you need any help getting the metadata change in.
> 
> The funny part is that I have implemented this rule in parser some time
> ago. But it looks like my memory is getting worse and worse ;-)
> 
> I've added a 2 lines in parser. These lines add comment with warning to
> every generated .xml file. I hope this helps.

BTW, I don't have all the necessary prerequisites here. Please could you
regenerate .xml files and commit them, so that they will contain the new
warning?

Radek