Commit graph

921 commits

Author SHA1 Message Date
Mike Kestner
5abca27a06 whitespace and assembly version changes for GConf#
svn path=/trunk/gtk-sharp/; revision=63379
2006-08-04 23:27:56 +00:00
Mike Kestner
5d032d5e7d one silly whitespace change from the updater
svn path=/trunk/gtk-sharp/; revision=63376
2006-08-04 23:15:31 +00:00
Mike Kestner
4efaf8c3dc start of the docs for Gtk namespace new API on existing types
svn path=/trunk/gtk-sharp/; revision=63375
2006-08-04 23:13:09 +00:00
Mike Kestner
f2774d7879 obnoxiously large assembly version update
svn path=/trunk/gtk-sharp/; revision=63369
2006-08-04 19:43:19 +00:00
Mike Kestner
1fbcce1452 2006-08-04 Mike Kestner <mkestner@novell.com>
* gdk/Screen.custom : manually implement FontOptions property so
	we can use reflection to access the internal Mono.Cairo ctor.
	* gdk/Gdk.metadata : list marshaling, method-to-property renames,
	and some hides form manual implementation.  Hide 
	gdk_atom_intern_static_string wrapper since it is pointless outside
	the context of C code.

svn path=/trunk/gtk-sharp/; revision=63366
2006-08-04 17:55:35 +00:00
Mike Kestner
33dce96d64 assembly version updates and GLib.InitiallyUnowned docs
svn path=/trunk/gtk-sharp/; revision=63315
2006-08-03 17:18:38 +00:00
Mike Kestner
024566c738 doc updates for assembly versions and a new Glade ctor doc
svn path=/trunk/gtk-sharp/; revision=63314
2006-08-03 17:10:57 +00:00
Mike Kestner
13d94b7758 doc updates for new assembly versions and new Pango API elements
svn path=/trunk/gtk-sharp/; revision=63308
2006-08-03 16:41:27 +00:00
Miguel de Icaza
09c8ad9687 Contribution from alexandre.grin@gmail.com
svn path=/trunk/gtk-sharp/; revision=63010
2006-07-26 17:23:48 +00:00
Miguel de Icaza
56ebd91d43 Contributions from rafaelteixeirabr@hotmail.com
svn path=/trunk/gtk-sharp/; revision=63009
2006-07-26 17:23:14 +00:00
Miguel de Icaza
e771819e78 Contribution from alexandre.grin@gmail.com
svn path=/trunk/gtk-sharp/; revision=63007
2006-07-26 17:22:17 +00:00
Miguel de Icaza
286cc63c43 Contribution from alexandre.grin@gmail.com
svn path=/trunk/gtk-sharp/; revision=63006
2006-07-26 17:20:32 +00:00
Miguel de Icaza
66c4025593 Documentation contributions from kevin.eeckman@gmail.com
svn path=/trunk/gtk-sharp/; revision=63005
2006-07-26 17:18:12 +00:00
Miguel de Icaza
7d9ac6ec4b Patch from islandjoe@gmail.com
svn path=/trunk/gtk-sharp/; revision=60602
2006-05-11 18:14:15 +00:00
Miguel de Icaza
9074d1e9e4 Patch from mario.carrion@gmail.com for Gdk documentation
svn path=/trunk/gtk-sharp/; revision=60385
2006-05-07 17:47:40 +00:00
Miguel de Icaza
339908c11f Patch from mario.carrion@gmail.com for Gdk documentation
svn path=/trunk/gtk-sharp/; revision=60384
2006-05-07 17:47:29 +00:00
Zac Bowling
7b4b41c596 2006-05-02 Zac Bowling <zac@zacbowling.com>
* docs/en/Gdk/Drawable.xml
        * gdk/Drawable.custom
        * gdk/Gdk.metadata : Fix Drawable.DrawPoints's points param 
signature by making points an array type. 


