diff --git a/ChangeLog b/ChangeLog index 03478e6cf..ed85f17d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-12-06 Mike Kestner + + * doc/en/*/*.xml : docs for new GValue members and size_t changes. + * generator/SymbolTable.cs : add ssize_t and make size_t a UIntPtr + instead of the current broken int mapping on 64 bit platforms. + * gtkhtml/HTMLStream.custom : fix size_t related overload. + [fixes #69574] + 2004-12-03 Dan Winship * gdk/gdk-symbols.xml: alias GdkBitmap to GdkPixmap [Fixes #68824] diff --git a/doc/en/GLib/GType.xml b/doc/en/GLib/GType.xml index 3872a2ff4..96629fd45 100644 --- a/doc/en/GLib/GType.xml +++ b/doc/en/GLib/GType.xml @@ -4,7 +4,7 @@ glib-sharp - 0.0.0.0 + 2.0.0.0 neutral @@ -317,5 +317,31 @@ public class MagrittesWindow : Window { + + + Field + + GLib.GType + + + + + 64 bit integer type. + + + + + + Field + + GLib.GType + + + + + 64 bit unsigned integer type. + + + - \ No newline at end of file + diff --git a/doc/en/GLib/Value.xml b/doc/en/GLib/Value.xml index 18afa8bdd..5a8649a76 100644 --- a/doc/en/GLib/Value.xml +++ b/doc/en/GLib/Value.xml @@ -164,7 +164,8 @@ Disposes the underlying value - + + @@ -192,12 +193,12 @@ - To be added + Constructs a value for an Opaque type. a a a a - To be added + @@ -208,9 +209,9 @@ - To be added + Accesses the value. a - To be added + @@ -221,10 +222,10 @@ - To be added + Constructs an initialized value for a given type. a a - To be added + @@ -236,8 +237,8 @@ - To be added - To be added + An unitialized value. + @@ -250,9 +251,9 @@ - To be added + Initializes a value to a given type. a - To be added + @@ -264,11 +265,11 @@ - To be added + Constructs a value initialized for a given property name. a a a - To be added + @@ -281,12 +282,12 @@ - To be added + Constructs a value initialized to a given enumerated type property. a a a a - To be added + @@ -298,11 +299,12 @@ - Constructs a Value from an object of a given type + Constructs a Value from an object of a given type an object - the (C/GType) name of 's type + the (C/GType) name of 's type an object of type - + + @@ -314,12 +316,41 @@ - Constructs a Value from an object of a given type + Constructs a Value from an object of a given type an value - the (C/GType) name of 's type + the (C/GType) name of 's type an object of type - + + + + + + + Constructor + + + + + + Constructs a value for a 64 bit integer. + a + a + + + + + + Constructor + + + + + + Constructs a value for a 64 bit unsigned integer. + a + a + - \ No newline at end of file + diff --git a/doc/en/Gtk/HTML.xml b/doc/en/Gtk/HTML.xml index 108071c1f..a983e2a81 100644 --- a/doc/en/Gtk/HTML.xml +++ b/doc/en/Gtk/HTML.xml @@ -277,7 +277,7 @@ namespace HtmlTest - + Method System.Void @@ -285,13 +285,13 @@ namespace HtmlTest - + Writes bytes of content from to . - an object of type - an object of type - an object of type + a + a + a @@ -2085,4 +2085,4 @@ class X { - \ No newline at end of file + diff --git a/doc/en/Gtk/HTMLSaveReceiverFn.xml b/doc/en/Gtk/HTMLSaveReceiverFn.xml index 48ce16b6a..8b497d711 100644 --- a/doc/en/Gtk/HTMLSaveReceiverFn.xml +++ b/doc/en/Gtk/HTMLSaveReceiverFn.xml @@ -1,5 +1,5 @@ - + gtkhtml-sharp 0.0.0.0 diff --git a/doc/en/Gtk/HTMLStream.xml b/doc/en/Gtk/HTMLStream.xml index b73f5aae6..00bbde3ae 100644 --- a/doc/en/Gtk/HTMLStream.xml +++ b/doc/en/Gtk/HTMLStream.xml @@ -98,19 +98,19 @@ - + Method System.Void - - + + Write the HTML to . - A - A + a + a @@ -161,4 +161,4 @@ - \ No newline at end of file + diff --git a/doc/en/Gtk/HTMLStreamWriteFunc.xml b/doc/en/Gtk/HTMLStreamWriteFunc.xml index a49a09b75..6fd20fd05 100644 --- a/doc/en/Gtk/HTMLStreamWriteFunc.xml +++ b/doc/en/Gtk/HTMLStreamWriteFunc.xml @@ -1,5 +1,5 @@ - + gtkhtml-sharp 0.0.0.0 diff --git a/doc/en/Rsvg/Global.xml b/doc/en/Rsvg/Global.xml index 091a73b58..8a6d7c5e0 100644 --- a/doc/en/Rsvg/Global.xml +++ b/doc/en/Rsvg/Global.xml @@ -161,23 +161,6 @@ To be added - - - Method - - System.Void - - - - - - - To be added - a - a - To be added - - Method @@ -258,5 +241,24 @@ To be added + + + Method + + System.Void + + + + + + + + To be added + a + a + a + To be added + + - \ No newline at end of file + diff --git a/generator/SymbolTable.cs b/generator/SymbolTable.cs index e2d729c19..c94e74576 100644 --- a/generator/SymbolTable.cs +++ b/generator/SymbolTable.cs @@ -92,7 +92,8 @@ namespace GtkSharp.Generation { // but this should work for now AddType (new SimpleGen ("gsize", "uint")); AddType (new SimpleGen ("gssize", "int")); - AddType (new SimpleGen ("size_t", "int")); + AddType (new SimpleGen ("size_t", "System.UIntPtr")); + AddType (new SimpleGen ("ssize_t", "System.IntPtr")); // FIXME: These ought to be handled properly. AddType (new SimpleGen ("GMemChunk", "IntPtr")); diff --git a/gtkhtml/HTMLStream.custom b/gtkhtml/HTMLStream.custom index d80fa9367..c0c1036ec 100644 --- a/gtkhtml/HTMLStream.custom +++ b/gtkhtml/HTMLStream.custom @@ -23,5 +23,5 @@ public void Write (string buffer) { byte [] bytes = System.Text.Encoding.UTF8.GetBytes (buffer); - gtk_html_stream_write (Handle, bytes, bytes.Length); + gtk_html_stream_write (Handle, bytes, new UIntPtr ((ulong)bytes.Length)); }