[Gtk-sharp-list] Full documentation by 1.0
Brian Kerrick Nickel
kerrick@cox.net
Wed, 23 Jun 2004 15:51:48 -0700
I've submitted this bug:
http://bugzilla.ximian.com/show_bug.cgi?id=60657
With this patch:
http://bugzilla.ximian.com/showattachment.cgi?attach_id=8314
It makes the interface a little nicer, which adds a few of the things I
wanted:
* Ctrl-C works properly
* GtkSourceView for XML highlighting and Undo/Redo
* Maybe not HIGified, but I think it looks a bit better. (Except the
ToolButtons aren't registering their handlers. I know nothing about
glade-sharp.)
I've heard it takes one line of C code to make a GtkTextView use
GtkSpell. Perhaps we could DllImport it.
> > * Crashed after I submitted contributions the first time. (Is this
> > fixed?)
>
> It works here, can you try again?
Sure. Here is what I get after registering:
New serial:0
Registration done
Saving
In Update: GetSerial
In Update: PrepareUpload
Uploading...
In Update: Done
Unhandled Exception: System.IO.IOException: Win32 IO returned
ERROR_SHARING_VIOLATION. Path: /home/Brian/.config/monodoc/settings.xml
in [0x001d6] (at /cvs/mcs/class/corlib/System.IO/FileStream.cs:177)
System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.
FileAccess,System.IO.FileShare,int,bool)
in [0x00009] (at /cvs/mcs/class/corlib/System.IO/FileStream.cs:112)
System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.
FileAccess,System.IO.FileShare,int)
in <0x000a3> (wrapper remoting-invoke-with-check) System.IO.FileStream:.
ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.
FileShare,int)
in [0x000a4] (at /cvs/mcs/class/corlib/System.IO/File.cs:120) System.IO.
File:Create (string,int)
in [0x00006] (at /cvs/mcs/class/corlib/System.IO/File.cs:100) System.IO.
File:Create (string)
in [0x0000f] (at /home/Brian/Software/Mono-CVS/monodoc/browser/settings.
cs:50) Monodoc.SettingsHandler:Save ()
in [0x001f7] (at /home/Brian/Software/Mono-CVS/monodoc/browser/browser.
cs:728) Upload:Update ()
in <0x00053> (wrapper delegate-invoke) System.MulticastDelegate:
invoke_void ()
in <0x00069> Gtk.ThreadNotify:CallbackWrapper ()
in <0x00040> (wrapper native-to-managed) Gtk.ThreadNotify:
CallbackWrapper ()
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in [0x0013d] (at /home/Brian/Software/Mono-CVS/monodoc/browser/browser.
cs:89) Monodoc.Driver:Main (string[])
And Here is what I get when starting up:
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for Monodoc.SettingsHandler --->
System.Xml.XmlException: Document element did not appear.
in [0x00114] (at /cvs/mcs/class/System.XML/System.Xml/XmlTextReader.
cs:487) System.Xml.XmlTextReader:Read ()
in [0x0002c] (at /cvs/mcs/class/System.XML/System.Xml/XmlReader.cs:195)
System.Xml.XmlReader:MoveToContent ()
in [0x00006] (at /cvs/mcs/class/System.XML/System.Xml.Serialization/
XmlSerializationReaderInterpreter.cs:62) System.Xml.Serialization.
XmlSerializationReaderInterpreter:ReadRoot ()
in [0x00022] (at /cvs/mcs/class/System.XML/System.Xml.Serialization/
XmlSerializer.cs:262) System.Xml.Serialization.XmlSerializer:Deserialize
(System.Xml.Serialization.XmlSerializationReader)
in [0x0002e] (at /cvs/mcs/class/System.XML/System.Xml.Serialization/
XmlSerializer.cs:251) System.Xml.Serialization.XmlSerializer:Deserialize
(System.Xml.XmlReader)
in [0x00009] (at /cvs/mcs/class/System.XML/System.Xml.Serialization/
XmlSerializer.cs:233) System.Xml.Serialization.XmlSerializer:Deserialize
(System.IO.Stream)
in [0x0008e] (at /home/Brian/Software/Mono-CVS/monodoc/browser/settings.
cs:27) Monodoc.SettingsHandler:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) Monodoc.SettingsHandler:CheckUpgrade ()
in [0x00115] (at /home/Brian/Software/Mono-CVS/monodoc/browser/browser.
cs:81) Monodoc.Driver:Main (string[])
It is possible to get monodoc working again with rm ~/.config/monodoc/
settings.xml.
________________________________________________________________________
Brian Kerrick Nickel /kerrick@[a-z]{3}\.[a-z]{3}/