Commit graph

557 commits

Author SHA1 Message Date
Mike Kestner edc0d396cb 2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* configure.in : tagging for 0.10

svn path=/trunk/gtk-sharp/; revision=15388
2003-06-14 18:11:01 +00:00
Mike Kestner 08a8f34594 2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* gtk/TreeViewColumn.custom : cast Array param to
	object[] before indexing into it.

svn path=/trunk/gtk-sharp/; revision=15387
2003-06-14 17:56:16 +00:00
Mike Kestner 3353e2d35e 2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* glib/Value.cs : cast uint to TypeFundamentals

svn path=/trunk/gtk-sharp/; revision=15386
2003-06-14 17:40:51 +00:00
Mike Kestner bbf727c80e 2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* CallbackGen.cs : rework for internal callback helpers,
	pass NS to parms ctor
	* Ctor.cs : pass NS to parms ctor
	* Method.cs : pass NS to parms ctor
	* Parameters.cs : refactoring, plus rework for internal
	callback helpers.
	* Signal.cs : pass NS to parms ctor

svn path=/trunk/gtk-sharp/; revision=15385
2003-06-14 17:30:32 +00:00
Mike Kestner e1036250bb 2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* parser/gapi2xml.pl : some whitespace parsing cleanup
	* api/*-api.xml : rerun of the parser.

svn path=/trunk/gtk-sharp/; revision=15383
2003-06-14 16:15:17 +00:00
Mike Kestner da5460a805 2003-06-12 Mike Kestner <mkestner@speakeasy.net>
* generator/SimpleGen.cs : mark a few members virtual
	since they are overridden elsewhere.

svn path=/trunk/gtk-sharp/; revision=15356
2003-06-13 02:12:00 +00:00
Rachel Hestilow fe699e9fbb 2003-05-29 Rachel Hestilow <rachel@nullenvoid.com>
* gconf/Value.cs: Update to use new string marshalling.

	* generator/StringGen.cs, ConstStringGen.cs: Added.
	* generator/IGeneratable.cs: Add new method ToNativeReturn.
	* generator/CallbackGen.cs: Implement ToNativeReturn. Call
	ToNativeReturn for the return statement. Fix a couple of
	places where s_ret was being used incorrectly for m_ret.
	* generator/ClassGen.cs, EnumGen.cs, ManualGen.cs,
	SimpleGen.cs, StructBase.cs: Implement ToNativeReturn.
	* generator/SignalHandler.cs: Call ToNativeReturn for the
	return statement, instead of CallByName.
	* generator/SymbolTable.cs: Use StringGen for gchar, char,
	and gunichar, and ConstStringGen for their const variants.
	Add a new method wrapper for ToNativeReturn.
	(Trim): Add a special-case for const strings so that the
	const is not stripped. Otherwise there is no way of
	resolving the const case.

	* glade/XML.custom: Update to use new string marshalling.

	* glib/Marshaller.cs: Added.
	* glib/GException.cs, Markup.cs, ObjectManager.cs,
	Value.cs: Update to use new string marshalling.
	* glib/Object.cs: Remove old g_type_name DllImport
	as it is no longer used.

	* glue/fileselection.c (gtksharp_file_selection_get_fileop_entry):
	Mark this as const return.

	* gtk/ColorSelection.custom, FileSelection.custom,
	SelectionData.custom: Update to use new string marshalling.

svn path=/trunk/gtk-sharp/; revision=15286
2003-06-10 18:09:47 +00:00
Martin Willemoes Hansen 948a75e5e4 * generator/SymbolTable.cs: Added ulong
svn path=/trunk/gtk-sharp/; revision=15178
2003-06-07 17:22:12 +00:00
Rachel Hestilow 037c9e8255 2003-05-27 Rachel Hestilow <rachel@nullenvoid.com>
* sample/ManagedTreeViewDemo.cs: Remove debugging cruft.

	* gconf/.cvsignore, gconf/GConf/.cvsignore,
	gconf/GConf.PropertyEditors/.cvsignore,
	gconf/tools/.cvsignore, sample/gconf/.cvsignore,
	sample/rsvg/.cvsignore: Added.
	* .cvsignore, parser/.cvsignore: Update.

svn path=/trunk/gtk-sharp/; revision=14923
2003-05-27 06:58:42 +00:00
Rachel Hestilow 0b60ffe89f 2003-05-27 Rachel Hestilow <rachel@nullenvoid.com>
* gconf/GConf/ChangeSet.cs, Client.cs: Change SetValue
	from protected to internal, as it references an internal type.
	* gconf/GConf/ClientBase.cs: The same; additionally
	remove some commented-out code. Change Initialize from
	protected to internal.

svn path=/trunk/gtk-sharp/; revision=14922
2003-05-27 06:27:26 +00:00
Rachel Hestilow 4faf8b6b74 2003-05-22 Rachel Hestilow <rachel@nullenvoid.com>
* glib/ManagedValue.cs, glib/Value.cs: A few old-style
	DllImports snuck in during my last commit; update them
	to use Win32 dll names.

svn path=/trunk/gtk-sharp/; revision=14819
2003-05-22 23:39:04 +00:00
Lee Mallabone a6ef912d3b Unhide GtkSizeGroup as it's a useful class.
svn path=/trunk/gtk-sharp/; revision=14775
2003-05-21 20:40:15 +00:00
Rachel Hestilow f1a77c0e62 2003-05-19 Rachel Hestilow <rachel@nullenvoid.com>
* glib/ManagedValue.cs, TypeConverter.cs: Added.
	* glib/Value.cs: Make Value inherit from IDisposable, and
	move dtor to Dispose. Add generic object constructor
	with support for ManagedValue. Add a new Val property
	which will call the appropriate explicit cast.

	* glue/value.c: Add new glue function
	gtksharp_value_get_value_type.

	* gtk/TreeViewColumn.custom: Added.
	* gtk/ListStore.custom, TreeStore.custom: Add a number
	of SetValue overloads. Add convenience functtion
	AppendValues. Add new ctor that takes System.Type instead
	of GLib.TypeFundamentals. Add a GetValue convenience wrapper.
	* gtk/TreeView.custom: Add AppendColumn convenience
	functions.

	* sample/ManagedTreeViewDemo.cs: Added.
	* sample/Makefile.in: Update.
	* sample/TreeViewDemo.cs: Update to use new convenience
	APIs.

svn path=/trunk/gtk-sharp/; revision=14691
2003-05-19 07:18:52 +00:00
Mike Kestner b6114fef1e 2003-05-18 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : use non-static symtab, kill doc comments
	* generator/ClassBase.cs : use non-static symtab
	* generator/CodeGenerator.cs : use non-static symtab
	* generator/EnumGen.cs : kill doc comments, don't gen using System here
	* generator/GenBase.cs : gen using System here for all types
	* generator/InterfaceGen.cs : don't gen using System here.
	* generator/Method.cs : use non-static symtab
	* generator/ObjectGen.cs : kill doc comments, use non-static symtab
	* generator/OpaqueGen.cs : don't gen using System here.
	* generator/Parameters.cs : use non static symtab.
	* generator/Parser.cs : use non static symtab. add SimpleGen's and
	ManualGen's
	* generator/Property.cs : use non static symtab
	* generator/SignalHandler.cs : use non static symtab
	* generator/StructBase.cs : use non static symtab
	* generator/SymbolTable.cs : major refactoring. now uses SimpleGen and
	ManualGen IGeneratables to simplify the method and prop code.  Is now
	instance based with a static prop to get the singleton instance, so that
	a this indexer can be provided to access the IGeneratables nicely. Gearing
	up to remove even more code from here by accessing IGeneratables directly.

svn path=/trunk/gtk-sharp/; revision=14687
2003-05-19 02:45:17 +00:00
Mike Kestner 9066fcac16 2003-05-18 Mike Kestner <mkestner@speakeasy.net>
* generator/ClassBase.cs : Use QualifiedName in spew
	* generator/ObjectGen.cs (Validate): kill, not used

svn path=/trunk/gtk-sharp/; revision=14673
2003-05-18 19:24:28 +00:00
Mike Kestner 68c24359fb 2003-05-13 Mike Kestner <mkestner@speakeasy.net>
* COPYING : Add the license.  This is copied verbatim from
	http://www.gnu.org/licenses/lgpl.txt.

svn path=/trunk/gtk-sharp/; revision=14565
2003-05-14 01:08:40 +00:00
Mike Kestner b09f7e3679 2003-05-13 Mike Kestner <mkestner@speakeasy.net>
* configure.in : bump the version to 0.10
	* generator/CallbackGen.cs (GenWrapper): Update sig preparing for
	external assembly wrapper generation. Kill doc comment generation.
	Make marshaling delegate internal.

svn path=/trunk/gtk-sharp/; revision=14564
2003-05-14 00:27:00 +00:00
Mike Kestner 9e325bd283 2003-05-07 Mike Kestner <mkestner@speakeasy.net>
* generator/ClassBase.cs (GenSignals): remove doc comment param
	* generator/GenBase.cs (CreateWriter): alter generated file comment
	* generator/InterfaceGen.cs (CreateWriter): remove doc comments
	* generator/ObjectGen.cs (Generate): use new GenSignals sig
	* generator/Signal.cs : make signal marshalers internal and remove
	doc comments.
	* generator/SignalHandler.cs : make signal marshalers internal and remove
	doc comments.
	* gnome/CanvasProxy.cs : use Gnome.voidObjectSignal since the gtk one is
	inaccessible now.

svn path=/trunk/gtk-sharp/; revision=14385
2003-05-08 04:44:13 +00:00
Gonzalo Paniagua Javier 9f3f9f149a 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* rsvg/Makefile.in:
	* sample/rsvg/Makefile.in: hopefully fixes building from scratch.

	* rsvg/Tool.cs: the class should be public.

svn path=/trunk/gtk-sharp/; revision=14303
2003-05-05 15:41:41 +00:00
Alp Toker 96fa7da5a8 2003-05-02 Alp Toker <alp@atoker.com>
* sources/gtk-sharp.sources:
        * api/glade-api.xml:
        * glade/XML.custom: Use libglade-2.0-0.dll not glade-2.0 (for win32)

svn path=/trunk/gtk-sharp/; revision=14228
2003-05-02 23:06:21 +00:00
Mike Kestner fd28061896 preparing for 0.9 release
svn path=/trunk/gtk-sharp/; revision=14131
2003-04-30 02:47:48 +00:00
Lee Mallabone 7284a1f6a2 Add a rule that stops private classes/structs getting generated into the Gtk assembly.
svn path=/trunk/gtk-sharp/; revision=14079
2003-04-28 21:23:25 +00:00
Gonzalo Paniagua Javier fa6e709bbb 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/Scribble.cs: patch from Philip Van Hoof
	<spamfrommailing@freax.org> taht fixes compilation.

svn path=/trunk/gtk-sharp/; revision=14066
2003-04-28 12:41:35 +00:00
Charles Iliya Krempeaux 64e0b4fe10 2003-04-25 Charles Iliya Krempeaux <charles@reptile.ca>
* README : Updated to reflect the name change or the
	  "MonkeyGuide" to the "Mono Hand Book".  Updated to
	  give the (new) correct chapter number for the
	  GNOME.NET section.  Added mention of the
	  Gtk# Wiki.

svn path=/trunk/gtk-sharp/; revision=14022
2003-04-26 04:52:06 +00:00
Charles Iliya Krempeaux 5a5da15744 2003-04-25 Charles Iliya Krempeaux <charles@reptile.ca>
* gtk-sharp.pc.in, parser/gapi.pc.in : Both of these
          files were checked in as empty files, before.  Checked
          them in, this time, with something in them.

svn path=/trunk/gtk-sharp/; revision=14005
2003-04-25 20:39:46 +00:00
Charles Iliya Krempeaux a4d3692c04 2003-04-16 Charles Iliya Krempeaux <charles@reptile.ca>
* gdk/EventKey.custom : Created it so that there
          is a "Key" property that returns a Gdk.Key.

svn path=/trunk/gtk-sharp/; revision=13848
2003-04-21 15:31:08 +00:00
Charles Iliya Krempeaux b6a0a2b504 2003-04-14 Charles Iliya Krempeaux <charles@reptile.ca>
* gtk-sharp.pc.in : Created to be used for the detection of
          Gtk#.
        * parser/gapi.pc.in : Created to be used for the detection
          of gapi.pl.
        * makefile : Deleted it.  (Actually, renamed it to Makefile.in.)
        * Makefile.in : Created it from the old makefile, and modified it
          to account for gtk-sharp.pc.
        * configure.in : Made it so it will generate gtk-sharp.pc
          from gtk-sharp.pc.in,  parser/gapi.pc from
          parser/gapi.pc.in, and Makefile from Makefile.in.
        * parser/Makefile.in : Modified it to account for parser/gapi.pc.

svn path=/trunk/gtk-sharp/; revision=13846
2003-04-21 15:25:26 +00:00
Gonzalo Paniagua Javier b5cfb4ba67 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gtk/TreeView.custom:
	(GetPathAtPos): added 3 overloads of this method so that the caller
	does not need to create extra variables that may not use.

	* api/gtk-api.xml:
	* sources/Gtk.metadata: added pass_out attribute for tx and ty
	arguments of TreeView::WidgetToTreeCoords. Hide TreeView::GetPathAtPos.

svn path=/trunk/gtk-sharp/; revision=13677
2003-04-16 02:26:12 +00:00
Lee Mallabone 90fac8a1ad Hide the Copy, Free and Hash methods in Gdk.Color and override GetHashCode().
svn path=/trunk/gtk-sharp/; revision=13606
2003-04-14 18:01:28 +00:00
Lee Mallabone 6395590d34 Fix bugs #27835 and #38672 by correcting problems in the generated ColorSelection binding.
svn path=/trunk/gtk-sharp/; revision=13600
2003-04-14 17:04:13 +00:00
Alp Toker 7a3264e911 Change Keys to Key
svn path=/trunk/gtk-sharp/; revision=13545
2003-04-12 05:23:55 +00:00
Alp Toker 403ed1ac68 2003-04-12 Alp Toker <alp@atoker.com>
* parser/gen_keysyms: Generates a C# Keys enum from the Gdk headers
        (gdkkeysyms.h)
        * gdk/Keys.cs: The generated Keys

svn path=/trunk/gtk-sharp/; revision=13542
2003-04-12 05:05:00 +00:00
Gonzalo Paniagua Javier 1840bd7ef1 2003-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Object.cs:
	(GetObject): check that the target of the WeakReference is still there. Otherwise,
	create a new wrapper for the IntPtr.

	This fixes the random nullrefs when running nunit-gtk.

svn path=/trunk/gtk-sharp/; revision=13450
2003-04-09 17:50:51 +00:00
Gonzalo Paniagua Javier 0d5cea38d4 *** empty log message ***
svn path=/trunk/gtk-sharp/; revision=13238
2003-04-06 09:21:40 +00:00
Duncan Mak f7495647c1 Add first draft of Label docs.
svn path=/trunk/gtk-sharp/; revision=13176
2003-04-04 23:13:02 +00:00
Lee Mallabone 591c9eca8f Apply a modified version of a patch from Artemis <artemis@yandex.ru>, to fix and clean DrawPolygon and DrawLines in Gdk.Drawable.
svn path=/trunk/gtk-sharp/; revision=13133
2003-04-04 07:24:02 +00:00
Charles Iliya Krempeaux 03ebb1fcb3 2003-04-02 Charles Iliya Krempeaux <charles@reptile.ca>
* generator/SignalHandler.cs : Added Patch submitted by
	  Mark Crichton <crichton@gimp.org>, to get GtkMozEmbed
	  bindings working.

svn path=/trunk/gtk-sharp/; revision=13043
2003-04-02 22:29:26 +00:00
Lee Mallabone 95a81a7706 Add a custom constructor to Entry, and fix API bugs with Widget and Frame.
svn path=/trunk/gtk-sharp/; revision=13021
2003-04-02 08:26:36 +00:00
Lee Mallabone b68542269f Add a default zero-arg constructor for Gtk.Viewport.
svn path=/trunk/gtk-sharp/; revision=12869
2003-03-27 19:15:04 +00:00
Lee Mallabone 438b788722 Fix crashes in TreeView.ScrollToCell.
svn path=/trunk/gtk-sharp/; revision=12830
2003-03-25 19:05:40 +00:00
Martin Baulig 860cab4b30 2003-03-25 Martin Baulig <martin@ximian.com>
* gtk/Application.cs (CurrentEvent): Made this property static.

svn path=/trunk/gtk-sharp/; revision=12823
2003-03-25 16:57:05 +00:00
Gonzalo Paniagua Javier a43c7cc88b 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/rsvg/Makefile.in: don't build the sample app. everytime.

svn path=/trunk/gtk-sharp/; revision=12800
2003-03-25 00:58:50 +00:00
Gonzalo Paniagua Javier 7ab055de16 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gtk-api.xml: changed DisplayOptions by SetDisplayOptions.
	* sources/Gtk.metadata: added rename hint for DisplayOptions. Moved
	GtkHTMLStream hints to 'misc' area (they were in 'rename' area).

	* gtk/Calendar.custom: added a .net style GetDate override.
	* sample/CalendarApp.cs: updated to new methods in the Calendar API.

svn path=/trunk/gtk-sharp/; revision=12799
2003-03-25 00:47:13 +00:00
Martin Baulig 73ae9d533f 2003-03-23 Martin Baulig <martin@ximian.com>
* glib/Object.cs (Dispose): Call `Objects.Remove (_obj)' here
	instead of in PerformQueuedUnrefs().

svn path=/trunk/gtk-sharp/; revision=12764
2003-03-23 18:05:36 +00:00
Gonzalo Paniagua Javier a02e962425 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla.
	* sample/DbClient/client.cs: updated to make it compile again.

svn path=/trunk/gtk-sharp/; revision=12752
2003-03-22 17:48:43 +00:00
Gonzalo Paniagua Javier d7a08db9f6 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glue/adjustment.c:
	* glue/canvaspoints.c:
	* glue/clipboard.c:
	* glue/colorseldialog.c:
	* glue/combo.c:
	* glue/dialog.c:
	* glue/error.c:
	* glue/event.c:
	* glue/fileselection.c:
	* glue/list.c:
	* glue/object.c:
	* glue/paned.c:
	* glue/program.c:
	* glue/slist.c:
	* glue/style.c:
	* glue/type.c:
	* glue/value.c:
	* glue/widget.c: removed almost all the warnings.

svn path=/trunk/gtk-sharp/; revision=12751
2003-03-22 17:37:43 +00:00
Lee Mallabone 6dacec484b Add a sample showing a Calendar and build it on linux by default.
svn path=/trunk/gtk-sharp/; revision=12749
2003-03-22 16:37:03 +00:00
Charles Iliya Krempeaux e0a61c2197 2003-03-13 Charles Iliya Krempeaux <charles@reptile.ca>
* README : Did some spelling and grammar corrections.
	  Fixed indentation problem.  And added some more info.
	* HACKING: Added info for people getting started with
	  hacking Gtk#.

svn path=/trunk/gtk-sharp/; revision=12583
2003-03-16 07:03:45 +00:00
Duncan Mak c1444f3883 Fix the Text property. Patch from Mathias
Hasselmann <mathias.hasselmann@gmx.de>.

svn path=/trunk/gtk-sharp/; revision=12564
2003-03-15 22:19:47 +00:00
Miguel de Icaza 215133d780 2003-03-15 Miguel de Icaza <miguel@ximian.com>
* sample: Update samples to new Glade.Widget.

	* glade/WidgetAttribute.cs: Moved the old GladeWidgetattribute
	here.   Now its called `Glade.WidgetAttribute'.

	* glade/GladeWidgetAttribute.cs: Removed

	* glib/Idle.cs: Do not allow Idle class to be instantiated.

svn path=/trunk/gtk-sharp/; revision=12554
2003-03-15 21:02:25 +00:00
Miguel de Icaza 1c5b25f9a1 2003-03-11 Miguel de Icaza <miguel@ximian.com>
* gtk/Application.cs (CurrentEvent): Property implementing the
	suggestion from Paolo.

	* glib/Object.cs (Dispose): Destructor might be invoked in a
	thread, queue the object for destruction using the Gtk idle
	handler.   We perform the real destruction of the object in the
	same thread as the Gtk+ main thread.

svn path=/trunk/gtk-sharp/; revision=12551
2003-03-15 20:49:37 +00:00
Charles Iliya Krempeaux 94f05965a8 2003-03-14 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/makefile : Added a "distclean" rule, so
	  that typing it will remove any source code directories,
	  and their contents.  (This works by just deleting all
	  the subdirectories.  Except for "CVS" of course.)

svn path=/trunk/gtk-sharp/; revision=12546
2003-03-15 19:09:53 +00:00
Charles Iliya Krempeaux 9b0fec6fb3 2003-03-14 Charles Iliya Krempeaux <charles@reptile.ca>
* sample/Makefile.in : Modified it to make it so "make clean"
	  will clean the "sample/rsvg" directory too.  And made it so
	  a "make distclean" will do a distclean to the "sample/rsvg"
	  too.
	* sample/rsvg/Makefile.in : Added the "distclean" rule to
	  it.

svn path=/trunk/gtk-sharp/; revision=12545
2003-03-15 18:52:24 +00:00
Rodrigo Moya b2cdb3a585 2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
* configure.in:
	* sources/makefile:
	* sources/gtk-sharp.sources: updated for libgda/libgnomedb 0.11.

	* sources/Gda.metadata: hide GdaBatch class.

svn path=/trunk/gtk-sharp/; revision=12509
2003-03-14 11:45:19 +00:00
Charles Iliya Krempeaux 882425cc53 2003-02-27 Charles Iliya Krempeaux <charles@reptile.ca>
* sample/rsvg : Created place to put sample program
	  that uses Rsvg#.
	* sample/Makefile.in : Edited it to make it "make"
	  the stuff in "sample/rsvg".
	* sample/rsvg/Makefile.in : Added it to "make" the
	  Rsvg# sample program.
	* sample/rsvg/svghelloworld.cs : Added it.  It's
	  the sample Rsvg# program.
	* sample/rsvg/sample.svg : Added it.  It's a
	  sample SVG file that the program displays.
	* configure.in : Modified it so it will create
	  sample/rsvg/Makefile from sample/rsvg/Makefile.in.

svn path=/trunk/gtk-sharp/; revision=12504
2003-03-14 07:31:51 +00:00
Duncan Mak a3d22ce2c2 * gdk/Pixbuf.custom: Add a nice version of Gdk.Pixbuf.Pixels that
return a 'byte *'.

* sources/Gdk.metadata:
* api/gdk-api.xml: Hide Gdk.Pixbuf.Pixels.

svn path=/trunk/gtk-sharp/; revision=12491
2003-03-14 03:04:15 +00:00
Charles Iliya Krempeaux b08b51132f 2003-03-01 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/README : Updated it to include mention of GStreamer
	  and librsvg.  Also mentioned being able to use
	  "make get-source-code" to get the source code too.
	  Then added alot of content.

svn path=/trunk/gtk-sharp/; revision=12490
2003-03-14 01:41:12 +00:00
Charles Iliya Krempeaux 5ebd8d64a7 2003-02-27 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/makefile : Updated the "make get-source-code"
	  functionality to create the Symbolic Links and get
	  gtkhtml from CVS, as specified by "sources/READDME".

svn path=/trunk/gtk-sharp/; revision=12489
2003-03-14 01:07:39 +00:00
Miguel de Icaza cf022facd6 2003-03-10 Miguel de Icaza <miguel@ximian.com>
* gtk/Application.cs: Do not allow instances of Application to be
	created.

	(InitCheck): new method, wraps gtk_init_check.

	Removed inline docs from here.  Put them on the documentation
	file.

svn path=/trunk/gtk-sharp/; revision=12418
2003-03-11 02:26:25 +00:00
Miguel de Icaza 032a660b72 2003-03-08 Miguel de Icaza <miguel@ximian.com>
* glib/Idle.cs: Add private constructor.
2003-03-08  Miguel de Icaza  <miguel@ximian.com>

	* en/GLib/IdleHandler.xml: Documeted.

	* en/GLib/List.xml: Documented.

	* en/GLib/Idle.xml: Documented.

svn path=/trunk/gtk-sharp/; revision=12369
2003-03-09 07:58:52 +00:00
Mike Kestner 1258d9b176 2003-03-06 Mike Kestner <mkestner@speakeasy.net>
* rsvg/Makefile.in : some -L -r magic

svn path=/trunk/gtk-sharp/; revision=12291
2003-03-07 05:15:22 +00:00
Miguel de Icaza 7e57b3b9a3 2003-03-03 Miguel de Icaza <miguel@ximian.com>
* gdk/Rectangle.custom: Add a Rectangle constructor that takes for
	arguments.

svn path=/trunk/gtk-sharp/; revision=12147
2003-03-03 17:43:22 +00:00
Miguel de Icaza e547fa0e3f 2003-03-02 Miguel de Icaza <miguel@ximian.com>
* glib/Markup.cs: Add new file.

svn path=/trunk/gtk-sharp/; revision=12114
2003-03-03 01:42:26 +00:00
Peter Williams 0b1978da09 2003-03-01 Peter Williams <peterw@ximian.com>
* glue/Makefile.am (libgtksharpglue_la_LIBADD): Change this to
	BASE_DEPENDENCIES_LIBS

svn path=/trunk/gtk-sharp/; revision=12098
2003-03-01 23:04:36 +00:00
Mike Kestner 68f214f699 2003-03-01 Mike Kestner <mkestner@speakeasy.net>
* api/gdk-api.xml : make Color.Parse retval a gboolean. Also change
	some libname override rules to use win32 dllnames.
	* sources/Gdk.metadata : rules for above.

svn path=/trunk/gtk-sharp/; revision=12095
2003-03-01 22:18:09 +00:00
Miguel de Icaza ce4014e8b5 2003-02-28 Miguel de Icaza <miguel@ximian.com>
* glue/widget.c (gtksharp_gtk_widget_get_window): Fix.  Return the
	window, not the address of the window pointer.

svn path=/trunk/gtk-sharp/; revision=12073
2003-02-28 22:52:28 +00:00
Gonzalo Paniagua Javier 4465050e40 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/SignalHandler.cs: the generated Dispose method now calls
	base.Dispose and always disconnects the handler. Thanks to
	Petr Danecek <danecek@ucl.cas.cz>.

svn path=/trunk/gtk-sharp/; revision=12060
2003-02-28 10:55:59 +00:00
Gonzalo Paniagua Javier 5fa688fb04 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gdk-api.xml:
	* sources/Gdk.metadata: hide GdkColormap.AllocColor.

	* gdk/Colormap.custom: AllocColor is here.

	* gconf/tools/schemagen.cs: XmlDocument.Load (string) takes an Uri.

svn path=/trunk/gtk-sharp/; revision=12055
2003-02-28 07:41:59 +00:00
Miguel de Icaza ae21ffa9f2 2003-02-28 Miguel de Icaza <miguel@ximian.com>
* gdk/Color.custom: Added constructors from System.Drawing.Color
	and from rgb byte tuples.

	* gdk/Colormap.custom: Add new .custom file for the AllocColor
	call.

svn path=/trunk/gtk-sharp/; revision=12054
2003-02-28 07:28:06 +00:00
Miguel de Icaza f28a0d72b8 2003-02-27 Miguel de Icaza <miguel@ximian.com>
* gdk/Drawable.custom: Added nice overload for DrawRectangle.

Plus older ChangeLog entries that I had not commited

svn path=/trunk/gtk-sharp/; revision=12052
2003-02-28 04:54:01 +00:00
Mike Kestner 11a68cfecf 2003-02-26 Charles Iliya Krempeaux <charles@reptile.ca>
* gtk/TextBuffer.custom : Added method, named
 	  "GetIterAtOffset" to wrap C API procedure
 	  "gtk_text_buffer_get_iter_at_offset" in a
 	  more expected way.

svn path=/trunk/gtk-sharp/; revision=12022
2003-02-27 05:41:32 +00:00
Mike Kestner d5ec2ba7cb 2003-02-26 Charles Iliya Krempeaux <charles@reptile.ca>
* configure.in : Added support for Rsvg.NET -- librsvg
 	  .NET bindings.  (Made a check for the library.  And
 	  made it so "rsvg/Makefile" would be generated.  Also
 	  made it so it will display if rsvg-sharp.dll will
 	  be generated or not.)
 	* makefile :  Added support for Rsvg.NET -- librsvg
           .NET bindings.  (Added an entry for Rsvg.NET.)
        * sources/gtk-sharp.sources : Added an entry for
 	  Rsvg.NET -- librsvg .NET bindings.
        * rsvg/ : Created "rsvg/" directory.  (To hold stuff
 	  for Rsvg.NET.)
        * rsvg/Tool.cs : Created Rsvg.Tool class to hold
 	  various procedures (which were not automatically
 	  wrapped).
 	* rsvg/Makefile.in : Created "rsvg/Makefile.in".
 	* api/Makefile.in : Added and entry for Rsvg.NET.

svn path=/trunk/gtk-sharp/; revision=12020
2003-02-27 05:16:47 +00:00
Gonzalo Paniagua Javier 4a6b18ee0f 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/Parser.cs: use XmlDocument.Load (Stream). The one using
	(String) expects an uri.

	* generator/Signal.cs: always remove the delegate from the signal
	callback (prior to this, the last handler was not being removed).
	Dispose the callback (ie, disconnect from the signal) when there are
	no registered delegates to handle it.

	* generator/SignalHandler.cs: added 2 new fields to hold the instance
	and the handler ID. The finalization is now done in Dispose and
	disconnects the signal handler when no delegate will handle the signal.
	Changed gobject-2.0 to libgobject-2.0-0.dll.

	* glib/SignalCallback.cs: implemented IDisposable interface.

svn path=/trunk/gtk-sharp/; revision=11976
2003-02-26 02:16:38 +00:00
Mike Kestner 38750dcd9a 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* sample/TreeViewDemo.cs : fix Type ambiguities

svn path=/trunk/gtk-sharp/; revision=11924
2003-02-24 08:04:42 +00:00
Mike Kestner 1f43eeef6b 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* sample/Subclass.cs : rework the GType code.

svn path=/trunk/gtk-sharp/; revision=11923
2003-02-24 07:56:32 +00:00
Mike Kestner 0e5ab4bdea 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs : fix some ref/out bugs

svn path=/trunk/gtk-sharp/; revision=11922
2003-02-24 07:36:30 +00:00
Mike Kestner 95fc33f785 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : gen GLib.Value ctor, not uint
	* glib/Object.cs : use GLib.Type in RegisterGType and
	  make the g_object_new ctor use GLib.Type.
	* glib/Type.cs : new thin wrapper for GValue type
	* glib/*.cs : s/Type/System.Type

svn path=/trunk/gtk-sharp/; revision=11920
2003-02-24 06:39:30 +00:00
Mike Kestner 0a60bc2916 2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/GenBase.cs : quote the custom filenames in
	#file directives.

svn path=/trunk/gtk-sharp/; revision=11918
2003-02-24 05:20:04 +00:00
Mike Kestner 554450a33a 2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : suppress len params from
	  string/len pairs.
	* generator/Parameters.cs : begin the refactoring to use
	  Parameter class. Suppress len params from string/len pairs.
	*/*.custom : remove all overrides of string/len pairs
	*/*.cs : ditto.  Thanks to Alp Toker for the foundation
	  patch that this change was built upon.

svn path=/trunk/gtk-sharp/; revision=11913
2003-02-24 03:13:08 +00:00
Mike Kestner 4bf0846a5f 2003-02-22 Mike Kestner <mkestner@speakeasy.net>
* sources/makefile : patch from Charles Krempeaux to add
	get-source-code target which wgets tarballs.

svn path=/trunk/gtk-sharp/; revision=11842
2003-02-22 19:19:15 +00:00
Mike Kestner c0b574a686 2003-02-21 Mike Kestner <mkestner@speakeasy.net>
* mapdllnames.pl : a little whitespace action
	* api/*-api.xml : move to win32 dllnames
	* */makefile.win32 : remove the mapdllnames step
	* */*.cs : move to win32 dllnames
	* */*.custom : move to win32 dllnames
	* sources/gtk-sharp.sources : move to win32 dllnames

