Commit Graph

292 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
John Luke
8e5f5ec6a4 2004-07-16 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata:
        * glade/Glade.metadata: mark return type as const-gchar* for
        Gtk.Global.CheckVersion and Glade.Global.ModuleCheckVersion
        so Gtk# does not try to free them.  Thanks to
        jaspervp@gmx.net (Jasper van Putten) for identifying the Glade
        part. Fixes bugs #61329 and #60954

svn path=/trunk/gtk-sharp/; revision=31239
2004-07-16 19:24:58 +00:00
Mike Kestner
7a6d6b2128 2004-06-25 Mike Kestner <mkestner@ximian.com>
* */*.cs : add lgpl license blurb and clean up (c)'s.
	* */*.custom : add lgpl license blurb and clean up (c)'s.
	* */glue/*.c : add lgpl license blurb and clean up (c)'s.
	file adds without license from now on are punishable by wedgie.

svn path=/trunk/gtk-sharp/; revision=30401
2004-06-25 18:42:19 +00:00
Mike Kestner
38a7a49cfb 2004-06-15 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide the button_new_from_stock ctor.
	* gtk/Button.custom : add a manual ctor implementation.

svn path=/trunk/gtk-sharp/; revision=29598
2004-06-15 13:38:44 +00:00
Todd Berman
9f492c794b 2004-06-11 Todd Berman <tberman@sevenl.net>
* gtk/Container.custom:
        * gtk/CellRenderer.custom:
        * gnome/CanvasItem.custom: mark Override* private.
        * doc/en/*/*.xml: update to remove Override* methods.

svn path=/trunk/gtk-sharp/; revision=29394
2004-06-12 00:18:05 +00:00
Mike Kestner
112f066abf 2004-06-11 Mike Kestner <mkestner@ximian.com>
* configure.in : deal with a csc-ism in source paths.
	* */Makefile.am : use the GENERATED_SOURCES var.
	* */glue/Makefile.am : add -no-undefined for win32 dll builds.

