Commit graph

211 commits

Author SHA1 Message Date
John Luke
a0901fea5e 2004-04-04 John Luke <jluke@cfl.rr.com>
* vte/Vte.metadata: mark argv and envv parameters to
        Vte.Terminal.ForkCommand as arrays, it finally works
        * sample/Vte-test.cs: adjust for above

svn path=/trunk/gtk-sharp/; revision=25014
2004-04-04 21:18:56 +00:00
Todd Berman
72df874f24 /resource fix to fix glade-test.exe
svn path=/trunk/gtk-sharp/; revision=24697
2004-03-29 05:14:03 +00:00
Mike Kestner
48b08a3b7a 2004-03-25 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : Widget.Events is a Gdk.EventMask, not int
	* sample/GtkDemo/DemoDrawingArea.cs : remove int casts
	* sample/Scribble.cs : remove int casts

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

svn path=/trunk/gtk-sharp/; revision=24544
2004-03-24 19:38:29 +00:00
Mike Kestner
4616bb2fb2 2004-03-17 Mike Kestner <mkestner@ximian.com>
* sample/rsvg/Makefile.am : make conditional on ENABLE_RSVG

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

svn path=/trunk/gtk-sharp/; revision=23967
2004-03-12 21:18:11 +00:00
Mike Kestner
5ab5d3beaf 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventFocus and EventConfigure.
	* gdk/EventConfigure.cs : glue-based manual implementation.
	* gdk/EventConfigure.custom : kill
	* gdk/EventFocus.cs : glue-based manual implementation.
	* gdk/EventFocus.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mappings.
	* glue/event.cs : expose Focus and Configure struct fields.
	* sample/Scribble.cs : fix EventConfigure api breakage

svn path=/trunk/gtk-sharp/; revision=23239
2004-02-18 20:29:21 +00:00
Mike Kestner
ff95b08c65 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventExpose. make Region opaque.
	* gdk/EventExpose.cs : glue-based manual implementation.
	* gdk/EventExpose.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventExpose.
	* glue/event.cs : expose Expose struct fields.
	* sample/Scribble.cs : fix some EventExpose api breakage

svn path=/trunk/gtk-sharp/; revision=23226
2004-02-18 17:59:54 +00:00
Mike Kestner
c0db7bdbcb 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventMotion
	* gdk/EventMotion.cs : glue-based manual implementation.
	* gdk/EventMotion.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventMotion.
	* glue/event.cs : expose Motion struct fields.
	* sample/Scribble.cs : fix some EventMotion api breakage

svn path=/trunk/gtk-sharp/; revision=23224
2004-02-18 17:22:03 +00:00
Mike Kestner
2665037c0e 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventButton
	* gdk/EventButton.cs : glue-based manual implementation.
	* gdk/EventButton.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventButton.
	* glue/event.cs : expose Button struct fields.
	* sample/CanvasExample.cs : fix EventButton ctor
	* sample/GnomeHelloWorld.cs : fix EventButton ctor

svn path=/trunk/gtk-sharp/; revision=23220
2004-02-18 16:34:45 +00:00
Mike Kestner
8f14f27048 make sample/test build
svn path=/trunk/gtk-sharp/; revision=23080
2004-02-13 21:27:45 +00:00
Mike Kestner
efd542b29c 2004-02-12 Mike Kestner <mkestner@ximian.com>
* sample/GladeViewer.cs : fix a broken api usage.

