Radek Doulik
47bbd783d5
(GetPathAtPos): use GLib.Object.GetObject so that we don't create
...
new TreeViewColumn object duplicates
svn path=/trunk/gtk-sharp/; revision=27858
2004-05-22 08:58:21 +00:00
Radek Doulik
f8da0639b7
2004-05-22 Radek Doulik <rodo@ximian.com>
...
* gtk/TreeView.custom(GetPathAtPos): change Gtk.TreeViewColumn
column parameter to out[put] as gtk_tree_view_get_path_at_pos
returns column address to column parameter
svn path=/trunk/gtk-sharp/; revision=27857
2004-05-22 08:49:58 +00:00
Mike Kestner
9f54a63375
2004-05-19 Mike Kestner <mkestner@ximian.com>
...
* gtk/Container.custom : add CallbackInvoke and use it in OnForall.
2004-05-19 Mike Kestner <mkestner@ximian.com>
* generator/Makefile.am : add TimeTGen.cs
* generator/SymbolTable.cs : use new TimeTGen.
* generator/StringGen.cs : s/GLibSharp/GLib
* generator/TimeTGen.cs : generatable to marshal time_t.
* glib/time_t_CustomMarshaler.cs : kill
* glib/Makefile.am : remove time_t_CustomMarshaler.cs
* glib/Markup.cs : s/GLibSharp/GLib
* glib/Marshaller.cs : move to GLib namespace. Add methods to
marshal time_t to and from DateTime.
* glib/glue/time_t.c : kill
* glib/glue/Makefile.am : remove time_t.c
* glib/glue/makefile.win32 : remove time_t.o
* gnome/*.custom : use GLib.Marshaller instead of the time_t custom
marshaler.
* gtk/*.custom : s/GLibSharp/GLib
svn path=/trunk/gtk-sharp/; revision=27704
2004-05-19 18:57:28 +00:00
Todd Berman
e474eaca89
2004-05-14 Todd Berman <tberman@sevenl.net>
...
* glib/Object.cs: make static GLib.Object.LookupGType protected for now. * gtk/CellRenderer.custom: code to allow for subclassing and
implementing a custom cell renderer.
* gtk/Makefile.am: add custom to build.
* gtk/glue/Makefile.am: add glue to build.
* gtk/glue/cellrenderer.c: glue code to override get_size and render
from cellrenderer.
* sample/CustomCellRenderer.cs: new sample to show how to implement a
custom cell renderer.
* sample/Makefile.am: add CustomCellRenderer sample.
svn path=/trunk/gtk-sharp/; revision=27426
2004-05-14 20:25:57 +00:00
Mike Kestner
4214989dff
2004-05-10 Mike Kestner <mkestner@ximian.com>
...
* gtk/SelectionData.custom : add a Set overload without length param.
svn path=/trunk/gtk-sharp/; revision=27108
2004-05-11 14:05:43 +00:00
Todd Berman
a2af1e7936
revert, ben showed me a way around this, will document
...
svn path=/trunk/gtk-sharp/; revision=27060
2004-05-11 03:31:43 +00:00
Todd Berman
350c18516f
2004-05-10 Todd Berman <tberman@sevenl.net>
...
* gtk/Dialog.custom: Add a SetDefaultResponse method to set a int
instead of a Gtk.ResponseType
svn path=/trunk/gtk-sharp/; revision=27059
2004-05-11 02:07:38 +00:00
Mike Kestner
0a74f7083e
2004-05-10 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : mark some Dialog API params as ResponseType
instead of int.
[fixes #58240 ]
svn path=/trunk/gtk-sharp/; revision=27046
2004-05-10 20:00:08 +00:00
Mike Kestner
7f46d29ab4
2004-05-10 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : change return-type on Global.EventsPending
to a bool to avoid compat problems in 2.4. Also rename to
GetEventsPending so that it's generated as a property.
[fixes #58292 ]
svn path=/trunk/gtk-sharp/; revision=27043
2004-05-10 18:23:51 +00:00
Mike Kestner
496c067424
2004-05-10 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide some ctors and map some prop names.
* gtk/Makefile.am : add new customs.
* gtk/ItemFactory.custom : implement ctor for subclassing.
* gtk/Plug.custom : implement ctors for subclassing.
svn path=/trunk/gtk-sharp/; revision=27042
2004-05-10 17:37:02 +00:00
Mike Kestner
b9cee94a37
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gnome/Canvas.custom : PixelsPerUnit prop.
* gnome/Gnome.metadata : hide Canvas.SetPixelsPerUnit.
* gnome/glue/Makefile.am : get_pixels_per_unit.
* gnome/glue/canvas.c : get_pixels_per_unit.
* gtk/Container.custom : OnForall virtual method impl.
* gtk/glue/Makefile.am : add container.c
* gtk/glue/container.c : virtual method glue for forall.
* gtk/glue/makefile.win32 : add container.o
svn path=/trunk/gtk-sharp/; revision=26962
2004-05-08 02:14:19 +00:00
Mike Kestner
ea63638f34
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : map some RadioButton ctor props.
svn path=/trunk/gtk-sharp/; revision=26951
2004-05-07 21:55:11 +00:00
Mike Kestner
4a9e9ea3ee
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide TextView with_buffer ctor. map some parms
to props.
* gtk/Makefile.am : add new custom.
* gtk/TextView.custom : implement with_buffer ctor for subclassing.
svn path=/trunk/gtk-sharp/; revision=26949
2004-05-07 21:31:55 +00:00
Mike Kestner
53277261b0
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/TreeView.custom : make the NodeStore ctor subclassable.
svn path=/trunk/gtk-sharp/; revision=26946
2004-05-07 20:23:58 +00:00
Mike Kestner
6b46f2fb3a
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide SpinButton with_range ctor.
* gtk/Makefile.am : add new custom.
* gtk/SpinButton.custom : implement with_range ctor for subclassing.
svn path=/trunk/gtk-sharp/; revision=26942
2004-05-07 19:41:36 +00:00
Mike Kestner
50d266b30b
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide ListStore and TreeStore newv ctors.
* gtk/ListStore.custom : rework the ctors for subclassing.
* gtk/TreeStore.custom : rework the ctors for subclassing.
svn path=/trunk/gtk-sharp/; revision=26941
2004-05-07 19:33:09 +00:00
Mike Kestner
50da743482
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide HScale and VScale with_range ctors.
* gtk/Makefile.am : add new customs.
* gtk/HScale.custom : implement with_range ctor for subclassing.
* gtk/VScale.custom : implement with_range ctor for subclassing.
svn path=/trunk/gtk-sharp/; revision=26940
2004-05-07 19:04:03 +00:00
Mike Kestner
50c0b90864
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : map AccelLabel ctor parm to prop and hide
Adjustment ctor.
* gtk/Adjustment.custom : add set accessors for Upper/Lower and
implement ctor with subclassing.
* gtk/CheckMenuItem.custom : return from subclass branch.
* gtk/ImageMenuItem.custom : return from subclass branch.
* gtk/MenuItem.custom : return from subclass branch.
* gtk/RadioMenuItem.custom : return from subclass branch.
* gtk/glue/adjustment.c : add setters for lower/upper.
svn path=/trunk/gtk-sharp/; revision=26938
2004-05-07 18:41:32 +00:00
Mike Kestner
133a5c8715
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide some *MenuItem ctors.
* gtk/CheckMenuItem.custom : implement string ctor.
* gtk/ImageMenuItem.custom : implement string ctor.
* gtk/MenuItem.custom : use AccelLabel.
* gtk/RadioMenuItem.custom : fix string ctor for subclassing.
* gtk/Makefile.am : add new customs.
svn path=/trunk/gtk-sharp/; revision=26935
2004-05-07 17:32:32 +00:00
Mike Kestner
ed983e3813
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide some MenuItem ctors.
* gtk/Makefile.am : add the new custom.
* gtk/MenuItem.custom : implement the string ctor.
svn path=/trunk/gtk-sharp/; revision=26929
2004-05-07 15:48:25 +00:00
Mike Kestner
c9f1eadc11
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
[Derived from a patch by Ben Maurer]
* generator/Ctor.cs : generate code to detect subclassing and handle
GType registration and native object creation properly.
* generator/Parameters.cs : add PropertyName accessor for param attr.
* generator/Property.cs : use a new GLib.Value ctor.
* glib/ObjectManager.cs : redo hash access.
* glib/Object.cs : CreateNativeObject method to invoke g_object_newv
and some refactoring of RegisterGType and LookupGType.
* glib/Value.cs : make gtype field an IntPtr.
* glib/glue/object.c : glue for g_object_newv use.
* glib/glue/value.c : new glue for value creation.
* gtk/Dialog.custom : fix a ctor declaration for auto-reg.
* gtk/Gtk.metadata : mark a couple property_name attrs as examples.
* sample/Subclass.cs : use auto-GType-registration now.
svn path=/trunk/gtk-sharp/; revision=26916
2004-05-07 13:42:59 +00:00
Larry Ewing
e57c608330
2004-04-30 Larry Ewing <lewing@ximian.com>
...
* gtk/Adjustment.custom: add an a set method for StepIncrement.
* gtk/glue/adjustment.c: add gtk_adjustment_set_step_increment.
svn path=/trunk/gtk-sharp/; revision=26780
2004-05-05 18:44:18 +00:00
Mike Kestner
57f06abbfe
2004-05-03 Mike Kestner <mkestner@ximian.com>
...
* */Makefile.am : fix gacutil for new package switch
* */*.pc.in : fix -libs var for new dll path
svn path=/trunk/gtk-sharp/; revision=26644
2004-05-03 21:05:51 +00:00
Mike Kestner
866254b519
hush
...
svn path=/trunk/gtk-sharp/; revision=26602
2004-05-03 16:26:00 +00:00
Mike Kestner
01ef68965d
2004-04-30 Mike Kestner <mkestner@ximian.com>
...
* configure.in : lookup gacutil and error out if not found.
* */Makefile.am : add install-data-local and uninstall-local targets
for GAC installation. Add gtk-sharp.pub target to cp the key in for
distcheck.
* */AssemblyInfo.cs.in : remove ../ from key path for VPATH build.
svn path=/trunk/gtk-sharp/; revision=26485
2004-05-01 03:38:54 +00:00
Mike Kestner
14e3877005
2004-04-30 Mike Kestner <mkestner@ximian.com>
...
* configure.in : remove BASE_DEPENDENCIES LIBS and CFLAGS and
expose more specific versions for glue building.
* */glue/Makefile.am : use more specific versions of LIBS and CFLAGS
to reduce the ldd footprint.
svn path=/trunk/gtk-sharp/; revision=26438
2004-04-30 19:08:16 +00:00
Mike Kestner
5f80b97227
2004-04-30 Mike Kestner <mkestner@ximian.com>
...
* configure.in : AC_SUBST an API_VERSION=1.0.0.0 for the
AssemblyVersionAttributes.
* */AssemblyInfo.cs.in : s/@VERSION@/@API_VERSION@/
svn path=/trunk/gtk-sharp/; revision=26435
2004-04-30 18:24:16 +00:00
Mike Kestner
687219d656
2004-04-30 Mike Kestner <mkestner@ximian.com>
...
* */AssemblyInfo.cs.in : s/@VERSION@.0.0/@VERSION@/
svn path=/trunk/gtk-sharp/; revision=26431
2004-04-30 16:55:15 +00:00
Erik Dasque
7f1f0ce385
This defines a Date property for Calendar
...
Note that the setter causes CalendarChange events to be fired
public DateTime Date
svn path=/trunk/gtk-sharp/; revision=26417
2004-04-30 13:27:22 +00:00
Mike Kestner
e4c7f28e66
2004-04-29 Mike Kestner <mkestner@ximian.com>
...
* configure.in : expand the AssemblyInfo.cs files.
* */AssemblyInfo.cs.in : new assembly info files.
* */Makefile.am : dist, make, and clean assmbly info files.
svn path=/trunk/gtk-sharp/; revision=26356
2004-04-29 22:19:30 +00:00
Mike Kestner
9bc8928f88
2004-04-29 Mike Kestner <mkestner@ximian.com>
...
* configure.in : expand the new config files.
* */*config.in : the per-assembly config files.
* */Makefile.am : dist, clean, and install the configs.
* gnome/*.c* : fix some errant DllImports.
svn path=/trunk/gtk-sharp/; revision=26301
2004-04-29 15:00:24 +00:00
Mike Kestner
4766d5bf75
2004-04-28 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : mark ListStore.Remove iter pass_as=ref.
[Fixes #56945 ]
svn path=/trunk/gtk-sharp/; revision=26205
2004-04-28 20:35:39 +00:00
Mike Kestner
1ac00ff205
2004-04-12 Mike Kestner <mkestner@ximian.com>
...
[Rework of a patch from Ben Maurer to turn GLib.Value
into a valuetype.]
* generator/BoxedGen.cs : fix operators for new valuetype GValues.
* generator/ByRefGen.cs : new generatable for byref value types.
* generator/Makefile.am : add ByRefGen.cs.
* generator/MethodBody.cs : remove GValue special casing.
* generator/Property.cs : rework value handling.
* generator/Signal.cs : fix base virtual method value passing.
* generator/SymbolTable.cs : map GValue to ByRefGen.
* glib/Object.cs : rework GetProperty and SetProperty.
* glib/Value.cs : make it a value type.
* glib/ValueArray.cs : fix GValue passing.
* glib/glue/value.c : rework for valuetype GValues.
* gnome/Program.custom : fix GValue passing
* gtk/Gtk.metadata : make TreeModel.GetValue value param pass_as=ref.
* gtk/ListStore.custom : fix GValue passing
* gtk/NodeStore.cs : fix GValue passing
* gtk/TextTag.custom : fix GValue passing
* gtk/TreeModelSort.custom : fix GValue passing
* gtk/TreeStore.custom : fix GValue passing
svn path=/trunk/gtk-sharp/; revision=25368
2004-04-12 15:54:57 +00:00
Mike Kestner
e7bf3a279f
2004-04-07 Mike Kestner <mkestner@ximian.com>
...
* generator/ClassBase.cs : remove default ctor generation and
hasDefaultConstructor field.
* generator/Ctor.cs : chain to base (IntPtr.Zero).
* generator/StructBase.cs : remove hasDefaultConstructor usage.
* glib/Object.cs : remove Object () ctor. Add Ben's GetGType
method, although nothing uses it yet. Still working on integrating
the remainder of Ben's patch.
* gtk/Gtk.metadata : remove all the disabledefaultctor rules.
* */*.custom : add base (IntPtr.Zero) or this (...) chaining for
all ctors.
svn path=/trunk/gtk-sharp/; revision=25184
2004-04-07 19:15:01 +00:00
John Luke
ebea661ee4
2004-04-06 John Luke <jluke@cfl.rr.com>
...
* gtk/Gtk.metadata: mark Gtk.Widget.ModifyFont font_desc null_ok
svn path=/trunk/gtk-sharp/; revision=25166
2004-04-07 17:13:31 +00:00
Mike Kestner
05e4e0b9d3
2004-04-04 Mike Kestner <mkestner@ximian.com>
...
* generator/SymbolTable.cs : don't use StringGen for gunichar.
* glib/glue/unichar.c : glue to fetch a gunichar as a utf8 string.
* glib/glue/Makefile.am : add unichar.c
* glib/glue/makefile.win32 : add unichar.c
* gtk/Gtk.metadata : hide TextIter.GetChar
* gtk/TextIter.custom : manually impl Char prop. [fixes #53425 ]
svn path=/trunk/gtk-sharp/; revision=25054
2004-04-05 18:31:34 +00:00
Todd Berman
78ef73173d
2004-04-02 Todd Berman <tberman@sevenl.net>
...
* gtk/Gtk.metadata: fix Gtk.SelectionData.Set.
svn path=/trunk/gtk-sharp/; revision=25000
2004-04-03 21:42:43 +00:00
Mike Kestner
1343fb39cc
2004-04-01 Jorn Baayen <jorn@nl.linux.org>
...
* gtk/Style.custom : wrappers for Text[] and Base[]
* gtk/glue/style.c : glue to access text[] and base[]
[fixes #54805 ]
svn path=/trunk/gtk-sharp/; revision=24930
2004-04-01 22:19:51 +00:00
Mike Kestner
ab2f05fa77
2004-03-31 Mike Kestner <mkestner@ximian.com>
...
* configure.in : remove atk/glue/Makefile
* atk/Makefile.am : comment out subdirs for now
* atk/makefile.win32 : don't build glue
* */glue/Makefile.am : remove generated.c from sources
* */glue/makefile.win32 : remove generated.c from sources
* generator/ObjectGen.cs : disable vm glue generation for now.
svn path=/trunk/gtk-sharp/; revision=24850
2004-03-31 16:34:08 +00:00
Mike Kestner
cc09f17ac7
2004-03-30 Mike Kestner <mkestner@ximian.com>
...
* gtk/Makefile.am : add the customs that miggie didn't add.
svn path=/trunk/gtk-sharp/; revision=24804
2004-03-30 22:28:58 +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
Mike Kestner
5ab9361baf
2003-03-24 Jorn Baayen <jorn@nl.linux.org>
...
* gtk/Gtk.metadata : mark null_ok param on Window.SetTransientFor.
svn path=/trunk/gtk-sharp/; revision=24538
2004-03-24 18:54:42 +00:00
Miguel de Icaza
80727ad562
Add default constructors for HBox and VBox
...
svn path=/trunk/gtk-sharp/; revision=24537
2004-03-24 18:51:50 +00:00
Mike Kestner
4562311b91
2004-03-22 Mike Kestner <mkestner@ximian.com>
...
* gtk/Window.custom : bring back the DefaultSize prop as a
Gdk.Size.
svn path=/trunk/gtk-sharp/; revision=24448
2004-03-23 04:17:47 +00:00
Mike Kestner
4b7744cb67
2004-03-18 Mike Kestner <mkestner@ximian.com>
...
* gdk/Makefile.am : generate glue
* gdk/glue/Makefile.am : build generated glue
* gdk/glue/makefile.win32 : build generated glue
* gdk/glue/vmglueheaders.h : includes for vm glue
* gtk/Makefile.am : generate glue
* gtk/glue/Makefile.am : build generated glue
* gtk/glue/makefile.win32 : build generated glue
* gtk/glue/vmglueheaders.h : includes for vm glue
svn path=/trunk/gtk-sharp/; revision=24297
2004-03-18 22:03:49 +00:00
Mike Kestner
37a37adf53
2004-03-18 Mike Kestner <mkestner@ximian.com>
...
* parser/gapi2xml.pl : fix passbyvalue bug in vm parsing.
* */*.raw : regen
svn path=/trunk/gtk-sharp/; revision=24290
2004-03-18 20:25:07 +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
Urs C. Muff
c8511cd513
Using configurable runtime during build process --> RUNTIME=@MONO@ in Makefile.in files. MONO is defined in configure.in. For Mac OS X == Darwin it is 'mint' for now, for the others it remains 'mono'. Also use the more generic code from mono/autogen.sh to detect libtool.
...
svn path=/trunk/gtk-sharp/; revision=23880
2004-03-10 15:57:33 +00:00
Mike Kestner
64e69d3832
2004-03-08 Mike Kestner <mkestner@ximian.com>
...
* generator/ObjectGen.cs : ignore virtual_method elems for now.
* parser/gapi2xml.pl : parse the non-signal class methods and add as
virtual_method elements in the API xml
* */*-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=23809
2004-03-08 18:08:48 +00:00