Commit Graph

743 Commits

Author SHA1 Message Date
Mike Kestner
5f4ee87b5c 2004-04-28 Mike Kestner <mkestner@ximian.com>
[Expanded from patch by John Luke attached to bug.]
	* gdk/Gdk.metadata : rename Atom.Name to GetName so it props.
	* gdk/Atom.custom : new string cast operator.
	* sample/TestDnd.cs : fix Atom.Name reference
	* sample/GtkDemo/DemoEditableCell.cs : fix a ListStore.Remove
	ref broken by last commit.
	[Fixes #57721]

svn path=/trunk/gtk-sharp/; revision=26208
2004-04-28 20:58:11 +00:00
Mike Kestner
4766d5bf75 2004-04-28 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark ListStore.Remove iter pass_as=ref.
	[Fixes #56945]

svn path=/trunk/gtk-sharp/; revision=26205
2004-04-28 20:35:39 +00:00
Mike Kestner
2e3713a44f 2004-04-28 Mike Kestner <mkestner@ximian.com>
* Makefile.am : dist the public signing key baulig just added.

svn path=/trunk/gtk-sharp/; revision=26201
2004-04-28 19:30:39 +00:00
Mike Kestner
658130152a 2004-04-27 Mike Kestner <mkestner@ximian.com>
* gnome/glue/canvaspoints.c : remove some g_prints spotted by
	Jorge Garcia.

svn path=/trunk/gtk-sharp/; revision=26099
2004-04-28 03:04:56 +00:00
Rachel Hestilow
aee0a1f894 2004-04-16 Rachel Hestilow <rachel@nullenvoid.com>
* generator/GObjectGen.cs: Added new generatable to handle
	plain GObjects the same way we do subclasses.
	* generator/ManualGen.cs: Make FromNative/FromNativeReturn virtual
	to allow overriding.
	* generator/SymbolTable.cs: Use GObjectGen instead of
	ManualGen for GObject.
	* generator/Makefile.am: Add GObjectGen.cs.

svn path=/trunk/gtk-sharp/; revision=25651
2004-04-18 03:19:15 +00:00
Mike Kestner
ed507416b2 2004-04-16 Boyd Timothy <btimothy@novell.com>
* gdk/Global.custom : properties to expose window manager spec
	properties.
	* gdk/glue/windowmanager.c : glue to retrieve window manager props
	using gdk_property_get.
	* gdk/glue/Makefile.am : add new file.
	* gdk/glue/makefile.win32 : add new file.

svn path=/trunk/gtk-sharp/; revision=25611
2004-04-16 17:31:30 +00:00
Mike Kestner
3595f79bc3 2004-04-13 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : fix a csc-breaker.

svn path=/trunk/gtk-sharp/; revision=25437
2004-04-13 20:54:49 +00:00
Mike Kestner
3439b34bda 2004-04-12 Mike Kestner <mkestner@ximian.com>
* gnome/Program.custom : add ArgumentException for app_id containing
	spaces.  [fixes #56594]

svn path=/trunk/gtk-sharp/; revision=25374
2004-04-12 19:43:06 +00:00
Mike Kestner
1ac00ff205 2004-04-12 Mike Kestner <mkestner@ximian.com>
[Rework of a patch from Ben Maurer to turn GLib.Value
	into a valuetype.]
	* generator/BoxedGen.cs : fix operators for new valuetype GValues.
	* generator/ByRefGen.cs : new generatable for byref value types.
	* generator/Makefile.am : add ByRefGen.cs.
	* generator/MethodBody.cs : remove GValue special casing.
	* generator/Property.cs : rework value handling.
	* generator/Signal.cs : fix base virtual method value passing.
	* generator/SymbolTable.cs : map GValue to ByRefGen.
	* glib/Object.cs : rework GetProperty and SetProperty.
	* glib/Value.cs : make it a value type.
	* glib/ValueArray.cs : fix GValue passing.
	* glib/glue/value.c : rework for valuetype GValues.
	* gnome/Program.custom : fix GValue passing
	* gtk/Gtk.metadata : make TreeModel.GetValue value param pass_as=ref.
	* gtk/ListStore.custom : fix GValue passing
	* gtk/NodeStore.cs : fix GValue passing
	* gtk/TextTag.custom : fix GValue passing
	* gtk/TreeModelSort.custom : fix GValue passing
	* gtk/TreeStore.custom : fix GValue passing

svn path=/trunk/gtk-sharp/; revision=25368
2004-04-12 15:54:57 +00:00
Larry Ewing
bcb63e0e1d 2004-04-05 Larry Ewing <lewing@ximian.com>
* gnome/Gnome.metadata: Make data an array type so that the image
	functions can be used.
	* gnome/Print.custom: add a custom handler to print Pixbufs.
	* gnome/Makefile.am: add Print.custom.

svn path=/trunk/gtk-sharp/; revision=25252
2004-04-09 16:58:07 +00:00
Mike Kestner
e7bf3a279f 2004-04-07 Mike Kestner <mkestner@ximian.com>
* generator/ClassBase.cs : remove default ctor generation and
	hasDefaultConstructor field.
	* generator/Ctor.cs : chain to base (IntPtr.Zero).
	* generator/StructBase.cs : remove hasDefaultConstructor usage.
	* glib/Object.cs : remove Object () ctor.  Add Ben's GetGType
	method, although nothing uses it yet.  Still working on integrating
	the remainder of Ben's patch.
	* gtk/Gtk.metadata : remove all the disabledefaultctor rules.
	* */*.custom : add base (IntPtr.Zero) or this (...) chaining for
	all ctors.

svn path=/trunk/gtk-sharp/; revision=25184
2004-04-07 19:15:01 +00:00
John Luke
ebea661ee4 2004-04-06 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: mark Gtk.Widget.ModifyFont font_desc null_ok

svn path=/trunk/gtk-sharp/; revision=25166
2004-04-07 17:13:31 +00:00
Gonzalo Paniagua Javier
7cdacd91af 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Value.cs: added StructLayout attribute as requested by the
	runtime. Now --aot works again.

svn path=/trunk/gtk-sharp/; revision=25128
2004-04-07 03:41:13 +00:00
Mike Kestner
05e4e0b9d3 2004-04-04 Mike Kestner <mkestner@ximian.com>
* generator/SymbolTable.cs : don't use StringGen for gunichar.
	* glib/glue/unichar.c : glue to fetch a gunichar as a utf8 string.
	* glib/glue/Makefile.am : add unichar.c
	* glib/glue/makefile.win32 : add unichar.c
	* gtk/Gtk.metadata : hide TextIter.GetChar
	* gtk/TextIter.custom : manually impl Char prop. [fixes #53425]

svn path=/trunk/gtk-sharp/; revision=25054
2004-04-05 18:31:34 +00:00
Mike Kestner
c461182425 2004-04-04 Mike Kestner <mkestner@ximian.com>
* pango/Layout.custom : increment an indexer. thanks to Moritz Balz
	for the bug report and candidate patch.

svn path=/trunk/gtk-sharp/; revision=25046
2004-04-05 16:18:18 +00:00
Mike Kestner
7b15abe5fd 2004-04-04 Mike Kestner <mkestner@ximian.com>
* generator/BoxedGen.cs : DllImport glibsharpglue for value_create.

svn path=/trunk/gtk-sharp/; revision=25045
2004-04-05 16:06:49 +00:00
Mike Kestner
9e64b802b5 2004-04-04 Mike Kestner <mkestner@ximian.com>
* gnome/glue/canvasitem.c : add glue to override VMs.
	* gnome/CanvasItem.cs : expose virtual methods for update, point,
	realize, draw, and render.

svn path=/trunk/gtk-sharp/; revision=25040
2004-04-05 15:11:37 +00:00
John Luke
a0901fea5e 2004-04-04 John Luke <jluke@cfl.rr.com>
* vte/Vte.metadata: mark argv and envv parameters to
        Vte.Terminal.ForkCommand as arrays, it finally works
        * sample/Vte-test.cs: adjust for above

svn path=/trunk/gtk-sharp/; revision=25014
2004-04-04 21:18:56 +00:00
Todd Berman
78ef73173d 2004-04-02 Todd Berman <tberman@sevenl.net>
* gtk/Gtk.metadata: fix Gtk.SelectionData.Set.

svn path=/trunk/gtk-sharp/; revision=25000
2004-04-03 21:42:43 +00:00
Todd Berman
2190751eba 2004-04-02 Todd Berman <tberman@sevenl.net>
* configure.in: added new .pc files
        * gtk-sharp.pc.in: modified to include Libs: line
        * art/.cvsignore: added art-sharp.pc
        * art/Makefile.am: added rules for installing .pc
        * art/art-sharp.pc.in: new .pc file
        * gconf/GConf/.cvsignore: added gconf-sharp.pc
        * gconf/GConf/Makefile.am: added rules for installing .pc
        * gconf/GConf/gconf-sharp.pc.in: new .pc file
        * gda/.cvsignore: added gda-sharp.pc
        * gda/Makefile.am: added rules for installing .pc
        * gda/gda-sharp.pc.in: new .pc file
        * glade/.cvsignore: added glade-sharp.pc
        * glade/Makefile.am: added rules for installing .pc
        * glade/glade-sharp.pc.in: new .pc file
        * gnome/.cvsignore: added gnome-sharp.pc
        * gnome/Makefile.am: added rules for installing .pc
        * gnome/gnome-sharp.pc.in: new .pc file
        * gnomedb/.cvsignore: added gnomedb-sharp.pc
        * gnomedb/Makefile.am: added rules for installing .pc
        * gnomedb/gnomedb-sharp.pc.in: new .pc file
        * gtkhtml/.cvsignore: added gtkhtml-sharp.pc
        * gtkhtml/Makefile.am: added rules for installing .pc
        * gtkhtml/gtkhtml-sharp.pc.in: new .pc file
        * rsvg/.cvsignore: added rsvg-sharp.pc
        * rsvg/Makefile.am: added rules for installing .pc
        * rsvg/rsvg-sharp.pc.in: new .pc file
        * vte/.cvsignore: added vte-sharp.pc
        * vte/Makefile.am: added rules for installing .pc
        * vte/vte-sharp.pc.in: new .pc file

svn path=/trunk/gtk-sharp/; revision=24992
2004-04-03 05:12:17 +00:00
Mike Kestner
cd716a5979 2004-04-01 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : mark dst pass_as=out on Affine.Point

svn path=/trunk/gtk-sharp/; revision=24991
2004-04-03 04:50:59 +00:00
Mike Kestner
1343fb39cc 2004-04-01 Jorn Baayen <jorn@nl.linux.org>
* gtk/Style.custom : wrappers for Text[] and Base[]
	* gtk/glue/style.c : glue to access text[] and base[]
	[fixes #54805]

svn path=/trunk/gtk-sharp/; revision=24930
2004-04-01 22:19:51 +00:00
Mike Kestner
37738a3c26 2004-04-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnome/IconTheme.custom : GetSearchPath impl [fixes #51599].

svn path=/trunk/gtk-sharp/; revision=24913
2004-04-01 17:40:54 +00:00
Mike Kestner
80824aafa7 2004-04-01 Joshua Tauberer <tauberer@for.net>
* gdk/Gdk.metadata : hide Region.GetRectangles
	* gdk/Region.custom : implement Rectangles prop [fixes #55811]

svn path=/trunk/gtk-sharp/; revision=24912
2004-04-01 17:31:36 +00:00
Mike Kestner
f445ce3b19 2004-04-01 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : NULL check for g_value_get_string Thanks to Jeroen
	Zwartepoorte for the bug report with patch [fixes #54979].

svn path=/trunk/gtk-sharp/; revision=24910
2004-04-01 17:10:27 +00:00
Mike Kestner
65570cfc50 2004-03-31 Mike Kestner <mkestner@ximian.com>
* configure.in : tagged for 0.18 and bumped release to 0.18.99
	for cvs.

svn path=/trunk/gtk-sharp/; revision=24888
2004-03-31 21:51:49 +00:00
Miguel de Icaza
0c80f4c624 2004-03-31 Miguel de Icaza <miguel@ximian.com>
* configure.in: If monodoc is not found, then turn off
	enable_monodoc, so the value is properly propagated.

svn path=/trunk/gtk-sharp/; revision=24864
2004-03-31 18:21:56 +00:00
Mike Kestner
ab2f05fa77 2004-03-31 Mike Kestner <mkestner@ximian.com>
* configure.in : remove atk/glue/Makefile
	* atk/Makefile.am : comment out subdirs for now
	* atk/makefile.win32 : don't build glue
	* */glue/Makefile.am : remove generated.c from sources
	* */glue/makefile.win32 : remove generated.c from sources
	* generator/ObjectGen.cs : disable vm glue generation for now.

svn path=/trunk/gtk-sharp/; revision=24850
2004-03-31 16:34:08 +00:00
Mike Kestner
f52a4bb014 2004-03-30 John Luke <jluke@cfl.rr.com>
[Reworked a bit by MK]
	* Makefile.am : add doc dir
	* configure.in : test for monodoc, expand doc/Makefile
	* doc/Makefile.am : build and dist docs
	* doc/makefile : kill

svn path=/trunk/gtk-sharp/; revision=24805
2004-03-30 22:32:46 +00:00
Mike Kestner
cc09f17ac7 2004-03-30 Mike Kestner <mkestner@ximian.com>
* gtk/Makefile.am : add the customs that miggie didn't add.

svn path=/trunk/gtk-sharp/; revision=24804
2004-03-30 22:28:58 +00:00
Mike Kestner
bdf45b396c 2004-03-30 Mike Kestner <mkestner@ximian.com>
* rsvg/Makefile.am : apply metadata to api
	* rsvg/Rsvg.metadata : mark an array param

svn path=/trunk/gtk-sharp/; revision=24803
2004-03-30 20:37:03 +00:00
Todd Berman
72b79ede1f please forgive, o great mike kestner :)
svn path=/trunk/gtk-sharp/; revision=24699
2004-03-29 05:26:18 +00:00
Mike Kestner
48b08a3b7a 2004-03-25 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : Widget.Events is a Gdk.EventMask, not int
	* sample/GtkDemo/DemoDrawingArea.cs : remove int casts
	* sample/Scribble.cs : remove int casts

svn path=/trunk/gtk-sharp/; revision=24601
2004-03-25 18:40:12 +00:00
John Luke
dff96be902 2003-03-24 John Luke <jluke@cfl.rr.com>
* samples/gconf/Makefile.am:
        changes SOURCES to FILES to make automake 1.8 happy

svn path=/trunk/gtk-sharp/; revision=24544
2004-03-24 19:38:29 +00:00
Mike Kestner
5ab9361baf 2003-03-24 Jorn Baayen <jorn@nl.linux.org>
* gtk/Gtk.metadata : mark null_ok param on Window.SetTransientFor.

svn path=/trunk/gtk-sharp/; revision=24538
2004-03-24 18:54:42 +00:00
Mike Kestner
3f8bf503cf 2003-03-24 Jorn Baayen <jorn@nl.linux.org>
* gdk/Gdk.metadata : mark out param on Screen.GetMonitorGeometry.

svn path=/trunk/gtk-sharp/; revision=24536
2004-03-24 18:48:58 +00:00
Mike Kestner
4562311b91 2004-03-22 Mike Kestner <mkestner@ximian.com>
* gtk/Window.custom : bring back the DefaultSize prop as a
	Gdk.Size.

svn path=/trunk/gtk-sharp/; revision=24448
2004-03-23 04:17:47 +00:00
Gonzalo Paniagua Javier
479c46730f 2004-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: if no C# compiler found, error out.

svn path=/trunk/gtk-sharp/; revision=24402
2004-03-22 06:23:07 +00:00
Mike Kestner
4b7744cb67 2004-03-18 Mike Kestner <mkestner@ximian.com>
* gdk/Makefile.am : generate glue
	* gdk/glue/Makefile.am : build generated glue
	* gdk/glue/makefile.win32 : build generated glue
	* gdk/glue/vmglueheaders.h : includes for vm glue
	* gtk/Makefile.am : generate glue
	* gtk/glue/Makefile.am : build generated glue
	* gtk/glue/makefile.win32 : build generated glue
	* gtk/glue/vmglueheaders.h : includes for vm glue

svn path=/trunk/gtk-sharp/; revision=24297
2004-03-18 22:03:49 +00:00
Mike Kestner
9861569931 2004-03-18 Mike Kestner <mkestner@ximian.com>
* configure.in : expand atk/glue/Makefile
	* atk/Makefile.am : generate glue and build glue dir
	* atk/makefile.win32 : ditto
	* atk/glue/Makefile.am : build new glue
	* atk/glue/makefile.win32 : build new glue
	* atk/glue/vmglueheaders.h : new includes for vm glue
	* atk/glue/win32dll.c : win dll building code
	* generator/CodeGenerator.cs : add --gluelib-name and
	--glue-filename argument parsing.
	* generator/GenerationInfo.cs : add GluelibName, GlueFilename,
	GlueEnabled, GlueWriter, and CloseGlueWriter.
	* generator/ObjectGen.cs : Add VirtualMethod glue generation
	* generator/Statistics.cs : Add warning message for virtual
	method throttling.

svn path=/trunk/gtk-sharp/; revision=24292
2004-03-18 20:56:32 +00:00
Mike Kestner
37a37adf53 2004-03-18 Mike Kestner <mkestner@ximian.com>
* parser/gapi2xml.pl : fix passbyvalue bug in vm parsing.
	* */*.raw : regen

svn path=/trunk/gtk-sharp/; revision=24290
2004-03-18 20:25:07 +00:00
Mike Kestner
4616bb2fb2 2004-03-17 Mike Kestner <mkestner@ximian.com>
* sample/rsvg/Makefile.am : make conditional on ENABLE_RSVG

svn path=/trunk/gtk-sharp/; revision=24234
2004-03-17 17:03:54 +00:00
Mike Kestner
f5289b6c93 2004-03-16 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : streamline the remove code a tad.

svn path=/trunk/gtk-sharp/; revision=24170
2004-03-16 21:21:11 +00:00
Mike Kestner
c1878dd859 2004-03-16 Mike Kestner <mkestner@ximian.com>
* gdk/Makefile.am : add new file.
	* gdk/Size.cs : implementation of a Size value type.

svn path=/trunk/gtk-sharp/; revision=24164
2004-03-16 20:43:14 +00:00
Mike Kestner
7cf239155e 2004-03-16 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : remove a C.WL.

svn path=/trunk/gtk-sharp/; revision=24161
2004-03-16 20:10:05 +00:00
Mike Kestner
1a1f5e1702 2004-03-16 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : don't gen a Signals hash per class.
	* generator/Signal.cs : gen checks for [ConnectBefore].
	* generator/SignalHandler.cs : add connect_flags param to ctor.
	* glib/ConnectBeforeAttribute.cs : new attr
	* glib/Makefile.am : add new file
	* glib/Object.cs : add before/after hashes and EventLists
	* gnome/CanvasProxy.cs : use AfterSignals and AfterHandlers.

svn path=/trunk/gtk-sharp/; revision=24157
2004-03-16 19:43:04 +00:00
John Luke
51a6b95ed4 2004-03-14 John Luke <jluke@cfl.rr.com>
* parser/gapi-fixup.in:
        * generator/gapi-codegen.in: s/@MONO@/@RUNTIME@

svn path=/trunk/gtk-sharp/; revision=24026
2004-03-14 21:51:37 +00:00
Mike Kestner
e83c55a242 2004-03-12 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : automakify the build
	* */Makefile.in : kill
	* *.custom : remove System.Drawing dependencies
	* *.cs : remove System.Drawing dependencies
	* *-api.xml : mv to *-api.raw
	* glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade.
	* gtk/gtk-symbols : alias GtkType to GType
	* sources/gtk-sharp-sources.xml : create .raw files. They are now
	transformed to .xml files by the metadata compilation step.

svn path=/trunk/gtk-sharp/; revision=23967
2004-03-12 21:18:11 +00:00
Mike Kestner
64e69d3832 2004-03-08 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : ignore virtual_method elems for now.
	* parser/gapi2xml.pl : parse the non-signal class methods and add as
	virtual_method elements in the API xml
	* */*-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=23809
2004-03-08 18:08:48 +00:00
Gonzalo Paniagua Javier
4dcdbb53fe 2004-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glue/Makefile.am:
	* glue/makefile.win32:
	* glue/thread-notify.c: dropped.

	* gtk/ThreadNotify.cs: use just Idle.Add, which is what the deprecated
	gda_input_add does. No more P/Invoke here.

svn path=/trunk/gtk-sharp/; revision=23758
2004-03-06 18:48:20 +00:00