svn path=/trunk/gtk-sharp/; revision=23078
2004-02-13 21:16:12 +00:00
John Luke
f52a27bf79 compile fixes
svn path=/trunk/gtk-sharp/; revision=23011
2004-02-12 03:56:13 +00:00
Mike Kestner
f774796311 2004-02-10 Mike Kestner <mkestner@ximian.com>
* gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs :
	nuke a GnomeSharp.
	* generator/Signal.cs : move eventhandlers and args into the
	base namespace instead of a *Sharp namespace.
	* sample/*.cs : nuke using *Sharp.

svn path=/trunk/gtk-sharp/; revision=22956
2004-02-10 20:35:40 +00:00
Mike Kestner
d41f6593b0 2004-02-10 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : mark a field private
	* art/art-api.xml : regen
	* gda/Gda.metadata : mark a few structs opaque
	* gda/gda-api.xml : regen
	* gdk/*.custom : fix changed field names
	* gdk/gdk-api.xml : regen
	* generator/Field.cs : StudlyCase simple typed field names.
	* gnome/Gnome.metadata : mark FontEntry.weight private to
	avoid collision with Weight field. s|//|/api/namespace|g
	* gnome/gnome-api.xml : regen
	* gtk/Gtk.metadata : rename AccelKey.accel_key to key to
	avoid collision with type name.
	* gtk/*.custom : fix changed field names
	* gtk/gtk-api.xml : regen
	* pango/pango-api.xml : regen
	* parser/gapi_pp.pl : add a private_regex to hide BACKEND
	and ENGINE apis, which are by convention private.
	* sample/* : make compile
	* sample/GtkDemo/* : make compile
	* sample/test/* : make compile
	* sources/gtk-sharp-sources.xml : exclude a bunch of pango
	source files.

svn path=/trunk/gtk-sharp/; revision=22947
2004-02-10 16:04:50 +00:00
John Luke
f9026e2b5b handle 'enter' when typing in the terminal
svn path=/trunk/gtk-sharp/; revision=22748
2004-02-03 21:21:57 +00:00
Martin Willemoes Hansen
931d2e3203 * sample/Subclass.cs: Added a DeleteEventHandler to the window widget,
this way a user can properly quit the sample.

svn path=/trunk/gtk-sharp/; revision=22711
2004-02-02 21:32:54 +00:00
Miguel de Icaza
5b371fd827 Update Cairo sample
svn path=/trunk/gtk-sharp/; revision=22636
2004-01-31 03:52:22 +00:00
Miguel de Icaza
a57d46e5ee Use standard command args, remove -unsafe
svn path=/trunk/gtk-sharp/; revision=22635
2004-01-31 03:52:07 +00:00
John Luke
a987ae2982 * sample/VteTest.cs: update
* vte/Vte.metadata: remove incorrect rules
* vte/vte-api.xml: regen

svn path=/trunk/gtk-sharp/; revision=22586
2004-01-29 01:08:46 +00:00
John Luke
ec55946526 2004-01-20 John Luke <jluke@cfl.rr.com>
* samples/GtkDemo:
       * samples/DbCLient: compile fixes, patch from
       Paul Duran <pauld@hutch.com.au>

svn path=/trunk/gtk-sharp/; revision=22314
2004-01-20 21:28:50 +00:00
Todd Berman
72968de0ac Just adding proper window closing to TestDnD.cs
svn path=/trunk/gtk-sharp/; revision=22306
2004-01-20 18:01:55 +00:00
John Luke
8c060bde9c 2004-01-18 John Luke <jluke@cfl.rr.com>
* vte/Vte.metadata: fix to generate signals
	* vte/vte-api.xml: regen
	* samples/VteTest.cs: remove my home dir path

svn path=/trunk/gtk-sharp/; revision=22230
2004-01-18 22:10:03 +00:00
John Luke
6a6a552861 change return type of ForkCommand to gint
update sample to use ForkCommand,
still missing signals

svn path=/trunk/gtk-sharp/; revision=22216
2004-01-18 00:54:08 +00:00
John Luke
625a4481cc 2004-01-17 John Luke <jluke@cfl.rr.com>
* configure.in: detect and compile vte-sharp  (require vte-0.11.10)
	* vte/*:
	* sources/makefile:
	* sources/gtk-sharp-sources.xml: add vte
	* samples/VteTest.cs: add incomplete test/sample
	* samples/Makefile.in: add vte-test.exe target

svn path=/trunk/gtk-sharp/; revision=22213
2004-01-17 22:47:35 +00:00
John Luke
a5b70aa2f9 2004-01-10 John Luke <jluke@cfl.rr.com>
* samples/GtkDemo/*.cs: make it compile
	patch from Yves Kurz <ml_yves@magnific.ch>

svn path=/trunk/gtk-sharp/; revision=21925
2004-01-11 02:58:08 +00:00
Mike Kestner
6e3879ca4b 2003-12-30 Mike Kestner <mkestner@ximian.com>
* glib/Object.cs (ConnectDefaultHandlers): reflection code to
	hook up overridden default signal handlers.
	* glue/type.c  (gtksharp_override_virtual_method): peek the gtype
	and ref the class if it isn't created yet.
	* sample/Subclass.cs : update to override Button.OnClicked.

svn path=/trunk/gtk-sharp/; revision=21559
2003-12-30 22:09:42 +00:00
Mike Kestner
9f3cd6ae80 2003-12-26 Mike Kestner <mkestner@ximian.com>
* glue/selectiondata.c : new glue to make SelectionData opaque
	* glue/Makefile.am : add file
	* glue/makefile.win32 : add file
	* gtk/Gtk.metadata : mark SelectionData opaque, unhide Set method
	* gtk/SelectionData.custom : invoke glue methods for opaque fields.
	* gtk/gtk-api.xml : regen
	* sample/TestDnd.cs : update to new SelectionData API.

svn path=/trunk/gtk-sharp/; revision=21502
2003-12-26 15:14:07 +00:00
Mike Kestner
ff263164e3 2003-12-15 Mike Kestner <mkestner@ximian.com>
* generator/BoxedGen.cs : s/uint/GLib.GType
	* generator/ManualGen.cs : add a ctor to pass ToNative handle name
	* generator/ObjectGen.cs : s/uint/GLib.GType
	* generator/Signal.cs : use GLib.GType and call OverrideVirtualMethod
	* generator/SymbolTable.cs : make GType a ManualGen and update a few
	ManualGens to the new signatures.
	* glib/DefaultSignalHandler.cs : s/Type/System.Type
	* glib/ManagedValue.cs : s/uint/GLib.GType
	* glib/Object.cs : s/uint/GLib.GType, add OverrideVirtualMethod.
	* glib/Type.cs : s/uint/IntPtr, add static fields for fundamentals.
	make it a value type and add ==, !=, Equals, and GetHashCode.
	* glib/TypeConverter.cs : use new GType statics, not fundamentals.
	* glib/Value.cs : use new GType statics, not fundamentals.
	* gnome/*.custom : s/uint/GLib.GType
	* gtk/*Store.custom : use GType statics, not fundamentals.
	* sample/Subclass.cs : s/uint/GLib.GType.

svn path=/trunk/gtk-sharp/; revision=21181
2003-12-15 16:59:25 +00:00
Radek Doulik
74cc769b7f 2003-12-12 Radek Doulik <rodo@ximian.com>
* gtk/Gtk.metadata: hide TextTag.Weight property and implement it
	in TextTag.custom. TextTag Weight property in gtk is of type int,
	but we want it to be Pango.Weight enum

2003-12-10  Radek Doulik  <rodo@ximian.com>

	* glue/program.c (get_default): moved check after strspec is set
	so we don't check uninitialized value

svn path=/trunk/gtk-sharp/; revision=21068
2003-12-12 16:45:51 +00:00
Ettore Perazzoli
7a10147c5c * sample/TestDnd.cs: New.
* gtk/TargetEntry.custom: New.

* glue/dragcontext.c: New.

* glib/Object.cs: New public property TypeName in class Object.

* gdk/DragContext.custom: New.

svn path=/trunk/gtk-sharp/; revision=20754
2003-12-03 20:23:25 +00:00
Mike Kestner
32f12c714b 2003-11-29 Mike Kestner <mkestner@speakeasy.net>
* */Makefile.in : remove the nowarns
	* gdk/Rectangle.custom : add System.Drawing.Rect implicit cast op.
	* sample/Size.cs : use System.Drawing.Rectangles
	* sample/GnomeHelloWorld.cs : remove an unneeded null check