svn path=/trunk/gtk-sharp/; revision=11823
2003-02-22 04:34:56 +00:00
Mike Kestner d743db9340 2003-02-21 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : remove stray enum get_type methods.
	* parser/gapi2xml.pl : ignore get_type methods on enums.

svn path=/trunk/gtk-sharp/; revision=11796
2003-02-21 05:54:32 +00:00
Mike Kestner 82cc097ef4 2003-02-20 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : hide the Arrow::Set method.
	* sources/Gtk.metadata : metadata for above.

svn path=/trunk/gtk-sharp/; revision=11790
2003-02-21 03:33:42 +00:00
Mike Kestner 367de43b68 2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs (Initialize): construct a GLib.Value
	for out params.

svn path=/trunk/gtk-sharp/; revision=11768
2003-02-20 06:17:23 +00:00
Mike Kestner 284ab36d8b 2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : mark TreeModel::GetValue value param out
	suggested by Lee Mallabone <gnome@phonicmonkey.net>
	* sources/Gtk.metadata : metadata for above
	* sources/README : update the gnomedb/gda version reqs

svn path=/trunk/gtk-sharp/; revision=11766
2003-02-20 05:31:14 +00:00
Duncan Mak 8e10c2d7ff * TestFileSelection.cs: Update to reflect FileSelection changes.
* sources/Gtk.metadata: Add GetLayoutOffsets to the rule for out params.

