Miguel de Icaza
4340f0903f
Add updates from Marques Johansson (marques@displague.com)
...
svn path=/trunk/gtk-sharp/; revision=28072
2004-05-25 19:10:28 +00:00
Mike Kestner
f37e02b5b2
2004-05-25 Mike Kestner <mkestner@ximian.com>
...
* gtk/Container.custom : use glue to invoke the GtkCallback in
Forall.
* gtk/glue/container.c : add gtksharp_container_invoke_gtk_callback.
svn path=/trunk/gtk-sharp/; revision=28047
2004-05-25 13:35:38 +00:00
Mike Kestner
ca91d3c85f
2004-05-23 Mike Kestner <mkestner@ximian.com>
...
* generator/SignalHandler.cs : put back the ObjectGen hack
for param wrapping. [Fixes #58876 ]
svn path=/trunk/gtk-sharp/; revision=27940
2004-05-24 02:25:16 +00:00
Mike Kestner
e7130d9838
2004-05-22 Mike Kestner <mkestner@ximian.com>
...
* configure.in : require mono-0.91.99. Sorry, but we need to
require mono cvs until beta2 because of some recent breakage in
Gnome.Program custom code while reflecting against the runtime.
svn path=/trunk/gtk-sharp/; revision=27901
2004-05-22 19:38:28 +00:00
Todd Berman
7951ca21de
2004-05-22 Todd Berman <tberman@sevenl.net>
...
* gnome/Program.custom: Change the Mono.Runtime stuff to reflect
its new internal nature. This fixes MD, gnunit, and all gnome#
programs that were blowing up for no reason.
svn path=/trunk/gtk-sharp/; revision=27898
2004-05-22 18:02:49 +00:00
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
Zoltan Varga
fed2de1fe7
2004-05-18 Zoltan Varga <vargaz@freemail.hu>
...
* glib/time_t_CustomMarshaler.cs: Fix custom marshalling after runtime
changes.
svn path=/trunk/gtk-sharp/; revision=27621
2004-05-18 19:19:37 +00:00
Vladimir Vukicevic
43a82f1204
2004-05-18 Vladimir Vukicevic <vladimir@pobox.com
...
* gnome/Print.custom: Cast .Pixels usage to a (byte *)
svn path=/trunk/gtk-sharp/; revision=27619
2004-05-18 19:07:15 +00:00
Vladimir Vukicevic
518ce8f85b
2004-05-17 Vladimir Vukicevic <vladimir@pobox.com>
...
* gdk/Pixbuf.custom: Changed Pixbuf.Pixels to return an IntPtr instead
of a byte * -- anyone who needs a byte * can do the cast in an unsafe
context already.
svn path=/trunk/gtk-sharp/; revision=27617
2004-05-18 19:03:30 +00:00
Todd Berman
ef102fe7cc
2004-05-18 Todd Berman <tberman@sevenl.net>
...
* samples/Scribble.cs: Im bored, you can erase, etc
svn path=/trunk/gtk-sharp/; revision=27565
2004-05-18 05:48:10 +00:00
Mike Kestner
0d052516f1
2004-05-18 Mike Kestner <mkestner@ximian.com>
...
* glib/MissingIntPtrCtorException.cs : new exception to throw if
unable to access an IntPtr ctor on a GLib.Object subclass. We need
an IntPtr ctor to be able to wrap arbitrary object handles.
* glib/Object.cs : have NativeType call LookupGType.
* glib/ObjectManager.cs : throw the new exception in a try/catch.
svn path=/trunk/gtk-sharp/; revision=27563
2004-05-18 05:06:10 +00:00
Mike Kestner
bfc77b2230
2004-05-17 Mike Kestner <mkestner@ximian.com>
...
* generator/ObjectGen.cs : Generate a .cctor that calls the assembly's
ObjectManager.Initialize method if the class will need to be registered
with GLib.ObjectManager. Enhance the Initialize method to allow
multiple invocations.
svn path=/trunk/gtk-sharp/; revision=27554
2004-05-18 02:46:17 +00:00
Mike Kestner
ffe268c415
2004-05-17 Mike Kestner <mkestner@ximian.com>
...
* generator/SignalHandler.cs : fix some broken/redundant generation in
the Object/Struct wrapping for sig params.
* glib/Object.cs : internalize/protect lots of API that shouldn't need
to be used by non-subclass/non-glib code. Return GType.Object as GType.
* glib/Value.cs : use internal GLib.Object.NativeType prop.
* sample/TestDnd.cs : use ToString instead of TypeName.
svn path=/trunk/gtk-sharp/; revision=27530
2004-05-17 17:52:00 +00:00
Todd Berman
bcb922a320
Fix this up so it works exactly like its C counterpart
...
svn path=/trunk/gtk-sharp/; revision=27468
2004-05-16 02:03:19 +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
Todd Berman
8f53f68348
2004-05-13 Todd Berman <tberman@sevenl.net>
...
* *.pc.in: add .dll to the end of the Libs: references, and convert
them to be absolute paths.
svn path=/trunk/gtk-sharp/; revision=27306
2004-05-13 19:23:16 +00:00
Mike Kestner
60d2fab857
2004-05-11 Mike Kestner <mkestner@ximian.com>
...
* *.pc.in : add Requires so that dependent libs are pulled in too.
svn path=/trunk/gtk-sharp/; revision=27132
2004-05-11 20:56:24 +00:00
Mike Kestner
b071a8c507
2004-05-11 Mike Kestner <mkestner@ximian.com>
...
* gconf/GConf/NotifyWrapper.cs : add some defensive null checking.
[fixes #57902 ]
svn path=/trunk/gtk-sharp/; revision=27115
2004-05-11 16:07:08 +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
27a3f69caf
2004-05-10 Mike Kestner <mkestner@ximian.com>
...
* glib/Value.cs : fix GBoxed GLib.Value setting.
[fixes #58229 ]
svn path=/trunk/gtk-sharp/; revision=27045
2004-05-10 18:54:14 +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
Miguel de Icaza
d846b31f50
Pango contributions from alf82@freemail.gr
...
svn path=/trunk/gtk-sharp/; revision=27038
2004-05-10 17:26:50 +00:00
Miguel de Icaza
19d2fcb5df
EventType contributions from jgarcia@ac.upc.es
...
svn path=/trunk/gtk-sharp/; revision=27035
2004-05-10 17:24:24 +00:00
Miguel de Icaza
adb74a6aa8
Canvas contributions from alf82@freemail.gr
...
svn path=/trunk/gtk-sharp/; revision=27034
2004-05-10 17:22:59 +00:00
Todd Berman
3761234140
yes, adding the file is cool
...
svn path=/trunk/gtk-sharp/; revision=26965
2004-05-08 02:50:47 +00:00
Todd Berman
d04d7d6fa4
2004-05-07 Todd Berman <tberman@sevenl.net>
...
* gnome/Makefile.am: add DruidPageEdge.custom
* gnome/Gnome.metadata: hide DruidPageEdge ctors
* gnome/DruidPageEdge.custom: subclassable ctors.
svn path=/trunk/gtk-sharp/; revision=26964
2004-05-08 02:50:28 +00:00
Todd Berman
534948c298
2004-05-07 Todd Berman <tberman@sevenl.net>
...
* gnome/IconList.custom: subclassable ctor.
* gnome/Gnome.metadata: hide IconList ctor.
svn path=/trunk/gtk-sharp/; revision=26963
2004-05-08 02:27:26 +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
Todd Berman
fe63913e7e
2004-05-07 Todd Berman <tberman@sevenl.net>
...
* gnome/Gnome.metadata: map properties for with_flags DateEdit ctor,
and hide the DateTime, bool, bool ctor
* gnome/Makefile.am: Add DateEdit.custom.
* gnome/DateEdit.custom: Add subclassable ctor for DateEdit and
add enough overloads that accept variable parameter lists to make
Mike Kestner sick.
svn path=/trunk/gtk-sharp/; revision=26961
2004-05-08 02:10:00 +00:00
Todd Berman
b138697051
2004-05-07 Todd Berman <tberman@sevenl.net>
...
* gnome/Gnome.metadat: Hide App ctor.
* gnome/Makefile.am: add App.custom.
* gnome/App.custom: New custom for subclassing.
svn path=/trunk/gtk-sharp/; revision=26960
2004-05-08 01:44:21 +00:00
Todd Berman
864884b4f0
2004-05-07 Todd Berman <tberman@sevenl.net>
...
* gnome/Gnome.metadata: Hide Scores ctor.
* gnome/Makefile.am: add Scores.custom.
* gnome/Scores.custom: New custom for overridable ctor.
svn path=/trunk/gtk-sharp/; revision=26958
2004-05-08 01:27:28 +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
016cdf6e18
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* gnome/Druid.custom : fix Todd's broken code.
svn path=/trunk/gtk-sharp/; revision=26950
2004-05-07 21:49:09 +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
Todd Berman
be2f2257c8
2004-05-07 Todd Berman <tberman@sevenl.net>
...
* gnome/Gnome.metadata: Hide Druid with_window ctor, map About property. add some null_ok from bug #57948 .
* gnome/Druid.custom: implement with_window ctor for subclassing, and
a 3 paramatered version for when you dont care about the returned
window. another 3 parametered version for when you have want null
parent, and a 2 parametered version for the null parent and the
discarding of the window (THANKS MIKE!)
* gnome/Makefile.am: add new custom.
svn path=/trunk/gtk-sharp/; revision=26948
2004-05-07 21:29:11 +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
d09ba525b1
hush
...
svn path=/trunk/gtk-sharp/; revision=26934
2004-05-07 17:22:19 +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
8bb5dbc321
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* sample/GnomeHelloWorld.cs : guard against null args.Event in the
icon_selected_cb, which occurs on button-presses for some reason.
Thanks to wmealing on irc for the bug report.
svn path=/trunk/gtk-sharp/; revision=26926
2004-05-07 15:01:56 +00:00