svn path=/trunk/gtk-sharp/; revision=20612
2003-11-29 23:48:14 +00:00
Miguel de Icaza
9488ce6796 Add Cairo Sample
svn path=/trunk/gtk-sharp/; revision=20607
2003-11-29 22:17:52 +00:00
John Luke
f537b79614 2003-11-22 John Luke <jluke@cfl.rr.com>
* sample/PrintSample.cs: add small Gnome.Print example
	* sample/Makefile.in: add print example to gnome build

svn path=/trunk/gtk-sharp/; revision=20347
2003-11-23 00:53:14 +00:00
John Luke
74fc382285 fix Button contructors
table.ColumnSpacing
table.RowSpacing
thanks to Marius Andreiana <mandreiana@rdslink.ro>
for noticing and providing a similar patch

svn path=/trunk/gtk-sharp/; revision=20324
2003-11-21 19:58:50 +00:00
John Luke
ab2dda15d7 no need to use SignalArgs, just use args.RetVal where needed
svn path=/trunk/gtk-sharp/; revision=20254
2003-11-20 01:10:46 +00:00
John Luke
e11b569484 *.cs: update to use Button ("stock_id")
DemoTextView.cs: use tag.FontDesc.Weight

svn path=/trunk/gtk-sharp/; revision=20253
2003-11-20 01:07:35 +00:00
Daniel Kornhauser Eisenberg
12abad900e *** empty log message ***
svn path=/trunk/gtk-sharp/; revision=19965
2003-11-13 21:48:45 +00:00
Gonzalo Paniagua Javier
b828f81d01 build fix
svn path=/trunk/gtk-sharp/; revision=19930
2003-11-13 10:09:13 +00:00
John Luke
737e86b889 add usage check and message
svn path=/trunk/gtk-sharp/; revision=19719
2003-11-07 21:56:24 +00:00
John Luke
4173fe2616 update for 0.6.4
svn path=/trunk/gtk-sharp/; revision=19633
2003-11-04 23:45:04 +00:00
John Luke
39b871d786 implement most of it
svn path=/trunk/gtk-sharp/; revision=19600
2003-11-03 22:05:06 +00:00
John Luke
2a638aa84e start the Tree expanded
svn path=/trunk/gtk-sharp/; revision=19567
2003-11-03 04:40:17 +00:00
John Luke
68ee3bc9b4 implement ItemToggled
svn path=/trunk/gtk-sharp/; revision=19559
2003-11-02 20:57:15 +00:00
John Luke
7bf40dfb69 fix out/ref in treeviews
svn path=/trunk/gtk-sharp/; revision=19556
2003-11-02 20:35:55 +00:00
Daniel Kornhauser Eisenberg
12c274709f 2003-10-30 Daniel Kornhauser Eisenberg <dkor@alum.mit.edu>
Images for GtkDemo