* gtk/FileSelection.custom (Button): Rename to FSButton, so that
we won't wipe out our original Gtk.Button docs.

svn path=/trunk/gtk-sharp/; revision=11761
2003-02-20 04:03:15 +00:00
Mike Kestner ccd555425e 2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/GenBase.cs : mark #line 1 for .customs
	* generator/SignalHandler.cs : fix for GObj retvals

svn path=/trunk/gtk-sharp/; revision=11714
2003-02-19 06:23:36 +00:00
Mark Crichton ff931046db generator/EnumGen.cs: Added support for different types. Useful for the
GtkMozEmbed headers.

svn path=/trunk/gtk-sharp/; revision=11696
2003-02-18 17:28:51 +00:00
Duncan Mak bab803685d * api/gtk-api.xml:
* sources/Gtk.metadata: Mark 'out' param in GetSelectionBounds,
thanks to Lee Mallabone for spotting that.

svn path=/trunk/gtk-sharp/; revision=11584
2003-02-14 19:17:10 +00:00
Mike Kestner 2c3cae3be8 2003-02-13 Mike Kestner <mkestner@speakeasy.net>
* glib/Boxed.cs : fix a ctor bug reported to the list by
	u900842@oz.nthu.edu.tw.

svn path=/trunk/gtk-sharp/; revision=11564
2003-02-14 01:16:05 +00:00
Mike Kestner b568293a66 2003-02-13 Mike Kestner <mkestner@speakeasy.net>
* sample/Makefile.in: add a distclean target

