Commit graph

1119 commits

Author SHA1 Message Date
Martin Willemoes Hansen
64e7ad9f30 * generator/Ctor.cs: Warnings was output like "ctor" fixed to
output like "in ctor", like the rest of the warnings.

svn path=/trunk/gtk-sharp/; revision=22394
2004-01-22 11:27:29 +00:00
John Luke
6b4af0e8da forgot this
svn path=/trunk/gtk-sharp/; revision=22376
2004-01-22 03:29:22 +00:00
John Luke
a48fe481b0 sadly the order matters if you are building from scratch
thanks to RoyBatty in #mono

svn path=/trunk/gtk-sharp/; revision=22374
2004-01-22 03:25:24 +00:00
Mike Kestner
e4165fbb18 2004-01-21 Mike Kestner <mkestner@ximian.com>
* generator/Field.cs : kill Protection, restructure Generate
	and add FIXMEs for broken parts. Add StudlyName and move array
	fields to use Studly names.

svn path=/trunk/gtk-sharp/; revision=22357
2004-01-21 20:47:41 +00:00
John Luke
a75fe8ae55 set Vte.Reaper parent to GObject and unhide it
svn path=/trunk/gtk-sharp/; revision=22318
2004-01-21 04:07:40 +00:00
John Luke
c1b433f9e3 fix GetText and GetTextRange methods
(parser apparently cannot parse them)

svn path=/trunk/gtk-sharp/; revision=22317
2004-01-21 04:00:01 +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
Mike Kestner
4baa6d76e0 2004-01-20 John D. Hardin <jhardin@impsec.org>
* glue/type.c : ansi-c-ify some late var decls.

svn path=/trunk/gtk-sharp/; revision=22303
2004-01-20 16:06:19 +00:00
John Luke
933a5ef73a fix another makefile error
(I forgot another part to fix)

svn path=/trunk/gtk-sharp/; revision=22278
2004-01-19 22:33:28 +00:00
John Luke
d9807682b2 fix Makefile error so you can build
without gtk-sharp installed

svn path=/trunk/gtk-sharp/; revision=22277
2004-01-19 22:24:14 +00:00
John Luke
97c75447a9 small fix of signals
regen api file

svn path=/trunk/gtk-sharp/; revision=22275
2004-01-19 21:45:05 +00:00
Mike Kestner
13c8647b1e 2004-01-19 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : correct a couple symbolic array_lens
	* art/art-api.xml : regen
	* gdk/Gdk.metadata : correct a symbolic array_len
	* gdk/gdk-api.xml : regen
	* generator/Field.cs : generate array fields with MarshalAs
	attrs for correct marshaling.

svn path=/trunk/gtk-sharp/; revision=22261
2004-01-19 17:05:53 +00:00
Mike Kestner
d1367eb515 2004-01-18 Mike Kestner <mkestner@ximian.com>
* generator/Field.cs : refactored code from StructBase
	* generator/StructBase.cs : spin off Field class

svn path=/trunk/gtk-sharp/; revision=22239
2004-01-19 05:30:05 +00:00
Mike Kestner
b17f91170f 2004-01-18 Mike Kestner <mkestner@ximian.com>
* generator/SymbolTable.cs : mangle parms named readonly

svn path=/trunk/gtk-sharp/; revision=22238
2004-01-19 05:27:42 +00:00
Peter Williams
4feed7bb77 2004-01-18 Peter Williams <peter@newton.cx>
* glib/Marshaller.cs (ArrayPtrToArgv, ArgvToArrayPtr): new
	functions for marshalling and unmarshalling string arrays
	to/from char **. Not pretty, but lets us call gtk_init()
	in Gtk.

	* gtk/Application.cs (do_init): New helper function to handle
	passing args to Gtk. Uses above functions.
	(Init): Use do_init, take a new progname parameter.
	(InitCheck): Same.

doc/:

2003-01-13  Peter Williams  <peter@newton.cx>

	* en/Gtk/Application.xml: Update Init, InitCheck functions
	for new progname argument. Fix a paste-o in the docs for InitCheck.