svn path=/trunk/gtk-sharp/; revision=19490
2003-10-31 00:01:35 +00:00
Daniel Kornhauser Eisenberg
b3a7fd2924 2003-10-30 Daniel Kornhauser Eisenberg <dkor@alum.mit.edu>
* sample/GtkDemo/DemoApplicationWindow.cs : New sample, Unfinished, 5%  Done
* sample/GtkDemo/DemoButtonBox.cs :      New sample,
* sample/GtkDemo/DemoColorSelection.cs : New sample,
* sample/GtkDemo/DemoDialog.cs :         New sample,
* sample/GtkDemo/DemoDrawingArea.cs :    New sample,
* sample/GtkDemo/DemoEditableCells.cs :  New sample, Needs clean up
* sample/GtkDemo/DemoImages.cs :         New sample, Unfinished, 75% Done
* sample/GtkDemo/DemoItemFactory.cs :    New sample, Unfinished, 5%  Done
* sample/GtkDemo/DemoListStore.cs :      New sample,
* sample/GtkDemo/DemoMain.cs :           New sample, Unifnished, 60% Done
* sample/GtkDemo/DemoMenus.cs :          New sample,
* sample/GtkDemo/DemoPanes.cs :          New sample,
* sample/GtkDemo/DemoPixbuf.cs :         New sample, Needs clean up
* sample/GtkDemo/DemoSizeGroup.cs :      New sample,
* sample/GtkDemo/DemoStockBrowser.cs :   New sample, Unfinished, 20% Done
* sample/GtkDemo/DemoTextView.cs :       New sample, Unfinished, 99% Done
* sample/GtkDemo/DemoTreeStore.cs :      New sample, Unfinished, 95% Done
* sample/GtkDemo/images : Several Images for the samples
* sample/GtkDemo/Makefile : Very simple Makefile
* sample/GtkDemo/README : Mentions explicitely unfinished state of port

svn path=/trunk/gtk-sharp/; revision=19489
2003-10-30 23:57:41 +00:00
Alp Toker
978a7b8819 2003-09-07 Alp Toker <alp@atoker.com>
* makefile.win32: New clean and release targets, and don't bother
        building the samples (sample/makefile.win32 is out of date anyway)
        * api/makefile.win32:
        * glue/makefile.win32:
        * makefile.win32: Glade# works perfectly on win32 now; include it in
        the default build
        * sample/GladeTest.cs:
        * sample/GladeViewer.cs: Remove Gnome dependency and clean up

svn path=/trunk/gtk-sharp/; revision=17967
2003-09-07 10:56:40 +00:00
John Luke
82f46a92a0 fix so it compiles
svn path=/trunk/gtk-sharp/; revision=17570
2003-08-25 05:24:44 +00:00