Carlos Alberto Cortez | 1 Oct 2003 14:41
Picon

Re: Help compiling monodoc

Hi:

I had a similar problem, and had to update the gtk-sharp/ module from
the cvs. Based on the warnings/errors, I would say you need to do it
again (you didn't mention your mono/gtk-sharp packages versions).

Regards,
Carlos.

El mar, 30-09-2003 a las 16:05, Javier Chico escribió:
> Hi, I am trying to compile the monodoc sources that I have downloaded
> from the cvs (it has not debian package) and I found the following
> errors:
> 
> Making all in browser
> make[1]: Entering directory
> `/home/javi/Programacion/Mono/monodoc/browser'
> mcs -debug -out:browser.exe ./browser.cs ./list.cs ./elabel.cs
> ./history.cs  -re source:./../monodoc.png,monodoc.png
> -resource:./browser.glade,browser.glade  -r: gtk-sharp.dll
> -r:glade-sharp.dll -r:glib-sharp.dll -r:pango-sharp.dll -r:gdk-sha
> rp.dll -r:atk-sharp.dll -r:monodoc.dll
> ./browser.cs(247) error CS0117: `Gtk.Style' does not contain a
> definition for  `SetBackgroundGC'
> ./browser.cs(347) error CS1501: No overload for method `Begin' takes `1'
> argumen ts
> ./browser.cs(347) error CS8006: Could not find any applicable function
> for this argument list
> ./browser.cs(349) error CS0165: Use of unassigned local variable
> `stream'
(Continue reading)

John Luke | 1 Oct 2003 20:52
Picon

spacing of tables in monodoc

Hello,

Here is a small patch that does the following:
+    * mono-ecma.xsl: use cellpadding in example, and top table
+    * ecmaspec-html.xsl: use cellpadding, render examples like ecma-docs
+    * provider.cs: make /root: look more like other pages (table w/ 
bgcolor)

Feel free to apply if I'm not around before release if you want.
Index: ChangeLog
===================================================================
RCS file: /cvs/public/monodoc/browser/ChangeLog,v
retrieving revision 1.90
diff -u -r1.90 ChangeLog
--- ChangeLog	30 Sep 2003 03:18:32 -0000	1.90
+++ ChangeLog	1 Oct 2003 08:45:41 -0000
 <at>  <at>  -1,3 +1,9  <at>  <at> 
+2003-10-01  John Luke  <jluke <at> cfl.rr.com>
+
+	* mono-ecma.xsl: use cellpadding in example, and top table
+	* ecmaspec-html.xsl: use cellpadding, render examples like ecma-docs
+	* provider.cs: make /root: look more like other pages (table w/ bgcolor)
+
 2003-09-23  Miguel de Icaza  <miguel <at> ximian.com>

 	* list.cs: Replace massive ellipsises array with hashtable, which
 <at>  <at>  -14,7 +20,6  <at>  <at> 
 	on/off via gui. (most of the credit goes to jluke).
(Continue reading)

John Luke | 1 Oct 2003 22:40
Picon

monodoc html tables and padding

Updated patch that does the same thing for the xhtml, ecmaspec, and 
error providers on the root:/ nodes.
Index: ChangeLog
===================================================================
RCS file: /cvs/public/monodoc/browser/ChangeLog,v
retrieving revision 1.90
diff -u -r1.90 ChangeLog
--- ChangeLog	30 Sep 2003 03:18:32 -0000	1.90
+++ ChangeLog	1 Oct 2003 20:49:41 -0000
 <at>  <at>  -1,3 +1,12  <at>  <at> 
+2003-10-01  John Luke  <jluke <at> cfl.rr.com>
+
+	* mono-ecma.xsl: use cellpadding in example, and top table
+	* ecmaspec-html.xsl: use cellpadding, render examples like ecma-docs
+	* provider.cs: make /root: look more like other pages (table w/ bgcolor)
+	* error-provider.cs: make /root: node look like other headings
+	* ecma-spec-provider.cs: make /root: render and look like other headings
+	* xhtml-provider.cs: make /root: node look like other headings
+
 2003-09-23  Miguel de Icaza  <miguel <at> ximian.com>

 	* list.cs: Replace massive ellipsises array with hashtable, which
 <at>  <at>  -14,7 +23,6  <at>  <at> 
 	on/off via gui. (most of the credit goes to jluke).
 	* browser.cs, editing.cs: merge changes to multiple dirs.

->>>>>>> 1.89
 2003-09-12  John Luke  <jluke <at> cfl.rr.com>
(Continue reading)

Miguel de Icaza | 3 Oct 2003 00:58

Monodoc 0.7 has been released.

Hello everyone!

    MonoDoc 0.7 has been released.  This release contains tons of
improvements, and tons of new documentation.

* What is new

	* Web-based edition: Monodoc now runs as a GUI client and 
	  also as a web service provider (you can see it live in
	  www.go-mono.com/docs/index.html

	  It uses a beautiful Javascript based tree to dynamically load
	  the new tree contents.   A *beautiful* hack from Piers Haken. 

	* C# spec is now part of the documentation 
	
	* All errors generated by MCS are included with samples
	  so you can find out what errors mean.

	* Many GUI improvements. 

* Improvements

	* Class library rendering can now group methods with the
	  same name (and a nice page for overloads is also generated).

	* Prettier documentation rendering for class libraries.

	* Keyboard navigation 

(Continue reading)

Kris Luyten | 3 Oct 2003 15:29
Picon

monodoc compilation: assembler.exe on ecma334 fails

Hi,

compiling the latest version of monodoc results in a strange error
when the makefile runs the assembler.exe on the ecma specs:
=====
mono --debug ../browser/assembler.exe --ecmaspec ./../ecma334 -o ecma334

** (../browser/assembler.exe:3770): WARNING **: Missing method .ctor in
assembly ../browser/assembler.exe typeref index 11

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
=====

I have no problems compiling mono, mcs and gtk-sharp from CVS though...
Am i missing something? assembler.exe compiles fine, only when it is
used to process the ecma334 it fails with this "missing constructor"
message.

The weird thing is: it fails _before_ the Main in assembler.cs is
executed (I put a Console.WriteLine as the first instruction in Main,
but it never gets written), so maybe it is a problem with a linked
library?

Thanks,
Kris
--

-- 
Kris Luyten
PGP-key: http://lumumba.luc.ac.be/kris/kris-pub.txt
homepage: http://lumumba.luc.ac.be/kris/projects/uiml.net
(Continue reading)

Hector E. Gomez Morales | 4 Oct 2003 03:10

Gtk TODO file.

I added a TODO file to the Gtk doc namespace the idea is to have a easy
way to know what documentation is missing, if you want to help or are
helping please take out the xml that you commit from the missing list in
the TODO file. 
Right now the list of missing doc is:

Accel.xml
AccelGroupActivate.xml
AccelGroupEntry.xml
AccelGroupFindFunc.xml
AccelKey.xml
AccelMapForeach.xml
Accelerator.xml
Arg.xml
Callback.xml
CallbackMarshal.xml
CellRendererPixbuf.xml
CellRendererText.xml
CellRendererToogle.xml
Clipboard.xml
ClipboardClearFunc.xml
ClipboardGetFunc.xml
ClipboardReceivedFunc.xml
ClipboardTestReceivedFunc.xml
ColorSelectionButton.xml
ColorSelectionChangePaletteFunc.xml
ColorSelectionChangePaletteWithScreenFunc.xml
Ctree.xml
DebugFlag.xml
Decorated.xml
(Continue reading)

Miguel de Icaza | 4 Oct 2003 22:11

Re: monodoc compilation: assembler.exe on ecma334 fails

Hello,

> compiling the latest version of monodoc results in a strange error
> when the makefile runs the assembler.exe on the ecma specs:
> =====
> mono --debug ../browser/assembler.exe --ecmaspec ./../ecma334 -o ecma334
> 
> ** (../browser/assembler.exe:3770): WARNING **: Missing method .ctor in
> assembly ../browser/assembler.exe typeref index 11
> 
> Unhandled Exception: System.NullReferenceException: A null value was
> found where an object instance was required
> =====

Oops, that means that for some reason the binary you are using is old. 
Try goind a make clean.

> 
> I have no problems compiling mono, mcs and gtk-sharp from CVS though...
> Am i missing something? assembler.exe compiles fine, only when it is
> used to process the ecma334 it fails with this "missing constructor"
> message.
> 
> The weird thing is: it fails _before_ the Main in assembler.cs is
> executed (I put a Console.WriteLine as the first instruction in Main,
> but it never gets written), so maybe it is a problem with a linked
> library?
> 
> Thanks,
> Kris
(Continue reading)

Kris Luyten | 5 Oct 2003 01:31
Picon

Re: monodoc compilation: assembler.exe on ecma334 fails

On Sat, 2003-10-04 at 22:11, Miguel de Icaza wrote:
<snip>
> > mono --debug ../browser/assembler.exe --ecmaspec ./../ecma334 -o ecma334
> > 
> > ** (../browser/assembler.exe:3770): WARNING **: Missing method .ctor in
> > assembly ../browser/assembler.exe typeref index 11
> > 
> > Unhandled Exception: System.NullReferenceException: A null value was
> > found where an object instance was required
> > =====
> 
> Oops, that means that for some reason the binary you are using is old. 
> Try goind a make clean.

Tried to do a make clean (always do when I update from CVS actually (-:
), but the problem persists. Also tried to update the gtk-sharp library
but that did not fix it either. 

Thanks for the suggestion,
Kris
--

-- 
Kris Luyten
PGP-key: http://lumumba.luc.ac.be/kris/kris-pub.txt
homepage: http://lumumba.luc.ac.be/kris/projects/uiml.net

_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-docs-list

(Continue reading)

Fawad Halim | 6 Oct 2003 05:20

Npgsql docs in monodoc?

Hi,
    What's the procedure for setting it up so that the docs for 
Npgsql.dll can show up in monodoc? I am able to add them to my local 
install using updater.exe, assembler.exe and cloning netdocs.source for 
this library. Can we make the docs part of the standard monodoc install? 
I'd like to write up the docs on the library when I can get a chance to 
do so.

Regards
-fawad

_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-docs-list

Fawad Halim | 6 Oct 2003 05:30

Examples in monodoc.

I just noticed that the latest monodoc from cvs contains an 'Edit' 
hyperlink. Kudos to the developers (Ben, Miguel, others). I've already 
added documentations for System.Xml here and there in my local 
changeset.xml.

How would I go about adding example code in the monodoc? I tried adding 
<code_example> blocks in the Remarks section but monodoc wouldn't accept 
it. Will this currently have to be done manually or is there a way to 
add the examples directly from monodoc.exe?

Secondly, what's the preferred way of sending in changesets? Is it 
better to have small changesets approved or is it better to have larger 
changesets that encompass a lot of different stuff?

Regards
-fawad

_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-docs-list


Gmane