Commit graph

1267 commits

Author SHA1 Message Date
Mike Kestner
d54f980494 2004-02-12 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide the GList API
	* gdk/*.custom : manually wrap GList api using typed arrays
	* gdk/gdk-api.xml : regen.

svn path=/trunk/gtk-sharp/; revision=23035
2004-02-12 18:45:19 +00:00
Mike Kestner
766b004949 2004-02-12 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide the GSList API
	* gdk/*.custom : manually wrap GSList api using typed arrays
	* gdk/gdk-api.xml : regen.

svn path=/trunk/gtk-sharp/; revision=23031
2004-02-12 17:31:37 +00:00
Mike Kestner
6ea443884a 2004-02-12 Mike Kestner <mkestner@ximian.com>
* gtk/Accel.custom : s/List/SList
	* gtk/Stock.custom : ditto
	* gtk/TextIter.custom : ditto

svn path=/trunk/gtk-sharp/; revision=23029
2004-02-12 16:51:25 +00:00
Zoltan Varga
d39ef22678 2004-02-12 Zoltan Varga <vargaz@freemail.hu>
* glib/time_t_CustomMarshaler.cs: Update after custom marshaling
	changes.

svn path=/trunk/gtk-sharp/; revision=23018
2004-02-12 12:26:25 +00:00
John Luke
f52a27bf79 compile fixes
svn path=/trunk/gtk-sharp/; revision=23011
2004-02-12 03:56:13 +00:00
Mike Kestner
f526347d5f 2004-02-11 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide the GSList API
	* gtk/*.custom : manually wrap GSList api using typed arrays
	* gtk/gtk-api.xml : regen.

svn path=/trunk/gtk-sharp/; revision=22997
2004-02-11 23:12:14 +00:00
Mike Kestner
835866aab8 2004-02-11 Mike Kestner <mkestner@ximian.com>
* gtk/*.custom : don't use element_type ctor for GObject lists.

svn path=/trunk/gtk-sharp/; revision=22996
2004-02-11 22:23:11 +00:00
Mike Kestner
2419dff1d9 2004-02-11 Mike Kestner <mkestner@ximian.com>
* gtk/*.custom : return 0 length arrays, not null.

svn path=/trunk/gtk-sharp/; revision=22992
2004-02-11 21:58:47 +00:00
Mike Kestner
1e87aeb079 hush
svn path=/trunk/gtk-sharp/; revision=22991
2004-02-11 21:36:32 +00:00
Mike Kestner
1e15749553 2004-02-11 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide the GList API
	* gtk/*.custom : manually wrap GList api using typed arrays
	* gtk/gtk-api.xml : regen.

svn path=/trunk/gtk-sharp/; revision=22990
2004-02-11 21:34:32 +00:00
Mike Kestner
f774796311 2004-02-10 Mike Kestner <mkestner@ximian.com>
* gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs :
	nuke a GnomeSharp.
	* generator/Signal.cs : move eventhandlers and args into the
	base namespace instead of a *Sharp namespace.
	* sample/*.cs : nuke using *Sharp.

svn path=/trunk/gtk-sharp/; revision=22956
2004-02-10 20:35:40 +00:00
Mike Kestner
d41f6593b0 2004-02-10 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : mark a field private
	* art/art-api.xml : regen
	* gda/Gda.metadata : mark a few structs opaque
	* gda/gda-api.xml : regen
	* gdk/*.custom : fix changed field names
	* gdk/gdk-api.xml : regen
	* generator/Field.cs : StudlyCase simple typed field names.
	* gnome/Gnome.metadata : mark FontEntry.weight private to
	avoid collision with Weight field. s|//|/api/namespace|g
	* gnome/gnome-api.xml : regen
	* gtk/Gtk.metadata : rename AccelKey.accel_key to key to
	avoid collision with type name.
	* gtk/*.custom : fix changed field names
	* gtk/gtk-api.xml : regen
	* pango/pango-api.xml : regen
	* parser/gapi_pp.pl : add a private_regex to hide BACKEND
	and ENGINE apis, which are by convention private.
	* sample/* : make compile
	* sample/GtkDemo/* : make compile
	* sample/test/* : make compile
	* sources/gtk-sharp-sources.xml : exclude a bunch of pango
	source files.

svn path=/trunk/gtk-sharp/; revision=22947
2004-02-10 16:04:50 +00:00
Mike Kestner
ced4bb91d9 2004-02-07 Mike Kestner <mkestner@ximian.com>
* configure.in : tagged 0.16 and bumped cvs version.

svn path=/trunk/gtk-sharp/; revision=22870
2004-02-08 00:37:04 +00:00
Mike Kestner
3d95f23f6f 2004-02-07 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : oops, remove a couple C.WLs.

svn path=/trunk/gtk-sharp/; revision=22866
2004-02-07 23:43:35 +00:00
Mike Kestner
f91aeb5425 2004-02-07 Gustavo Giraldez <gustavo.giraldez@gmx.net>
* atk/Makefile.in : fix copy/paste error in --assembly-name.
	* generator/ObjectGen.cs : rework ObjectManager generation code.
	* glade/Makefile.in : fix copy/paste error in --assembly-name.

svn path=/trunk/gtk-sharp/; revision=22865
2004-02-07 23:24:15 +00:00
Mike Kestner
dc7145103d 2004-02-06 Mike Kestner <mkestner@ximian.com>
* generator/Method.cs : for Opaque/Object retvals, if raw_ret is
	NULL, return null instead of an object with a NULL handle.

svn path=/trunk/gtk-sharp/; revision=22847
2004-02-06 21:33:14 +00:00
Mike Kestner
cbd7afb761 2004-02-06 Mike Kestner <mkestner@ximian.com>
* glib/time_t_CustomMarshaler.cs : use TimeSpan.TotalSeconds, not
	TimeSpan.Seconds.

svn path=/trunk/gtk-sharp/; revision=22842
2004-02-06 19:49:02 +00:00
John Luke
0fb19cdc37 2004-02-06 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: hide unneeded RadioMenuItem ctors
        * gtk/RadioMenuItem.custom: add ctor to create a new group
        * gtk/gtk-api.xml: regen

svn path=/trunk/gtk-sharp/; revision=22841
2004-02-06 18:56:00 +00:00
Mike Kestner
4251d47fe9 2004-02-04 Mike Kestner <mkestner@ximian.com>
* generator/CustomMarshalerGen.cs : impl MarshalReturnType.
	* generator/Method.cs : add CustomMarshalerGen return type handling.
	* generator/Property.cs : rework property type selection.
	* generator/SymbolTable.cs : add time_t mapping
	* glib/time_t_CustomMarshaler.cs : impl native to managed methods.
	* glue/time_t.c : remove debugging code.

svn path=/trunk/gtk-sharp/; revision=22772
2004-02-04 19:54:46 +00:00
Mike Kestner
1a679f2356 2004-02-03 Mike Kestner <mkestner@ximian.com>
* glib/List.cs : add a ctor overload to create empty lists with
	a specific element_type.
	* glib/SList.cs : ditto

svn path=/trunk/gtk-sharp/; revision=22765
2004-02-04 17:21:22 +00:00
John Luke
f9026e2b5b handle 'enter' when typing in the terminal
svn path=/trunk/gtk-sharp/; revision=22748
2004-02-03 21:21:57 +00:00
Mike Kestner
75f7d1226d 2004-02-03 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : remove double free of ManagedValues. Fixes the
	unfiled (cough, tberman, cough) bug in managed types as tree
	store values.

svn path=/trunk/gtk-sharp/; revision=22745
2004-02-03 15:42:58 +00:00
Mike Kestner
d723bf3cef 2004-02-03 Mike Kestner <mkestner@ximian.com>
* glib/ManagedValue.cs : null check on Free.
	* glib/Value.cs : some ManagedValue rework because we unset now.

svn path=/trunk/gtk-sharp/; revision=22728
2004-02-03 06:24:42 +00:00
Mike Kestner
d4c8fc78c7 2004-02-02 Mike Kestner <mkestner@ximian.com>
* generator/CustomMarshalerGen.cs : beginnings of a new generatable.
	* generator/SymbolTable.cs : mangle interface keyword to iface.

svn path=/trunk/gtk-sharp/; revision=22712
2004-02-02 21:35:01 +00:00
Martin Willemoes Hansen
931d2e3203 * sample/Subclass.cs: Added a DeleteEventHandler to the window widget,
this way a user can properly quit the sample.

svn path=/trunk/gtk-sharp/; revision=22711
2004-02-02 21:32:54 +00:00
Martin Willemoes Hansen
058077b7f1 * generator/ClassBase.cs: Converted String uses to the string alias.
* generator/ConstStringGen.cs: Ditto
        * generator/Ctor.cs: Ditto
        * generator/EnumGen.cs: Ditto
        * generator/ManualGen.cs: Ditto
        * generator/SignalHandler.cs: Ditto
        * generator/StringGen.cs: Ditto

svn path=/trunk/gtk-sharp/; revision=22710
2004-02-02 20:19:43 +00:00
Mike Kestner
84781a4d74 2004-02-02 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : add dispose queue and idle handler so we can
	unset GValues that are created by the binding ctors.
	[Fixes #53490]

svn path=/trunk/gtk-sharp/; revision=22709
2004-02-02 18:21:02 +00:00
Todd Berman
7fec283317 2004-02-02 Todd berman <tberman@sevenl.net>
* gdk/Event*.custom: added fix for bug #53729.

svn path=/trunk/gtk-sharp/; revision=22686
2004-02-02 05:08:24 +00:00
Miguel de Icaza
5dbf042b24 More contributions
svn path=/trunk/gtk-sharp/; revision=22638
2004-01-31 03:53:04 +00:00
Miguel de Icaza
d526857a31 More doc updates
svn path=/trunk/gtk-sharp/; revision=22637
2004-01-31 03:52:52 +00:00
Miguel de Icaza
5b371fd827 Update Cairo sample
svn path=/trunk/gtk-sharp/; revision=22636
2004-01-31 03:52:22 +00:00
Miguel de Icaza
a57d46e5ee Use standard command args, remove -unsafe
svn path=/trunk/gtk-sharp/; revision=22635
2004-01-31 03:52:07 +00:00
Todd Berman
565c3252b9 2004-01-30 Todd Berman <tberman@sevenl.net>
* gtk/Gtk.metadata: out fix for TreeView.GetBackgroundArea and
	TextView.GetIterLocation.
	* gtk/gtk-api.xml: regen

svn path=/trunk/gtk-sharp/; revision=22608
2004-01-30 16:03:47 +00:00
Mike Kestner
ae5ab001be 2004-01-29 Mike Kestner <mkestner@ximian.com>
* glib/time_t_CustomMarshaler.cs : new custom marshaler form time_t.
	* glue/time_t.c : glue for time_t.
	* glue/Makefile.am : add time_t.c
	* glue/makefile.win32 : ditto

svn path=/trunk/gtk-sharp/; revision=22595
2004-01-29 21:20:59 +00:00
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