Commit Graph

397 Commits

Author SHA1 Message Date
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