svn path=/trunk/gtk-sharp/; revision=29367
2004-06-11 18:19:41 +00:00
Mike Kestner
c1440d52d1 2004-06-10 Mike Kestner <mkestner@ximian.com>
* configure.in : AC_SUBST GACUTIL_FLAGS. require mono-0.95 (though
	it's really cvs bleeding edge.)
	* * AssemblyInfo.cs.in : s/pub/snk.  delaysign=no.
	* * Makefile.am : s/pub/snk.  portability fixes to csc from John
	Luke.  Switch to GACUTIL_FLAGS.
	* doc/Makefile.am : don't build docs, install raw xml to the prefix.

svn path=/trunk/gtk-sharp/; revision=29227
2004-06-10 19:45:20 +00:00
Todd Berman
e525e9bd55 2004-06-10 Todd Berman <tberman@sevenl.net>
* gtk/Container.custom: add C# glue for virtualizing ChildType ()
        * gtk/glue/container.c: add C glue for virtualizing ChildType ()
        * gtk/Gtk.metadata: hide Container.ChildType ()
        * gtk/Widget.custom: Add ClearFlag, and SetFlag convenience methods.
        Also add various IsFlag bool properties for checking for flags.
        * gtk/glue/widget.c: Fix setting flags.
        * doc/*: updated Widget docs.

svn path=/trunk/gtk-sharp/; revision=29217
2004-06-10 18:37:05 +00:00
Mike Kestner
8520053aa8 2004-06-07 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : s|--unsafe|/unsafe to remove a mcs-ism that jluke
	exposed in his cygwin build patch.

svn path=/trunk/gtk-sharp/; revision=28991
2004-06-07 21:54:31 +00:00
Todd Berman
9698c4d2f9 2004-06-07 Todd Berman <tberman@sevenl.net>
* gtk/Widget.custom: expose some easy bool properties for checking
        certain WidgetFlags. Make Allocation a settable property.
        * gtk/glue/widget.c: bit of glue to make Allocation settable.
        * gdk/Window.custom: expose UserData as a usable IntPtr property.
        * gdk/Gdk.metadata: hide old GetUserData/SetUserData methods.
        * doc/*: ran the updater.

svn path=/trunk/gtk-sharp/; revision=28974
2004-06-07 17:14:35 +00:00
Jeroen Zwartepoorte
1aaac84322 2004-06-07 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Widget.custom: Add FocusLineWidth property.
	* gtk/glue/widget.c: (gtksharp_gtk_widget_set_flags),
	(gtksharp_gtk_widget_style_get_int): glue for getting an integer style
	property.

svn path=/trunk/gtk-sharp/; revision=28967
2004-06-07 14:26:08 +00:00
Todd Berman
01e3962bc8 2004-06-04 Todd Berman <tberman@sevenl.net>
* glib/Object.cs: ConnectDefaultHandlers needs to look at public api
        as well for virtual methods.
        * gtk/CellRenderer.custom:
        * gtk/Container.custom:
        * gnome/CanvasItem.custom: Add DefaultSignalHandler to remove the need
        for the static ctor.

svn path=/trunk/gtk-sharp/; revision=28851
2004-06-05 01:01:07 +00:00
Todd Berman
12bc3b0550 2004-06-04 Todd Berman <tberman@sevenl.net>
* gnome/CanvasItem.custom: Changed from OnXXX vmethods to XXX vmethods
        * gnome/CanvasProxy.cs: removed, unused code
        * gnome/GtkSharp.BoundsHandler.cs: removed
        * gnome/GtkSharp.DrawHandler.cs: removed
        * gnome/GtkSharp.PointHandler.cs: removed
        * gnome/GtkSharp.RenderHandler.cs: removed
        * gnome/GtkSharp.UpdateHandler.cs: removed
        * gnome/Makefile.am: updated to reflect removing of old files.
        * gtk/CellRenderer.custom: Changed from OnXXX vmethods to XXX vmethods,
        and added StartEditing vmethod
        * gtk/Container.custom: Changed from OnForall to ForAll
        * gtk/Gtk.metadata: hide CellRenderer.GetSize and StartEditing
        * gtk/glue/cellrenderer.c: new glue for CellRenderer.StartEditing
        override.
        * sample/CustomCellRenderer.cs: updated signatures to reflect new
        code.

svn path=/trunk/gtk-sharp/; revision=28815
2004-06-04 04:55:48 +00:00
Mike Kestner
77d1b452f5 2004-06-01 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : generate protected ctor () for all
	GLib.Objects that don't have any ctors.
	* gtk/CellRenderer.custom : remove ctor ().
	* gtkhtml/Gtk.metadata : add a disable_void_ctor rule for HTML.

svn path=/trunk/gtk-sharp/; revision=28645
2004-06-01 18:00:09 +00:00
Mike Kestner
ac5e091b8c 2004-06-01 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark SizeRequest requisition as out, not ref.
	[Fixes #59388]

2004-06-01  Mike Kestner  <mkestner@ximian.com>

	* en/Gtk/Widget.xml : move existing docs to new method sig.

svn path=/trunk/gtk-sharp/; revision=28629
2004-06-01 15:28:22 +00:00
Mike Kestner
369a588e93 2004-05-31 Mike Kestner <mkestner@ximian.com>
* configure.in : Bump version to 0.93 and tag.

2004-05-31  Jeroen Zwartepoorte  <jeroen@xs4all.nl>

	* gtk/Gtk.metadata: unhide WidgetFlags.
	* gtk/Widget.custom: add setter for GdkWindow prop. Add Flags prop.
        * gtk/glue/widget.custom: setter for window, accessors for flags.
	[Fixes #59337]

svn path=/trunk/gtk-sharp/; revision=28578
2004-05-31 18:48:25 +00:00
Vladimir Vukicevic
2969801044 * gtk/CellRenderer.custom: fix GetSize_cb, cell_area can be NULL
coming from Gtk (so can't use ref Gdk.Rectangle, have to use
IntPtr)

svn path=/trunk/gtk-sharp/; revision=28424
2004-05-29 03:09:47 +00:00
Mike Kestner
637e8589e8 2004-05-28 Vladimir Vukicevic <vladimir@pobox.com
* gtk/Gtk.metadata : s/out/ref on TreeModel.NextIter.

svn path=/trunk/gtk-sharp/; revision=28369
2004-05-28 17:47:43 +00:00
Mike Kestner
73632b2747 2004-05-28 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : adjust to ObjectManager ns change.
	* glib/ManagedValue.cs : move to GLib and internalize.
	* glib/Object.cs : adjust to ObjectManager ns change.
	* glib/ObjectManager.cs : move to GLib.
	* glib/TypeConverter.cs : move to GLib.  return ManagedValue.GType
	when we can't match a type instead of GType.None.
	* gtk/*.custom: adjust for new TypeConverter ns and behavior.

2004-05-28  Mike Kestner  <mkestner@ximian.com>

	* en/* : run updater. fix a few *Sharp copy/pastisms.

svn path=/trunk/gtk-sharp/; revision=28362
2004-05-28 16:59:21 +00:00
Mike Kestner
71d07af98a 2004-05-28 Mike Kestner <mkestner@ximian.com>
* gtk/Makefile.am : add new custom.
	* gtk/Settings.custom: add props for unparsed API.

svn path=/trunk/gtk-sharp/; revision=28350
2004-05-28 15:05:36 +00:00
Jeroen Zwartepoorte
fd3c3b56d6 2004-05-27 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Gtk.metadata: Hide the GtkCtree class (old gtk+ 1.x junk).

svn path=/trunk/gtk-sharp/; revision=28280
2004-05-27 15:58:15 +00:00
Mike Kestner
6c25e8c608 2004-05-25 Mike Kestner <mkestner@ximian.com>
* gtkhtml/Gtk.metadata : hide Gtk.HTML the ctors.
	* gtkhtml/HTML.custom : new manual impl for ctors.
	* gtkhtml/Makefile.am : add new custom
	[Fixes #59148]

2004-05-25  Mike Kestner  <mkestner@ximian.com>

	* */Makefile.am : rm -f generated/* in case it doesn't exist yet.

svn path=/trunk/gtk-sharp/; revision=28214
2004-05-27 02:06:05 +00:00
Mike Kestner
db317dd185 2004-05-25 Dan Winship <danw@ximian.com>
* gtk/Gtk.metadata : mark a ref param in SizeRequested

svn path=/trunk/gtk-sharp/; revision=28194
2004-05-26 19:49:43 +00:00
Mike Kestner
7ab2b0d6b9 2004-05-25 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : rm generated/* in generated-stamp target.

svn path=/trunk/gtk-sharp/; revision=28191
2004-05-26 19:44:25 +00:00
Mike Kestner
f37e02b5b2 2004-05-25 Mike Kestner <mkestner@ximian.com>
* gtk/Container.custom : use glue to invoke the GtkCallback in
	Forall.
	* gtk/glue/container.c : add gtksharp_container_invoke_gtk_callback.

svn path=/trunk/gtk-sharp/; revision=28047
2004-05-25 13:35:38 +00:00
Radek Doulik
47bbd783d5 (GetPathAtPos): use GLib.Object.GetObject so that we don't create
new TreeViewColumn object duplicates

svn path=/trunk/gtk-sharp/; revision=27858
2004-05-22 08:58:21 +00:00
Radek Doulik
f8da0639b7 2004-05-22 Radek Doulik <rodo@ximian.com>
* gtk/TreeView.custom(GetPathAtPos): change Gtk.TreeViewColumn
	column parameter to out[put] as gtk_tree_view_get_path_at_pos
	returns column address to column parameter

svn path=/trunk/gtk-sharp/; revision=27857
2004-05-22 08:49:58 +00:00
Mike Kestner
9f54a63375 2004-05-19 Mike Kestner <mkestner@ximian.com>
* gtk/Container.custom : add CallbackInvoke and use it in OnForall.

2004-05-19  Mike Kestner  <mkestner@ximian.com>

	* generator/Makefile.am : add TimeTGen.cs
	* generator/SymbolTable.cs : use new TimeTGen.
	* generator/StringGen.cs : s/GLibSharp/GLib
	* generator/TimeTGen.cs : generatable to marshal time_t.
	* glib/time_t_CustomMarshaler.cs : kill
	* glib/Makefile.am : remove time_t_CustomMarshaler.cs
	* glib/Markup.cs : s/GLibSharp/GLib
	* glib/Marshaller.cs : move to GLib namespace. Add methods to
	marshal time_t to and from DateTime.
	* glib/glue/time_t.c : kill
	* glib/glue/Makefile.am : remove time_t.c
	* glib/glue/makefile.win32 : remove time_t.o
	* gnome/*.custom : use GLib.Marshaller instead of the time_t custom
	marshaler.
	* gtk/*.custom : s/GLibSharp/GLib

svn path=/trunk/gtk-sharp/; revision=27704
2004-05-19 18:57:28 +00:00
Todd Berman
e474eaca89 2004-05-14 Todd Berman <tberman@sevenl.net>
* glib/Object.cs: make static GLib.Object.LookupGType protected for now.        * gtk/CellRenderer.custom: code to allow for subclassing and
        implementing a custom cell renderer.
        * gtk/Makefile.am: add custom to build.
        * gtk/glue/Makefile.am: add glue to build.
        * gtk/glue/cellrenderer.c: glue code to override get_size and render
        from cellrenderer.
        * sample/CustomCellRenderer.cs: new sample to show how to implement a
        custom cell renderer.
        * sample/Makefile.am: add CustomCellRenderer sample.

svn path=/trunk/gtk-sharp/; revision=27426
2004-05-14 20:25:57 +00:00
Mike Kestner
4214989dff 2004-05-10 Mike Kestner <mkestner@ximian.com>
* gtk/SelectionData.custom : add a Set overload without length param.

svn path=/trunk/gtk-sharp/; revision=27108
2004-05-11 14:05:43 +00:00
Todd Berman
a2af1e7936 revert, ben showed me a way around this, will document
svn path=/trunk/gtk-sharp/; revision=27060
2004-05-11 03:31:43 +00:00
Todd Berman
350c18516f 2004-05-10 Todd Berman <tberman@sevenl.net>
* gtk/Dialog.custom: Add a SetDefaultResponse method to set a int
        instead of a Gtk.ResponseType

svn path=/trunk/gtk-sharp/; revision=27059
2004-05-11 02:07:38 +00:00
Mike Kestner
0a74f7083e 2004-05-10 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark some Dialog API params as ResponseType
	instead of int.
	[fixes #58240]

svn path=/trunk/gtk-sharp/; revision=27046
2004-05-10 20:00:08 +00:00
Mike Kestner
7f46d29ab4 2004-05-10 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : change return-type on Global.EventsPending
	to a bool to avoid compat problems in 2.4.  Also rename to
	GetEventsPending so that it's generated as a property.
	[fixes #58292]

svn path=/trunk/gtk-sharp/; revision=27043
2004-05-10 18:23:51 +00:00
Mike Kestner
496c067424 2004-05-10 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide some ctors and map some prop names.
	* gtk/Makefile.am : add new customs.
	* gtk/ItemFactory.custom : implement ctor for subclassing.
	* gtk/Plug.custom : implement ctors for subclassing.

svn path=/trunk/gtk-sharp/; revision=27042
2004-05-10 17:37:02 +00:00
Mike Kestner
b9cee94a37 2004-05-07 Mike Kestner <mkestner@ximian.com>
* gnome/Canvas.custom : PixelsPerUnit prop.
	* gnome/Gnome.metadata : hide Canvas.SetPixelsPerUnit.
	* gnome/glue/Makefile.am : get_pixels_per_unit.
	* gnome/glue/canvas.c : get_pixels_per_unit.
	* gtk/Container.custom : OnForall virtual method impl.
	* gtk/glue/Makefile.am : add container.c
	* gtk/glue/container.c : virtual method glue for forall.
	* gtk/glue/makefile.win32 : add container.o

svn path=/trunk/gtk-sharp/; revision=26962
2004-05-08 02:14:19 +00:00
Mike Kestner
ea63638f34 2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : map some RadioButton ctor props.

svn path=/trunk/gtk-sharp/; revision=26951
2004-05-07 21:55:11 +00:00
Mike Kestner
4a9e9ea3ee 2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide TextView with_buffer ctor. map some parms
	to props.
	* gtk/Makefile.am : add new custom.
	* gtk/TextView.custom : implement with_buffer ctor for subclassing.

svn path=/trunk/gtk-sharp/; revision=26949
2004-05-07 21:31:55 +00:00
Mike Kestner
53277261b0 2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/TreeView.custom : make the NodeStore ctor subclassable.

svn path=/trunk/gtk-sharp/; revision=26946
2004-05-07 20:23:58 +00:00
Mike Kestner
6b46f2fb3a 2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide SpinButton with_range ctor.
	* gtk/Makefile.am : add new custom.
	* gtk/SpinButton.custom : implement with_range ctor for subclassing.

svn path=/trunk/gtk-sharp/; revision=26942
2004-05-07 19:41:36 +00:00