2003-02-13  Charles Iliya Krempeaux  <charles@reptile.ca>

	* README : Clarifications and additions

svn path=/trunk/gtk-sharp/; revision=11563
2003-02-14 01:09:43 +00:00
Gonzalo Paniagua Javier 6c24bab63c ugh, remove entry added by mistake
svn path=/trunk/gtk-sharp/; revision=11546
2003-02-13 03:14:07 +00:00
Gonzalo Paniagua Javier 9360454d79 2003-02-13 Stefan Sarin <gprojects@saring.de>
* gdk/Color.custom: fixed ToString ().

svn path=/trunk/gtk-sharp/; revision=11545
2003-02-13 03:10:22 +00:00
Gonzalo Paniagua Javier 011ad9f4bf 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gconf/GConf/Client.cs:
	* gconf/GConf/NoSuchKeyException.cs: added key string to the exception
	when Get does not find it.

svn path=/trunk/gtk-sharp/; revision=11544
2003-02-13 03:05:17 +00:00
Duncan Mak 23747622f0 * gnome/voidObjectAffineSVPintSignal.cs:
* gnome/CanvasProxy.cs: Make the voidObjectAffineSVPintSignal
class be in the 'GtkSharp' namespace, instead of 'GtkSharp.Gnome'.

svn path=/trunk/gtk-sharp/; revision=11502
2003-02-12 01:44:35 +00:00
Gonzalo Paniagua Javier 3c2f83a107 2003-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glade/XML.custom: added a couple of checks for null.

svn path=/trunk/gtk-sharp/; revision=11435
2003-02-10 08:30:59 +00:00
Duncan Mak fdaa84817e * sources/Gtk.metadata:
* api/gtk-api.xml: Gtk.Editable.InsertText should have the
position be marked 'ref', not 'out', because it is an in-out parameter.