svn path=/trunk/gtk-sharp/; revision=60196
2006-05-02 22:36:43 +00:00
Miguel de Icaza
9fe425fea8 Patch from cesar.nataren@gmail.com
svn path=/trunk/gtk-sharp/; revision=59975
2006-04-27 14:10:16 +00:00
Miguel de Icaza
5955889f15 Patch from vrrivaro@gmail.com
svn path=/trunk/gtk-sharp/; revision=59974
2006-04-27 14:09:58 +00:00
Miguel de Icaza
de39d989cf Add sample usage of this class
svn path=/trunk/gtk-sharp/; revision=59971
2006-04-27 14:08:18 +00:00
Miguel de Icaza
2949080a53 Patch from mario.carrion@gmail.com
svn path=/trunk/gtk-sharp/; revision=59378
2006-04-11 21:20:33 +00:00
Miguel de Icaza
996ac883db Patch from mario.carrion@gmail.com
svn path=/trunk/gtk-sharp/; revision=59377
2006-04-11 21:20:18 +00:00
Miguel de Icaza
d8ecb69037 Patch from entereczek@gmail.com
svn path=/trunk/gtk-sharp/; revision=59375
2006-04-11 21:16:27 +00:00
Hector E. Gomez Morales
4a251355f3 2006-03-23 Hector E. Gomez Morales <hectorgm@ciencias.unam.mx>
* en/Gtk/Button.xml
        * en/Gtk/CellRendererText.xml
        * en/Gtk/CellLayoutDataFunc.xml
        * en/Gtk/CellRenderer.xml: Docs.
                                

svn path=/trunk/gtk-sharp/; revision=58336
2006-03-23 06:55:19 +00:00
Hector E. Gomez Morales
1ba2f531f0 2006-03-22 Hector E. Gomez Morales <hectorgm@ciencias.unam.mx>
* en/Gtk/AboutDialogActivateLinkFunc.xml
	* en/Gtk/Accelerator.xml
        * en/Gtk/AccelGroup.xml
	* en/Gtk/Action.xml
	* en/Gtk/ActionGroup.xml
	* en/Gtk/Application.xml: Docs.
						

