Commit Graph

929 Commits

Author SHA1 Message Date
Todd Berman
f28200094e 2004-10-29 Todd Berman <tberman@off.net>
* gtk-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp

svn path=/trunk/gtk-sharp/; revision=35482
2004-10-29 21:15:58 +00:00
Mike Kestner
7f3171c814 merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD
is now tracking Gnome 2.6.

svn path=/trunk/gtk-sharp/; revision=35479
2004-10-29 20:33:07 +00:00
Dan Winship
fc0e7dfddf * gdk/Gdk.metadata: Remap all "out Gdk.Bitmap" params to be
Gdk.Pixmaps instead, because the former will crash. Also fix the
	"data" param to Pixmap.CreateFromXpmD and
	Pixmap.ColormapCreateFromXpmD

	* gtk/Style.custom (TextAAGC, SetTextAAGC, LightGC, SetLightGC,
	DarkGC, SetDarkGC, MidGC, SetMidGC): add these to go along with
	BaseGC, SetBaseGC, etc.

	* gtk/glue/style.c: add the glue methods needed for the above

svn path=/trunk/gtk-sharp/; revision=35409
2004-10-28 19:25:50 +00:00
Mike Kestner
ed44e2d365 2004-10-21 Mike Kestner <mkestner@ximian.com>
* generator/SymbolTable.cs : map unsigned int to uint.  [Fixes #67732]

svn path=/trunk/gtk-sharp/; revision=35214
2004-10-21 19:11:13 +00:00
Mike Kestner
6d03cee2fb 2004-10-21 Mike Kestner <mkestner@ximian.com>
* configure.in : guard against broken installs where enable_gnome
	fails but enable_gnomedb succeeds. [Fixes #67986]

svn path=/trunk/gtk-sharp/; revision=35213
2004-10-21 18:49:13 +00:00
Dan Winship
a54009c47a * gdk/Window.custom: add a new constructor that takes a
Gdk.WindowAttributesType rather than an int for attributes_mask.

svn path=/trunk/gtk-sharp/; revision=35182
2004-10-20 18:39:05 +00:00
Dan Winship
5e9eb345d5 * generator/OpaqueGen.cs: Don't build the (IntPtr raw) constructor
if "disable_raw_ctor" is set on the opaque type.

        * gtk/Gtk.metadata: Make GtkTargetList opaque (fixes a crash in
        Gtk.Drag.Begin), hide the generated constructor and ref/unref
        methods, and fix up the interpretation of AddTable.

        * gtk/TargetList.custom (TargetList, ~TargetList): Implement the
        suppressed constructors and add a finalizer, which handle
        refcounting the underlying struct.
        (Add, Find, Remove): convenience overloads that take string
        instead of Gdk.Atom.

        * gtk/Makefile.am (customs): add TargetList.custom

svn path=/trunk/gtk-sharp/; revision=35135
2004-10-19 14:21:48 +00:00
Mike Kestner
10d1d2843d 2004-10-07 Mike Kestner <mkestner@ximian.com>
* gdk/Makefile.am : add missing custom file.
	* gdk/Pixmap.custom : add overloads for *CreateFromXPM* methods which
	default transparency mask and color.

svn path=/trunk/gtk-sharp/; revision=34783
2004-10-07 15:44:00 +00:00
Mike Kestner
2ac6d65dc2 2004-10-05 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide Selection.GetTargets.
	* gtk/SelectionData.custom : impl Targets prop and add Selection,
	Target, and Type field accessors.
	* gtk/glue/selectiondata.c : field accessor glue.

svn path=/trunk/gtk-sharp/; revision=34719
2004-10-05 14:09:05 +00:00
Mike Kestner
aa54aa2c95 2004-09-29 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide some ellipsis methods, add pass_as attrs.
	* gtk/Object.custom : new IsFloating property.
	* gtk/glue/object.c : new gtksharp_object_set_floating glue.

svn path=/trunk/gtk-sharp/; revision=34529
2004-09-29 18:45:59 +00:00
Mike Kestner
f923d44d7a 2004-09-29 Mike Kestner <mkestner@ximian.com>
* generator/GStringGen.cs : new generatable impl for GStrings.
	* generator/InterfaceGen.cs : better error reporting.
	* generator/Makefile.am : add new source file.
	* generator/Method.cs : better error reporting.
	* generator/SymbolTable.cs : add new GString igen.

svn path=/trunk/gtk-sharp/; revision=34525
2004-09-29 18:00:38 +00:00
Mike Kestner
cd85c4b3de 2004-09-29 Mike Kestner <mkestner@ximian.com>
* glib/GString.cs : new marshaling class for GStrings.  Used by
	generator to map GString params and returns onto managed strings.
	* glib/Makefile.am : add new file.

svn path=/trunk/gtk-sharp/; revision=34523
2004-09-29 17:47:51 +00:00
Mike Kestner
1d4f5536af 2004-09-27 Mike Kestner <mkestner@ximian.com>
* gtk/Button.custom : add a ctor (Widget). reworked from patch by
	John Luke.
	[Fixes #66228]

svn path=/trunk/gtk-sharp/; revision=34441
2004-09-27 19:20:35 +00:00
Mike Kestner
d75f4ef6ca 2004-09-26 Mike Kestner <mkestner@ximian.com>
* glib/Idle.cs : proxy hash keys are uints, not ints.

svn path=/trunk/gtk-sharp/; revision=34420
2004-09-27 00:28:16 +00:00
Mike Kestner
9d8263d89d 2004-09-24 Mike Kestner <mkestner@ximian.com>
* gtk/Bin.custom : make Child get/set.
	* gtk/Gtk.metadata : hide the Bin.get_child method.
	[Fixes #66232]

svn path=/trunk/gtk-sharp/; revision=34364
2004-09-24 15:58:05 +00:00
Mike Kestner
3eb398a12f 2004-09-23 Mike Kestner <mkestner@ximian.com>
* gtk/Widget.custom : new OnSetScrollAdjustments VM.
	* gtk/glue/widget.c : glue for new VM.

svn path=/trunk/gtk-sharp/; revision=34293
2004-09-23 16:50:18 +00:00
Miguel de Icaza
95978e0ce7 2004-09-18 Miguel de Icaza <miguel@ximian.com>
* glib/Source.cs: Add new base class to hold the method to be
	called, and the proxy handler we use to keep references to them
	and avoid a collection.

	Exposes a new variables that references all the active Timeouts
	and Idle handlers to avoid collection/

	* glib/Timeout.cs: Implement TimeoutProxy that acts as a filter to
	remove the proxy when the timeout is removed.

	Register a TimeoutProxy when we create a timeout.

	* glib/Idle.cs: Implement IdleProxy that acts as a filter to
	remove the proxy when the idle handler is removed.

	Register an IdleProxy when we create a timeout.

svn path=/trunk/gtk-sharp/; revision=34094
2004-09-20 16:43:16 +00:00
Mike Kestner
a9aae652d5 2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : bump version and tag for 1.0.2.

svn path=/trunk/gtk-sharp/; revision=34026
2004-09-17 20:36:57 +00:00
Mike Kestner
6a14c60ea0 2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : use either gtkhtml 3.0 or 3.2

svn path=/trunk/gtk-sharp/; revision=34014
2004-09-17 15:07:38 +00:00
Mike Kestner
37304e11a8 2004-09-14 Mike Kestner <mkestner@ximian.com>
* gdk/* : remaining API audit fixes.

svn path=/trunk/gtk-sharp/; revision=33877
2004-09-14 13:25:49 +00:00
Mike Kestner
48e9e4d138 2004-09-09 Mike Kestner <mkestner@ximian.com>
* gdk/Device.custom : manual GetHistory impl.
	* gdk/Display.custom : manual GetPointer overloads.
	* gdk/Gdk.metadata : hides and array params.
	* gdk/Makefile.am : add new file.
	* gdk/TextProperty.cs : new manual impl of methods.

svn path=/trunk/gtk-sharp/; revision=33664
2004-09-09 18:05:37 +00:00
Mike Kestner
97f5a62824 2004-09-03 Mike Kestner <mkestner@ximian.com>
* configure.in : expand new doc/updater makefile
	* gtk/Gtk.metadata : hide Init.Check and AbiCheck*.
	* gtk/Init.custom : manual Init.Check impl.
	* gtk/Makefile.am : add Init.custom.

svn path=/trunk/gtk-sharp/; revision=33288
2004-09-03 15:59:29 +00:00
Mike Kestner
a68da950ed 2004-08-31 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : mark out params on *CreateWithXpm*.
	[Fixes #61116]

svn path=/trunk/gtk-sharp/; revision=33116
2004-08-31 18:41:08 +00:00
Mike Kestner
4043e2e7d2 2004-08-31 Mike Kestner <mkestner@ximian.com>
* gtk/NodeStore.cs : add GType prop to expose native gtype.
	[Fixes #61226]

svn path=/trunk/gtk-sharp/; revision=33114
2004-08-31 18:19:32 +00:00
Mike Kestner
da322c565f 2004-08-31 Mike Kestner <mkestner@ximian.com>
* glib/Marshaller.cs : fix utc offseting for time_tToDateTime.
	[Fixes #60960]

svn path=/trunk/gtk-sharp/; revision=33107
2004-08-31 16:36:32 +00:00
Mike Kestner
b6bd5a901a 2004-08-30 Tambet Ingo <tambet@ximian.com>
* glib/ListBase.cs : indexing bugfix for CopyTo.

svn path=/trunk/gtk-sharp/; revision=33038
2004-08-30 13:10:44 +00:00
John Luke
282649ead0 2004-08-28 John Luke <john.luke@gmail.com>
* gdk/Gdk.metadata: change Gdk.KeyVal name return-type from
        gchar* to const-gchar*, so we do not try to modify it (call gfree).
        [Fixes #64421]

svn path=/trunk/gtk-sharp/; revision=32968
2004-08-28 18:59:32 +00:00
Mike Kestner
e5dde2ff7e 2004-08-26 Manuel V. Santos <mvsl@telefonica.net>
* gdk/Device.custom : glue to expose object fields.
	* gdk/DeviceAxis.custom : expand the ToString to incl use:
	* gdk/EventButton.custom : fix for Axes prop.
	* gdk/EventMotion.custom : fix for Axes prop.
	* gdk/Gdk.metadata : hide some accessors on Device.
	* gdk/Makefile.am : add new custom.
	* gdk/glue/Makefile.am : add new .c
	* gdk/glue/makefile.win32 : add new .o
	* gdk/glue/device.c : ditto.
	* gtk/InputDialog.custom : glue to expose button fields.
	* gtk/Makefile.am : add new custom.
	* gtk/glue/Makefile.am : add new .c
	* gtk/glue/makefile.win32 : add new .o
	* gtk/glue/inputdialog.c : ditto.
	* sample/ScribbleXInput.cs : new sample using extension events.

svn path=/trunk/gtk-sharp/; revision=32899
2004-08-26 19:10:48 +00:00
Mike Kestner
7a395905ac 2004-08-25 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : use typeof instead of Type.GetType to
	specify the event args type.
	* glib/ObjectManager.cs : beef up the type lookup code using
	Assembly.LoadWithPartialName to fix a very popular win32 bug.
	[Fixes #61139 and friends]  Thanks to John Luke for expert
	patch testing on win32.

svn path=/trunk/gtk-sharp/; revision=32831
2004-08-25 18:16:17 +00:00
John Luke
0343bf93e6 2004-08-25 John Luke <john.luke@gmail.com>
* glib/MainLoop.cs: MainLoop implementation by Jeroen
        [Fixes #61493]

svn path=/trunk/gtk-sharp/; revision=32830
2004-08-25 18:11:41 +00:00
John Luke
1f363b9454 * gdk/PixbufLoader.custom: add Write () overload
[Fixes #62681]

svn path=/trunk/gtk-sharp/; revision=32802
2004-08-24 23:08:56 +00:00
Mike Kestner
f10194792e 2004-08-24 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : kill TreeDataList and TreeDataSortHeader
	internal types.

svn path=/trunk/gtk-sharp/; revision=32798
2004-08-24 21:55:09 +00:00
Mike Kestner
55127368b9 2004-08-24 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : kill TreeDataList, it's internal.

svn path=/trunk/gtk-sharp/; revision=32797
2004-08-24 21:49:11 +00:00
Mike Kestner
780d9fb714 2004-08-24 Larry Ewing <lewing@ximian.com>
* gtk/Gtk.metadata : Style.PaintPolygon has an array of points.

svn path=/trunk/gtk-sharp/; revision=32796
2004-08-24 21:03:57 +00:00
John Luke
b650e6dfb7 * rsvg/Pixbuf.custom: new custom file
* rsvg/Makefile.am: add Pixbuf.custom to build
        * rsvg/Tool.cs: remove double ; that cause warnings
        * rsvg/rsvg-sharp.pc.in: add Requires: gtk-sharp art-sharp

svn path=/trunk/gtk-sharp/; revision=32792
2004-08-24 20:02:47 +00:00
John Luke
e385129c44 2004-08-24 John Luke <john.luke@gmail.com>
* gtk/Makefile.am: add Menu.custom
        * gtk/Menu.custom: new custom for Popup () overload
        [Fixes #60668]

svn path=/trunk/gtk-sharp/; revision=32790
2004-08-24 19:54:09 +00:00
Mike Kestner
d6350e6b59 2004-08-24 Larry Ewing <lewing@ximian.com>
* gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults
	to the entire pixbuf width/height.
	[Fixes #60703]

svn path=/trunk/gtk-sharp/; revision=32786
2004-08-24 19:14:19 +00:00
Mike Kestner
b06ff13450 2004-08-24 Mike Kestner <mkestner@ximian.com>
* gdk/Drawable.custom : add a DrawPolygon overload with bool filled
	and mark the old int filled overload Obsolete.
	[Fixes #60702]

svn path=/trunk/gtk-sharp/; revision=32779
2004-08-24 18:52:47 +00:00
Mike Kestner
1bb355bb25 2004-08-20 Mike Kestner <mkestner@ximian.com>
* atk/Atk.metadata : mark an array param on Relation ctor.

svn path=/trunk/gtk-sharp/; revision=32575
2004-08-20 13:59:48 +00:00
Mike Kestner
d91ca3de7d 2004-08-19 Borja Sanchez Zamorano <borsanza@yahoo.es>
* gtk/Gtk.metadata : hide some methods on TextBuffer.
	* gtk/TextBuffer.custom : pass -1 for the text length to some
	more methods.

svn path=/trunk/gtk-sharp/; revision=32534
2004-08-19 15:42:15 +00:00
John Luke
8566d2376a 2004-08-18 John Luke <john.luke@gmail.com>
* AUTHORS: fix my name
        * glade/XML.custom: remove doc comments (in monodoc)
        add overload ctor for the most common case so far
        [Fixes #62238]

svn path=/trunk/gtk-sharp/; revision=32503
2004-08-18 22:47:17 +00:00
Mike Kestner
b6e7515687 2004-08-18 John Luke <john.luke@gmail.com>
* pango/Pango.metadata : hide a couple methods on Layout.
	* pango/Layout.custom : impl SetText and SetMarkup w/ length=-1.
	[Fixes #63057]

svn path=/trunk/gtk-sharp/; revision=32499
2004-08-18 16:18:26 +00:00
Mike Kestner
b45b49ac61 2004-08-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : unhide ExpanderStyle.
	* doc/en/Gtk/Style.xml : doc PaintExpander.
	* doc/en/Gtk/ExpanderStyle.xml : new enum docs.
	[Fixes #60480] metadata patch from Jeroen Zwartepoorte.

svn path=/trunk/gtk-sharp/; revision=32498
2004-08-18 16:08:02 +00:00
Mike Kestner
fdcc41a70b 2004-08-17 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : metadata for the pango audit.
	* pango/*.custom : customizations to fix audited API.
	* doc/en/* : docs for some api changes and additions.
	* glib/Marshaller.cs : some gunichar marshal-fu.
	* glib/glue/unichar.c : a new glue method.

svn path=/trunk/gtk-sharp/; revision=32462
2004-08-17 20:43:49 +00:00
John Luke
392c3c9a68 gtk/Gtk.metadata: mark Gtk.StockManager.Lookup param as ref
patch by jaspervp@gmx.net (Jasper van Putten)
[Fixes #62985]

svn path=/trunk/gtk-sharp/; revision=32326
2004-08-13 19:39:33 +00:00
Mike Kestner
d4e91dd83b 2004-08-13 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide Insert and SetText for manual impl.
	* gtk/TextBuffer.custom : pass -1 for length to Insert and SetText.
	Adapted from a patch by borsanza@yahoo.es (Borja Sanchez Zamorano).
	[Fixes #62985]

svn path=/trunk/gtk-sharp/; revision=32317
2004-08-13 17:33:46 +00:00
Raja R Harinath
da65bf9dc1 * configure.in (GTKHTML): Use SOVERSION=11 for GtkHTML 3.1.18.
* gda/Makefile.am ($(API)): Remove duplicated $(srcdir).

svn path=/trunk/gtk-sharp/; revision=31848
2004-08-04 08:36:37 +00:00
Mike Kestner
0cbff45649 2004-07-30 Mike Kestner <mkestner@ximian.com>
* parser/gapi2xml.pl : char const * fixes for clahey's gsf binding.

svn path=/trunk/gtk-sharp/; revision=31687
2004-07-30 20:36:39 +00:00
Mike Kestner
5c0078ec1c 2004-07-24 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide Window.Destroy.
	* gdk/Window.custom : manually impl Destroy since it releases our ref.
	* glib/Object.cs : support unset of Raw values.

svn path=/trunk/gtk-sharp/; revision=31448
2004-07-24 23:36:39 +00:00
Mike Kestner
d9f518cd57 2004-07-09 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : allow null for ctor(GLib.Object).

svn path=/trunk/gtk-sharp/; revision=31408
2004-07-23 14:54:48 +00:00