* gtk/Entry.custom: Overload for InsertText.
* gtk/Clipboard.custom: New overload for SetText.

svn path=/trunk/gtk-sharp/; revision=11430
2003-02-10 00:32:14 +00:00
Duncan Mak 7a1734be34 Mark out params for methods in GtkCalendar,
GtkCellRenderer, GtkWindow, GtkRuler, GtkLayout, GtkScrolledWindow
and GtkSpinButton. Monotalk is very useful for this kind of work.

svn path=/trunk/gtk-sharp/; revision=11429
2003-02-10 00:09:42 +00:00
Radek Doulik 395c0cdf6f 2003-02-08 Radek Doulik <rodo@ximian.com>
* glib/MainContext.cs: beginning of MainContext class, just
	Iteration and Pending methods to be able to refresh Gtk in the
	middle of time consuming function where it's not worth while to
	use threads

	* glue/style.c (gtksharp_gtk_style_get_font_description): new
	function to access style's font_description field

	* gtk/Style.custom: added font description property

svn path=/trunk/gtk-sharp/; revision=11358
2003-02-08 17:33:17 +00:00
Radek Doulik 2270b314f8 2003-02-08 Radek Doulik <rodo@ximian.com>
* gconf/GConf/Client.cs: added SyggestSync method

svn path=/trunk/gtk-sharp/; revision=11341
2003-02-08 10:11:56 +00:00
Peter Williams 5eea705bc6 2003-02-07 Peter Williams <peterw@ximian.com>
* glue/Makefile.am (libgtksharpglue_la_LIBADD): Set this so
	that people linking to libgtksharpglue.so get their
	dependencies.

	(I've had this patch sitting around forever, I think it got
	approved, and it certainly appears correct.)

svn path=/trunk/gtk-sharp/; revision=11329
2003-02-07 20:01:22 +00:00
Martin Willemoes Hansen 3b905a607c * Added a constructor to gdk/Point.custom
svn path=/trunk/gtk-sharp/; revision=11316
2003-02-07 16:05:20 +00:00
Duncan Mak 101589b057 Correct the metadata for the HTMLStream
Write method to make it always regenerate the correct
stuff. Thanks to Rachel for helping me out at the middle of the
night.

svn path=/trunk/gtk-sharp/; revision=11269
2003-02-06 07:25:16 +00:00
Duncan Mak b566d8b21a 2003-02-06 Duncan Mak <duncan@ximian.com>
* api/gtk-api.xml:
* sources/Gtk.metadata:
* gtk/Window.custom: Mark out params in gtk_window_get_size and gtk_window_get_default_size.

svn path=/trunk/gtk-sharp/; revision=11268
2003-02-06 07:03:49 +00:00
Gonzalo Paniagua Javier 97fec24e46 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/SignalCallback.cs: new methods AddDelegate and RemoveDelegate.

	* generator/Signal.cs: add/remove signal handlers from the delegate used
	to invoke them.

	* generator/SignalHandler.cs: use Delegate instead of MulticastDelegate.

svn path=/trunk/gtk-sharp/; revision=11255
2003-02-06 00:58:02 +00:00
Rodrigo Moya 147f0bac8f 2003-02-05 Rodrigo Moya <rodrigo@ximian.com>
* gda/Application.cs:
	* gnomedb/Application.cs: synced version number with its corresponding
	C library version.

svn path=/trunk/gtk-sharp/; revision=11248
2003-02-05 18:52:45 +00:00
Duncan Mak 87387bc38b Add some overloads.
svn path=/trunk/gtk-sharp/; revision=11043
2003-01-30 02:34:20 +00:00
Duncan Mak 984d952967 * api/gtk-api.xml:
* sources/Gtk.metadata:
* sources/Pango.metadata: Add some more metadata rules.

svn path=/trunk/gtk-sharp/; revision=11042
2003-01-30 02:33:38 +00:00
Rodrigo Moya 52081ec9ed 2003-01-28 Rodrigo Moya <rodrigo@ximian.com>
* configure.in:
	* api/gda-api.xml:
	* api/gnomedb-api.xml:
	* sources/gtk-sharp.sources:
	* sources/Gda.metadata: added support for latest libgda/libgnomedb.

svn path=/trunk/gtk-sharp/; revision=10999
2003-01-28 17:59:36 +00:00
Radek Doulik a60825ae80 2003-01-22 Radek Doulik <rodo@ximian.com>
* sources/Gtk.metadata: disable default contructor for Frame in
	metadata

svn path=/trunk/gtk-sharp/; revision=10815
2003-01-22 14:00:06 +00:00
Radek Doulik c9d21b1900 2003-01-22 Radek Doulik <rodo@ximian.com>
* parser/gapi2xml.pl: add comment to .xml files with warning that
	they were auto generated

svn path=/trunk/gtk-sharp/; revision=10814
2003-01-22 13:57:34 +00:00
Mike Kestner 854fd22859 tagging for 0.7
svn path=/trunk/gtk-sharp/; revision=10768
2003-01-21 06:25:22 +00:00
Martin Baulig 44265207bf 2003-01-12 Martin Baulig <martin@ximian.com>
* parser/gapi2xml.pl (addNameElem): Make this work if the $cname
	doesn't start with $prefix.

svn path=/trunk/gtk-sharp/; revision=10427
2003-01-12 17:45:19 +00:00
Duncan Mak c3137abd9d 2003-01-10 Duncan Mak <duncan@ximian.com>
* gtk/TextView.custom (WindowToBufferCoords): Remove the hack, as
	the generator produces correct code now.

svn path=/trunk/gtk-sharp/; revision=10356
2003-01-10 19:16:48 +00:00
Duncan Mak 26a40b9ebf 2003-01-10 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata (GtkTextView): Add a patch from Fredrik
	Nilsson <jymdman@home.se> to add needed 'out' parameters.

svn path=/trunk/gtk-sharp/; revision=10355
2003-01-10 19:11:39 +00:00
Rodrigo Moya 4d30832fa7 2003-01-09 Rodrigo Moya <rodrigo@ximian.com>
* makefile:
	* configure.in:
	* api/Makefile.in:
	* api/gphoto-api.xml:
	* sources/gtk-sharp.sources:
	* gphoto/Makefile.in:
	* gphoto/.cvsignore: removed gphoto2 bindings, to be moved to mphoto.

svn path=/trunk/gtk-sharp/; revision=10314
2003-01-09 22:54:37 +00:00
Duncan Mak e059803b19 2003-01-06 Pedro Abelleira Seco <pedroabelleira@yahoo.es>
* pango/Layout.custom: Add Size get property and add some nicer overloads
        to avoid explicit passing in the string length

svn path=/trunk/gtk-sharp/; revision=10231
2003-01-07 04:03:48 +00:00
Duncan Mak 4e19d181c9 2003-01-05 Pedro Abelleira Seco <pedroabelleira@yahoo.es>
* gdk/Drawable.custom: Add Size get property

2003-01-05  Duncan Mak  <duncan@ximian.com>

	* pango/GlyphString.custom: Add some nicer overloads to avoid
	explicit passing in the string length.

svn path=/trunk/gtk-sharp/; revision=10193
2003-01-06 00:50:42 +00:00
Duncan Mak 8400c23479 2003-01-05 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata (TextIter.BackwardSearch): Add out param here too.

svn path=/trunk/gtk-sharp/; revision=10192
2003-01-06 00:28:35 +00:00
Duncan Mak fb60c23e4a 2003-01-05 Duncan Mak <duncan@ximian.com>
* generator/GenBase.cs (AppendCustom): Add #region to code from
	.custom files.

	* generator/*Gen.cs: Add #region markers.

svn path=/trunk/gtk-sharp/; revision=10188
2003-01-05 23:51:37 +00:00
Duncan Mak 20160aa0fd * sources/Gtk.metadata (TextIter.ForwardSearch): Add out param
* sources/Gdk.metadata (Drawable.GetSize): Add out param.

* gtk/TextBuffer.custom (Clear): Add a new Clear method.

svn path=/trunk/gtk-sharp/; revision=10187
2003-01-05 23:48:45 +00:00
Alp Toker 6826fd0c1f 2003-01-02 Alp Toker <alp@atoker.com>
* api/gst-api.xml: Give int values to the ElementState enum, remove
        incorrectly generated SetInternalConnectionFunction and a duplicated
        type field

svn path=/trunk/gtk-sharp/; revision=10054
2003-01-02 16:33:19 +00:00
Alp Toker 9f6872634a 2003-01-01 Alp Toker <alp@atoker.com>
* glade/XML.custom: Determine name of GladeWidget if none specified
        * glade/GladeWidgetAttribute.cs: ditto

svn path=/trunk/gtk-sharp/; revision=10049
2003-01-01 23:53:21 +00:00
Rachel Hestilow 3841924432 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
* glade/XML.custom: New method BindFields.
	(Autoconnect): Call BindFields.
	* glade/GladeWidgetAttribute.cs: Added.

	* sample/GladeTest.cs: Test GladeWidgetAttribute.

svn path=/trunk/gtk-sharp/; revision=10048
2003-01-01 21:37:45 +00:00
Rodrigo Moya 4f63fe50a9 2002-12-25 Rodrigo Moya <rodrigo@ximian.com>
* sources/gtk-sharp.sources: added libgphoto2.

	* api/gphoto-api.xml: added API file for libgphoto2.

	* gphoto/Makefile.in: added Makefile for building libgphoto2
	bindings.

	* makefile:
	* configure.in:
	* api/Makefile.in: added libgphoto2 to build.

svn path=/trunk/gtk-sharp/; revision=9895
2002-12-26 01:01:22 +00:00
Alp Toker bb662563e0 2002-12-25 Alp Toker <alp@atoker.com>
* doc/makefile: Accept the RUNTIME parameter for platforms without
        /usr/bin/mono
        * sample/gconf/Makefile: ditto

svn path=/trunk/gtk-sharp/; revision=9890
2002-12-25 21:01:07 +00:00
Mike Kestner f750d78d6a 2002-12-24 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : generate protected GType ctors
	* generator/SymbolTable.cs : map GType to uint
	* glib/Object.cs : add GType ctor. add RegisterGType.
	* glue/type.c (gtksharp_register_type): new GType registrar
	* */*.custom : make GType params uints
	* sample/Subclass.cs : a simple type registration example