svn path=/trunk/gtk-sharp/; revision=58284
2006-03-22 06:39:01 +00:00
Miguel de Icaza
6e5488cc6e Patch from willem.jacobus@gmail.com
svn path=/trunk/gtk-sharp/; revision=57851
2006-03-12 00:18:42 +00:00
Miguel de Icaza
d2c13881e1 Patch froM
svn path=/trunk/gtk-sharp/; revision=57849
2006-03-12 00:17:49 +00:00
Miguel de Icaza
96e545f805 Patch from dan.lutescu@gmail.com
svn path=/trunk/gtk-sharp/; revision=57848
2006-03-12 00:17:25 +00:00
Miguel de Icaza
e62af14464 Patch from rdjackson@gmail.com
svn path=/trunk/gtk-sharp/; revision=57847
2006-03-12 00:16:10 +00:00
Miguel de Icaza
15b09f01b3 Patch from mondalaci@gmail.com
svn path=/trunk/gtk-sharp/; revision=57846
2006-03-12 00:14:24 +00:00
Miguel de Icaza
657b6f9375 Patch from mondalaci@gmail.com
svn path=/trunk/gtk-sharp/; revision=57845
2006-03-12 00:14:06 +00:00
Miguel de Icaza
b408ee1630 Patch from michaldominik@gmail.com
svn path=/trunk/gtk-sharp/; revision=57844
2006-03-12 00:12:59 +00:00
Miguel de Icaza
416392e5dd Add some remarks
svn path=/trunk/gtk-sharp/; revision=57843
2006-03-12 00:12:41 +00:00
Hector E. Gomez Morales
3e3994e202 svn path=/trunk/gtk-sharp/; revision=57493 2006-03-02 01:40:08 +00:00
Miguel de Icaza
5f1c7a56dd Patch from Michal Dominik
svn path=/trunk/gtk-sharp/; revision=56307
2006-01-31 02:50:11 +00:00
Miguel de Icaza
134474301d Patch from virtualblackfox@gmail.com
svn path=/trunk/gtk-sharp/; revision=56306
2006-01-31 02:49:15 +00:00
Miguel de Icaza
41964eaccb Patch from ion_daniel2000@yahoo.com
svn path=/trunk/gtk-sharp/; revision=56305
2006-01-31 02:49:00 +00:00
Miguel de Icaza
51a72f2d03 Patch from gnumuthu@users.sf.net
svn path=/trunk/gtk-sharp/; revision=56298
2006-01-30 23:34:50 +00:00
Mike Kestner
498028ccb0 2005-01-17 Mike Kestner <mkestner@novell.com>
* gnome/Canvas.custom : add a ctor (bool is_aa) using the
	construct-only prop.
	[Fixes #77017]

svn path=/trunk/gtk-sharp/; revision=55690
2006-01-17 19:19:58 +00:00
Miguel de Icaza
48883136c5 Patch from matze@braunis.de
svn path=/trunk/gtk-sharp/; revision=54877
2005-12-27 14:15:23 +00:00
Miguel de Icaza
98c84bac85 Patch from matze@braunis.de
svn path=/trunk/gtk-sharp/; revision=54876
2005-12-27 14:13:51 +00:00
Miguel de Icaza
8666947fd0 Patch from Felipe Lessa
svn path=/trunk/gtk-sharp/; revision=54875
2005-12-27 14:13:04 +00:00
Miguel de Icaza
b27f52c0c1 Patch from Felipe Lessa
svn path=/trunk/gtk-sharp/; revision=54874
2005-12-27 14:12:35 +00:00
Miguel de Icaza
25bd2e6729 Patch from Felipe Lessa
svn path=/trunk/gtk-sharp/; revision=54873
2005-12-27 14:11:32 +00:00
Miguel de Icaza
3a79911c09 Patch from CJ Collier
svn path=/trunk/gtk-sharp/; revision=54872
2005-12-27 14:09:56 +00:00
Mike Kestner
6f612e3fff 2005-12-13 Mike Kestner <mkestner@novell.com>
* sources/Makefile.am : move to stable gtk 2.8 versions.
	* sources/gtk-sharp-2.8-sources.xml : move to stable gtk 2.8 versions.
	* */*.raw : regenerate.
	* gdk/Gdk.metadata : hide a few gtk+ internal methods.
	* gtk/Gtk.metadata : hide a win32 internal enum.

svn path=/trunk/gtk-sharp/; revision=54308
2005-12-13 17:11:31 +00:00
Mike Kestner
a2b83c5751 s/Graphics/Context
svn path=/trunk/gtk-sharp/; revision=54306
2005-12-13 16:58:53 +00:00
Mike Kestner
c37cd06fc5 2005-12-12 Itamar Rogel <chastamar@yahoo.com>
* NodeView.cs : add default ctor and NodeStore setter.
	[Fixes #76827]

svn path=/trunk/gtk-sharp/; revision=54243
2005-12-12 15:31:54 +00:00
Mike Kestner
98b4307aba 2005-12-10 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api-2.8.raw : regenerated.
	* gtk/IconView.custom : manually implement a new interface method.
	* parser/gapi_pp.pl : more general G_DEFINE_TYPE_WITH_CODE parsing
	implementation.
	[Fixes #76266]

svn path=/trunk/gtk-sharp/; revision=54192
2005-12-10 13:17:47 +00:00
Mike Kestner
cef7589d14 docs for the last new 2.8 type
svn path=/trunk/gtk-sharp/; revision=54189
2005-12-10 06:09:45 +00:00
Mike Kestner
9c82ac0620 2005-12-10 Mike Kestner <mkestner@novell.com>
* gdk/gdk-symbols.xml : add GrabBroken mapping.
	* gdk/Event.cs : add GrabBroken to GetEvent.
	* gdk/EventGrabBroken.cs : manual Event subclass.
	* gdk/Gdk.metadata : hide new GrabBroken event.
	* gdk/Makefile.am : add new source file.

svn path=/trunk/gtk-sharp/; revision=54186
2005-12-10 06:00:03 +00:00
Mike Kestner
e89d2e166b CairoHelper docs
svn path=/trunk/gtk-sharp/; revision=54180
2005-12-09 23:52:27 +00:00
Mike Kestner
ff1745bbbb docs for the new args and handlers for 2.8 API
svn path=/trunk/gtk-sharp/; revision=54179
2005-12-09 23:38:55 +00:00
Mike Kestner
5b4fed971a 2.8 new enum type docs
svn path=/trunk/gtk-sharp/; revision=54178
2005-12-09 23:26:10 +00:00
Mike Kestner
0e47e78f96 update docs to 2.8 API and document all new members
svn path=/trunk/gtk-sharp/; revision=54175
2005-12-09 23:12:49 +00:00
Mike Kestner
3e2f67b923 s/fired/raised
svn path=/trunk/gtk-sharp/; revision=53420
2005-11-23 21:59:35 +00:00
Miguel de Icaza
98dc8e3151 Apply patch from felipe.lessa@gmail.com
svn path=/trunk/gtk-sharp/; revision=53412
2005-11-23 21:37:05 +00:00
Miguel de Icaza
a171434a3d Apply patch from debian@mfgames.com
svn path=/trunk/gtk-sharp/; revision=53410
2005-11-23 21:36:25 +00:00
Mike Kestner
626b964336 2005-11-19 Mike Kestner <mkestner@novell.com>
* generator/ManualGen.cs (CallByName): add null handling.
	[Fixes #76540]

svn path=/trunk/gtk-sharp/; revision=53280
2005-11-19 18:56:27 +00:00
Miguel de Icaza
a69dd0414d Patch from felipe.lessa@gmail.com
svn path=/trunk/gtk-sharp/; revision=52987
2005-11-13 18:11:02 +00:00
Miguel de Icaza
8930314f11 Patch from tmastran@gmail.com
svn path=/trunk/gtk-sharp/; revision=52668
2005-11-07 22:37:30 +00:00
Mike Kestner
05526600ae 2005-10-19 Mike Kestner <mkestner@novell.com>
* gtk/TextBuffer.custom : add some obsolete overloads for backward
	compat with some not-completely-unusable 1.0.x methods.

svn path=/trunk/gtk-sharp/; revision=52131
2005-10-24 17:08:40 +00:00
Miguel de Icaza
3c690c2a26 Some fixes
svn path=/trunk/gtk-sharp/; revision=52025
2005-10-21 15:26:09 +00:00
Mike Kestner
65c81a5cea updater plus docs for gonzalo's new prop
svn path=/trunk/gtk-sharp/; revision=51483
2005-10-09 01:42:35 +00:00
Miguel de Icaza
28e627bbf2 Patch from
svn path=/trunk/gtk-sharp/; revision=51006
2005-09-29 18:47:42 +00:00
Miguel de Icaza
a02ae2bfd6 A few more wording changes
svn path=/trunk/gtk-sharp/; revision=50731
2005-09-25 17:33:45 +00:00
Christian Hergert
d904ed0fd7 * vte/Vte.metadata: Fix Vte.Terminal.SetColors to reflect proper mapping
to vte_terminal_set_colors. palette is now Gdk.Color[].
    * sample/VteTest.cs: Update to work with fixed parameter.
    * doc/en/Vte/Terminal.xml: Update vte docs to reflect parameter fix.

svn path=/trunk/gtk-sharp/; revision=50671
2005-09-24 07:47:12 +00:00
Miguel de Icaza
b0c973ebe0 Patch from cesar2879@yahoo.com
svn path=/trunk/gtk-sharp/; revision=50316
2005-09-20 18:16:16 +00:00
Miguel de Icaza
9c7de775ce Patch from cesar2879@yahoo.com
svn path=/trunk/gtk-sharp/; revision=50315
2005-09-20 18:15:55 +00:00
Miguel de Icaza
1df637d9e6 Patch from debian@mfgames.com
svn path=/trunk/gtk-sharp/; revision=50314
2005-09-20 18:11:02 +00:00
Miguel de Icaza
1852fbf0f1 Use recommended wording for events
svn path=/trunk/gtk-sharp/; revision=50212
2005-09-19 00:36:43 +00:00
Miguel de Icaza
7acfc652c9 Documentation patch from stefan.bethge@web.de
svn path=/trunk/gtk-sharp/; revision=50192
2005-09-18 16:41:48 +00:00
Mike Kestner
4823e51e1b 2005-09-15 Mike Kestner <mkestner@novell.com>
* glade/Glade.metadata : mark Interface.toplevels private to allow
	manual implementation.
	* glade/Interface.custom : add manual impl for Toplevels and obsolete
	old toplevels impl.
	* glade/Makefile.am : add new custom.

svn path=/trunk/gtk-sharp/; revision=50100
2005-09-15 18:13:09 +00:00
Mike Kestner
6e9ebf451c 2005-09-15 Mike Kestner <mkestner@novell.com>
* parser/gapi-fixup.cs : warn on unmatched rules.  reworked from a Dan
	Winship patch.  [Fixes #76088]

svn path=/trunk/gtk-sharp/; revision=50091
2005-09-15 16:54:00 +00:00
Miguel de Icaza
5431d8f69a Contributions/Patch from cesar2879@yahoo.com
svn path=/trunk/gtk-sharp/; revision=49936
2005-09-12 06:32:05 +00:00
Dan Winship
6a4b03d57f * gtk/Gtk.metadata: Hide Gtk.Drag.SetIconDefault. Mark
Gtk.TreeView.GetVisibleRect's arg as "out".

	* gtk/Drag.custom: gtk_drag_set_icon_default(ctx) should translate
	to Gtk.Drag.SetIconDefault(ctx), not Gtk.Drag.IconDefault = ctx.

	* gtk/TreeView.custom: add obsolete GetVisibleRect()

svn path=/trunk/gtk-sharp/; revision=49723
2005-09-08 19:01:01 +00:00
Mike Kestner
a461ba8984 formatting fixes from updater rerun
svn path=/trunk/gtk-sharp/; revision=49649
2005-09-07 17:56:34 +00:00
Eric Butler
bc2d3e81e0 2005-09-07 Eric Butler <eric@extremeboredom.net>
* gtk/NodeStore.cs : Add Clear() method
	* doc/en/Gtk/NodeStore.xml : Add documentation for above method


svn path=/trunk/gtk-sharp/; revision=49648
2005-09-07 17:34:58 +00:00
Miguel de Icaza
9af713e759 Revert mistake
svn path=/trunk/gtk-sharp/; revision=49389
2005-09-03 04:11:38 +00:00
Miguel de Icaza
2af1e82dfd Update docs
svn path=/trunk/gtk-sharp/; revision=49381
2005-09-02 22:55:48 +00:00
Mike Kestner
e916350eff 2005-08-29 Mike Kestner <mkestner@novell.com>
* gtk/Widget.custom : add overloads for Modify* without a Gdk.Color
	param to reset color to default.  [Fixes #75913]


svn path=/trunk/gtk-sharp/; revision=49085
2005-08-29 19:22:23 +00:00
Ben Maurer
bc1f65c821 oops
svn path=/trunk/gtk-sharp/; revision=49049
2005-08-29 00:08:07 +00:00
Ben Maurer
327a28442e In doc:
2005-08-28  Ben Maurer  <bmaurer@ximian.com>

	* en/Gtk/NodeSelection.xml: Docs

In .:
2005-08-28  Ben Maurer  <bmaurer@ximian.com>

	* gtk/NodeSelection.cs: helper api


svn path=/trunk/gtk-sharp/; revision=49040
2005-08-28 21:18:39 +00:00
Mike Kestner
a4a90e0797 2005-08-23 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : handle foo const * fields.
	* gnome/gnome-api-2.10.raw : regen.

svn path=/trunk/gtk-sharp/; revision=48745
2005-08-23 17:02:47 +00:00
Miguel de Icaza
3e62a2a636 from hqytheljrpogjm@mailinator.com
svn path=/trunk/gtk-sharp/; revision=48701
2005-08-22 23:09:37 +00:00
Miguel de Icaza
6b1dc6fca6 from hisham
svn path=/trunk/gtk-sharp/; revision=48700
2005-08-22 23:09:17 +00:00
Dan Winship
622c360576 * parser/gapi2xml.pl (addFuncElems): if a struct or boxed type has
a constructor or a ref, unref, or destroy method, then it must be
	a reference type, so mark it "opaque" but then also mark all of
	its fields public and writable.

	* */*-api*.raw: Regen

	* generator/Parser.cs (ParseNamespace): make the opaque attribute
	check actually look at the value of the attribute rather than just
	checking if it's there, so that you can change a struct's opaque
	attribute from "true" to "false" via metadata and have that work.

	* generator/BoxedGen.cs (Generate): do not generate the boxed's
	"Free" method (since it's guaranteed to crash when we pass it a
	stack pointer). If "Copy" is marked deprecated, create a
	deprecated no-op for it, otherwise just skip it (since otherwise
	it will just leak memory when we copy its result onto the stack).

	* pango/Pango.metadata: deprecate Pango.Color.Copy and
	Pango.Matrix.Copy. Hide some array fields in Pango.GlyphString
	that we've never generated correctly. Tweak Pango.LayoutLine
	fields to be the same as they used to be.

	* pango/GlyphItem.custom (glyphs, item):
	* pango/GlyphString.custom (Zero, New):
	* pango/Item.custom (Zero, New):
	* pango/LayoutRun.custom (glyphs, item): add deprecated API compat

	* gdk/Gdk.metadata: undo the parser's new opaquification of
	Gdk.Font; it's been deprecated since pre-gtk# times, and no one
	should be using it, so there's no point in fixing it now. Fix up a
	few other things to match how they used to be. Fix RgbCmap's
	constructor args.

	* gdk/RgbCmap.custom (Zero, New): deprecated API compat

	* gdk/PangoAttrEmbossed.custom:
	* gdk/PangoAttrStipple.custom (Zero, New, Attr): deprecated API
	compat
	(explicit operator ...): allow casting back and forth between
	Pango.Attribute. (We can't usefully make them real subclasses of
	Pango.Attribute, because there's no way for
	Pango.Attribute.GetAttribute() to be able to dtrt with them.)

	* gtk/Gtk.metadata: deprecate Gtk.Requisition.Copy,
	Gtk.TextIter.Copy, and Gtk.TreeIter.Copy. Mark the return value of
	TextView.DefaultAttributes as "owned". Mark TargetList's fields
	private so it stays how it used to be.

	* gtk/TextAttributes.custom (Zero, New): deprecated API compat

	* gnomevfs/Gnomevfs.metadata: remove a bunch of opaque
	declarations that the parser figures out on its own now.

	* art/Art.metadata:
	* glade/Glade.metadata:
	* rsvg/Rsvg.metadata: un-mark everything the parser marked opaque
	in these libraries, because all of the structs in question would
	still be unusably broken, so the API churn would be pointless.

svn path=/trunk/gtk-sharp/; revision=48387
2005-08-15 15:15:57 +00:00
John Luke
69ab0dc995 add an iconview example
svn path=/trunk/gtk-sharp/; revision=48370
2005-08-14 19:50:35 +00:00
Dan Winship
202d8f09ff remove a duplicate <params> line that really trips up the latest monodocer
for some reason

svn path=/trunk/gtk-sharp/; revision=48337
2005-08-12 15:42:28 +00:00
Miguel de Icaza
2fa109fdd7 Doc updates
svn path=/trunk/gtk-sharp/; revision=48309
2005-08-12 01:43:07 +00:00
Dan Winship
737a794d76 * generator/OpaqueGen.cs (Generate):
* generator/StructBase.cs (Generate): Add the [Obsolete] attribute
	to deprecated structs/boxeds/opaques too. (Affects Gdk.Font,
	Gtk.Arg, Gtk.ItemFactoryEntry, Gnome.IconData, and [in 2.6/2.8]
	Gnome.Vfs.MimeAction)

svn path=/trunk/gtk-sharp/; revision=48288
2005-08-11 14:13:25 +00:00
Dan Winship
1a790c98ea * en/index.xml: remove gda/gnomedb docs
* en/Gda:
	* en/Gda.xml:
	* en/GnomeDb:
	* en/GnomeDb.xml: gone

svn path=/trunk/gtk-sharp/; revision=48201
2005-08-09 20:18:55 +00:00
Dan Winship
d6ec3f77ff * generator/ClassBase.cs (Validate): Don't fully validate the
parent class and interfaces (because we don't want to see the
	warnings about certain GtkWidget methods in every single library
	that defines a widget, etc). Instead, use the new
	ValidateForSubclass() method.
	(ValidateForSubclass): only validate the signals

	* generator/InterfaceGen.cs (ValidateForSubclass): for interfaces
	we need to validate the methods too.

	* generator/ObjectGen.cs (Generate): Check for interface method
	collisions against the class's own methods too, not just its other
	interfaces. Also, it's only a collision if the methods' signatures
	have the same types.

	* generator/Signal.cs (GenDefaultHandlerDelegate): Use
	"{0}_managed" rather than "obj" for the internal variable name, to
	avoid compile problems with signals that have a parameter named
	"obj".

	* generator/SymbolTable.cs (MangleName): mangle "internal" to
	"_internal".

svn path=/trunk/gtk-sharp/; revision=48184
2005-08-09 17:33:46 +00:00
Dan Winship
12cd8d0d17 * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref
a bit; only Ref the pointer if Owned is false (and then set it to
	true), and vice versa for Unref.

	* glib/Opaque.cs (Opaque): set owned before setting Raw, so
	that Raw will be reffed properly.
	(GetOpaque): Fix this up to dtrt in all cases with refcounted
	opaques.
	
	* gtk/TreeView.custom (GetPathAtPos): Use "GetOpaque(...)" rather
	than "new TreePath()"

	* sample/opaquetest/*: regression test for opaque free/ref/unref
	handling

	* sample/Makefile.am (SUBDIRS): add opaquetest

	* configure.in.in (AC_OUTPUT): add opaquetest files

svn path=/trunk/gtk-sharp/; revision=48168
2005-08-09 14:44:32 +00:00
Miguel de Icaza
c254638a5a Patch from Todd Berman
svn path=/trunk/gtk-sharp/; revision=48101
2005-08-08 04:28:14 +00:00
Dan Winship
85d88fe1ca Change the way generatable validation works. Some generatable
properties can't be set until Validate-time (eg, Method.IsGetter),
	but it's annoying for every potential user of those properties to
	have to make sure it has Validated the generatable first. So now
	we add an explicit Validate() step after everything is loaded but
	before anything is Generated, so that at Generation time,
	everything can be assumed to have been Validated.

	* generator/IGeneratable.cs: add "bool Validate()"

	* generator/CodeGenerator.cs (Main): after loading all of the
	generatables, DeAlias the SymbolTable, Validate() all the
	generatables, and discard any invalid ones.

	* generator/*.cs: Implement Validate() trivially in generatables
	that didn't implement it before. Move Validate() calls from
	Generate() to Validate(). Remove non-hierarchical Validate()
	calls.

	* generator/SymbolTable.cs: GPtrArray is IntPtr, not IntPtr[]

svn path=/trunk/gtk-sharp/; revision=48046
2005-08-05 20:34:45 +00:00
Dan Winship
dc9046526c * gtk/TargetList.custom: add an operator for casting to
TargetEntry[], so you can use methods like
	TargetList.AddTextTargets() in situations where you need a
	TargetEntry[] rather than a TargetList.

	* gtk/glue/targetlist.c: glue for that

svn path=/trunk/gtk-sharp/; revision=48006
2005-08-04 18:03:21 +00:00
Mike Kestner
e299e65c8a 2005-08-03 Mike Kestner <mkestner@novell.com>
* bootstrap : use gnome and vfs 2.10 api.
	* bootstrap-2.4 : use gnome and vfs 2.6 api.
	* bootstrap-for-the-insane : use gnome and vfs 2.10 api for now.
	* configure.in.in : substitute GNOME_REQUIRED_VERSION.
	* gnome/gnome-api.raw : rename to gnome-api-2.6.raw.
	* gnome/gnome-api-2.10.raw : new 2.10 parse.
	* gnomevfs/gnome-vfs-api.raw : rename to gnome-api-2.6.raw.
	* gnomevfs/gnome-vfs-api-2.10.raw : new 2.10 parse.
	* gnomevfs/Gnomevfs.metadata : mark MimeApplication opaque.
	* sources/Makefile.am : split gnome parse for 2.6/2.10.
	* sources/gtk-sharp-2.4-sources.xml : parse GNOME 2.6.
	* sources/gtk-sharp-2.6-sources.xml : parse GNOME 2.10.
	* sources/gtk-sharp-2.8-sources.xml : parse GNOME 2.10 for now.

svn path=/trunk/gtk-sharp/; revision=47981
2005-08-03 21:51:23 +00:00
Dan Winship
64c8a1b924 re-commit after letting "make update" reformat it
svn path=/trunk/gtk-sharp/; revision=47971
2005-08-03 16:41:29 +00:00
Dan Winship
f70a702224 update for recent changes (removing broken gnome-print stuff, and
GLib.Opaque changes)

svn path=/trunk/gtk-sharp/; revision=47964
2005-08-03 15:35:46 +00:00