Commit Graph

848 Commits

Author SHA1 Message Date
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
Jeroen Zwartepoorte
fe4a530155 2004-06-07 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* configure.in: Add pango pkg-config check.
	* pango/Layout.custom: Updated custom code to new opaque LayoutLine.
	* pango/LayoutLine.custom: Properties for LayoutLine struct fields.
	* pango/Makefile.am:
	* pango/Pango.metadata: Make LayoutLine opaque [Fixes #59666].
	* pango/glue/.cvsignore:
	* pango/glue/Makefile.am:
	* pango/glue/layoutline.c: glue for the LayoutLine struct fields.
	* pango/glue/makefile.win32:
	* pango/glue/win32dll.c:

svn path=/trunk/gtk-sharp/; revision=28982
2004-06-07 18:59:16 +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
Mike Kestner
74ed834c59 2004-06-07 John Luke <jluke@cfl.rr.com>
* doc/Makefile.am: install the docs if monodoc is there

svn path=/trunk/gtk-sharp/; revision=28963
2004-06-07 13:50:58 +00:00
Peter Williams
0ddadd5dae Fix missing 'test' in shell if statement.
svn path=/trunk/gtk-sharp/; revision=28947
2004-06-07 06:20:29 +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
Vladimir Vukicevic
73a0c307bd 2004-06-02 Vladimir Vukicevic <vladimir@pobox.com>
* gdk/Pixbuf.custom : Pixels prop isn't unsafe

svn path=/trunk/gtk-sharp/; revision=28812
2004-06-04 04:13:49 +00:00
Mike Kestner
4cc4140ea5 2004-06-02 Mike Kestner <mkestner@ximian.com>
* generator/Field.cs : add field hiding, for manual impl.
	* generator/StructBase.cs : support disable_new, for manual impl.

svn path=/trunk/gtk-sharp/; revision=28715
2004-06-02 20:28:42 +00:00
Jeroen Zwartepoorte
03df165143 2004-06-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/CustomWidget.cs: Add custom widget sample.
	* sample/Makefile.am: Idem.

svn path=/trunk/gtk-sharp/; revision=28649
2004-06-01 18:31:20 +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
Mike Kestner
c4547468d8 2004-05-31 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gdk/Gdk.metadata: fix membler names in WindowClass.
	[Fixes #59336]

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

	* en/Gdk/WindowClass.xml : move existing docs to new member names.

svn path=/trunk/gtk-sharp/; revision=28563
2004-05-31 17:04:48 +00:00
Mike Kestner
9b90180daa 2004-05-31 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gdk/Gdk.metadata: mark dest rects as out for Isect and Union.
	[Fixes #59341]

svn path=/trunk/gtk-sharp/; revision=28556
2004-05-31 16:35:43 +00:00
Mike Kestner
14168176c2 2004-05-29 Mike Kestner <mkestner@ximian.com>
* gnome/CanvasItem.custom : for OnUpdate, Art.SVP can be NULL
	so treat it as an IntPtr with Zero checks and manual marshaling.

svn path=/trunk/gtk-sharp/; revision=28442
2004-05-29 15:32:34 +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
Miguel de Icaza
f68162fb3c 2004-05-28 Miguel de Icaza <miguel@ximian.com>
* Added System.Drawing samples.

svn path=/trunk/gtk-sharp/; revision=28397
2004-05-28 21:45:05 +00:00
Mike Kestner
68e25828ad 2004-05-28 Mike Kestner <mkestner@ximian.com>
* configure.in : bump for next version, tagged 0.92.
	plus put back miguel's change post tag.

svn path=/trunk/gtk-sharp/; revision=28394
2004-05-28 21:14:30 +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
Mike Kestner
2eada8c950 2004-05-27 Mike Kestner <mkestner@ximian.com>
* glib/Object.cs: mark GType property public.

svn path=/trunk/gtk-sharp/; revision=28286
2004-05-27 16:35:21 +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
7a518421ab 2004-05-25 Mike Kestner <mkestner@ximian.com>
* configure.in : don't expand the GAPI Makefile.
	* parser/Makefile.am : remove SUBDIRS.
	* parser/gapi2xml.pl : remove GAPI::Metadata usage.
	* parser/GAPI/* : kill. long live gapi-fixup.

svn path=/trunk/gtk-sharp/; revision=28085
2004-05-25 21:27:41 +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
Mike Kestner
ca91d3c85f 2004-05-23 Mike Kestner <mkestner@ximian.com>
* generator/SignalHandler.cs : put back the ObjectGen hack
	for param wrapping.  [Fixes #58876]

svn path=/trunk/gtk-sharp/; revision=27940
2004-05-24 02:25:16 +00:00
Mike Kestner
e7130d9838 2004-05-22 Mike Kestner <mkestner@ximian.com>
* configure.in : require mono-0.91.99.  Sorry, but we need to
	require mono cvs until beta2 because of some recent breakage in
	Gnome.Program custom code while reflecting against the runtime.

svn path=/trunk/gtk-sharp/; revision=27901
2004-05-22 19:38:28 +00:00
Todd Berman
7951ca21de 2004-05-22 Todd Berman <tberman@sevenl.net>
* gnome/Program.custom: Change the Mono.Runtime stuff to reflect
        its new internal nature. This fixes MD, gnunit, and all gnome#
        programs that were blowing up for no reason.

svn path=/trunk/gtk-sharp/; revision=27898
2004-05-22 18:02:49 +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
Zoltan Varga
fed2de1fe7 2004-05-18 Zoltan Varga <vargaz@freemail.hu>
* glib/time_t_CustomMarshaler.cs: Fix custom marshalling after runtime
	changes.

svn path=/trunk/gtk-sharp/; revision=27621
2004-05-18 19:19:37 +00:00
Vladimir Vukicevic
43a82f1204 2004-05-18 Vladimir Vukicevic <vladimir@pobox.com
* gnome/Print.custom: Cast .Pixels usage to a (byte *)

svn path=/trunk/gtk-sharp/; revision=27619
2004-05-18 19:07:15 +00:00
Vladimir Vukicevic
518ce8f85b 2004-05-17 Vladimir Vukicevic <vladimir@pobox.com>
* gdk/Pixbuf.custom: Changed Pixbuf.Pixels to return an IntPtr instead
	of a byte * -- anyone who needs a byte * can do the cast in an unsafe
	context already.

svn path=/trunk/gtk-sharp/; revision=27617
2004-05-18 19:03:30 +00:00
Todd Berman
ef102fe7cc 2004-05-18 Todd Berman <tberman@sevenl.net>
* samples/Scribble.cs: Im bored, you can erase, etc

svn path=/trunk/gtk-sharp/; revision=27565
2004-05-18 05:48:10 +00:00
Mike Kestner
0d052516f1 2004-05-18 Mike Kestner <mkestner@ximian.com>
* glib/MissingIntPtrCtorException.cs : new exception to throw if
	unable to access an IntPtr ctor on a GLib.Object subclass.  We need
	an IntPtr ctor to be able to wrap arbitrary object handles.
	* glib/Object.cs : have NativeType call LookupGType.
	* glib/ObjectManager.cs : throw the new exception in a try/catch.

svn path=/trunk/gtk-sharp/; revision=27563
2004-05-18 05:06:10 +00:00
Mike Kestner
bfc77b2230 2004-05-17 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : Generate a .cctor that calls the assembly's
	ObjectManager.Initialize method if the class will need to be registered
	with GLib.ObjectManager.  Enhance the Initialize method to allow
	multiple invocations.

svn path=/trunk/gtk-sharp/; revision=27554
2004-05-18 02:46:17 +00:00
Mike Kestner
ffe268c415 2004-05-17 Mike Kestner <mkestner@ximian.com>
* generator/SignalHandler.cs : fix some broken/redundant generation in
	the Object/Struct wrapping for sig params.
	* glib/Object.cs : internalize/protect lots of API that shouldn't need
	to be used by non-subclass/non-glib code. Return GType.Object as GType.
	* glib/Value.cs : use internal GLib.Object.NativeType prop.
	* sample/TestDnd.cs : use ToString instead of TypeName.

svn path=/trunk/gtk-sharp/; revision=27530
2004-05-17 17:52:00 +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
Todd Berman
8f53f68348 2004-05-13 Todd Berman <tberman@sevenl.net>
* *.pc.in: add .dll to the end of the Libs: references, and convert
        them to be absolute paths.

svn path=/trunk/gtk-sharp/; revision=27306
2004-05-13 19:23:16 +00:00
Mike Kestner
60d2fab857 2004-05-11 Mike Kestner <mkestner@ximian.com>
* *.pc.in : add Requires so that dependent libs are pulled in too.

svn path=/trunk/gtk-sharp/; revision=27132
2004-05-11 20:56:24 +00:00
Mike Kestner
b071a8c507 2004-05-11 Mike Kestner <mkestner@ximian.com>
* gconf/GConf/NotifyWrapper.cs : add some defensive null checking.
	[fixes #57902]

svn path=/trunk/gtk-sharp/; revision=27115
2004-05-11 16:07:08 +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