svn path=/trunk/gtk-sharp/; revision=9870
2002-12-25 00:36:00 +00:00
Alejandro Sánchez Acosta e0ec6df596 Added notebook sample.
svn path=/trunk/gtk-sharp/; revision=9854
2002-12-24 00:27:31 +00:00
Alp Toker 0098411b00 2002-12-23 Alp Toker <alp@atoker.com>
* glib/Thread.cs: Add a class for thread awareness
        * gdk/Threads.cs: ditto

svn path=/trunk/gtk-sharp/; revision=9839
2002-12-23 04:35:44 +00:00
Kristian Rietveld 5bc31b52ca 2002-12-22 Kristian Rietveld <kris@gtk.org>
* sources/Gnome.metadata: add out param rules for a bunch of Canvas
        methods (pointed out by Paul Duran).

        * api/gnome-xml.api: updated

svn path=/trunk/gtk-sharp/; revision=9838
2002-12-23 01:54:38 +00:00
Robert McQueen 5c87903756 2002-12-22 Robert McQueen <robot101@debian.org>
* makefile: when doing distclean, attempt distclean on all the
        C# subdirs too
        * gconf/Makefile.in: added distclean target to rm the Makefiles
        in the subdirs of gconf/
        * glue/Makefile.am: build libgtksharpglue as an unversioned
        module to avoid so -> so.0 -> so.0.0 symlink mess
        * */Makefile.in: call mkinstalldirs before installing any files
        so that subdirs can be installed seperately or in any sequence
        (eg binding dirs before native dirs)

svn path=/trunk/gtk-sharp/; revision=9828
2002-12-22 05:08:52 +00:00
Alp Toker bef7dc015f * gst/Makefile.in: Reference the newly-built glib-sharp
svn path=/trunk/gtk-sharp/; revision=9805
2002-12-21 02:48:21 +00:00
Alp Toker 15589b1c83 2002-12-20 Alp Toker <alp@atoker.com>
* api/gst-api.xml: Make Gst# link to libgstreamer.so as per pkg-config
	--libs gstreamer
	* sources/gtk-sharp.sources: ditto

svn path=/trunk/gtk-sharp/; revision=9791
2002-12-20 05:44:17 +00:00
Alejandro Sánchez Acosta dc148039f1 Added new SpinButton sample.
svn path=/trunk/gtk-sharp/; revision=9683
2002-12-15 17:09:06 +00:00
Gonzalo Paniagua Javier 35ef99c45f 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gdk-api.xml:
	* sources/Gdk.metadata: PixbufLoader.Pixbuf have to ref the new Pixbuf.

svn path=/trunk/gtk-sharp/; revision=9667
2002-12-15 11:58:37 +00:00
Gonzalo Paniagua Javier 41ed17399e 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Log.cs: removed the IntPtr argument and keep a reference to
	the delegate passed to unmanaged world as suggested by rachel.

svn path=/trunk/gtk-sharp/; revision=9586
2002-12-12 06:51:47 +00:00
Juli Mallett eca30c3078 2002-12-11 Juli Mallett <jmallett@FreeBSD.org>
* gconf/Makefile.in, sample/Makefile.in: Use $(MAKE) not "make."
	* parser/Makefile.in: Use CFLAGS and CPPFLAGS hints from configure,
	and the base dependency CFLAGS.  Fixes case where iconv.h is outside
	of the compiler's default path.

svn path=/trunk/gtk-sharp/; revision=9578
2002-12-11 23:10:31 +00:00
Mike Kestner 7a56c28286 2002-12-10 Mike Kestner <mkestner@speakeasy.net>
* released 0.6.

svn path=/trunk/gtk-sharp/; revision=9522
2002-12-10 07:45:07 +00:00
Gonzalo Paniagua Javier f88c5e2603 2002-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Log.cs: New file. Wraps a few logging functions. Useful for
	debugging.

svn path=/trunk/gtk-sharp/; revision=9517
2002-12-10 05:41:56 +00:00
Gonzalo Paniagua Javier 5f4cb8cc13 2002-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/Signal.cs: generate correct type name for EventArgs.

svn path=/trunk/gtk-sharp/; revision=9507
2002-12-09 23:36:18 +00:00
Duncan Mak 5646397d75 2002-11-29 Duncan Mak <duncan@ximian.com>
* gtk/TextBuffer.custom (Text): Add a new Text property.

svn path=/trunk/gtk-sharp/; revision=9262
2002-11-29 18:08:54 +00:00
Gonzalo Paniagua Javier 99facd09b8 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/DbClient/GnomeDbClient.cs:
	* sample/DbClient/client.cs: make them build.

svn path=/trunk/gtk-sharp/; revision=9189
2002-11-26 00:19:58 +00:00
Alejandro Sánchez Acosta ff7659b43e Added new sample widgets.
svn path=/trunk/gtk-sharp/; revision=9188
2002-11-25 19:22:54 +00:00
Mike Kestner 3a108845d7 2002-11-21 Mike Kestner <mkestner@speakeasy.net>
* api/*.xml : a few new attrs
	* generator/Parameters.cs : remove redundant ref keywords
	* gtk/ListStore.custom: overload SetColumnTypes
	* gtk/TreeStore.custom: overload SetColumnTypes
	* parser/GAPI/Metadata.pm : allow callback nodes at class level
	* sources/Gtk.metadata : hide ClipboardClearFunc and GetFunc,
	tag types param of SetColumnTypes as array, uncomment needs_ref
	tags on Widget methods to match the current api.xml file

svn path=/trunk/gtk-sharp/; revision=9148
2002-11-22 03:30:18 +00:00
Mike Kestner 79c93e89fd 2002-11-19 Mike Kestner <mkestner@speakeasy.net>
* gtk/Dialog.custom : bind another ctor

svn path=/trunk/gtk-sharp/; revision=9109
2002-11-20 03:28:22 +00:00
Radek Doulik 07b8de88cc 2002-11-17 Radek Doulik <rodo@ximian.com>
* glib/Value.cs: cast Typefundamentals.* to uint (GType is
	unsigned int), fix Value (GLib.Object) - use new GetGType method

	* glib/Object.cs: new GetGType method, returns _obj GType

svn path=/trunk/gtk-sharp/; revision=9063
2002-11-18 18:55:39 +00:00
Daniel Morgan 5dcbe5b0af 2002-11-17 Daniel Morgan <danmorg@sc.rr.com>
* pango/Scale.cs: added file containing constants
	for text widgets needing Pango Scale Attribute

svn path=/trunk/gtk-sharp/; revision=9034
2002-11-17 21:17:12 +00:00
Vladimir Vukicevic 79f298f823 * gtk/CanvasItem.custom: use base() to set Raw in constructor, so
that the ref counting semantics get correctly set up

svn path=/trunk/gtk-sharp/; revision=8978
2002-11-14 01:44:23 +00:00
Gonzalo Paniagua Javier 359331d865 2002-11-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glade/XML.custom: converted from Latin1 to UTF8 to make the generator
	go on.

svn path=/trunk/gtk-sharp/; revision=8914
2002-11-10 13:36:19 +00:00
Vladimir Vukicevic 58f6f01d45 * glib/Object.cs: add needs_ref boolean that controls whether
we need to ref this object once we have a pointer to it or not.
By default this is set to true -- constructors and other functions
where we do own the object need to set this to false before setting
the "Raw" property.  Also added Unref and RefCount methods.

* glue/object.c, glue/type.c: some utility functions for
refcounting support

* gdk/Pixbuf.custom: manually wrap a few functions so that
the refcount ends up being correct at the end (need an extra Unref)

* api/gdk-api.xml, sources/Gdk.metadata: metadata updates for
hiding manually-wrapped Pixbuf stuff

svn path=/trunk/gtk-sharp/; revision=8913
2002-11-10 10:09:05 +00:00
Vladimir Vukicevic 9ad6d1b6a4 * generator/StructBase.cs: create a Zero static member for
use when the IntPtr is NULL.

* generator/SignalHandler.cs, generator/CallbackGen.cs: removed
call to Initialize for structs

* gtk/Clipboard.custom, gtk/ClipboardClearFunc.cs,
gtk/ClipboardGetFunc.cs,
gtk/GtkSharp.GtkClipboardClearFuncNative.cs,
gtk/GtkSharp.ClipboardGetFuncNative.cs, SelectionData.custom:
Hand-wrapped selection handling stuff, along with relevant
signals and the like.

* gnome/voidObjectAffineSVPintSignal.cs: removed Initialize
for hand-wrapped signal

* sample/GnomeHelloWorld.cs, sample/Size.cs: compare against
.Zero instead of using IsNull

* api/gtk-api.xml, sources/Gtk.metadata: metadata updates for
hiding some manually-wrapped stuff

svn path=/trunk/gtk-sharp/; revision=8912
2002-11-10 10:03:51 +00:00
Alejandro Sánchez Acosta aaf5594b36 * Added some examples for the gtk# tutorial
svn path=/trunk/gtk-sharp/; revision=8909
2002-11-10 02:23:29 +00:00
Duncan Mak ef43b59a1f Make it compile.
svn path=/trunk/gtk-sharp/; revision=8851
2002-11-06 05:44:49 +00:00
Gonzalo Paniagua Javier 480cb88bf7 2002-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* autogen.sh:
	* configure.in: added configuration summary.

svn path=/trunk/gtk-sharp/; revision=8850
2002-11-06 03:53:24 +00:00
Alp Toker cca2363dae 2002-11-03 Alp Toker <alp@atoker.com>
* sources/gtk-sharp.sources: Update to support GStreamer 0.4.2
        * api/gst-api.xml : ditto
        * gst/Application.cs : ditto

svn path=/trunk/gtk-sharp/; revision=8802
2002-11-03 22:03:42 +00:00
Alp Toker e06e2ba8dd Add GStreamer support
svn path=/trunk/gtk-sharp/; revision=8726
2002-11-01 05:01:22 +00:00
Mike Kestner 8a70b31f28 2002-10-29 Mike Kestner <mkestner@speakeasy.net>
* generator/Signal.cs : Fix namespacing of Args.

svn path=/trunk/gtk-sharp/; revision=8673
2002-10-30 05:29:19 +00:00
Mike Kestner 0042a28287 2002-10-27 Mike Kestner <mkestner@speakeasy.net>
* configure.in : bump version to 0.6.

svn path=/trunk/gtk-sharp/; revision=8672
2002-10-30 05:25:01 +00:00
Mike Kestner 6c02b6f431 2002-10-26 Mike Kestner <mkestner@speakeasy.net>
* gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : ns stuff
	* glade/XML.custom : more GnomeSharp namespace stuff
	* gnome/CanvasProxy.cs : ditto
	* sample/CanvasExample.cs : ditto
	* sample/Fifteen.cs : ditto
	* sample/GnomeHelloWorld.cs : ditto

svn path=/trunk/gtk-sharp/; revision=8592
2002-10-27 04:16:45 +00:00
Mike Kestner b2f04c1d80 2002-10-26 Mike Kestner <mkestner@speakeasy.net>
Much of this patch from Vlad, with substantial rework by mk.
	* */makefile.win32 : introduce mapdllnames.pl, api, and glue
	* generator/CallbackGen.cs : rework namespacing for csc compilation
	* generator/Parameters.cs : ditto
	* generator/Signal.cs : ditto
	* generator/SignalHandler.cs : ditto
	* glue/win32dll.c : new dll construction source
	* glib/Value.cs : new ushort ctor/cast operator
	* gtk/Table.custom : comment this out until we add a default ctor tag
	* gtk/ThreadNotify.cs : make ReadyEvent public
	* sources/Gdk.metadata : mark a Parse() param as ref

