[Gtk-sharp-list] Re: [Mono-cvs-list] Mono CVS: gtk-sharp rodo
22 Jan 2003 15:02:51 +0100
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.
> On Tue, 2003-01-21 at 15:42, Radek Doulik wrote:
> > CVSROOT: /cvs/public
> > Module name: gtk-sharp
> > Changes by: rodo 03/01/21 16:42:24
> > Modified files:
> > api : gtk-api.xml
> > Log message:
> > disable default protected constructor in Frame
> > _______________________________________________
> > Mono-cvs-list maillist - Monoemail@example.com
> > http://lists.ximian.com/mailman/listinfo/mono-cvs-list
Radek Doulík <firstname.lastname@example.org>