svn path=/trunk/gtk-sharp/; revision=22237
2004-01-19 03:24:25 +00:00
Mike Kestner
3a849daf89 2004-01-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows return
	list element_type as Gtk.TreePath.
	* gtk/gtk-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=22236
2004-01-19 02:39:27 +00:00
Mike Kestner
f02fce9dbe 2004-01-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows model
	param as out.
	* gtk/gtk-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=22235
2004-01-19 02:27:05 +00:00
John Luke
8b751d9ba0 add remark about Label and UseUnderline
svn path=/trunk/gtk-sharp/; revision=22232
2004-01-18 22:53:54 +00:00
John Luke
ca667bd49d sigh, VteTerminal* not VteTerminal
svn path=/trunk/gtk-sharp/; revision=22231
2004-01-18 22:49:53 +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
5bf3b285bb fix stupid mistake of building vte after samples
svn path=/trunk/gtk-sharp/; revision=22215
2004-01-17 23:11:53 +00:00
John Luke
6f682be9a1 fix space/tab from cut n paste
add vte to subdirs

svn path=/trunk/gtk-sharp/; revision=22214
2004-01-17 23:03:59 +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
00b0e29c25 add vte
svn path=/trunk/gtk-sharp/; revision=22212
2004-01-17 22:46:41 +00:00
Martin Willemoes Hansen
c2d4c12e67 * generator/Method.cs: Methods which returns void and has a single out parameter
like void Foobar (..., out int baz, ...) are turned into the more .NET like
          signature int Foobar (...), this fixes bug 46392
        * generator/Signature.cs: Ditto
        * generator/MethodBody.cs: Ditto
        * gtk/ListStore.custom: Ditto
        * gtk/TextBuffer.custom: Ditto
        * gtk/TreeStore.custom: Ditto

svn path=/trunk/gtk-sharp/; revision=22126
2004-01-15 21:18:46 +00:00
Mike Kestner
80a630a8a4 2004-01-13 Tambet Ingo <tambet@ximian.com>
* gtk-sharp.pc.in : add libdir var
	* generator/SymbolTable.cs : add GByteArray mapping.