svn path=/trunk/gtk-sharp/; revision=8590
2002-10-27 02:30:51 +00:00
Ettore Perazzoli cf139575c2 Changed so that Objects is a hash of
WeakReferences instead of hashing the real objects.  Without this
change, GObjects were never collected.
(Raw, set): Put a WeakReference to the object in Objects.
(Object.GetObject): Get the WeakReference from Objects, and from
there the actual object.
(Object.DisposeNative): Remove the Raw pointer from Objects.

svn path=/trunk/gtk-sharp/; revision=8578
2002-10-26 08:37:48 +00:00
Mike Kestner 2e07bf7e87 2002-10-26 Mike Kestner <mkestner@speakeasy.net>
* api/*.xml : get libgda and libgnomedb metadata setup
	* gconf/*/Makefile.in : patch from MauricioC for -L's and /r's
	* gnomedb/Makefile.in : patch from MauricioC for -L's and /r's
	* generator/ClassBase.cs (ctor): mangle hash names for sigs and props
	* generator/Parameters.cs (MangleName): handle params, null, and ref
	* generator/Parser.cs (ParseNamespace): ignore "hidden" types
	* generator/StructBase.cs (MangleName): handle params, null, and ref
	* glib/Object.cs (Equals): kill, also kill == and !=
	* sources/Gda.metadata : new, make Gda behave without hand edits
	* sources/GnomeDb.metadata : ditto

svn path=/trunk/gtk-sharp/; revision=8577
2002-10-26 08:03:16 +00:00
Vladimir Vukicevic d6d4267bc5 * glade/XML.custom: add SetCustomHandler() wrapper
svn path=/trunk/gtk-sharp/; revision=8453
2002-10-21 19:42:23 +00:00
Miguel de Icaza f95bf9dbbd 2002-10-20 Miguel de Icaza <miguel@ximian.com>
* glib/Object.cs: Avoid recursive calls with the previous operator
	!= and operator ==

svn path=/trunk/gtk-sharp/; revision=8418
2002-10-20 07:16:22 +00:00
Duncan Mak f94df39a18 2002-10-19 Duncan Mak <duncan@ximian.com>
* glib/Source.cs: Added.

svn path=/trunk/gtk-sharp/; revision=8412
2002-10-19 23:18:59 +00:00
Miguel de Icaza 88d38246f5 2002-10-19 Miguel de Icaza <miguel@ximian.com>
* glib/Object.cs: Added operator != and operator == overloads.

svn path=/trunk/gtk-sharp/; revision=8400
2002-10-19 20:03:51 +00:00
Rachel Hestilow d33dd8a15f 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
* gconf, sample/gconf: Added.

	* glue/combo.c: This was never added, add it now.

	* configure.in, makefile, sample/Makefile.in: Build new
	gconf bindings if gnome is enabled.

svn path=/trunk/gtk-sharp/; revision=8389
2002-10-19 09:31:20 +00:00
Mike Kestner 58b5241e6f 2002-10-14 Mike Kestner <mkestner@speakeasy.net>
* glib/Object.cs (GetObject): remove (int) cast

svn path=/trunk/gtk-sharp/; revision=8277
2002-10-15 04:07:24 +00:00
Martin Baulig 3f07a660f5 2002-10-11 Martin Baulig <martin@gnome.org>
* gtk/Combo.custom: New file.
	(Combo.SetPopdownStrings): New method to set the popdown strings
	from a string array.

svn path=/trunk/gtk-sharp/; revision=8169
2002-10-11 15:45:02 +00:00
Martin Baulig 604034053a 2002-10-11 Martin Baulig <martin@gnome.org>
* glib/ListBase.cs (ListBase.Append): New public method.
	(ListBase.Prepend): New public method.

svn path=/trunk/gtk-sharp/; revision=8168
2002-10-11 15:43:52 +00:00
Martin Baulig 52f04d5a61 2002-10-11 Martin Baulig <martin@gnome.org>
* glib/FileUtils.cs: New file.  Wrapped g_file_get_contents() here.

svn path=/trunk/gtk-sharp/; revision=8167
2002-10-11 15:41:49 +00:00
Mike Kestner 3b1dd1079b 2002-10-10 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : some fixes
	* generator/Parameters.cs (CreateSignature): handle void params

svn path=/trunk/gtk-sharp/; revision=8156
2002-10-11 00:27:46 +00:00
Miguel de Icaza df69cbac6f Avoid queing multiple updates
svn path=/trunk/gtk-sharp/; revision=8138
2002-10-10 19:28:23 +00:00
Miguel de Icaza bf28355d1e 2002-10-09 Miguel de Icaza <miguel@ximian.com>
* glue/adjustment.c (gtksharp_gtk_adjustment_get_page_size): Added
	the glue.

	* gtk/Adjustment.custom: Added some more methods

svn path=/trunk/gtk-sharp/; revision=8110
2002-10-09 20:04:50 +00:00
Kristian Rietveld 27862c71c3 2002-10-08 Kristian Rietveld <kris@gtk.org>
(So Miguel told me just to go ahead and commit -kris)

        * gtk/TreeSelection.custom: new file, defines a working
        GetSelected method (GetSelected is a bit tricky function).

        * generator/InterfaceGen.cs (Generate): also call AppendCustom

        * sources/Gtk.metadata: hide the autogenerated
        Gtk.TreeSelection.GetSelected method.

svn path=/trunk/gtk-sharp/; revision=8071
2002-10-08 19:14:14 +00:00
Miguel de Icaza 71bfd023be 2002-10-08 Miguel de Icaza <miguel@ximian.com>
* gdk/Point.custom: Use (x,y) instead.

	* gdk/Color.custom: Use the X rgb color format specification.

	* gdk/Rectangle.custom: Use the X geometry format for Rectangles.

svn path=/trunk/gtk-sharp/; revision=8066
2002-10-08 16:26:24 +00:00
Vladimir Vukicevic de7e997c13 * glue/style.c, gtk/Style.custom: handle
getting GC's and colors correctly -- it's not possible
	to marshal arrays from C-land to mono correctly,
	so indexed accessors have to be used.

