Commit Graph

1329 Commits

Author SHA1 Message Date
Mike Kestner
37aad1b278 2004-01-27 Mike Kestner <mkestner@ximian.com>
* glue/selectiondata.c : expose data field.
	* gtk/SelectionData.custom : add Data property.
	[Fixes #53397]

svn path=/trunk/gtk-sharp/; revision=22563
2004-01-28 04:50:19 +00:00
John Luke
0dac8ebd48 2004-01-27 John Luke <jluke@cfl.rr.com>
* gtk/AccelKey.custom: add convenience ctor
    * gtk/Gtk.metadata: revert previous Widget.AddAccelerator change,
    fix AccelKey fields
    * gtk/Widget.custom: add overload for AddAccelerator
    * gtk/gtk-api.xml: regen

svn path=/trunk/gtk-sharp/; revision=22560
2004-01-28 04:08:29 +00:00
Mike Kestner
d4f6f6e928 2004-01-27 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : only g_free values we allocate.
	[Fixes #51180]

svn path=/trunk/gtk-sharp/; revision=22559
2004-01-28 03:59:14 +00:00
Mike Kestner
fc42fa2c04 2004-01-27 Mike Kestner <mkestner@ximian.com>
* glib/TypeConverter.cs : lookup GTypes for boxed value types.
	* glib/Value.cs : fix boxed type handling in object ctor.
	[Fixes #51043]

svn path=/trunk/gtk-sharp/; revision=22555
2004-01-27 23:55:13 +00:00
Mike Kestner
1742a837c1 2004-01-27 Mike Kestner <mkestner@ximian.com>
* generator/BoxedGen.cs : gen a Value to Boxed explicit cast op.
	* generator/Property.cs : use new cast in Boxed getters.
	[Fixes #53414]

svn path=/trunk/gtk-sharp/; revision=22553
2004-01-27 22:06:24 +00:00
Mike Kestner
359458917c 2004-01-27 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.Metadata : revert opaquing of TextIter.
	* gtk/TextBuffer.custom : ditto
	* gtk/gtk-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=22552
2004-01-27 21:01:08 +00:00
Mike Kestner
2dc2f1ed0f 2004-01-27 Mike Kestner <mkestner@ximian.com>
* generator/MethodBody.cs : remove unnecessary generation for
	Handle using out parameters.
	* gtk/Gtk.Metadata : make TextIter opaque
	* gtk/TextBuffer.custom : remove redundant dllimport
	* gtk/gtk-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=22551
2004-01-27 19:58:59 +00:00
Mike Kestner
ea1be0fdac 2004-01-27 Mike Kestner <mkestner@ximian.com>
* gnome/Gnome.metadata : Icon.LookupSync mark factory param
	null_ok.  Reworked from patch by Todd Berman.
	* gnome/gnome-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=22550
2004-01-27 18:34:04 +00:00
Mike Kestner
2340cb040e 2004-01-25 Mike Kestner <mkestner@ximian.com>
* art/art-api.xml : regen
	* gdk/gdk-api.xml : regen
	* generator/SymbolTable.cs : add unsigned char mapping
	* gnome/gnome-api.xml : regen
	* parser/gapi2xml.pl : handle unsigned keyword in fields,
	typedefs, and parameter types.
	[Fixes #53055]

svn path=/trunk/gtk-sharp/; revision=22487
2004-01-26 04:53:05 +00:00
Mike Kestner
336bb6a786 2004-01-25 Mike Kestner <mkestner@ximian.com>
* gdk/gdk-api.xml : regen
	* gnome/gnome-api.xml : regen
	* gtk/gtk-api.xml : regen
	* parser/gapi2xml.pl : handle typedef struct {...} Foo;
	[Fixes #53312]

svn path=/trunk/gtk-sharp/; revision=22486
2004-01-26 04:10:32 +00:00
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