Mike Kestner
73632b2747
2004-05-28 Mike Kestner <mkestner@ximian.com>
...
* generator/ObjectGen.cs : adjust to ObjectManager ns change.
* glib/ManagedValue.cs : move to GLib and internalize.
* glib/Object.cs : adjust to ObjectManager ns change.
* glib/ObjectManager.cs : move to GLib.
* glib/TypeConverter.cs : move to GLib. return ManagedValue.GType
when we can't match a type instead of GType.None.
* gtk/*.custom: adjust for new TypeConverter ns and behavior.
2004-05-28 Mike Kestner <mkestner@ximian.com>
* en/* : run updater. fix a few *Sharp copy/pastisms.
svn path=/trunk/gtk-sharp/; revision=28362
2004-05-28 16:59:21 +00:00
Mike Kestner
71d07af98a
2004-05-28 Mike Kestner <mkestner@ximian.com>
...
* gtk/Makefile.am : add new custom.
* gtk/Settings.custom: add props for unparsed API.
svn path=/trunk/gtk-sharp/; revision=28350
2004-05-28 15:05:36 +00:00
Mike Kestner
2eada8c950
2004-05-27 Mike Kestner <mkestner@ximian.com>
...
* glib/Object.cs: mark GType property public.
svn path=/trunk/gtk-sharp/; revision=28286
2004-05-27 16:35:21 +00:00
Jeroen Zwartepoorte
fd3c3b56d6
2004-05-27 Jeroen Zwartepoorte <jeroen@xs4all.nl>
...
* gtk/Gtk.metadata: Hide the GtkCtree class (old gtk+ 1.x junk).
svn path=/trunk/gtk-sharp/; revision=28280
2004-05-27 15:58:15 +00:00
Mike Kestner
6c25e8c608
2004-05-25 Mike Kestner <mkestner@ximian.com>
...
* gtkhtml/Gtk.metadata : hide Gtk.HTML the ctors.
* gtkhtml/HTML.custom : new manual impl for ctors.
* gtkhtml/Makefile.am : add new custom
[Fixes #59148 ]
2004-05-25 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : rm -f generated/* in case it doesn't exist yet.
svn path=/trunk/gtk-sharp/; revision=28214
2004-05-27 02:06:05 +00:00
Mike Kestner
db317dd185
2004-05-25 Dan Winship <danw@ximian.com>
...
* gtk/Gtk.metadata : mark a ref param in SizeRequested
svn path=/trunk/gtk-sharp/; revision=28194
2004-05-26 19:49:43 +00:00
Mike Kestner
7ab2b0d6b9
2004-05-25 Mike Kestner <mkestner@ximian.com>
...
* */Makefile.am : rm generated/* in generated-stamp target.
svn path=/trunk/gtk-sharp/; revision=28191
2004-05-26 19:44:25 +00:00
Mike Kestner
7a518421ab
2004-05-25 Mike Kestner <mkestner@ximian.com>
...
* configure.in : don't expand the GAPI Makefile.
* parser/Makefile.am : remove SUBDIRS.
* parser/gapi2xml.pl : remove GAPI::Metadata usage.
* parser/GAPI/* : kill. long live gapi-fixup.
svn path=/trunk/gtk-sharp/; revision=28085
2004-05-25 21:27:41 +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
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
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
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
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
Mike Kestner
5a2659022c
2004-05-07 Mike Kestner <mkestner@ximian.com>
...
* sample/*/Makefile.am : rebuild if the assemblies change
svn path=/trunk/gtk-sharp/; revision=26920
2004-05-07 14:22:20 +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
Mike Kestner
e301835e99
2004-05-06 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : some out and array magic for Property.Get.
[Fixes #56513 ]
svn path=/trunk/gtk-sharp/; revision=26857
2004-05-06 18:15:31 +00:00
Jeroen Zwartepoorte
e07bb75fd6
2004-05-06 Jeroen Zwartepoorte <jeroen@xs4all.nl>
...
* generator/Method.cs: Don't use the "unsafe" modifier for methods which
are part of an interface [fixes #58059 ].
svn path=/trunk/gtk-sharp/; revision=26843
2004-05-06 15:58:00 +00:00
Mike Kestner
571b68363a
2004-05-06 Mike Kestner <mkestner@ximian.com>
...
* configure.in : bump version for cvs.
svn path=/trunk/gtk-sharp/; revision=26835
2004-05-06 15:05:00 +00:00
Mike Kestner
31ef54a54a
2004-05-05 Mike Kestner <mkestner@ximian.com>
...
* generator/BoxedGen.cs : remove g_value_init DllImport and change
(g|s)et_boxed to use a glue method to simplify dllmapping.
* glib/Value.cs : add Init method.
* glib/glue/value.cs : add get/set_boxed glue methods.
* */*.config.in : remove libgobject mappings for dlls that no longer
need them.
svn path=/trunk/gtk-sharp/; revision=26787
2004-05-05 20:14:14 +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
01acd7f576
2004-05-05 Mike Kestner <mkestner@ximian.com>
...
* generator/Signal.cs : rmv Handle param to SignalCallback ctor calls.
s/GtkSharp.Signal*/GLib.Signal*.
* generator/SignalHandler.cs : rmv Handle param to ctors as it's
redundant. s/GtkSharp.Signal*/GLib.Signal*. Use new Connect/Disconnect
instead of generating DllImports into libgobject directly.
* glib/SignalArgs.cs : move the the GLib namespace.
* glib/SignalCallback.cs : expose Connect and Disconnect methods to
hide some pinvokes that were previously generated. Also move to the
GLib namespace.
gnome/*Handler.cs : update to new SignalHandler API.
gnome/CanvasProxy.cs : ditto
gnome/void*Signal.cs : ditto
svn path=/trunk/gtk-sharp/; revision=26778
2004-05-05 18:24:04 +00:00
Mike Kestner
6fd6ecbbdb
2004-05-05 Mike Kestner <mkestner@ximian.com>
...
* sample/gconf/Makefile.am : fix some whitespace. I love you, auto*.
svn path=/trunk/gtk-sharp/; revision=26710
2004-05-04 19:08:44 +00:00
Mike Kestner
2681235b22
2004-05-05 Mike Kestner <mkestner@ximian.com>
...
* configure.in : fix gtkhtml versioning *again*.
* sample/gconf/Makefile.am : conditional build on ENABLE_GNOME.
svn path=/trunk/gtk-sharp/; revision=26708
2004-05-04 18:58:21 +00:00
Mike Kestner
f5a8823bb6
2004-05-04 Mike Kestner <mkestner@ximian.com>
...
* configure.in : require gtkhtml-3.0.10 so we can use a single
so version (.4).
* sources/* : update to gtkhtml-3.0.10. This produces zero change
in the generated API.
svn path=/trunk/gtk-sharp/; revision=26682
2004-05-04 04:53:28 +00:00
Todd Berman
4c2b4d6482
2004-05-03 Todd Berman <tberman@sevenl.net>
...
* */*.pc.in: change to use @PACKAGE@ where its needed, fixes pc bug
svn path=/trunk/gtk-sharp/; revision=26674
2004-05-03 23:36:57 +00:00
Todd Berman
a40a71e879
2004-05-03 Todd Berman <tberman@sevenl.net>
...
* configure.in: bump mono dep to 0.90
svn path=/trunk/gtk-sharp/; revision=26661
2004-05-03 22:59:30 +00:00
Todd Berman
92c6e68841
2004-05-03 Todd Berman <tberman@sevenl.net>
...
* configure.in: bump to 0.91, dont kill me mike.
svn path=/trunk/gtk-sharp/; revision=26652
2004-05-03 22:12:50 +00:00
Todd Berman
a4e024a8e3
2004-05-03 Todd Berman <tberman@sevenl.net>
...
* gtk-sharp.pc.in: add PACKAGE stuff here
svn path=/trunk/gtk-sharp/; revision=26651
2004-05-03 21:58:05 +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
ce48b61360
2004-05-03 Mike Kestner <mkestner@ximian.com>
...
* configure.in : add some checks for gtkhtml-3.1 and use it if avail.
* gtkhtml/gtkhtml-sharp.dll.config.in : deal with 3.1 versioning.
svn path=/trunk/gtk-sharp/; revision=26600
2004-05-03 16:22:35 +00:00
Miguel de Icaza
ccad405077
2004-05-03 Miguel de Icaza <miguel@ximian.com>
...
* gtkhtml/Gtk.metadata: Patch from Mike Kestner: make
GtkHTMLStream opaque, to fix a bug that was found by running
Monodoc on MacOS X. We were passing a pointer to a managed
object, instead of a pointer to a HTMLStream-allocated object.
* HTMLStream.custom: Update custom file to reflect change to
Opaque: use Handle instead of this.
svn path=/trunk/gtk-sharp/; revision=26587
2004-05-03 14:40:16 +00:00
Mike Kestner
7c488bead4
2004-04-30 Mike Kestner <mkestner@ximian.com>
...
* gdk/glue/makefile.win32 : remove windowmanager.o for now. It
was breaking the build on win32.
svn path=/trunk/gtk-sharp/; revision=26487
2004-05-01 03:53:04 +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
Mike Kestner
67278125a2
2004-04-30 Mike Kestner <mkestner@ximian.com>
...
* sample/gconf/* : break System.Drawing dependency.
svn path=/trunk/gtk-sharp/; revision=26427
2004-04-30 16:20:43 +00:00
Owen Fraser-Green
49fc696f4d
Fixed path variables.
...
svn path=/trunk/gtk-sharp/; revision=26423
2004-04-30 15:14:51 +00:00
Owen Fraser-Green
f542fb9695
Removed reference to old gst target.
...
svn path=/trunk/gtk-sharp/; revision=26421
2004-04-30 14:05:45 +00:00
Mike Kestner
ac5426e105
add a changelog entry for edasque's patch.
...
svn path=/trunk/gtk-sharp/; revision=26420
2004-04-30 14:01:45 +00:00
Mike Kestner
de74ba0bc8
2004-04-29 Mike Kestner <mkestner@ximian.com>
...
* mapdllnames.pl : remove unneccessary script
svn path=/trunk/gtk-sharp/; revision=26384
2004-04-30 03:50:44 +00:00
Mike Kestner
d790d0b646
2004-04-29 Mike Kestner <mkestner@ximian.com>
...
* gst/* : kill. it's been spun out the the gst-sharp module.
* sources/Makefile.am : remove gst source download target.
* sources/gtk-sharp-sources.xml : remove gst nodes.
svn path=/trunk/gtk-sharp/; revision=26382
2004-04-30 03:44:57 +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
Owen Fraser-Green
ce55d821aa
Minor fixed to get gstreamer working.
...
svn path=/trunk/gtk-sharp/; revision=26341
2004-04-29 21:21:57 +00:00
Duncan Mak
5c375bdc40
Add ChangeLog for my last commit per mkestner's request
...
svn path=/trunk/gtk-sharp/; revision=26335
2004-04-29 19:41:47 +00:00
Owen Fraser-Green
3294522bc5
Added entry for CanvasGroup public constructor addition.
...
svn path=/trunk/gtk-sharp/; revision=26330
2004-04-29 19:10:36 +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
5f4ee87b5c
2004-04-28 Mike Kestner <mkestner@ximian.com>
...
[Expanded from patch by John Luke attached to bug.]
* gdk/Gdk.metadata : rename Atom.Name to GetName so it props.
* gdk/Atom.custom : new string cast operator.
* sample/TestDnd.cs : fix Atom.Name reference
* sample/GtkDemo/DemoEditableCell.cs : fix a ListStore.Remove
ref broken by last commit.
[Fixes #57721 ]
svn path=/trunk/gtk-sharp/; revision=26208
2004-04-28 20:58:11 +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
2e3713a44f
2004-04-28 Mike Kestner <mkestner@ximian.com>
...
* Makefile.am : dist the public signing key baulig just added.
svn path=/trunk/gtk-sharp/; revision=26201
2004-04-28 19:30:39 +00:00
Mike Kestner
658130152a
2004-04-27 Mike Kestner <mkestner@ximian.com>
...
* gnome/glue/canvaspoints.c : remove some g_prints spotted by
Jorge Garcia.
svn path=/trunk/gtk-sharp/; revision=26099
2004-04-28 03:04:56 +00:00
Rachel Hestilow
aee0a1f894
2004-04-16 Rachel Hestilow <rachel@nullenvoid.com>
...
* generator/GObjectGen.cs: Added new generatable to handle
plain GObjects the same way we do subclasses.
* generator/ManualGen.cs: Make FromNative/FromNativeReturn virtual
to allow overriding.
* generator/SymbolTable.cs: Use GObjectGen instead of
ManualGen for GObject.
* generator/Makefile.am: Add GObjectGen.cs.
svn path=/trunk/gtk-sharp/; revision=25651
2004-04-18 03:19:15 +00:00
Mike Kestner
ed507416b2
2004-04-16 Boyd Timothy <btimothy@novell.com>
...
* gdk/Global.custom : properties to expose window manager spec
properties.
* gdk/glue/windowmanager.c : glue to retrieve window manager props
using gdk_property_get.
* gdk/glue/Makefile.am : add new file.
* gdk/glue/makefile.win32 : add new file.
svn path=/trunk/gtk-sharp/; revision=25611
2004-04-16 17:31:30 +00:00
Mike Kestner
3595f79bc3
2004-04-13 Mike Kestner <mkestner@ximian.com>
...
* glib/Value.cs : fix a csc-breaker.
svn path=/trunk/gtk-sharp/; revision=25437
2004-04-13 20:54:49 +00:00
Mike Kestner
3439b34bda
2004-04-12 Mike Kestner <mkestner@ximian.com>
...
* gnome/Program.custom : add ArgumentException for app_id containing
spaces. [fixes #56594 ]
svn path=/trunk/gtk-sharp/; revision=25374
2004-04-12 19:43:06 +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
Larry Ewing
bcb63e0e1d
2004-04-05 Larry Ewing <lewing@ximian.com>
...
* gnome/Gnome.metadata: Make data an array type so that the image
functions can be used.
* gnome/Print.custom: add a custom handler to print Pixbufs.
* gnome/Makefile.am: add Print.custom.
svn path=/trunk/gtk-sharp/; revision=25252
2004-04-09 16:58:07 +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
Gonzalo Paniagua Javier
7cdacd91af
2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
...
* glib/Value.cs: added StructLayout attribute as requested by the
runtime. Now --aot works again.
svn path=/trunk/gtk-sharp/; revision=25128
2004-04-07 03:41:13 +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
Mike Kestner
c461182425
2004-04-04 Mike Kestner <mkestner@ximian.com>
...
* pango/Layout.custom : increment an indexer. thanks to Moritz Balz
for the bug report and candidate patch.
svn path=/trunk/gtk-sharp/; revision=25046
2004-04-05 16:18:18 +00:00
Mike Kestner
7b15abe5fd
2004-04-04 Mike Kestner <mkestner@ximian.com>
...
* generator/BoxedGen.cs : DllImport glibsharpglue for value_create.
svn path=/trunk/gtk-sharp/; revision=25045
2004-04-05 16:06:49 +00:00
Mike Kestner
9e64b802b5
2004-04-04 Mike Kestner <mkestner@ximian.com>
...
* gnome/glue/canvasitem.c : add glue to override VMs.
* gnome/CanvasItem.cs : expose virtual methods for update, point,
realize, draw, and render.
svn path=/trunk/gtk-sharp/; revision=25040
2004-04-05 15:11:37 +00:00
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
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
Todd Berman
2190751eba
2004-04-02 Todd Berman <tberman@sevenl.net>
...
* configure.in: added new .pc files
* gtk-sharp.pc.in: modified to include Libs: line
* art/.cvsignore: added art-sharp.pc
* art/Makefile.am: added rules for installing .pc
* art/art-sharp.pc.in: new .pc file
* gconf/GConf/.cvsignore: added gconf-sharp.pc
* gconf/GConf/Makefile.am: added rules for installing .pc
* gconf/GConf/gconf-sharp.pc.in: new .pc file
* gda/.cvsignore: added gda-sharp.pc
* gda/Makefile.am: added rules for installing .pc
* gda/gda-sharp.pc.in: new .pc file
* glade/.cvsignore: added glade-sharp.pc
* glade/Makefile.am: added rules for installing .pc
* glade/glade-sharp.pc.in: new .pc file
* gnome/.cvsignore: added gnome-sharp.pc
* gnome/Makefile.am: added rules for installing .pc
* gnome/gnome-sharp.pc.in: new .pc file
* gnomedb/.cvsignore: added gnomedb-sharp.pc
* gnomedb/Makefile.am: added rules for installing .pc
* gnomedb/gnomedb-sharp.pc.in: new .pc file
* gtkhtml/.cvsignore: added gtkhtml-sharp.pc
* gtkhtml/Makefile.am: added rules for installing .pc
* gtkhtml/gtkhtml-sharp.pc.in: new .pc file
* rsvg/.cvsignore: added rsvg-sharp.pc
* rsvg/Makefile.am: added rules for installing .pc
* rsvg/rsvg-sharp.pc.in: new .pc file
* vte/.cvsignore: added vte-sharp.pc
* vte/Makefile.am: added rules for installing .pc
* vte/vte-sharp.pc.in: new .pc file
svn path=/trunk/gtk-sharp/; revision=24992
2004-04-03 05:12:17 +00:00
Mike Kestner
cd716a5979
2004-04-01 Mike Kestner <mkestner@ximian.com>
...
* art/Art.metadata : mark dst pass_as=out on Affine.Point
svn path=/trunk/gtk-sharp/; revision=24991
2004-04-03 04:50:59 +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
37738a3c26
2004-04-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
...
* gnome/IconTheme.custom : GetSearchPath impl [fixes #51599 ].
svn path=/trunk/gtk-sharp/; revision=24913
2004-04-01 17:40:54 +00:00
Mike Kestner
80824aafa7
2004-04-01 Joshua Tauberer <tauberer@for.net>
...
* gdk/Gdk.metadata : hide Region.GetRectangles
* gdk/Region.custom : implement Rectangles prop [fixes #55811 ]
svn path=/trunk/gtk-sharp/; revision=24912
2004-04-01 17:31:36 +00:00
Mike Kestner
f445ce3b19
2004-04-01 Mike Kestner <mkestner@ximian.com>
...
* glib/Value.cs : NULL check for g_value_get_string Thanks to Jeroen
Zwartepoorte for the bug report with patch [fixes #54979 ].
svn path=/trunk/gtk-sharp/; revision=24910
2004-04-01 17:10:27 +00:00
Mike Kestner
65570cfc50
2004-03-31 Mike Kestner <mkestner@ximian.com>
...
* configure.in : tagged for 0.18 and bumped release to 0.18.99
for cvs.
svn path=/trunk/gtk-sharp/; revision=24888
2004-03-31 21:51:49 +00:00
Miguel de Icaza
0c80f4c624
2004-03-31 Miguel de Icaza <miguel@ximian.com>
...
* configure.in: If monodoc is not found, then turn off
enable_monodoc, so the value is properly propagated.
svn path=/trunk/gtk-sharp/; revision=24864
2004-03-31 18:21:56 +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
f52a4bb014
2004-03-30 John Luke <jluke@cfl.rr.com>
...
[Reworked a bit by MK]
* Makefile.am : add doc dir
* configure.in : test for monodoc, expand doc/Makefile
* doc/Makefile.am : build and dist docs
* doc/makefile : kill
svn path=/trunk/gtk-sharp/; revision=24805
2004-03-30 22:32:46 +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
bdf45b396c
2004-03-30 Mike Kestner <mkestner@ximian.com>
...
* rsvg/Makefile.am : apply metadata to api
* rsvg/Rsvg.metadata : mark an array param
svn path=/trunk/gtk-sharp/; revision=24803
2004-03-30 20:37:03 +00:00
Todd Berman
72b79ede1f
please forgive, o great mike kestner :)
...
svn path=/trunk/gtk-sharp/; revision=24699
2004-03-29 05:26:18 +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
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
Mike Kestner
3f8bf503cf
2003-03-24 Jorn Baayen <jorn@nl.linux.org>
...
* gdk/Gdk.metadata : mark out param on Screen.GetMonitorGeometry.
svn path=/trunk/gtk-sharp/; revision=24536
2004-03-24 18:48:58 +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
Gonzalo Paniagua Javier
479c46730f
2004-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
...
* configure.in: if no C# compiler found, error out.
svn path=/trunk/gtk-sharp/; revision=24402
2004-03-22 06:23:07 +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
9861569931
2004-03-18 Mike Kestner <mkestner@ximian.com>
...
* configure.in : expand atk/glue/Makefile
* atk/Makefile.am : generate glue and build glue dir
* atk/makefile.win32 : ditto
* atk/glue/Makefile.am : build new glue
* atk/glue/makefile.win32 : build new glue
* atk/glue/vmglueheaders.h : new includes for vm glue
* atk/glue/win32dll.c : win dll building code
* generator/CodeGenerator.cs : add --gluelib-name and
--glue-filename argument parsing.
* generator/GenerationInfo.cs : add GluelibName, GlueFilename,
GlueEnabled, GlueWriter, and CloseGlueWriter.
* generator/ObjectGen.cs : Add VirtualMethod glue generation
* generator/Statistics.cs : Add warning message for virtual
method throttling.
svn path=/trunk/gtk-sharp/; revision=24292
2004-03-18 20:56:32 +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
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
f5289b6c93
2004-03-16 Mike Kestner <mkestner@ximian.com>
...
* generator/Signal.cs : streamline the remove code a tad.
svn path=/trunk/gtk-sharp/; revision=24170
2004-03-16 21:21:11 +00:00
Mike Kestner
c1878dd859
2004-03-16 Mike Kestner <mkestner@ximian.com>
...
* gdk/Makefile.am : add new file.
* gdk/Size.cs : implementation of a Size value type.
svn path=/trunk/gtk-sharp/; revision=24164
2004-03-16 20:43:14 +00:00
Mike Kestner
7cf239155e
2004-03-16 Mike Kestner <mkestner@ximian.com>
...
* generator/Signal.cs : remove a C.WL.
svn path=/trunk/gtk-sharp/; revision=24161
2004-03-16 20:10:05 +00:00
Mike Kestner
1a1f5e1702
2004-03-16 Mike Kestner <mkestner@ximian.com>
...
* generator/ObjectGen.cs : don't gen a Signals hash per class.
* generator/Signal.cs : gen checks for [ConnectBefore].
* generator/SignalHandler.cs : add connect_flags param to ctor.
* glib/ConnectBeforeAttribute.cs : new attr
* glib/Makefile.am : add new file
* glib/Object.cs : add before/after hashes and EventLists
* gnome/CanvasProxy.cs : use AfterSignals and AfterHandlers.
svn path=/trunk/gtk-sharp/; revision=24157
2004-03-16 19:43:04 +00:00
John Luke
51a6b95ed4
2004-03-14 John Luke <jluke@cfl.rr.com>
...
* parser/gapi-fixup.in:
* generator/gapi-codegen.in: s/@MONO@/@RUNTIME@
svn path=/trunk/gtk-sharp/; revision=24026
2004-03-14 21:51:37 +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
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
Gonzalo Paniagua Javier
4dcdbb53fe
2004-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
...
* glue/Makefile.am:
* glue/makefile.win32:
* glue/thread-notify.c: dropped.
* gtk/ThreadNotify.cs: use just Idle.Add, which is what the deprecated
gda_input_add does. No more P/Invoke here.
svn path=/trunk/gtk-sharp/; revision=23758
2004-03-06 18:48:20 +00:00
Gonzalo Paniagua Javier
dea79f5902
2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
...
* glue/Makefile.am:
* glue/makefile.win32: added thread-notify.o
* glue/thread-notify.c: handles pipe creation/read/write/close for
ThreadNotify.
* gtk/ThreadNotify.cs: P/Invoke the thread-notify code instead of libc
functions.
svn path=/trunk/gtk-sharp/; revision=23734
2004-03-05 04:20:09 +00:00
Mike Kestner
cb2e88b1a7
2004-02-26 Mike Kestner <mkestner@ximian.com>
...
* configure.in : tagged 0.17 and bumped cvs version.
svn path=/trunk/gtk-sharp/; revision=23504
2004-02-26 21:05:53 +00:00
Mike Kestner
fdc89b4d16
2004-02-26 Mike Kestner <mkestner@ximian.com>
...
* atk/Atk.metadata : hide some funky api
* atk/atk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=23500
2004-02-26 19:49:23 +00:00
Mike Kestner
96ab93e0f6
2004-02-26 Mike Kestner <mkestner@ximian.com>
...
* gnome/GtkSharp.* : move to Gnome namespace
* gnome/CanvasProxy.cs : update event handler namespaces
* gnome/voidObject*.cs : internalize
svn path=/trunk/gtk-sharp/; revision=23496
2004-02-26 19:00:18 +00:00
Mike Kestner
13f42d0b30
2004-02-24 Mike Kestner <mkestner@ximian.com>
...
* pango/AttrIterator.custom : manually implement SList method.
* pango/GlyphItem.custom : manually implement SList method.
* pango/Layout.custom : manually implement SList method.
* pango/Pango.metadata : hide some SList methods.
* pango/pango-api.xml : regen.
svn path=/trunk/gtk-sharp/; revision=23410
2004-02-24 18:00:40 +00:00
Mike Kestner
9bd46f1374
2004-02-23 Mike Kestner <mkestner@ximian.com>
...
* pango/Pango.metadata : mark some out params on Layout.
* pango/pango-api.xml : regen
[fixes #54720 ]
svn path=/trunk/gtk-sharp/; revision=23375
2004-02-23 18:39:16 +00:00
Mike Kestner
77f25f80ea
2004-02-23 Thiago Milczarek Say��o <sayao@brturbo.com>
...
* gtk/TextBuffer.custom : add TextIter parm to InsertWithTags method.
svn path=/trunk/gtk-sharp/; revision=23374
2004-02-23 17:43:13 +00:00
Mike Kestner
daaa22f5b6
2004-02-21 Mike Kestner <mkestner@ximian.com>
...
* pango/Pango.metadata : mark some out params on Layout.
* pango/pango-api.xml : regen
[fixes #54696 ]
svn path=/trunk/gtk-sharp/; revision=23308
2004-02-21 18:04:05 +00:00
Mike Kestner
d3604e47c8
2004-02-21 Mike Kestner <mkestner@ximian.com>
...
* pango/Pango.metadata : mark some out params on ParseMarkup.
* pango/pango-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=23307
2004-02-21 17:56:30 +00:00
Mike Kestner
db137117c4
2004-02-20 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : hide NoExpose, Client, Setting, WindowState,
and Proximity events.
* gdk/EventClient.cs : glue-based manual implementation.
* gdk/EventClient.custom : kill
* gdk/EventNoExpose.custom : kill
* gdk/EventProximity.cs : glue-based manual implementation.
* gdk/EventProximity.custom : kill
* gdk/EventSetting.cs : glue-based manual implementation.
* gdk/EventSetting.custom : kill
* gdk/EventWindowState.cs : glue-based manual implementation.
* gdk/EventWindowState.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mappings.
* glue/event.cs : expose event struct fields.
* gtk/Application.cs : simplify CurrentEvent prop.
svn path=/trunk/gtk-sharp/; revision=23300
2004-02-20 22:33:32 +00:00
Mike Kestner
bb22b822a0
2004-02-20 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : hide Property, Selection, and DND events
* gdk/EventDND.cs : glue-based manual implementation.
* gdk/EventDND.custom : kill
* gdk/EventProperty.cs : glue-based manual implementation.
* gdk/EventProperty.custom : kill
* gdk/EventSelection.cs : glue-based manual implementation.
* gdk/EventSelection.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mappings.
* glue/event.cs : expose DND, Property and Selection struct fields.
svn path=/trunk/gtk-sharp/; revision=23289
2004-02-20 17:55:03 +00:00
Mike Kestner
1d97632958
2004-02-19 Thiago Milczarek Say��o <sayao@brturbo.com>
...
* gtk/TextBuffer.custom : new InsertWithTags method.
svn path=/trunk/gtk-sharp/; revision=23262
2004-02-19 23:18:43 +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
b2bbe4483b
2004-02-18 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : hide EventCrossing.
* gdk/EventCrossing.cs : glue-based manual implementation.
* gdk/EventCrossing.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventCrossing.
* glue/event.cs : expose Crossing struct fields.
svn path=/trunk/gtk-sharp/; revision=23235
2004-02-18 20:05:03 +00:00
Mike Kestner
99793aa24f
2004-02-18 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : hide EventVisibility.
* gdk/EventVisibility.cs : glue-based manual implementation.
* gdk/EventVisibility.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventVisibility.
* glue/event.cs : expose Visibility struct fields.
svn path=/trunk/gtk-sharp/; revision=23227
2004-02-18 18:16:24 +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
1ca02083f6
2004-02-18 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : hide EventScroll
* gdk/EventScroll.cs : glue-based manual implementation.
* gdk/EventScroll.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventScroll.
* glue/event.cs : expose Scroll struct fields.
svn path=/trunk/gtk-sharp/; revision=23222
2004-02-18 16:55:54 +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
Radek Doulik
21ddf92108
2004-02-17 Radek Doulik <rodo@ximian.com>
...
* glib/Value.cs: use g_value_set_pointer for
GType.Pointer/IWrapper objects
* glib/TypeConverter.cs: return GType.Pointer for Opaque objects
which do not have GType property
svn path=/trunk/gtk-sharp/; revision=23197
2004-02-17 21:49:24 +00:00
John Luke
d8fa643aca
2004-02-17 John Luke <jluke@cfl.rr.com>
...
* gdk/Gdk.metadata: set Gdk.Window.Cursor null_ok
* gdk/gdk-api.xml: regen
svn path=/trunk/gtk-sharp/; revision=23196
2004-02-17 21:29:16 +00:00
Mike Kestner
dccab828b1
2004-02-17 Jorn Baayen <jorn@nl.linux.org>
...
* gtk/SelectionData.custom : fix get_data_pointer glue method name.
svn path=/trunk/gtk-sharp/; revision=23194
2004-02-17 21:07:35 +00:00
Mike Kestner
46b9b156a4
2004-02-16 Mike Kestner <mkestner@ximian.com>
...
* glib/TypeConverter.cs : check for GType prop on all types,
not just value types, before we fall back to managed values.
* glib/Value.cs : use handle to set_boxed for IWrappers.
svn path=/trunk/gtk-sharp/; revision=23158
2004-02-17 05:09:13 +00:00
Mike Kestner
320c4f713d
2004-02-16 Mike Kestner <mkestner@ximian.com>
...
* gdk/EventKey.cs : add a Key prop to return casted KeyVals.
svn path=/trunk/gtk-sharp/; revision=23152
2004-02-16 22:04:27 +00:00
Mike Kestner
62c466e8b4
2004-02-16 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : hide EventKey
* gdk/EventKey.cs : glue-based manual implementation.
* gdk/EventKey.custom : killed
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventKey.
* glue/event.cs : expose key struct fields.
svn path=/trunk/gtk-sharp/; revision=23140
2004-02-16 18:41:52 +00:00
Mike Kestner
ad8ca4e74d
2004-02-16 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : hide EventAny
* gdk/Event.cs : make this a full EventAny implementation.
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : map EventAny to Gdk.Event.
* glue/event.cs : expose window and send_event fields.
svn path=/trunk/gtk-sharp/; revision=23134
2004-02-16 17:48:14 +00:00
Todd Berman
b44b408e52
2004-02-14 Todd Berman <tberman@sevenl.net>
...
* gtk/Gtk.metadata : hide Widget.SetState
* gtk/Widget.custom : add State get; set; property
* glue/widget.c : add glue for get_State ();
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=23096
2004-02-14 17:28:11 +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
Mike Kestner
f692bf6d37
2004-02-12 Mike Kestner <mkestner@ximian.com>
...
* gnome/Gnome.metadata : hide the GList API
* gnome/*.custom : manually wrap GList api using typed arrays
* gnome/gnome-api.xml : regen.
svn path=/trunk/gtk-sharp/; revision=23045
2004-02-12 22:38:43 +00:00
Mike Kestner
bba2334f84
2004-02-12 Mike Kestner <mkestner@ximian.com>
...
* glade/Glade.metadata : hide a GList method.
* glade/Makefile.in : run gapi-fixup
* glade/XML.custom : return Widget[] from GetWidgetPrefix.
* glade/glade-api.xml : regen
* pango/Pango.metadata : hide a dubious GList method.
* pango/pango-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=23043
2004-02-12 21:40:01 +00:00
Ben Maurer
f555d60a7a
fixup hash
...
svn path=/trunk/gtk-sharp/; revision=23042
2004-02-12 21:28:42 +00:00
Mike Kestner
d54f980494
2004-02-12 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : hide the GList API
* gdk/*.custom : manually wrap GList api using typed arrays
* gdk/gdk-api.xml : regen.
svn path=/trunk/gtk-sharp/; revision=23035
2004-02-12 18:45:19 +00:00
Mike Kestner
766b004949
2004-02-12 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : hide the GSList API
* gdk/*.custom : manually wrap GSList api using typed arrays
* gdk/gdk-api.xml : regen.
svn path=/trunk/gtk-sharp/; revision=23031
2004-02-12 17:31:37 +00:00
Mike Kestner
6ea443884a
2004-02-12 Mike Kestner <mkestner@ximian.com>
...
* gtk/Accel.custom : s/List/SList
* gtk/Stock.custom : ditto
* gtk/TextIter.custom : ditto
svn path=/trunk/gtk-sharp/; revision=23029
2004-02-12 16:51:25 +00:00
Zoltan Varga
d39ef22678
2004-02-12 Zoltan Varga <vargaz@freemail.hu>
...
* glib/time_t_CustomMarshaler.cs: Update after custom marshaling
changes.
svn path=/trunk/gtk-sharp/; revision=23018
2004-02-12 12:26:25 +00:00
Mike Kestner
f526347d5f
2004-02-11 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide the GSList API
* gtk/*.custom : manually wrap GSList api using typed arrays
* gtk/gtk-api.xml : regen.
svn path=/trunk/gtk-sharp/; revision=22997
2004-02-11 23:12:14 +00:00
Mike Kestner
835866aab8
2004-02-11 Mike Kestner <mkestner@ximian.com>
...
* gtk/*.custom : don't use element_type ctor for GObject lists.
svn path=/trunk/gtk-sharp/; revision=22996
2004-02-11 22:23:11 +00:00
Mike Kestner
2419dff1d9
2004-02-11 Mike Kestner <mkestner@ximian.com>
...
* gtk/*.custom : return 0 length arrays, not null.
svn path=/trunk/gtk-sharp/; revision=22992
2004-02-11 21:58:47 +00:00
Mike Kestner
1e15749553
2004-02-11 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : hide the GList API
* gtk/*.custom : manually wrap GList api using typed arrays
* gtk/gtk-api.xml : regen.
svn path=/trunk/gtk-sharp/; revision=22990
2004-02-11 21:34:32 +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
Mike Kestner
ced4bb91d9
2004-02-07 Mike Kestner <mkestner@ximian.com>
...
* configure.in : tagged 0.16 and bumped cvs version.
svn path=/trunk/gtk-sharp/; revision=22870
2004-02-08 00:37:04 +00:00
Mike Kestner
3d95f23f6f
2004-02-07 Mike Kestner <mkestner@ximian.com>
...
* generator/ObjectGen.cs : oops, remove a couple C.WLs.
svn path=/trunk/gtk-sharp/; revision=22866
2004-02-07 23:43:35 +00:00
Mike Kestner
f91aeb5425
2004-02-07 Gustavo Giraldez <gustavo.giraldez@gmx.net>
...
* atk/Makefile.in : fix copy/paste error in --assembly-name.
* generator/ObjectGen.cs : rework ObjectManager generation code.
* glade/Makefile.in : fix copy/paste error in --assembly-name.
svn path=/trunk/gtk-sharp/; revision=22865
2004-02-07 23:24:15 +00:00
Mike Kestner
dc7145103d
2004-02-06 Mike Kestner <mkestner@ximian.com>
...
* generator/Method.cs : for Opaque/Object retvals, if raw_ret is
NULL, return null instead of an object with a NULL handle.
svn path=/trunk/gtk-sharp/; revision=22847
2004-02-06 21:33:14 +00:00
Mike Kestner
cbd7afb761
2004-02-06 Mike Kestner <mkestner@ximian.com>
...
* glib/time_t_CustomMarshaler.cs : use TimeSpan.TotalSeconds, not
TimeSpan.Seconds.
svn path=/trunk/gtk-sharp/; revision=22842
2004-02-06 19:49:02 +00:00
John Luke
0fb19cdc37
2004-02-06 John Luke <jluke@cfl.rr.com>
...
* gtk/Gtk.metadata: hide unneeded RadioMenuItem ctors
* gtk/RadioMenuItem.custom: add ctor to create a new group
* gtk/gtk-api.xml: regen
svn path=/trunk/gtk-sharp/; revision=22841
2004-02-06 18:56:00 +00:00
Mike Kestner
4251d47fe9
2004-02-04 Mike Kestner <mkestner@ximian.com>
...
* generator/CustomMarshalerGen.cs : impl MarshalReturnType.
* generator/Method.cs : add CustomMarshalerGen return type handling.
* generator/Property.cs : rework property type selection.
* generator/SymbolTable.cs : add time_t mapping
* glib/time_t_CustomMarshaler.cs : impl native to managed methods.
* glue/time_t.c : remove debugging code.
svn path=/trunk/gtk-sharp/; revision=22772
2004-02-04 19:54:46 +00:00
Mike Kestner
1a679f2356
2004-02-03 Mike Kestner <mkestner@ximian.com>
...
* glib/List.cs : add a ctor overload to create empty lists with
a specific element_type.
* glib/SList.cs : ditto
svn path=/trunk/gtk-sharp/; revision=22765
2004-02-04 17:21:22 +00:00
Mike Kestner
75f7d1226d
2004-02-03 Mike Kestner <mkestner@ximian.com>
...
* glib/Value.cs : remove double free of ManagedValues. Fixes the
unfiled (cough, tberman, cough) bug in managed types as tree
store values.
svn path=/trunk/gtk-sharp/; revision=22745
2004-02-03 15:42:58 +00:00
Mike Kestner
d723bf3cef
2004-02-03 Mike Kestner <mkestner@ximian.com>
...
* glib/ManagedValue.cs : null check on Free.
* glib/Value.cs : some ManagedValue rework because we unset now.
svn path=/trunk/gtk-sharp/; revision=22728
2004-02-03 06:24:42 +00:00
Mike Kestner
d4c8fc78c7
2004-02-02 Mike Kestner <mkestner@ximian.com>
...
* generator/CustomMarshalerGen.cs : beginnings of a new generatable.
* generator/SymbolTable.cs : mangle interface keyword to iface.
svn path=/trunk/gtk-sharp/; revision=22712
2004-02-02 21:35:01 +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
Martin Willemoes Hansen
058077b7f1
* generator/ClassBase.cs: Converted String uses to the string alias.
...
* generator/ConstStringGen.cs: Ditto
* generator/Ctor.cs: Ditto
* generator/EnumGen.cs: Ditto
* generator/ManualGen.cs: Ditto
* generator/SignalHandler.cs: Ditto
* generator/StringGen.cs: Ditto
svn path=/trunk/gtk-sharp/; revision=22710
2004-02-02 20:19:43 +00:00
Mike Kestner
84781a4d74
2004-02-02 Mike Kestner <mkestner@ximian.com>
...
* glib/Value.cs : add dispose queue and idle handler so we can
unset GValues that are created by the binding ctors.
[Fixes #53490 ]
svn path=/trunk/gtk-sharp/; revision=22709
2004-02-02 18:21:02 +00:00
Todd Berman
7fec283317
2004-02-02 Todd berman <tberman@sevenl.net>
...
* gdk/Event*.custom: added fix for bug #53729 .
svn path=/trunk/gtk-sharp/; revision=22686
2004-02-02 05:08:24 +00:00
Todd Berman
565c3252b9
2004-01-30 Todd Berman <tberman@sevenl.net>
...
* gtk/Gtk.metadata: out fix for TreeView.GetBackgroundArea and
TextView.GetIterLocation.
* gtk/gtk-api.xml: regen
svn path=/trunk/gtk-sharp/; revision=22608
2004-01-30 16:03:47 +00:00
Mike Kestner
ae5ab001be
2004-01-29 Mike Kestner <mkestner@ximian.com>
...
* glib/time_t_CustomMarshaler.cs : new custom marshaler form time_t.
* glue/time_t.c : glue for time_t.
* glue/Makefile.am : add time_t.c
* glue/makefile.win32 : ditto
svn path=/trunk/gtk-sharp/; revision=22595
2004-01-29 21:20:59 +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
Mike Kestner
9a6216e07e
2004-01-28 John Luke <jluke@cfl.rr.com>
...
* glade/XML.custom : some null checking for crash prevention.
[Fixes #47017 ]
svn path=/trunk/gtk-sharp/; revision=22585
2004-01-28 22:28:38 +00:00
Mike Kestner
0b41ef6a58
2004-01-28 Mike Kestner <mkestner@ximian.com>
...
* gtk/gtk-api.xml : regen
* parser/gapi2xml.pl : fix signals parsing where a STRUCT_OFFSET
is not present in the signal_new call.
* parser/gapi_pp.pl : ignore #ident lines.
* vte/vte-api.xml : regen
[Fixes #53189 ]
svn path=/trunk/gtk-sharp/; revision=22583
2004-01-28 21:44:25 +00:00
Mike Kestner
80257d2b9a
2004-01-27 Mike Kestner <mkestner@ximian.com>
...
* gtk/SelectionData.custom : guard against null in get_Text.
[Fixes #52713 ]
svn path=/trunk/gtk-sharp/; revision=22566
2004-01-28 05:12:55 +00:00
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
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
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
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
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
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
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
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
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
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
c0e4552e54
more Gtk.ResponseType overloads for Gtk.Dialog
...
svn path=/trunk/gtk-sharp/; revision=22031
2004-01-13 21:09:32 +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
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
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
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
Mike Kestner
027410def9
2003-12-12 Mike Kestner <mkestner@ximian.com>
...
* generator/CallbackGen.cs : kill some redundant generation
* generator/MethodBody.cs : pass array parameters as arrays of
the corresponding native type.
svn path=/trunk/gtk-sharp/; revision=21083
2003-12-12 22:56:28 +00:00
Mike Kestner
406320a945
2003-12-12 Mike Kestner <mkestner@ximian.com>
...
* gnome/gnome-api.xml : regen'd
* parser/gapi2xml.pl : handle typedef enum _foo foo;
* parser/gapi-parser : support <exclude> elements in addition to <dir>
and <file> to specify the sources to be parsed.
svn path=/trunk/gtk-sharp/; revision=21081
2003-12-12 22:36:52 +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
Mike Kestner
ba1d3996a4
2003-12-10 Mike Kestner <mkestner@ximian.com>
...
* generator/CallbackGen.cs : kill ref_owned generation
* generator/ClassBase.cs : use simple GetObject w/o ref_owned
* generator/ManagedCallString.cs : new class to generate native
to managed method calls.
* generator/Method.cs : kill ref_owned generation
* generator/MethodBody.cs : kill ref_owned generation
* generator/Property.cs : kill ref_owned generation
* generator/Signal.cs : generate delegates and vtable connect
methods for all signals. Mark VMs with new attr.
* generator/StructBase.cs : kill ref_owned generation
* glib/DefaultSignalHandlerAttribute.cs : new attr to mark
virtual methods.
* glib/Object.cs : add overload for GetObject that defaults
to ref_owned=false. Add extern for VM override glue.
svn path=/trunk/gtk-sharp/; revision=21005
2003-12-10 22:56:49 +00:00
Mike Kestner
07180adf1f
fix name in Luciano's entry
...
svn path=/trunk/gtk-sharp/; revision=20939
2003-12-09 18:38:05 +00:00
Mike Kestner
90cad8de89
2003-12-08 Luciano M. <martorella@sssup.it>
...
* gdk/Gdk.metadata : ref/array tags
* gdk/Colormap.custom : removed
* gdk/gdk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=20938
2003-12-09 18:08:14 +00:00
Mike Kestner
bc37b4ff76
2003-12-08 Mike Kestner <mkestner@ximian.com>
...
* generator/Signal.cs : add virtual method generation for the
default signal handlers.
* glib/Object.cs : add g_signal_chain_from_overridden extern
svn path=/trunk/gtk-sharp/; revision=20920
2003-12-09 05:01:22 +00:00
Mike Kestner
968230bd25
2003-12-08 Mike Kestner <mkestner@ximian.com>
...
* generator/VMSignature.cs : new class to generate virtual method
signatures for default signal handlers.
svn path=/trunk/gtk-sharp/; revision=20888
2003-12-08 19:14:12 +00:00
Mike Kestner
9c3f47e5d3
2003-12-08 Mike Kestner <mkestner@ximian.com>
...
* generator/ObjectGen.cs : stupid little whitespace change
svn path=/trunk/gtk-sharp/; revision=20887
2003-12-08 19:05:03 +00:00
Mike Kestner
fb9e8980a4
2003-12-08 Mike Kestner <mkestner@ximian.com>
...
* glue/type.c : new glue for g_signal_override_class_closure
svn path=/trunk/gtk-sharp/; revision=20885
2003-12-08 18:59:16 +00:00
Mike Kestner
90130994c0
2003-12-07 Mike Kestner <mkestner@ximian.com>
...
* gnome/Gnome.metadata : About ctor's logo_pixbuf is null_ok
* gnome/gnome-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=20836
2003-12-07 15:49:23 +00:00
Mike Kestner
4ff326786d
2003-12-04 Mike Kestner <mkestner@ximian.com>
...
* glib/Object.cs : kill unused WrapperClassAttribute. [#51458 ]
svn path=/trunk/gtk-sharp/; revision=20781
2003-12-04 17:59:31 +00:00
Mike Kestner
2b71c9172e
2003-12-04 Mike Kestner <mkestner@ximian.com>
...
* parser/gapi2xml.pl : fix for const param handling [#50295 ]
svn path=/trunk/gtk-sharp/; revision=20780
2003-12-04 17:52:02 +00:00
Mike Kestner
f61ac5c89c
2003-12-03 Mike Kestner <mkestner@speakeasy.net>
...
* generator/CallbackGen.cs : use new sig and isig classes.
* generator/Ctor.cs : use new sig, isig, and body classes.
* generator/ImportSignature.cs : isig code spun out from Parameters.
* generator/Method.cs : use new sig, isig, and body classes.
* generator/MethodBody.cs : spun Initialize, GetCallString,
Finish, and Exception throwing methods from Parameters.
* generator/Parameters.cs : Slayed the evilness that was CreateSignature.
It is now essentially a container for Parameter classes instead of a
tangled mess of code trying to do everything remotely related to
parameter lists. Also completely killed the VAType/IsVarArgs stuff,
as it can be done with the array and params attrs instead.
* generator/Property.cs : use new sig class.
* generator/Signature.cs : new method sig generator extracted from
Parameters class. add "params" keyword support for tagged parameters.
* gnome/Gnome.metadata : hide IconList.GetSearchPath (to be manual)
* gnome/gnome-api.xml : regen
* gtk/ListStore.custom : kill unneeded overload
* gtk/TreeStore.custom : kill unneeded overload
* gtk/Gtk.metadata : mark params/args on *store_newv
* gtk/gtk-api.xml : regenerated
svn path=/trunk/gtk-sharp/; revision=20755
2003-12-03 23:08:14 +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
cff58b1cb2
2003-11-30 Mike Kestner <mkestner@speakeasy.net>
...
* art/art-symbols.xml : add some simple types to clean up generation.
* art/Makefile.in : add art-symbols.xml
svn path=/trunk/gtk-sharp/; revision=20655
2003-12-01 04:43:20 +00:00
Mike Kestner
96f6adc6a7
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
...
* gtk/Gtk.metadata : fix targets for Drag.SourceSet.
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=20620
2003-11-30 03:45:41 +00:00
Mike Kestner
c1916a0aa0
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
...
* generator/Parameters.cs : handle null_ok for arrays.
* gtk/Gtk.metadata : mark a null_ok in Drag.DestSet
* gtk/gtk-api.xml : regen
svn path=/trunk/gtk-sharp/; revision=20619
2003-11-30 03:25:35 +00:00
Mike Kestner
5e2267fe44
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
...
* gdk/Pixbuf.custom : revert Miguel's commit.
svn path=/trunk/gtk-sharp/; revision=20617
2003-11-30 03:07:41 +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
Mike Kestner
c8afbd3ca2
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
...
* generator/StructBase.cs : remove ==/!= operator generation.
svn path=/trunk/gtk-sharp/; revision=20611
2003-11-29 23:12:54 +00:00
Miguel de Icaza
8fce5c1f4b
Forgot my ChangeLog entries
...
svn path=/trunk/gtk-sharp/; revision=20608
2003-11-29 22:25:32 +00:00
Mike Kestner
24675d159c
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
...
* gdk/Gdk.metadata : add some array attrs to Pixbuf ctors.
* gdk/Pixbuf.custom : remove unneeded overloads.
* gdk/gdk-api.xml : regenerated
svn path=/trunk/gtk-sharp/; revision=20604
2003-11-29 21:55:28 +00:00
Mike Kestner
c2d44cbb6a
2003-11-23 Mike Kestner <mkestner@ximian.com>
...
* generator/SignalHandler.cs : use CONNECT_AFTER.
svn path=/trunk/gtk-sharp/; revision=20360
2003-11-23 21:43:55 +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
Mike Kestner
5cebcec983
2003-11-19 Peter Williams <peter@newton.cx>
...
* gtk/Gtk.metadata: Add some array attributes for some "type *elem,
int n_elem" array params.
svn path=/trunk/gtk-sharp/; revision=20251
2003-11-19 23:12:47 +00:00
Mike Kestner
cf901a483b
2003-11-19 Mike Kestner <mkestner@ximian.com>
...
* parser/gapi_pp.pl : handle files and dirs in ARGV.
* parser/gapi2xml.pl : deal with struct keyword in param decls
* parser/gapi-parser : handle <file> elements.
svn path=/trunk/gtk-sharp/; revision=20238
2003-11-19 18:44:01 +00:00
Mike Kestner
77a2ac2405
2003-11-18 Mike Kestner <mkestner@ximian.com>
...
* configure.in : tagged for 0.14 and bumping VERSION.
svn path=/trunk/gtk-sharp/; revision=20211
2003-11-19 02:26:47 +00:00
Mike Kestner
1da954aed6
2003-11-18 Mike Kestner <mkestner@ximian.com>
...
* gtkhtml/Makefile.in : make the install target conditional too.
svn path=/trunk/gtk-sharp/; revision=20208
2003-11-19 01:50:07 +00:00
Mike Kestner
da2c698abc
2003-11-18 Moritz Balz <verteiler@mbalz.de>
...
* gdk/Window.custom : remove Visible and Viewable since the Is*
methods are now gen'd as properties.
svn path=/trunk/gtk-sharp/; revision=20202
2003-11-18 21:59:18 +00:00
Mike Kestner
3ecf658ac2
2003-11-18 Mike Kestner <mkestner@ximian.com>
...
* pango/Pango.metadata : mark ref params on LayoutLine.GetExtents
and GetPixelExtents. [Fixes #50338 ]
* pango/pango-api.xml : regenerated.
svn path=/trunk/gtk-sharp/; revision=20199
2003-11-18 21:47:57 +00:00
Mike Kestner
4c24cd0747
2003-11-18 Peter Williams <peter@newton.cx>
...
* gtk/NodeStore.cs (GetNode): New public function. Patch refactored
a bit to eliminate code duplication with get_node_cb.
svn path=/trunk/gtk-sharp/; revision=20188
2003-11-18 20:13:39 +00:00
John Luke
e71f1cda17
2003-11-18 John Luke <jluke@cfl.rr.com>
...
* configure.in: test for gtkhtml3
* gtkhtml/Makefile.in: build conditionally
svn path=/trunk/gtk-sharp/; revision=20184
2003-11-18 19:57:05 +00:00
Mike Kestner
45faa30e22
2003-11-18 Mike Kestner <mkestner@ximian.com>
...
* gdk/Pixbuf.custom : resurrect the stream/resource ctors. rename
LoadResource to LoadFromResource for the string overload.
* gdk/PixbufLoader.custom: add an internal prop to get an unwrapped
pixbuf handle.
svn path=/trunk/gtk-sharp/; revision=20183
2003-11-18 19:10:36 +00:00
Gonzalo Paniagua Javier
6506bcb5cc
2003-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
...
* gdk/Pixbuf.custom:
(LoadResource (assembly, resource)): a null assembly uses the calling
assembly.
svn path=/trunk/gtk-sharp/; revision=20124
2003-11-17 18:54:07 +00:00
Ettore Perazzoli
c3b09b0d5b
* gdk/Pixbuf.custom: Removed the Assembly constructors.
...
(Pixbuf.LoadResource (string)): New.
(Pixbuf.LoadResource (Assembly, string)): New.
svn path=/trunk/gtk-sharp/; revision=20103
2003-11-17 07:38:40 +00:00
Mike Kestner
62a858e0cd
2003-11-16 Mike Kestner <mkestner@ximian.com>
...
* generator/Parameters: handle array+len param pairs.
* gtk/Gtk.metadata : unhide DestDefaults and mark targets param of
drag_dest_set as array.
* gtk/gtk-api.xml : regenerate
svn path=/trunk/gtk-sharp/; revision=20096
2003-11-17 03:44:32 +00:00
Mike Kestner
8c66c5c7c6
2003-11-14 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : fully qualify attr paths
* parser/gapi-fixup.cs : compile a path expression per Ben Maurer
suggestion.
svn path=/trunk/gtk-sharp/; revision=20013
2003-11-14 22:34:07 +00:00
Mike Kestner
0a15e37472
2003-11-14 Mike Kestner <mkestner@ximian.com>
...
* configure.in : update VERSION to 0.14. Tagged 0.13.
svn path=/trunk/gtk-sharp/; revision=20002
2003-11-14 19:14:31 +00:00
Mike Kestner
5dd6cef552
2003-11-13 Mike Kestner <mkestner@ximian.com>
...
* generator/SignalHandler.cs : guard against destroyed signalhandlers.
svn path=/trunk/gtk-sharp/; revision=19982
2003-11-14 03:05:20 +00:00
Mike Kestner
d69268abbf
2003-11-07 Mike Kestner <mkestner@ximian.com>
...
* configure.in : add mono check. expand wrapper scripts
* generator/Makefile.in : use install. install a gapi-codegen wrapper.
* generator/SymbolTable.cs : add SimpleGen for short
* generator/gapi-codegen.in : new wrapper script in file.
* parser/Makefile.in : use install. install a gapi-fixup wrapper.
* generator/gapi-fixup.in : new wrapper script in file.
* parser/gapi2xml.pl : deal with non-namespaced enums. ignore
forward struct declarations.
svn path=/trunk/gtk-sharp/; revision=19712
2003-11-07 18:14:35 +00:00
Mike Kestner
b57221cf44
2003-11-05 Mike Kestner <mkestner@ximian.com>
...
* gtk/ITreeNode.cs : make Parent readonly
* gtk/TreeNode.cs : use an internal method to set parent on the
child, and set child.Parent to null in RemoveChild.
svn path=/trunk/gtk-sharp/; revision=19651
2003-11-05 22:11:45 +00:00
Mike Kestner
7553348291
2003-11-05 Moritz Balz <verteiler@mbalz.de>
...
* gdk/Window.custom : System.Drawing.Rectangle/Point customizations
svn path=/trunk/gtk-sharp/; revision=19650
2003-11-05 21:40:52 +00:00
Mike Kestner
58b580c26f
2003-11-04 Mike Kestner <mkestner@ximian.com>
...
* gtk/TreeNodeAttribute.cs : sealed per Ben Maurer's suggestion.
* gtk/TreeNodeValueAttribute.cs : ditto
svn path=/trunk/gtk-sharp/; revision=19648
2003-11-05 21:25:32 +00:00
Mike Kestner
912980c396
2003-11-04 Mike Kestner <mkestner@ximian.com>
...
* glib/Value.cs : add set to Val prop
* glue/Makefile.am : build nodestore.c
* glue/makefile.win32 : link nodestore.o
* glue/nodestore.c : new, glue for TreeModel implementation
* gtk/NodeStore.cs : new tree store implementation
* gtk/ITreeNode.cs : new interface for nodestore node types
* gtk/TreeNode.cs : abstract class for deriving nodestore nodes
* gtk/TreeNodeAttribute.cs : tree node marking attr
* gtk/TreeNodeValueAttribute.cs : node column marking attr
* gtk/TreeView.custom : add ctor(NodeStore)
svn path=/trunk/gtk-sharp/; revision=19630
2003-11-04 23:20:15 +00:00
John Luke
8c74eb6186
* gtk/Gtk.metadata: set correct preferred constructor for button
...
* gtk/gtk-api.xml: regenerated
svn path=/trunk/gtk-sharp/; revision=19628
2003-11-04 22:52:11 +00:00
John Luke
6272b94c05
2003-11-04 John Luke <jluke@cfl.rr.com>
...
* sources/makefile: add gstreamer 0.6.4 sources
* sources/gstreamer-parse.patch: fixes to parse gst
* gst/Gst.metadata: new metadata
* gst/Makefile.in: add gapi-fixup to Makefile
* gst/gst-api.xml: new api file for 0.6.4
svn path=/trunk/gtk-sharp/; revision=19625
2003-11-04 21:56:24 +00:00
Mike Kestner
7ade209999
2003-11-02 Mike Kestner <mkestner@ximian.com>
...
* generator/CallbackGen.cs : use a temporary ret value if there
is any cleanup to be done after the call. Thanks to John Luke
for a patch which identified the problem.
svn path=/trunk/gtk-sharp/; revision=19561
2003-11-03 01:36:55 +00:00
Radek Doulik
3fb667172b
2003-11-01 Radek Doulik <rodo@ximian.com>
...
* gtk/TreeModelSort.custom: implementation of GetValue/SetValue
(copied from TreeStore.custom)
* gtk/TreeModel.custom: added GetValue/SetValue
svn path=/trunk/gtk-sharp/; revision=19518
2003-11-01 12:00:26 +00:00
Mike Kestner
7cf6671bce
2003-10-30 Ken Foster <kenfoster@tampabay.rr.com>
...
* glue/button.c: initial creating of glue file for GdkButton
* glue/Makefile.am: added button.c to glue make
* glue/makefile.win32: added button.c to win32 glue make
* gtk/Button.custom: expose in_button GdkButton member
svn path=/trunk/gtk-sharp/; revision=19486
2003-10-30 18:19:59 +00:00
Martin Willemoes Hansen
d5a4cdb689
* generator/Method.cs: marked Is and Has methods,
...
to be generated as properties, fixes bug [47910]
svn path=/trunk/gtk-sharp/; revision=19468
2003-10-29 22:11:59 +00:00
Mike Kestner
0a6f618d58
2003-10-28 Mike Kestner <mkestner@ximian.com>
...
* */Makefile.in : create the apidir before installing to it.
svn path=/trunk/gtk-sharp/; revision=19442
2003-10-28 20:03:29 +00:00
Mike Kestner
21a73a2cbe
2003-10-28 Mike Kestner <mkestner@ximian.com>
...
* configure.in : releasing 0.12
svn path=/trunk/gtk-sharp/; revision=19439
2003-10-28 18:48:59 +00:00
Mike Kestner
0cdee479e2
2003-10-28 Mike Kestner <mkestner@ximian.com>
...
* generator/BoxedGen.cs : generate GLib.Value ctors. [fixes #47168 ]
* generator/Property.cs : use new Boxed value ctors.
* generator/StructBase.cs : use existing Writer if available.
svn path=/trunk/gtk-sharp/; revision=19433
2003-10-28 15:45:35 +00:00
Mike Kestner
e65f1814c0
2003-10-27 Moritz Balz <verteiler@mbalz.de>
...
* gdk/Drawable.custom : add a S.D.Rectangle overload for DrawRect.
svn path=/trunk/gtk-sharp/; revision=19425
2003-10-27 20:00:15 +00:00
Martin Willemoes Hansen
9925ac1e6f
* gtk/Gtk.metadata: Added the rest of sources/Gtk.metadata
...
and sorted the metadata.
* gtk/gtk-api.xml: Regenerated, to reflect the above changes.
Tags are swapped around. PaintBox, PaintBoxGap, PaintShadow and
PaintShadowGap are moved arround as well.
* sources/Gtk.metadata: Removed
svn path=/trunk/gtk-sharp/; revision=19407
2003-10-26 19:05:59 +00:00
Martin Willemoes Hansen
109fe49de3
* gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata
...
* gtk/gtk-api.xml: Reflects changes of the metadata move,
tags are swapped around.
* sources/Gtk.metadata: Removed metadata, which are moved to
gtk/Gtk.metadata
svn path=/trunk/gtk-sharp/; revision=19349
2003-10-23 21:28:32 +00:00
Martin Willemoes Hansen
d4c4b4f137
* gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata
...
* gtk/gtk-api.xml: Reflects changes of the metadata move,
tags are swapped around.
* gtkhtml/Gtk.metadata: Added metadata from sources/Gtk.metadata
* gtkhtml/gtkhtml-api.xml: Reflects changes of the metadata move,
tags are swapped around.
* sources/Gtk.metadata: Removed metadata, which are moved to
gtk/Gtk.metadata and gtkhtml/Gtk.metadata
svn path=/trunk/gtk-sharp/; revision=19310
2003-10-22 19:25:37 +00:00
Mike Kestner
4431ba15e5
2003-10-22 Mike Kestner <mkestner@ximian.com>
...
* gtkhtml/gtkhtml-api.xml : regenerated
* sources/makefile : add gtkhtml-embedded.* to the parse. Patch
proposed by orph on bug #49875 .
svn path=/trunk/gtk-sharp/; revision=19302
2003-10-22 15:10:40 +00:00
Mike Kestner
974db35edf
2003-10-20 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : mark TargetEntry.flags as type TargetFlags.
* gtk/gtk-api.xml : regenerated [fixes #49859 ]
svn path=/trunk/gtk-sharp/; revision=19235
2003-10-20 22:05:01 +00:00
Mike Kestner
5eadb9b87c
2003-10-20 Mike Kestner <mkestner@ximian.com>
...
* generator/Parameters.cs : treat interface out params like objects.
* gtk/gtk-api.xml : regenerated
* gtk/Gtk.metadata : mark TreeSelection.GetSelected params out.
* gtk/TreeSelection.custom : emptied since it's now generated.
* sources/Gtk.metadata : kill hide of TreeSelection.GetSelected.
[fixes #49858 ]
svn path=/trunk/gtk-sharp/; revision=19229
2003-10-20 21:27:38 +00:00
Mike Kestner
8eeccbb55c
2003-10-20 Mike Kestner <mkestner@ximian.com>
...
* atk/atk-api.xml : regenerated
* gdk/gdk-api.xml : regenerated
* gtk/gtk-api.xml : regenerated
* gtkhtml/gtkhtml-api.xml : regenerated [Fixes #49875 ]
* parser/gapi2xml.pl : handle unnamed parameter declarations.
svn path=/trunk/gtk-sharp/; revision=19217
2003-10-20 20:02:16 +00:00
Mike Kestner
0525cb807e
2003-10-20 Mike Kestner <mkestner@ximian.com>
...
* generator/Parameters.cs : add a cast to the call_string for Length
params other than int.
svn path=/trunk/gtk-sharp/; revision=19202
2003-10-20 17:33:05 +00:00
Mike Kestner
ff35a19db0
2003-10-18 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : add move-node rules for Paint methods.
* gtk/gtk-api.xml : regenerated
* parser/gapi2xml.pl : put paint_ methods in global, not Paint.
* parser/gapi-fixup.cs : add move-node rule handling. [Fixes #47980 ]
svn path=/trunk/gtk-sharp/; revision=19184
2003-10-19 01:35:24 +00:00
Mike Kestner
c62e9ab977
2003-10-17 Mike Kestner <mkestner@ximian.com>
...
* generator/Parameters.cs : mark enum pointer params as out.
need to audit if any are really arrays. [Fixes #49779 ]
svn path=/trunk/gtk-sharp/; revision=19153
2003-10-17 23:06:37 +00:00
Mike Kestner
67e0164e7d
2003-10-17 Mike Kestner <mkestner@ximian.com>
...
* gtk/Window.cs : override Raw prop and take a ref, since gtk+
owns the ref to new Windows, and we need a ref. [Fixes #47721 ]
svn path=/trunk/gtk-sharp/; revision=19151
2003-10-17 22:31:46 +00:00
Mike Kestner
b922fdc99b
2003-10-17 Mike Kestner <mkestner@ximian.com>
...
* gnome/CanvasPoints.custom : make New overload a ctor overload.
* gnome/Gnome.metadata : mark CanvasPoints as opaque
* gnome/gnome-api.xml : regenerated. [Fixes #37256 ]
svn path=/trunk/gtk-sharp/; revision=19145
2003-10-17 20:23:24 +00:00
Gonzalo Paniagua Javier
971b309120
2003-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
...
* gtk/ThreadNotify.cs: close the pipe and detach the GSource when
explicitly requested or finalized.
svn path=/trunk/gtk-sharp/; revision=19142
2003-10-17 19:17:19 +00:00
Gonzalo Paniagua Javier
ca54b617d6
2003-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
...
* gconf/tools/schemagen.cs: support for lists.
svn path=/trunk/gtk-sharp/; revision=19140
2003-10-17 17:36:20 +00:00
Mike Kestner
686688d760
2003-10-15 Mike Kestner <mkestner@ximian.com>
...
* generator/Property.cs : use new Opaque value ctor and
rework get/set blocks for Opaque types. [Fixes #47959 ]
* glib/Opaque.cs : kill explicit IntPtr operator.
* glib/Value.cs : rework Opaque value ctor.
svn path=/trunk/gtk-sharp/; revision=19088
2003-10-15 20:13:50 +00:00
Mike Kestner
63887acbb5
2003-10-14 Mike Kestner <mkestner@ximian.com>
...
* gtk/Gtk.metadata : rule for ClipboardGetFunc
* gtk/Clipboard.custom : comment out for now don't think any
of this is needed.
* gtk/ClipboardClearFunc.cs : gen'd now
* gtk/ClipboardGetFunc.cs : gen'd now
* gtk/GtkSharp.GtkClipboardClearFuncNative.cs : gen'd now
* gtk/GtkSharp.GtkClipboardGetFuncNative.cs : gen'd now
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : remove a couple clipboard hides
svn path=/trunk/gtk-sharp/; revision=19048
2003-10-14 21:27:46 +00:00
Mike Kestner
708906b081
2003-10-14 Mike Kestner <mkestner@ximian.com>
...
* gtk/gtk-api.xml : regenerated
* gtk/Gtk.metadata : begin the port of the Gtk rules
* gtk/Makefile.in : apply metadata in gen target
* gtkhtml/gtkhtml-api.xml : regenerated
* gtkhtml/Gtk.metadata : a couple rules ported
* gtkhtml/Makefile.in : apply metadata in gen target
* sources/Gtk.metadata : port first 350 lines of rules.
svn path=/trunk/gtk-sharp/; revision=19047
2003-10-14 20:29:59 +00:00
Mike Kestner
4877d314e9
2003-10-14 Mike Kestner <mkestner@ximian.com>
...
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : removed all the obsolete "out" rules
svn path=/trunk/gtk-sharp/; revision=19041
2003-10-14 17:36:10 +00:00
Mike Kestner
bdc5c7071f
2003-10-13 Mike Kestner <mkestner@ximian.com>
...
* gdk/Gdk.metadata : mark an array param on PixbufDestroyNotify
* gdk/gdk-api.xml : regenerated
* generator/CallbackGen.cs : Handle out params in callback sigs
and ditch the object[] args handling for typed args.
* generator/Parameters.cs : more proactive PassAs logic. We now
default all simple pointer types (uint*, int*, double*, etc...)
to out params unless they are marked otherwise in the XML with a
pass_as tag or an array tag. [Fixes #32104 ]
svn path=/trunk/gtk-sharp/; revision=18993
2003-10-13 21:53:40 +00:00
Mike Kestner
f314da0c9f
2003-10-13 Mike Kestner <mkestner@ximian.com>
...
* gnome/Gnome.metadata : new xpath metadata rules
* gnome/Makefile.in : apply metadata before generation
* gnome/gnome-api.xml : regenerated
* parser/gapi-fixup.cs : use XmlDocument.Save (filename)
instead of opening a stream manually.
* sources/Gnome.metadata : killed
svn path=/trunk/gtk-sharp/; revision=18975
2003-10-13 17:38:22 +00:00
Mike Kestner
6e44bd8cdb
2003-10-12 Mike Kestner <mkestner@ximian.com>
...
* art/Art.metadata : new xpath metadata rules
* art/Makefile.in : apply metadata before generation
* atk/Atk.metadata : new xpath metadata rules
* atk/Makefile.in : apply metadata before generation
* gda/Gda.metadata : new xpath metadata rules
* gda/Makefile.in : apply metadata before generation
* gdk/Gdk.metadata : new xpath metadata rules
* gdk/Makefile.in : apply metadata before generation
* gnomedb/GnomeDb.metadata : new xpath metadata rules
* gnomedb/Makefile.in : apply metadata before generation
* pango/Pango.metadata : new xpath metadata rules
* pango/Makefile.in : apply metadata before generation
* parser/Makefile.in : build and install new gapi-fixup
* parser/gapi-fixup.cs : new xpath based metadata engine
* sources/*.metadata : remove most of the old metadata,
still have to convert Gtk and Gnome to xpaths.
svn path=/trunk/gtk-sharp/; revision=18947
2003-10-13 03:06:22 +00:00
Mike Kestner
4fa6636411
2003-10-11 Mike Kestner <mkestner@ximian.com>
...
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : applied patch from jluke for hides
requested in bug #38660 . Also cleaned up the sprawling "hidden"
rules to reduce the overall footprint.
svn path=/trunk/gtk-sharp/; revision=18894
2003-10-11 22:42:26 +00:00
Mike Kestner
03ac3ab7fe
2003-10-11 Mike Kestner <mkestner@ximian.com>
...
* generator/OpaqueGen.cs (FromNativeReturn): just do a
new on the type. GLib.Opaque.GetOpaque was apparently an
homage to GetObject that just seems wrong.
svn path=/trunk/gtk-sharp/; revision=18893
2003-10-11 21:33:16 +00:00
Mike Kestner
45bc875da7
2003-10-11 Mike Kestner <mkestner@ximian.com>
...
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : markes some out tags on
TreeView.GetCursor. [Fixes #49556 ]
svn path=/trunk/gtk-sharp/; revision=18892
2003-10-11 21:13:15 +00:00
Mike Kestner
71e9414883
2003-10-11 Mike Kestner <mkestner@ximian.com>
...
* generator/Parameters.cs : Properly handle out params for
Object and Opaque types.
* gtk/ListStore.custom: remove out on GetValue overload
* gtk/TreeStore.custom: remove out on GetValue overload
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : remove some incorrect out tags
svn path=/trunk/gtk-sharp/; revision=18891
2003-10-11 20:53:10 +00:00
Mike Kestner
e72ae71073
2003-10-10 Mike Kestner <mkestner@ximian.com>
...
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : mark pos and path pass_as="out" for
TreeView.GetDragDestRow and GetDestRowAtPos [Fixes #49517 ]
svn path=/trunk/gtk-sharp/; revision=18869
2003-10-10 22:14:01 +00:00
Mike Kestner
3b6068b79b
fix bug number in ChangeLog
...
svn path=/trunk/gtk-sharp/; revision=18868
2003-10-10 21:57:14 +00:00
Mike Kestner
55d02e6062
2003-10-10 Mike Kestner <mkestner@ximian.com>
...
* gtk/gtk-api.xml : regenerated
* gtk/TreePath.custom : implement Indices property by
hand. Patch from tds00mahi@thn.htu.se (malte) [Fixes #49254 ]
* sources/Gtk.metadata : hide TreePath.Indices.
svn path=/trunk/gtk-sharp/; revision=18867
2003-10-10 21:55:32 +00:00
Mike Kestner
8fd17765c1
2003-10-10 Mike Kestner <mkestner@ximian.com>
...
* gtk/gtk-api.xml : regenerated
* gtk/FileSelection.custom : implement the Selections property by
hand. [Fixes #49254 ]
* sources/Gtk.metadata : hide FileSelection.GetSelections.
svn path=/trunk/gtk-sharp/; revision=18866
2003-10-10 21:34:34 +00:00
Mike Kestner
3f0273bece
2003-10-10 Mike Kestner <mkestner@ximian.com>
...
* */makefile.win32 : remove api dir from build and fix clean target
svn path=/trunk/gtk-sharp/; revision=18864
2003-10-10 18:58:19 +00:00
Mike Kestner
bc8ca2e212
2003-10-10 Mike Kestner <mkestner@ximian.com>
...
* gdk/gdk-api.xml : regenerated
* sources/Gdk.metadata : mark Cursor opaque. mark confine_to and
cursor null_ok in Gdk.Pointer.Grab. [Fixes #48273 ]
svn path=/trunk/gtk-sharp/; revision=18847
2003-10-10 04:45:42 +00:00
Mike Kestner
a2e87da28e
2003-10-09 Mike Kestner <mkestner@ximian.com>
...
* generator/Statistics.cs (Report): pretty it up.
* generator/SymbolTable.cs : handle const-xmlChar as ConstString
svn path=/trunk/gtk-sharp/; revision=18832
2003-10-09 23:14:12 +00:00
Mike Kestner
3814787622
2003-10-09 Mike Kestner <mkestner@ximian.com>
...
* pango/Makefile.in : fix path to glib-sharp.dll
svn path=/trunk/gtk-sharp/; revision=18830
2003-10-09 22:46:39 +00:00
Martin Willemoes Hansen
6b629e8cef
* Makefile.in: Updated to reflect moval of api xml files from api/
...
to each assembly dir.
* configure.in: Ditto
* art/.cvsignore Ditto
* art/Makefile.in: Ditto
* atk/.cvsignore Ditto
* atk/Makefile.in: Ditto
* gda/.cvsignore Ditto
* gda/Makefile.in: Ditto
* gdk/.cvsignore Ditto
* gdk/Makefile.in: Ditto
* gdk/gdk-symbols.xml Ditto
* glade/.cvsignore Ditto
* glade/Makefile.in: Ditto
* gnome/.cvsignore Ditto
* gnome/Makefile.in: Ditto
* gnomedb/.cvsignore Ditto
* gnomedb/Makefile.in: Ditto
* gst/.cvsignore Ditto
* gst/Makefile.in: Ditto
* gtk/.cvsignore Ditto
* gtk/Makefile.in: Ditto
* gtk/gtk-symbols.xml Ditto
* gtkhtml/.cvsignore Ditto
* gtkhtml/Makefile.in: Ditto
* pango/.cvsignore Ditto
* pango/Makefile.in: Ditto
* rsvg/.cvsignore Ditto
* rsvg/Makefile.in: Ditto
* sources/gtk-sharp-sources.xml: Ditto
* api/: Removed
svn path=/trunk/gtk-sharp/; revision=18827
2003-10-09 22:29:59 +00:00
Mike Kestner
3c973421cb
2003-10-09 Mike Kestner <mkestner@ximian.com>
...
* api/*-api.xml : regenerated
* parser/gapi_pp.pl : ignore simple comments. [Fixes #47450 ]
* parser/gapi2xml.pl : turn off debug.
svn path=/trunk/gtk-sharp/; revision=18794
2003-10-09 05:54:55 +00:00
Mike Kestner
aa9ff69ce1
2003-10-09 Mike Kestner <mkestner@ximian.com>
...
* generator/Property.cs : don't do new for Objects if FromNativeReturn
returns null. [Fixes #48055 ]
svn path=/trunk/gtk-sharp/; revision=18793
2003-10-09 05:16:37 +00:00
Mike Kestner
732cdf7729
2003-10-08 Mike Kestner <mkestner@ximian.com>
...
* */Makefile.in : rework the prefix handling for duncan's packaging.
svn path=/trunk/gtk-sharp/; revision=18778
2003-10-08 22:13:47 +00:00
Martin Willemoes Hansen
691173a8ac
* gnome/PrintJob.custom: Added default ctor.
...
* gnome/PrintDialog.custom: Added overloaded ctor with fewer parameters.
* sources/Gnome.metadata: Disabled default ctor for PrintJob,
changed type from int to PrintDialogFlags for PrintDialog ctor and
changed return type from byte to string for PrintConfig.Get.
svn path=/trunk/gtk-sharp/; revision=18738
2003-10-08 07:16:39 +00:00
Mike Kestner
f716fb7003
2003-10-07 Mike Kestner <mkestner@ximian.com>
...
* api/gtk-api.xml : regenerated
* generator/Method.cs : gen new_flag automatically if set
* sources/Gtk.metadata : mark new_flag on Gtk.Bin.GetChild
svn path=/trunk/gtk-sharp/; revision=18736
2003-10-08 02:56:44 +00:00
Mike Kestner
c9580f2355
2003-10-07 Mike Kestner <mkestner@ximian.com>
...
* generator/ObjectGen.cs (Generate): check sigs.Count in addition
to the null check to determine if the signals hash should be
generated.
svn path=/trunk/gtk-sharp/; revision=18718
2003-10-07 22:21:45 +00:00
Mike Kestner
ec59bb6398
2003-10-07 Mike Kestner <mkestner@ximian.com>
...
* parser/gapi2xml.pl : look for ");" at the end of property
declarations to avoid problems with ';' in property docstrings.
* api/gtk-api.xml : regenerated. [Fixes #47987 ]
svn path=/trunk/gtk-sharp/; revision=18715
2003-10-07 19:28:40 +00:00
Mike Kestner
9eeca84abe
2003-10-07 Mike Kestner <mkestner@ximian.com>
...
* glib/ListBase.cs : assume ref_owned=false for GObject lists.
[Fixes #49145 ]
svn path=/trunk/gtk-sharp/; revision=18710
2003-10-07 18:08:32 +00:00
Mike Kestner
0ea6f12c9e
2003-10-07 Mike Kestner <mkestner@ximian.com>
...
* gtkhtml/Makefile.in : add art-sharp ref
* sources/Gtk.metadata : make gtk_widget_size_request pass_as ref
instead of out. [Fixes #46354 ]
svn path=/trunk/gtk-sharp/; revision=18709
2003-10-07 17:11:19 +00:00
Mike Kestner
f350dd74fa
2003-10-07 Mike Kestner <mkestner@ximian.com>
...
* gtkhtml/Makefile.in : add gnome api to includes and ref in build
* gtkhtml/gkthtml-api.xml : regenerated
* sources/Gtk.metadata : remove the gtkhtml gnomeprint hides
svn path=/trunk/gtk-sharp/; revision=18708
2003-10-07 16:19:51 +00:00
Mike Kestner
65fec771bb
2003-10-06 Mike Kestner <mkestner@ximian.com>
...
* Makefile.in : add gtkhtml dir.
* configure.in : expand gtkhtml/Makefile
* api/Makefile.in : remove gtkhtml-api.xml
* generator/CodeGenerator.cs : parse new --outdir, --customdir,
and --assembly-name args.
* generator/GenerationInfo.cs (Ctor): new (dir, dir,assembly) ctor
* gtkhtml/HTMLStream.custom : moved here from gtk dir
* gtkhtml/gtkhtml-api.xml : moved here from api dir
* gtkhtml/Makefile.in : gen source and build dll
* sources/gtk-sharp-sources.xml : write gtkhtml api to new dir
svn path=/trunk/gtk-sharp/; revision=18696
2003-10-07 05:52:23 +00:00
Mike Kestner
9a0e14875a
2003-10-06 Artem Popov <artemis@yandex.ru>
...
* gtk/Dialog.custom : Action area is an HButtonBox, not a VBox.
svn path=/trunk/gtk-sharp/; revision=18686
2003-10-06 20:54:27 +00:00
Mike Kestner
9877690874
2003-10-06 Mike Kestner <mkestner@ximian.com>
...
* generator/InterfaceGen.cs (Generate): gen the EventHandlers for sigs
* generator/Signal.cs (GetHandlerName): kill this and split it into
EventHandlerName and EventHandlerArgsName props instead of the ugly
out param hack.
(GenEventHandler): make public void and add gen_info param. open
stream with gen_info. use new *Name props.
(Generate): only gen the EventHandler if we're genning the container,
not for implementors.
svn path=/trunk/gtk-sharp/; revision=18684
2003-10-06 20:12:09 +00:00
Mike Kestner
06a02e97b4
2003-10-06 Mike Kestner <mkestner@ximian.com>
...
* generator/CodeGenerator.cs (Main): use new ObjectGen.GenerateMappers.
* generator/GenerationInfo.cs (Ctor): new (dir, assembly) ctor
* generator/ObjectGen.cs : move hash management to Generate from Ctor,
index it on dir, and make it hold new DirectoryInfo refs. Refactor
GenerateMapper. The object mappers are now assembly based instead of
namespace based.
svn path=/trunk/gtk-sharp/; revision=18681
2003-10-06 18:18:49 +00:00
Mike Kestner
1c7dfb776c
2003-10-06 Mike Kestner <mkestner@ximian.com>
...
* generator/Signal.cs (Generate): pass gen_info to sighdnlr.Generate.
use gen_info.AssemblyName in Args instantiation.
* generator/SignalHandler.cs (Generate): use gen_info to open stream.
refactor out some local vars.
svn path=/trunk/gtk-sharp/; revision=18678
2003-10-06 16:15:05 +00:00
Mike Kestner
be9946dca2
2003-10-04 Mike Kestner <mkestner@ximian.com>
...
* generator/CallbackGen.cs : remove CloseWriter call.
* generator/GenBase.cs : kill CreateWriter and CloseWriter.
svn path=/trunk/gtk-sharp/; revision=18616
2003-10-05 00:37:24 +00:00
Mike Kestner
460b3e5623
2003-10-04 Mike Kestner <mkestner@ximian.com>
...
* generator/AliasGen.cs : stub new Generate overload.
* generator/BoxedGen.cs : implement new Generate overload.
* generator/CallbackGen.cs (Generate):implement new overload.
* generator/ClassBase.cs : implement new Generate overload and
pass around the gen_info.
* generator/ClassGen.cs : implement new Generate overload.
* generator/Ctor.cs (Generate): s/sw/gen_info.
* generator/EnumGen.cs : implement new Generate overload.
* generator/GenBase.cs : expose NSElem, add gen_info param to
AppendCustom. kill CreateWriter.
(GenWrapper): add gen_info param and use it to open stream.
* generator/GenerationInfo.cs : new class to pass around generation
related information and perform tasks like opening streams.
* generator/IGeneratable.cs : add Generate(gen_info) overload.
* generator/InterfaceGen.cs : implement new Generate overload.
* generator/ManualGen.cs : stub new Generate overload.
* generator/Method.cs (Generate): accept gen_info. kill GenerateComments.
* generator/ObjectGen.cs : implement new Generate overload.
* generator/OpaqueGen.cs : implement new Generate overload.
* generator/Parameters.cs (Initialize): s/sw/gen_info.
* generator/Property.cs (Generate): accept gen_info.
* generator/Signal.cs (Generate): accept gen_info.
* generator/SimpleGen.cs : stub new Generate overload.
* generator/StructBase.cs : s/sw/gen_info
* generator/StructGen.cs : implement new Generate overload.
svn path=/trunk/gtk-sharp/; revision=18615
2003-10-05 00:20:17 +00:00
Mike Kestner
c9ef435827
2003-10-03 Mike Kestner <mkestner@ximian.com>
...
* generator/GenBase.cs : remove unused do_generate private member.
svn path=/trunk/gtk-sharp/; revision=18573
2003-10-03 22:27:47 +00:00
Mike Kestner
5b7aaf1c4f
2003-10-03 Mike Kestner <mkestner@ximian.com>
...
* generator/*.cs : Kill DoGenerate.
svn path=/trunk/gtk-sharp/; revision=18572
2003-10-03 22:20:40 +00:00
Mike Kestner
c17c41c4a8
2003-10-03 Mike Kestner <mkestner@ximian.com>
...
* api/gtk-symbols.xml : make GtkType a uint like GType.
* generator/CodeGenerator.cs : adopt new parser semantics
* generator/Parser.cs : move to single parser/multiple Parse. Remove
DoGenerate hack and let the CodeGenerator control this. Return
generatables instead of loading symboltable.
* generator/SymbolTable : add AddTypes method. Revamp dealiasing code.
svn path=/trunk/gtk-sharp/; revision=18570
2003-10-03 22:11:47 +00:00
Mike Kestner
ff7d040ae0
2003-10-02 Mike Kestner <mkestner@ximian.com>
...
* api/gnome-api.xml : regenerated
* parser/gapi2xml.pl : handle enum <name> {...}; Thanks to
Martin for identifying the bug and providing a candidate patch.
svn path=/trunk/gtk-sharp/; revision=18524
2003-10-02 15:48:36 +00:00
Mike Kestner
4da6295257
2003-10-01 Mike Kestner <mkestner@ximian.com>
...
* README.generator : updates for new parser script
* api/Makefile.in : add gtkhtml-api.xml
* api/*-api.xml : regenerated
* parser/makefile : install new parsing script
* parser/gapi-parser : new xml-driven parsing script
* sources/makefile : call new parsing script
* sources/gtk-sharp-sources.xml : new parser input file
* sources/gtk-sharp.sources : killed
svn path=/trunk/gtk-sharp/; revision=18491
2003-10-01 21:42:29 +00:00