svn path=/trunk/gtk-sharp/; revision=8058
2002-10-08 07:48:43 +00:00
Duncan Mak 854511bd98 2002-10-08 Duncan Mak <duncan@ximian.com>
* gdk/Color.custom:
	* gdk/DeviceAxis.custom:
	* gdk/Point.custom:
	* gdk/Rectangle.custom: Committed ToString patches contributed by
	Jasper van Putten <Jaspervp@gmx.net>

svn path=/trunk/gtk-sharp/; revision=8057
2002-10-08 06:49:11 +00:00
Vladimir Vukicevic f0f44bf010 * glib/GException.cs: g_clear_error takes
a GError **, not a GError *.  Added refs to get the **.

svn path=/trunk/gtk-sharp/; revision=8026
2002-10-06 02:12:04 +00:00
Vladimir Vukicevic dd061f70b1 * glib/ObjectManager.cs, glue/type.c: If there isn't
an exact match for a C GObject class (i.e. BluecurveStyle),
walk up the gobject type hierarchy until we find a type
that we do have a wrapper for, and return that.  This means
that you'll always, worst-case, end up with a GObject.

* glib/Value.cs, glue/value.c: Added default constructor
to GLib.Value() that creates a new value with a type of
INVALID, and changed the glue function to not call
gtk_type_init if INVALID is passed.

svn path=/trunk/gtk-sharp/; revision=7994
2002-10-05 05:12:00 +00:00
Vladimir Vukicevic ec91241afa * gtk/TreeView.custom: added TreeView Handle as argument
to set_model in Model property

svn path=/trunk/gtk-sharp/; revision=7985
2002-10-04 16:38:47 +00:00
Rachel Hestilow 801634a502 2002-09-29 Rachel Hestilow <hestilow@ximian.com>
* glue/canvas-proxy.c (update), glue/canvas-proxy-marshal.list:
	Marshal the array as a pointer for now.

	* gnome/voidObjectAffineSVPintSignal.cs: Added.
	* gnome/CanvasProxy.cs (Update): Use a custom signal handler.

svn path=/trunk/gtk-sharp/; revision=7892
2002-09-30 02:21:06 +00:00
Miguel de Icaza 7b5efe0866 2002-09-23 Miguel de Icaza <miguel@ximian.com>
* gtk/Style.custom: bind it.

	* gtk/Widget.custom: bind it.

	* glue/widget.c: Wrapper to fetch a GdkWindow from a widget.

	* glue/style.c: wrapper routines for getting/setting the thickness
	on a GtkStyle.

svn path=/trunk/gtk-sharp/; revision=7755
2002-09-24 03:21:37 +00:00
Miguel de Icaza 30e12e9130 2002-09-21 Miguel de Icaza <miguel@ximian.com>
* gtk/TreeView.custom: Add Model.set to the TreeView

svn path=/trunk/gtk-sharp/; revision=7708
2002-09-21 21:06:22 +00:00
Rachel Hestilow 301db575de 2002-09-21 Rachel Hestilow <hestilow@ximian.com>
* parser/gapi2xml.pl: Adjust enum regex to allow negative values.

svn path=/trunk/gtk-sharp/; revision=7683
2002-09-21 14:21:15 +00:00
Martin Baulig f058a1b5f8 2002-09-16 Martin Baulig <martin@gnome.org>
* gnome/Modules.cs (Module): Make this class public.

	* sample/CanvasExample.cs: Insert a missing `break' in a switch
	section to make this compile.

	* sample/Scribble.cs: Added missing casts from EventMask to int.

svn path=/trunk/gtk-sharp/; revision=7493
2002-09-16 11:12:01 +00:00
Ricardo Fernández Pascual 0998fd871a 2002-09-15 Ricardo Fernndez Pascual <ric@users.sourceforge.net>
* glade/XML.custom: Added a constructor to read the glade file
	from a stream and to read it from a resource in an assembly.
	* sample/Makefile.in
	* sample/GladeTest.cs: Embed the glade file as a resource and use
	the new constructor.

svn path=/trunk/gtk-sharp/; revision=7482
2002-09-15 19:40:46 +00:00
Ricardo Fernández Pascual f1011f687e 2002-09-13 Ricardo Fernndez Pascual <ric@users.sourceforge.net>
* glade/HandlerNotFoundExeception.cs: Added.
	* glade/Makefile.in
	* glade/XML.custom: Support for autoconnecting signals using
	reflection.
	* glib/SignalAttribute.cs: Added.
	* generator/Signal.cs: Mark events generated from glib signals
	with the "Signal" attribute.
	* sample/GladeTest.cs
	* sample/Makefile.in
	* sample/test.glade: Test of signal autoconnection.

svn path=/trunk/gtk-sharp/; revision=7430
2002-09-13 11:38:36 +00:00
Rachel Hestilow 6b6bb616b2 2002-09-12 Rachel Hestilow <hestilow@ximian.com>
* sources/Gtk.metadata: Set null_ok on the callback argument
	to Menu.Popup.

	* generator/Parameters.cs: Handle null_ok properly for callback
	arguments.

svn path=/trunk/gtk-sharp/; revision=7412
2002-09-12 20:25:29 +00:00
Miguel de Icaza c9434076c5 2002-09-11 Miguel de Icaza <miguel@ximian.com>
* glib/Object.cs (DisposeNative): Call GC.SuppressFinalize, and
	set the obj to null.

svn path=/trunk/gtk-sharp/; revision=7411
2002-09-12 19:21:46 +00:00
Rachel Hestilow 32ae593a0e 2002-09-11 Rachel Hestilow <hestilow@ximian.com>
* glib/Object.cs (Ref): Added.

	* gtk/Object.custom (Ref): Overload. Note that we were reffed.
	(DisposeNative): Unref if we were explicitly reffed.

	* generator/Method.cs: Call Ref if needs_ret is set.
	* generator/StructBase.cs: Call Ref on all object accessors.

	* glue/style.c: Ref returned GCs.

	* sources/Gtk.metadata: Set needs_ret on various gdk-related
	accessors in GtkWidget. Hide Ref/Unref methods on Widget and
	RcStyle as these ought to be deprecated anyway.

svn path=/trunk/gtk-sharp/; revision=7380
2002-09-12 05:21:16 +00:00
Rodrigo Moya e59f626a81 2002-09-11 Rodrigo Moya <rodrigo@gnome-db.org>
* gnomedb/Makefile.in:
	* gnomedb/Application.cs: added class for libgnomedb initialization.

	* sample/DbClient/GnomeDbClient.cs: new test file for libgnomedb.

svn path=/trunk/gtk-sharp/; revision=7373
2002-09-12 01:23:35 +00:00
Rodrigo Moya 8b9ee5b8e1 2002-09-08 Rodrigo Moya <rodrigo@gnome-db.org>
* makefile:
	* configure.in:
	* sources/gtk-sharp.sources: added needed stuff for libgnomedb.

	* gnomedb/Makefile.in:
	* api/Makefile.in:
	* api/gnomedb-api.xml: new files for libgnomedb API.

svn path=/trunk/gtk-sharp/; revision=7354
2002-09-11 09:43:17 +00:00
Rachel Hestilow 1f68bc999b 2002-09-07 Rachel Hestilow <hestilow@ximian.com>
* parser/gapi2xml.pl: Add support for "fake struct" opaque types.
	* generator/StructBase.cs: Generate wrapper fields for opaque
	fields as well as pointer fields.
	* api/gdk-symbols.xml: Remove GdkAtom as it is now wrapped.

svn path=/trunk/gtk-sharp/; revision=7311
2002-09-08 01:29:07 +00:00
Gonzalo Paniagua Javier e233ca8d49 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/DbClient/client.cs: updated to make it compile.

svn path=/trunk/gtk-sharp/; revision=7256
2002-09-05 01:43:04 +00:00
Mike Kestner ab081f8358 2002-09-04 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : generate dtors.
	* glib/Object.cs : Implement IDisposable. Add a new DisposeNative
	method. Implement default dtor.
	* glue/object.c : new gtksharp_object_unref_if_floating method.
	* gtk/Object.custom : override DisposeNative to check float bit.

svn path=/trunk/gtk-sharp/; revision=7235
2002-09-04 05:25:58 +00:00
Juli Mallett 6fea628be5 2002-09-03 Juli Mallett <jmallett@FreeBSD.org>
* parser/Makefile.in: Use $(CC) instead of 'cc'.

svn path=/trunk/gtk-sharp/; revision=7232
2002-09-04 04:31:19 +00:00
Rodrigo Moya d5954e56b8 2002-09-01 Rodrigo Moya <rodrigo@ximian.com>
* gda/Application.cs: new class for libgda initialization and event
	loop management.

	* gda/Makefile.in: added new file as a dependency.

svn path=/trunk/gtk-sharp/; revision=7170
2002-09-01 11:21:43 +00:00
Gonzalo Paniagua Javier 31fe10076e 2002-09-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
* glib/ListBase.cs: fixed compilation (the base class must be at least
	as accesible as the derived ones).

svn path=/trunk/gtk-sharp/; revision=7169
2002-09-01 10:40:24 +00:00
Rodrigo Moya 14e24ebbf9 2002-08-31 Rodrigo Moya <rodrigo@ximian.com>
* api/gda-api.xml: new file for the libgda API.

	* gda/*: added libgda bindings.

	* sources/README: updated requirements.

svn path=/trunk/gtk-sharp/; revision=7167
2002-09-01 10:28:11 +00:00