John Luke
a987ae2982
* sample/VteTest.cs: update
...
* vte/Vte.metadata: remove incorrect rules
* vte/vte-api.xml: regen
svn path=/trunk/gtk-sharp/; revision=22586
2004-01-29 01:08:46 +00:00
Mike Kestner
9a6216e07e
2004-01-28 John Luke <jluke@cfl.rr.com>
...
* glade/XML.custom : some null checking for crash prevention.
[Fixes #47017 ]
svn path=/trunk/gtk-sharp/; revision=22585
2004-01-28 22:28:38 +00:00
Mike Kestner
0b41ef6a58
2004-01-28 Mike Kestner <mkestner@ximian.com>
...
* gtk/gtk-api.xml : regen
* parser/gapi2xml.pl : fix signals parsing where a STRUCT_OFFSET
is not present in the signal_new call.
* parser/gapi_pp.pl : ignore #ident lines.
* vte/vte-api.xml : regen
[Fixes #53189 ]
svn path=/trunk/gtk-sharp/; revision=22583
2004-01-28 21:44:25 +00:00
Mike Kestner
80257d2b9a
2004-01-27 Mike Kestner <mkestner@ximian.com>
...
* gtk/SelectionData.custom : guard against null in get_Text.
[Fixes #52713 ]
svn path=/trunk/gtk-sharp/; revision=22566
2004-01-28 05:12:55 +00:00
Mike Kestner
37aad1b278
2004-01-27 Mike Kestner <mkestner@ximian.com>
...
* glue/selectiondata.c : expose data field.
* gtk/SelectionData.custom : add Data property.
[Fixes #53397 ]
svn path=/trunk/gtk-sharp/; revision=22563
2004-01-28 04:50:19 +00:00
John Luke
0dac8ebd48
2004-01-27 John Luke <jluke@cfl.rr.com>
...
* gtk/AccelKey.custom: add convenience ctor
* gtk/Gtk.metadata: revert previous Widget.AddAccelerator change,
fix AccelKey fields
* gtk/Widget.custom: add overload for AddAccelerator
* gtk/gtk-api.xml: regen
svn path=/trunk/gtk-sharp/; revision=22560
2004-01-28 04:08:29 +00:00
Mike Kestner
d4f6f6e928
2004-01-27 Mike Kestner <mkestner@ximian.com>
...
* glib/Value.cs : only g_free values we allocate.
[Fixes #51180 ]
svn path=/trunk/gtk-sharp/; revision=22559
2004-01-28 03:59:14 +00:00
Mike Kestner
fc42fa2c04
2004-01-27 Mike Kestner <mkestner@ximian.com>
...
* glib/TypeConverter.cs : lookup GTypes for boxed value types.
* glib/Value.cs : fix boxed type handling in object ctor.
[Fixes #51043 ]
svn path=/trunk/gtk-sharp/; revision=22555
2004-01-27 23:55:13 +00:00
Mike Kestner
1742a837c1
2004-01-27 Mike Kestner <mkestner@ximian.com>
...
* generator/BoxedGen.cs : gen a Value to Boxed explicit cast op.
* generator/Property.cs : use new cast in Boxed getters.
[Fixes #53414 ]
svn path=/trunk/gtk-sharp/; revision=22553
2004-01-27 22:06:24 +00:00
Mike Kestner
359458917c
2004-01-27 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.Metadata : revert opaquing of TextIter.
* gtk/TextBuffer.custom : ditto
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=22552
2004-01-27 21:01:08 +00:00
Mike Kestner
2dc2f1ed0f
2004-01-27 Mike Kestner <mkestner@ximian.com>
...
* generator/MethodBody.cs : remove unnecessary generation for
Handle using out parameters.
* gtk/Gtk.Metadata : make TextIter opaque
* gtk/TextBuffer.custom : remove redundant dllimport
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=22551
2004-01-27 19:58:59 +00:00
Mike Kestner
ea1be0fdac
2004-01-27 Mike Kestner <mkestner@ximian.com>
...
* gnome/Gnome.metadata : Icon.LookupSync mark factory param
null_ok. Reworked from patch by Todd Berman.
* gnome/gnome-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=22550
2004-01-27 18:34:04 +00:00
Mike Kestner
2340cb040e
2004-01-25 Mike Kestner <mkestner@ximian.com>
...
* art/art-api.xml : regen
* gdk/gdk-api.xml : regen
* generator/SymbolTable.cs : add unsigned char mapping
* gnome/gnome-api.xml : regen
* parser/gapi2xml.pl : handle unsigned keyword in fields,
typedefs, and parameter types.
[Fixes #53055 ]
svn path=/trunk/gtk-sharp/; revision=22487
2004-01-26 04:53:05 +00:00
Mike Kestner
336bb6a786
2004-01-25 Mike Kestner <mkestner@ximian.com>
...
* gdk/gdk-api.xml : regen
* gnome/gnome-api.xml : regen
* gtk/gtk-api.xml : regen
* parser/gapi2xml.pl : handle typedef struct {...} Foo;
[Fixes #53312 ]
svn path=/trunk/gtk-sharp/; revision=22486
2004-01-26 04:10:32 +00:00
Martin Willemoes Hansen
64e7ad9f30
* generator/Ctor.cs: Warnings was output like "ctor" fixed to
...
output like "in ctor", like the rest of the warnings.
svn path=/trunk/gtk-sharp/; revision=22394
2004-01-22 11:27:29 +00:00
John Luke
6b4af0e8da
forgot this
...
svn path=/trunk/gtk-sharp/; revision=22376
2004-01-22 03:29:22 +00:00
Mike Kestner
e4165fbb18
2004-01-21 Mike Kestner <mkestner@ximian.com>
...
* generator/Field.cs : kill Protection, restructure Generate
and add FIXMEs for broken parts. Add StudlyName and move array
fields to use Studly names.
svn path=/trunk/gtk-sharp/; revision=22357
2004-01-21 20:47:41 +00:00
John Luke
ec55946526
2004-01-20 John Luke <jluke@cfl.rr.com>
...
* samples/GtkDemo:
* samples/DbCLient: compile fixes, patch from
Paul Duran <pauld@hutch.com.au>
svn path=/trunk/gtk-sharp/; revision=22314
2004-01-20 21:28:50 +00:00
Mike Kestner
4baa6d76e0
2004-01-20 John D. Hardin <jhardin@impsec.org>
...
* glue/type.c : ansi-c-ify some late var decls.
svn path=/trunk/gtk-sharp/; revision=22303
2004-01-20 16:06:19 +00:00
John Luke
d9807682b2
fix Makefile error so you can build
...
without gtk-sharp installed
svn path=/trunk/gtk-sharp/; revision=22277
2004-01-19 22:24:14 +00:00
Mike Kestner
13c8647b1e
2004-01-19 Mike Kestner <mkestner@ximian.com>
...
* art/Art.metadata : correct a couple symbolic array_lens
* art/art-api.xml : regen
* gdk/Gdk.metadata : correct a symbolic array_len
* gdk/gdk-api.xml : regen
* generator/Field.cs : generate array fields with MarshalAs
attrs for correct marshaling.
svn path=/trunk/gtk-sharp/; revision=22261
2004-01-19 17:05:53 +00:00
Mike Kestner
d1367eb515
2004-01-18 Mike Kestner <mkestner@ximian.com>
...
* generator/Field.cs : refactored code from StructBase
* generator/StructBase.cs : spin off Field class
svn path=/trunk/gtk-sharp/; revision=22239
2004-01-19 05:30:05 +00:00
Mike Kestner
b17f91170f
2004-01-18 Mike Kestner <mkestner@ximian.com>
...
* generator/SymbolTable.cs : mangle parms named readonly
svn path=/trunk/gtk-sharp/; revision=22238
2004-01-19 05:27:42 +00:00
Peter Williams
4feed7bb77
2004-01-18 Peter Williams <peter@newton.cx>
...
* glib/Marshaller.cs (ArrayPtrToArgv, ArgvToArrayPtr): new
functions for marshalling and unmarshalling string arrays
to/from char **. Not pretty, but lets us call gtk_init()
in Gtk.
* gtk/Application.cs (do_init): New helper function to handle
passing args to Gtk. Uses above functions.
(Init): Use do_init, take a new progname parameter.
(InitCheck): Same.
doc/:
2003-01-13 Peter Williams <peter@newton.cx>
* en/Gtk/Application.xml: Update Init, InitCheck functions
for new progname argument. Fix a paste-o in the docs for InitCheck.
svn path=/trunk/gtk-sharp/; revision=22237
2004-01-19 03:24:25 +00:00
Mike Kestner
3a849daf89
2004-01-18 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows return
list element_type as Gtk.TreePath.
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=22236
2004-01-19 02:39:27 +00:00
Mike Kestner
f02fce9dbe
2004-01-18 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows model
param as out.
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=22235
2004-01-19 02:27:05 +00:00
John Luke
8c060bde9c
2004-01-18 John Luke <jluke@cfl.rr.com>
...
* vte/Vte.metadata: fix to generate signals
* vte/vte-api.xml: regen
* samples/VteTest.cs: remove my home dir path
svn path=/trunk/gtk-sharp/; revision=22230
2004-01-18 22:10:03 +00:00
John Luke
5bf3b285bb
fix stupid mistake of building vte after samples
...
svn path=/trunk/gtk-sharp/; revision=22215
2004-01-17 23:11:53 +00:00
John Luke
625a4481cc
2004-01-17 John Luke <jluke@cfl.rr.com>
...
* configure.in: detect and compile vte-sharp (require vte-0.11.10)
* vte/*:
* sources/makefile:
* sources/gtk-sharp-sources.xml: add vte
* samples/VteTest.cs: add incomplete test/sample
* samples/Makefile.in: add vte-test.exe target
svn path=/trunk/gtk-sharp/; revision=22213
2004-01-17 22:47:35 +00:00
Martin Willemoes Hansen
c2d4c12e67
* generator/Method.cs: Methods which returns void and has a single out parameter
...
like void Foobar (..., out int baz, ...) are turned into the more .NET like
signature int Foobar (...), this fixes bug 46392
* generator/Signature.cs: Ditto
* generator/MethodBody.cs: Ditto
* gtk/ListStore.custom: Ditto
* gtk/TextBuffer.custom: Ditto
* gtk/TreeStore.custom: Ditto
svn path=/trunk/gtk-sharp/; revision=22126
2004-01-15 21:18:46 +00:00
Mike Kestner
80a630a8a4
2004-01-13 Tambet Ingo <tambet@ximian.com>
...
* gtk-sharp.pc.in : add libdir var
* generator/SymbolTable.cs : add GByteArray mapping.
svn path=/trunk/gtk-sharp/; revision=22070
2004-01-14 18:40:00 +00:00
Mike Kestner
6ec923833e
2004-01-13 Mike Kestner <mkestner@ximian.com>
...
* generator/Signal.cs : use ValueArray to assemble parms arg for
g_signal_chain_from_overriden call. Initialize retval GValue for
above.
* glib/Object.cs : g_signal_chain_from_overridden parms are IntPtrs.
* glib/TypeConverter.cs : handle unboxed ValueTypes.
* glib/Value.cs : handle unboxed struct types. add ctor for init'd
unset Values.
* glib/ValueArray.cs : new binding for GValueArray used by VMs.
* glue/valuearray.c : field accessors
* glue/Makefile.am : add new glue file
* glue/makefile.win32 : add new glue file
[Fixes #52680 ]
svn path=/trunk/gtk-sharp/; revision=22069
2004-01-14 18:05:50 +00:00
John Luke
c0e4552e54
more Gtk.ResponseType overloads for Gtk.Dialog
...
svn path=/trunk/gtk-sharp/; revision=22031
2004-01-13 21:09:32 +00:00
John Luke
a5b70aa2f9
2004-01-10 John Luke <jluke@cfl.rr.com>
...
* samples/GtkDemo/*.cs: make it compile
patch from Yves Kurz <ml_yves@magnific.ch>
svn path=/trunk/gtk-sharp/; revision=21925
2004-01-11 02:58:08 +00:00
Mike Kestner
bed0c03a8d
2004-01-09 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide NotebookPage.Num method
* gtk/Notebook.custom : implement PageNum.
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=21882
2004-01-09 20:52:27 +00:00
John Luke
88ab36d2ea
2004-01-09 John Luke <jluke@cfl.rr.com>
...
* gtk/Gtk.metadata: Hide most RadioButton constructors, for
api reasons
* gtk/RadioButton.custom: add ctor to create a new RadioButton
with its own group to avoid having to pass null
* gtk/gtk-api.xml: regen
svn path=/trunk/gtk-sharp/; revision=21881
2004-01-09 19:58:05 +00:00
Mike Kestner
ff0286e798
2004-01-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : rename TreeView.RowExpand to GetRowExpanded.
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=21859
2004-01-08 21:57:30 +00:00
John Luke
6daaf61038
add overload for Dialog.AddActionWidget
...
svn path=/trunk/gtk-sharp/; revision=21835
2004-01-08 02:40:36 +00:00
Mike Kestner
d3b4dd07d5
2004-01-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : TreeStore.Remove iter should be ref
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=21830
2004-01-07 21:38:22 +00:00
John Luke
6de21a4d6f
2004-01-06 John Luke <jluke@cfl.rr.com>
...
* gtk/Gtk.metadata: change uint to GtkAccelKey for Widget.AddAccelerator
* gtk/gtk-api.xml: regenerated
svn path=/trunk/gtk-sharp/; revision=21750
2004-01-06 20:40:04 +00:00
Mike Kestner
05f0995ee4
2004-01-05 Mike Kestner <mkestner@ximian.com>
...
* configure.in : tagged 0.15 and updated version.
svn path=/trunk/gtk-sharp/; revision=21723
2004-01-05 17:58:23 +00:00
John Luke
84cc259a94
2003-12-24 John Luke <jluke@cfl.rr.com>
...
* gtk/Label.custom: add public default constructor
* gtk/gtk-api.xml:
* gtk/Gtk.metadata: make gtk_label_new_with_mnemonic the
preferred constructor, disable protected default ctor
svn path=/trunk/gtk-sharp/; revision=21560
2003-12-31 02:10:08 +00:00
Mike Kestner
6e3879ca4b
2003-12-30 Mike Kestner <mkestner@ximian.com>
...
* glib/Object.cs (ConnectDefaultHandlers): reflection code to
hook up overridden default signal handlers.
* glue/type.c (gtksharp_override_virtual_method): peek the gtype
and ref the class if it isn't created yet.
* sample/Subclass.cs : update to override Button.OnClicked.
svn path=/trunk/gtk-sharp/; revision=21559
2003-12-30 22:09:42 +00:00
Mike Kestner
9f3cd6ae80
2003-12-26 Mike Kestner <mkestner@ximian.com>
...
* glue/selectiondata.c : new glue to make SelectionData opaque
* glue/Makefile.am : add file
* glue/makefile.win32 : add file
* gtk/Gtk.metadata : mark SelectionData opaque, unhide Set method
* gtk/SelectionData.custom : invoke glue methods for opaque fields.
* gtk/gtk-api.xml : regen
* sample/TestDnd.cs : update to new SelectionData API.
svn path=/trunk/gtk-sharp/; revision=21502
2003-12-26 15:14:07 +00:00
John Luke
7e9700901f
add Idle.Remove method
...
svn path=/trunk/gtk-sharp/; revision=21483
2003-12-24 19:37:41 +00:00
Joe Shaw
0925be2387
2003-12-16 Joe Shaw <joe@ximian.com>
...
* generator/SymbolTable.cs (MangleName): Add "lock" and "callback"
to the list of names that need to be mangled. The former is a C#
reserved keyword and the latter is already used as an argument to
methods which marshal callbacks.
svn path=/trunk/gtk-sharp/; revision=21276
2003-12-17 15:27:34 +00:00
Mike Kestner
ff263164e3
2003-12-15 Mike Kestner <mkestner@ximian.com>
...
* generator/BoxedGen.cs : s/uint/GLib.GType
* generator/ManualGen.cs : add a ctor to pass ToNative handle name
* generator/ObjectGen.cs : s/uint/GLib.GType
* generator/Signal.cs : use GLib.GType and call OverrideVirtualMethod
* generator/SymbolTable.cs : make GType a ManualGen and update a few
ManualGens to the new signatures.
* glib/DefaultSignalHandler.cs : s/Type/System.Type
* glib/ManagedValue.cs : s/uint/GLib.GType
* glib/Object.cs : s/uint/GLib.GType, add OverrideVirtualMethod.
* glib/Type.cs : s/uint/IntPtr, add static fields for fundamentals.
make it a value type and add ==, !=, Equals, and GetHashCode.
* glib/TypeConverter.cs : use new GType statics, not fundamentals.
* glib/Value.cs : use new GType statics, not fundamentals.
* gnome/*.custom : s/uint/GLib.GType
* gtk/*Store.custom : use GType statics, not fundamentals.
* sample/Subclass.cs : s/uint/GLib.GType.
svn path=/trunk/gtk-sharp/; revision=21181
2003-12-15 16:59:25 +00:00
Mike Kestner
027410def9
2003-12-12 Mike Kestner <mkestner@ximian.com>
...
* generator/CallbackGen.cs : kill some redundant generation
* generator/MethodBody.cs : pass array parameters as arrays of
the corresponding native type.
svn path=/trunk/gtk-sharp/; revision=21083
2003-12-12 22:56:28 +00:00
Mike Kestner
406320a945
2003-12-12 Mike Kestner <mkestner@ximian.com>
...
* gnome/gnome-api.xml : regen'd
* parser/gapi2xml.pl : handle typedef enum _foo foo;
* parser/gapi-parser : support <exclude> elements in addition to <dir>
and <file> to specify the sources to be parsed.
svn path=/trunk/gtk-sharp/; revision=21081
2003-12-12 22:36:52 +00:00
Radek Doulik
74cc769b7f
2003-12-12 Radek Doulik <rodo@ximian.com>
...
* gtk/Gtk.metadata: hide TextTag.Weight property and implement it
in TextTag.custom. TextTag Weight property in gtk is of type int,
but we want it to be Pango.Weight enum
2003-12-10 Radek Doulik <rodo@ximian.com>
* glue/program.c (get_default): moved check after strspec is set
so we don't check uninitialized value
svn path=/trunk/gtk-sharp/; revision=21068
2003-12-12 16:45:51 +00:00