svn path=/trunk/gtk-sharp/; revision=22070
2004-01-14 18:40:00 +00:00
Mike Kestner
6ec923833e 2004-01-13 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : use ValueArray to assemble parms arg for
	g_signal_chain_from_overriden call.  Initialize retval GValue for
	above.
	* glib/Object.cs : g_signal_chain_from_overridden parms are IntPtrs.
	* glib/TypeConverter.cs : handle unboxed ValueTypes.
	* glib/Value.cs : handle unboxed struct types.  add ctor for init'd
	unset Values.
	* glib/ValueArray.cs : new binding for GValueArray used by VMs.
	* glue/valuearray.c : field accessors
	* glue/Makefile.am : add new glue file
	* glue/makefile.win32 : add new glue file
	[Fixes #52680]

svn path=/trunk/gtk-sharp/; revision=22069
2004-01-14 18:05:50 +00:00
John Luke
cc654d5a06 add small example for selection
svn path=/trunk/gtk-sharp/; revision=22041
2004-01-13 22:04:34 +00:00
Miguel de Icaza
6507489ef9 Next batch of commits
svn path=/trunk/gtk-sharp/; revision=22035
2004-01-13 21:25:07 +00:00
John Luke
c0e4552e54 more Gtk.ResponseType overloads for Gtk.Dialog
svn path=/trunk/gtk-sharp/; revision=22031
2004-01-13 21:09:32 +00:00
Hector E. Gomez Morales
fdb11c4cc1 * en/Gtk/Ctree.xml
* en/Gtk/Style.xml
	* en/Gtk/Tree.xml: First draft.
	* en/Gtk/TODO: updated.
	* en/Gtk/Widget.xml: Documented the remaining methods and properties.
	* en/Gtk/Window.xml: Documented all methods excepts the overloads and all the properties.

svn path=/trunk/gtk-sharp/; revision=21995
2004-01-13 01:30:01 +00:00
John Luke
19629688fa 2004-01-08 John Luke <jluke@cfl.rr.com>
* en/Gtk/RadioButton.xml:
	* en/Gtk/Notebook.xml:
	* en/Gtk/NotebookPage.xml:
	* en/GConf/ClientBase.xml: update for recent cvs changes

svn path=/trunk/gtk-sharp/; revision=21990
2004-01-12 22:48:13 +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
bed0c03a8d 2004-01-09 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide NotebookPage.Num method
	* gtk/Notebook.custom : implement PageNum.
	* gtk/gtk-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=21882
2004-01-09 20:52:27 +00:00
John Luke
88ab36d2ea 2004-01-09 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: Hide most RadioButton constructors, for
	api reasons
	* gtk/RadioButton.custom: add ctor to create a new RadioButton
	with its own group to avoid having to pass null
	* gtk/gtk-api.xml: regen

svn path=/trunk/gtk-sharp/; revision=21881
2004-01-09 19:58:05 +00:00
Miguel de Icaza
f223c45def Second batch
svn path=/trunk/gtk-sharp/; revision=21869
2004-01-09 05:01:34 +00:00
John Luke
86f62b2c64 2004-01-08 John Luke <jluke@cfl.rr.com>
* */*/.xml: run updater
         * en/Gtk/TreView.xml: correct GetRowExpanded docs
         * en/Gtk/RadioButton.xml: documented

svn path=/trunk/gtk-sharp/; revision=21863
2004-01-09 01:32:46 +00:00
Mike Kestner
ff0286e798 2004-01-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : rename TreeView.RowExpand to GetRowExpanded.
	* gtk/gtk-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=21859
2004-01-08 21:57:30 +00:00
John Luke
6daaf61038 add overload for Dialog.AddActionWidget
svn path=/trunk/gtk-sharp/; revision=21835
2004-01-08 02:40:36 +00:00
Mike Kestner
d3b4dd07d5 2004-01-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : TreeStore.Remove iter should be ref
	* gtk/gtk-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=21830
2004-01-07 21:38:22 +00:00
John Luke
6de21a4d6f 2004-01-06 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: change uint to GtkAccelKey for Widget.AddAccelerator
	* gtk/gtk-api.xml: regenerated

svn path=/trunk/gtk-sharp/; revision=21750
2004-01-06 20:40:04 +00:00
Mike Kestner
05f0995ee4 2004-01-05 Mike Kestner <mkestner@ximian.com>
* configure.in : tagged 0.15 and updated version.

svn path=/trunk/gtk-sharp/; revision=21723
2004-01-05 17:58:23 +00:00
John Luke
84cc259a94 2003-12-24 John Luke <jluke@cfl.rr.com>
* gtk/Label.custom: add public default constructor
	* gtk/gtk-api.xml:
	* gtk/Gtk.metadata: make gtk_label_new_with_mnemonic the
	preferred constructor, disable protected default ctor

svn path=/trunk/gtk-sharp/; revision=21560
2003-12-31 02:10: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
John Luke
7e9700901f add Idle.Remove method
svn path=/trunk/gtk-sharp/; revision=21483
2003-12-24 19:37:41 +00:00
John Luke
ec87d5d92d 2003-12-22 John Luke <jluke@cfl.rr.com>
* en/GLib/GType.xml:
	* en/GLib/DefaultSignalHandlerAttribute.xml: added
	* */*/.xml: run updater

svn path=/trunk/gtk-sharp/; revision=21469
2003-12-24 01:35:30 +00:00
Joe Shaw
0925be2387 2003-12-16 Joe Shaw <joe@ximian.com>
* generator/SymbolTable.cs (MangleName): Add "lock" and "callback"
	to the list of names that need to be mangled.  The former is a C#
	reserved keyword and the latter is already used as an argument to
	methods which marshal callbacks.

svn path=/trunk/gtk-sharp/; revision=21276
2003-12-17 15:27:34 +00:00