Permalink
Fetching contributors…
Cannot retrieve contributors at this time
11614 lines (8119 sloc) 397 KB
2010-05-11 Mike Kestner <mkestner@novell.com>
* configure.in.in: work around removal of Mono.GetOptions.dll
in mono trunk (2.8).
2009-03-16 Mike Kestner <mkestner@novell.com>
* Makefile.include: parallel make fix.
* gconf/GConf/Makefile.am: parallel make fix.
* gconf/GConf.PropertyEditors/Makefile.am: parallel make fix.
Patch from Peter Alfredsen. [Fixes #483251]
2009-03-03 Mike Kestner <mkestner@novell.com>
* bootstrap-2.24: bump version to 2.24.1 and tag.
2009-01-27 Mike Kestner <mkestner@novell.com>
* bootstrap-2.24: add back the POLICY_VERSION entries. Patch from
Scott Peterson.
* gnome/Makefile.am: add a POLICY_VERSION variable to override
the global setting, since gnome-sharp.dll is not compatible with
previous versions due to the gnomeprint and gnomepanel removal.
[Fixes #469663]
2008-09-08 Mike Kestner <mkestner@novell.com>
* bootstrap-2.24: bump gtk-sharp req to 2.12.2. Bump version
to 2.24.0 for release.
2008-08-06 Mike Kestner <mkestner@novell.com>
* *: Update to Gnome 2.23.5 release API. Remove print and panel
APIs from gnome-sharp.dll into their own assemblies now located in
gnome-desktop-sharp.
2008-05-14 Stephane Delcroix <sdelcroix@novell.com>
* gconf/GConf/gconf-sharp.dll.config.in:
* gconf/GConf/ClientBase.cs: use GType.Init () instead of
g_type_init ();
2008-05-14 Stephane Delcroix <sdelcroix@novell.com>
* bootstrap-2.20: bump to 2.20.2
* gconf/GConf/gconf-sharp.dll.config.in:
* gconf/GConf/ClientBase.cs: call g_type_init during initialization.
Fixes bnc #389328.
2008-04-21 Mike Kestner <mkestner@novell.com>
* bootstrap-2.20: bump version.
2008-04-17 Mike Kestner <mkestner@novell.com>
* bootstrap-generic: substitute the GTK_SHARP_REQUIRED_VERSION.
* bootstrap-2.20: check for gtk 2.12.0 and gtk-sharp 2.12.1.
* configure.in.in: separate the gtk+ and gtk-sharp version variables.
2008-04-17 Mike Kestner <mkestner@novell.com>
* gnome/Program.custom: use GLib.Object.Harden to avoid some
reflection.
2008-04-17 Mike Kestner <mkestner@novell.com>
* bootstrap-2.20: bump gtk-sharp requirement to 2.12.1.
* gnome/Program.custom: revert QuitPrepare hook and instead do an
obnoxious hack to disable the toggle_ref mechanism for GnomeProgram.
Uses reflection since I didn't want to expose this hack in the public
GLib.Object API.
2008-04-14 Mike Kestner <mkestner@novell.com>
* gnome/Program.custom: hook into Gtk.Application.QuitPrepare to
dispose our managed resources prior to invoking gtk_main_quit. Avoids
a crash on exit() in toggle_ref usage after managed releases have been
released.
2008-03-04 Mike Kestner <mkestner@novell.com>
* bootstrap-2.20: bump version and tag.
2008-02-29 Mike Kestner <mkestner@novell.com>
* gnome/gnome-api-2.20.raw: reparse
* sources/gnome-sharp-2.20-sources.xml: hide private gailcanvas hdrs.
hide gnome-print-gdi.h.
2008-01-28 Mike Kestner <mkestner@novell.com>
* bootstrap-2.20: bump svn version.
2008-01-28 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata: hide new Global class which was hiding
stable API. [Fixes #356649]
2008-01-11 Mike Kestner <mkestner@novell.com>
* configure.in.in: integrate build service patch from Wade.
* bootstrap-2.20: update to version 2.19.90.
2007-12-12 Mike Kestner <mkestner@novell.com>
* * Move to 2.20 API.
2007-12-11 Mike Kestner <mkestner@novell.com>
* configure.in.in: move vte, rsvg, and gtkhtml to gnome-desktop-sharp.
* Makefile.am: ditto
* sample/Makefile.am: ditto
2007-12-07 Mike Kestner <mkestner@novell.com>
* Makefile.include: some refinement of the variable mangling.
* configure.in.in: expand new pc.in.
* gconf/GConf/gconf-sharp-2.0.pc.in: remove gnome-sharp Requires and
peditors.dll from the Libs: var.
* gconf/GConf.PropertyEditors/Makefile.am: install new pc.
* gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in: expose
new pc file since this is conditional and the gconf-sharp.dll build
is not.
2007-12-07 Wade Berrier <wberrier@novell.com>
* gconf/GConf/Makefile.am: Copy AssemblyInfo.cs to the current dir so
that csc can find it. (csc doesn't understand ../..)
2007-12-07 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Makefile.am:
* gconf/GConf.PropertyEditors/Makefile.am:
use top_builddir instead of .. to avoid win32 build issues.
2007-12-04 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Makefile.am: remove GNOME condition. It's only needed
on the peditor build.
2007-10-16 Mike Kestner <mkestner@novell.com>
* gnome/CanvasItem.custom: marshal GType as IntPtr.
[Fixes comment #8 of 327058]
2007-10-11 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Value.cs: Deal with zero length arrays gracefully.
Thanks to Sebastian Dröge <slomo@circular-chaos.org> for a
patch this one was derived from. [Fixes #325516]
2007-09-07 Mike Kestner <mkestner@novell.com>
* AssembyInfo.cs.in : add [IgnoreClassInitializers]
2007-08-16 Mike Kestner <mkestner@novell.com>
* vte/Vte.metadata : rule from Peter Johanson to mark a string
const.
2007-08-13 Mike Kestner <mkestner@novell.com>
* gnome/CanvasPathDef.custom : adapt to generated pinvoke sig change.
2007-07-27 Mike Kestner <mkestner@novell.com>
* configure.in.in : add blurb about the gnome-sharp.dll requirements
since it seems to be a FAQ for people trying to build from sources.
2007-07-03 Mike Kestner <mkestner@novell.com>
* bootstrap-generic : use automake --foreign to keep automake-1.10 from
blowing up on the gnu make function usage. grrr.
* sample/gconf/Makefile.am : use install-data-hook to make 1.10 happy.
2007-05-03 Wade Berrier <wberrier@novell.com>
* gconf/tools/gconfsharp2-schemagen.in:
Revert unportable 'relocatable' wrapper using which (doesn't work with symlinks)
2007-03-21 Stephane Delcroix <stephane@delcroix.org>
* gconf/GConf/Value.cs: Allow the storage of empty lists in
gconf-sharp.
2006-08-21 Mike Kestner <mkestner@novell.com>
* bootstrap-2.16 : tag and bump version to 2.16.0.
2006-08-09 Mike Kestner <mkestner@novell.com>
* sources/Makefile.am : update to vte-0.13.4.
* sources/gnome-sharp-2.16-sources.xml : ditto.
* vte/Bg.custom : provide Get overload for backcompat.
* vte/Makefile.am : add custom file.
* vte/Vte.metadata : rename some signal params back to their lame
p0, p1, etc... names to maintain compat in Args classes.
* vte/vte-api.raw : reparse for 0.13.4.
* vte/vte-sharp.dll.config.in : move to new .so.9 version.
[Fixes #79042]
2006-08-07 Mike Kestner <mkestner@novell.com>
* bootstrap-2.16 : update to new version. tagged for 2.15.0.
2006-08-03 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata : wildcard CanvasPathDef rules since
they went from struct to boxed in 2.16. Hide TextWidth and TextHeight
props on CanvasText.
* gnome/CanvasText.custom : manual impl of Text(Width|Height) to be
compat with previous releases. They removed the WRITE flag.
2006-07-28 Mike Kestner <mkestner@novell.com>
* adjustments to build system for gnome-sharp to make it
depend on an installed gtk-sharp package. passes distcheck.
2006-07-27 Mike Kestner <mkestner@novell.com>
* bootstrap*: kill the 2.4/2.6/2.8 straps, they are on a
branch now. update 2.10 strap for new apis.
* sources/Makefile.am : parse 2.16 sources for gnome libs.
* sources/gtk-sharp-2.10-sources.xml : ditto.
* parser/gapi-parser.cs : explicitly use an indented XML writer.
* gnomevfs/gnome-vfs-api-2.16.raw: regen
* gnomevfs/Gnomevfs.metadata: some build fixes
* gnome/gnome-api-2.16.raw: regen
* gnome/Gnome.metadata: some build fixes
* sample/PrintSample.cs: remove new Gtk/Gnome ambiguities.
2006-07-27 Mike Kestner <mkestner@novell.com>
* gnome/PanelApplet.custom : hold UIVerbs in SetupMenu so the
callback delegates don't get GC'd.
2006-07-15 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : regex fix needed for vfs 2.15.3 parse.
2006-07-15 Mike Kestner <mkestner@novell.com>
* sources/gtk-sharp-2.10-sources.xml : update to gnome 2.15.4
sources for the 2.10 api build.
* sources/Makefile.am : ditto.
2006-07-14 Mike Kestner <mkestner@novell.com>
* sources/gtk-sharp-2.10-sources.xml : update to gtk+-2.10.0
and pango-1.13.3
* sources/Makefile.am : ditto.
* gtk/Gtk.metadata : some hides and renames to fix build.
* gdk/gdk-api-2.10.raw : refresh.
* gtk/gtk-api-2.10.raw : refresh.
* pango/pango-api-2.10.raw : refresh.
2006-07-14 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/Makefile.am : build fix for !ENABLE_GNOMEVFS.
2006-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glade/HandlerNotFoundExeception.cs:
* glade/XML.custom: provide a better error when the signature of a
handler does not match the one of the event.
2006-05-10 Mike Kestner <mkestner@novell.com>
* bootstrap-2.10 : strap for the new 2.9.0 API.
* generator/SymbolTable.cs : add GLib.InitiallyUnowned mapping.
* glib/InitiallyUnowned.cs : new floating class "stub".
* glib/Makefile.am : build new class.
* gdk/gdk-api-2.10.raw: parse from 2.9.0
* gtk/Gtk.metadata: cleanup conflicts in 2.10 API.
* gtk/gtk-api-2.10.raw: parse from 2.9.0
* pango/pango-api-2.10.raw: parse from 1.11.99
* sources/Makefile.am : 2.10 parse setup and api-2.10
* sources/gtk_tree_model_signal_fix-2.10.patch : 2.10 patch.
* sources/gtk-sharp-2.10-sources.xml : parse rules for 2.10
2006-05-08 Joe Shaw <joeshaw@novell.com>
* glib/ValueArray.cs: Don't immediately free ValueArrays; queue
them up to be freed in the main thread by using a Timeout. This
fixes SMP deadlocks when the GValues contained therein aren't
threadsafe (like GDK resources). Fixes Novell bug #168650.
2006-05-04 Peter Johanson <peter@peterjohanson.com>
* gtk/glue/cellrenderer.c: Revert r59683, as it causes issues for
overrides calling base.GetSize (), etc.
2006-05-03 Mike Kestner <mkestner@novell.com>
* gdk/Drawable.custom : remove manual DrawPoints impl.
* gdk/Gdk.metadata : properly mark array and count params for
Drawable.DrawPoints.
2006-05-02 Zac Bowling <zac@zacbowling.com>
* docs/en/Gdk/Drawable.xml
* gdk/Drawable.custom
* gdk/Gdk.metadata : Fix Drawable.DrawPoints points param signature.
2006-04-20 Peter Johanson <peter@peterjohanson.com>
* gtk/glue/cellrenderer.c: Make GetSize, Render, etc behave correctly
for all cases. Fixes #77949.
2006-04-15 Zac Bowling <zac@zacbowling.com>
* README.generator : Updated with link to GAPI guide on Wiki
2006-03-27 Mike Kestner <mkestner@novell.com>
* gnomevfs/MimeType.cs : remove string from all pinvoke sigs. now
adheres to the const/non-const conventions specified in the vfs
headers. Fixes #77534.
2006-03-27 Mike Kestner <mkestner@novell.com>
* glib/ListBase.cs : deal with ownership of Opaque elements.
* glib/Marshaller.cs : add a hack to deal with Opaque ownership in
ListToArray marshaling.
2006-02-28 Mike Kestner <mkestner@novell.com>
* bootstrap-2.* : update for 2.x.2 releases.
2006-02-28 Mike Kestner <mkestner@novell.com>
* pango/Context.custom : use ReadIntPtr (ptr, offset) for 64 bit.
* pango/FontFamily.custom : use ReadIntPtr (ptr, offset) for 64 bit.
* pango/FontMap.custom : use ReadIntPtr (ptr, offset) for 64 bit.
* pango/Layout.custom : use ReadIntPtr (ptr, offset) for 64 bit.
2006-02-28 Mike Kestner <mkestner@novell.com>
* gdk/Region.custom : 64 bit fix for ptr arithmetic. [Fixes #77658]
Tue Feb 28 09:44:23 CET 2006 Paolo Molaro <lupus@ximian.com>
* gdk/Pixbuf.custom: use correct type for buffer_size in
gdk_pixbuf_save_to_bufferv() (fixes bug# 77662).
2006-02-16 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/Makefile.am : make TestXfer conditional to a mono
build since it uses Mono.GetOptions. [Fixes #77497]
2006-02-03 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/TestVolume.cs : remove C# 2.0 usage.
2006-02-03 Mike Kestner <mkestner@novell.com>
* bootstrap-2.* : update for 2.x.1 releases.
2006-02-03 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : virtual method enum retvals must be case to
Enum before casting to their ultimate type. Also dispose retval
gvalues to avoid reference leaks.
2006-01-31 Mike Kestner <mkestner@novell.com>
* gnome/About.custom : fix some nullterm issues in subclass
construction as reported on irc by latexer.
2006-01-31 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : null check a parent arg. [Fixes #77400]
2006-01-22 Mike Kestner <mkestner@novell.com>
* configure.in.in : work around broken vte that doesn't
advertise its gtk+ dependency to pkg-config. [Fixes #77323]
2006-01-21 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : alias off_t to ssize_t as it is
signed according to harold. [Fixes #77016]
2006-01-21 Mike Kestner <mkestner@novell.com>
* gtk/RadioToolButton.custom : manually implement the GLib.List group
ctors. [Fixes #76992]
2006-01-17 Mike Kestner <mkestner@novell.com>
* gnome/Canvas.custom : add a ctor (bool is_aa) using the
construct-only prop.
[Fixes #77017]
2006-01-17 Wade Berrier <wberrier@novell.com>
* Have vte-sharp only depend on gtk-sharp instead of gnome-sharp
* sample/VteTest.cs: use gtk# calls instead of gnome#
* vte/vte-sharp-2.0.pc.in: depend on gtk-sharp instead of gnome-sharp
* configure.in.in: Allow vte to be build if gnome isn't going to be built
[Fixes #77182]
2006-01-13 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : subtract utc_offset when marshaling to time_t.
[Fixes #77244]
2006-01-12 Mike Kestner <mkestner@novell.com>
* sources/MethodBody.cs : use Utf8.GetByteCount for hidden len params.
[Fixes #77097]
2006-01-11 Mike Kestner <mkestner@novell.com>
* bootstrap-2.8 : bump version to 2.8.0
2005-12-30 Alp Toker <alp@atoker.com>
* Thread.cs: Add GLib.Thread.Supported, should be checked to avoid doing
Thread.Init() twice (Mono runtime initialises GLib threads itself, MS
runtime doesn't)
* glue/thread.c: g_thread_supported() is a macro, so needs glue
* glue/Makefile.am:
* glue/makefile.win32: Update makefiles with new glue file.
2005-12-21 Lluis Sanchez Gual <lluis@novell.com>
* generator/FieldBase.cs: Properly convert marshalled value
to native value.
* generator/CallbackGen.cs: Added parens to the result of ToNativeReturn,
since it may have problems with the cast.
2005-12-16 John Luke <john.luke@gmail.com>
* samples/CairoSample.cs:
* samples/GtkCairo.cs:
* samples/Makefile.am: update the cairo sample, fixes bug #76324
2005-12-16 Mike Kestner <mkestner@novell.com>
* gdk/PixbufLoader.custom (InitFromAssemblyResource): move stream
access code outside the try block so only the Load is cleaned up with
the finally block. Add some other arg checking. [Fixes #76997]
2005-12-13 Mike Kestner <mkestner@novell.com>
* sources/Makefile.am : move to stable gtk 2.8 versions.
* sources/gtk-sharp-2.8-sources.xml : move to stable gtk 2.8 versions.
* */*.raw : regenerate.
* gdk/Gdk.metadata : hide a few gtk+ internal methods.
* gtk/Gtk.metadata : hide a win32 internal enum.
2005-12-13 Mike Kestner <mkestner@novell.com>
* bootstrap-2.8 : bump version to 2.7.90.
2005-12-13 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Makefile.am : add GAPI_CDECL_INSERT step.
* gconf/GConf.PropertyEditors/Makefile.am : add GAPI_CDECL_INSERT step.
2005-12-13 Mike Kestner <mkestner@novell.com>
* configure.in.in : check for mono-cairo.pc.
* Makefile.include : use AC_SUBST for cairo ref.
* gdk/Gdk.metadata : s/Cairo.Graphics/Cairo.Context.
2005-12-12 Mike Kestner <mkestner@novell.com>
* gnomevfs/Gnomevfs.metadata : mark some const strings.
[Fixes #76270]
2005-12-12 Mike Kestner <mkestner@novell.com>
* gdk/EventClient.cs : fix native long marshaling issue. Thanks to
ed@catmur.co.uk for the bug report and investigation.
[Fixes #76740]
2005-12-12 Itamar Rogel <chastamar@yahoo.com>
* NodeView.cs : add default ctor and NodeStore setter.
[Fixes #76827]
2005-12-12 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : pass byte cnt for autogenerated string length
parameters. Thanks to Itamar Rogel for the report and a candidate
patch. [Fixes #76952]
2005-12-10 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api-2.8.raw : regenerated.
* gtk/IconView.custom : manually implement a new interface method.
* parser/gapi_pp.pl : more general G_DEFINE_TYPE_WITH_CODE parsing
implementation.
[Fixes #76266]
2005-12-10 Mike Kestner <mkestner@novell.com>
* gdk/gdk-symbols.xml : add GrabBroken mapping.
* gdk/Event.cs : add GrabBroken to GetEvent.
* gdk/EventGrabBroken.cs : manual Event subclass.
* gdk/Gdk.metadata : hide new GrabBroken event.
* gdk/Makefile.am : add new source file.
2005-12-09 Mike Kestner <mkestner@novell.com>
* pango/Pango.metadata : 2.8 API tweaks
* gdk/Gdk.metadata : 2.8 API tweaks
* gtk/Gtk.metadata : 2.8 API tweaks
* gtk/IconView.custom : overloads for the weird ScrollToPath.
* gtk/Makefile.am : add custom
2005-11-19 Mike Kestner <mkestner@novell.com>
* generator/ManualGen.cs (CallByName): add null handling.
[Fixes #76540]
2005-11-15 Ben Maurer <bmaurer@ximian.com>
* gdk/Rectangle.custom: Fix up Intersect using p/invoke, per
miguel's request.
2005-11-10 Mike Kestner <mkestner@novell.com>
* bootstrap-2.6 - renamed from bootstrap
* bootstrap-2.8 : renamed from bootstrap-for-the-insane, removed
message of doom, require Gtk 2.8. Change version to 2.7.1.
2005-10-31 Wade Berrier <wberrier@novell.com>
* .pc and wrapper scripts: Use relative paths so gtk-sharp is
relocatable
2005-10-19 Mike Kestner <mkestner@novell.com>
* gtk/TextBuffer.custom : add some obsolete overloads for backward
compat with some not-completely-unusable 1.0.x methods.
2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Object.cs: remove the fast path. It was causing troubles with
MD.
2005-10-19 Mike Kestner <mkestner@novell.com>
* gnome/PrintContext.custom (SetFont): pass the font by handle, not
ref.
2005-10-19 Mike Kestner <mkestner@novell.com>
* bootstrap : bump version for 2.6.0.
* bootstrap-2.4 : bump version for 2.4.0.
2005-10-08 Miguel de Icaza <miguel@novell.com>
* gtk/Application.cs (Invoke): Use Timeout instead of Idle add to
trigger the event on the Gtk thread.
2005-10-09 Mike Kestner <mkestner@novell.com>
* Makefile.include : reference Mono.Cairo.dll.
* gdk/Gdk.metadata : add cairo_t symbol element.
2005-10-09 Mike Kestner <mkestner@novell.com>
* configure.in.in : string quote the POLICY_VERSIONS.
* Makefile.include : multiple policy fixes.
* */Makefile.am : multiple policy fixes.
2005-10-08 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : handle enum return values GTypes.
* gtk/TextBuffer.custom : mark Text prop !GTK_SHARP_2_8.
[Fixes #75885]
2005-10-08 Ben Maurer <bmaurer@ximian.com>
* glade/XML.custom: Do not look at inherited custom
attrs. Increases performance.
* glib/SignalAttribute.cs: Add AttributeUsage attr to increase
perf and compiler checking
2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/MainContext.cs: added a Depth property to p/invoke g_main_depth.
* glib/Object.cs:
(Dispose): immediately call g_object_unref without queueing when
possible (MainContext.Depth > 0) and use Timeout.Add instead of Idle.Add
to get our unref callback scheduled more reliably.
2005-10-05 Mike Kestner <mkestner@novell.com>
* bootstrap : bump version for beta3.
* bootstrap-2.4 : bump version for beta3.
2005-09-27 Mike Kestner <mkestner@novell.com>
* glib/Opaque.cs : remove the Opaques hash. As f-spot demonstrated,
we cannot rely on a pointer continuing to point at the same type in
memory, since there is no destroy notification for most opaques.
* glib/Value.cs : use more explicit GetOpaque overload.
* gtk/Style.custom : use more explicit GetOpaque overload.
2005-09-24 Christian Hergert <christian.hergert@gmail.com>
* vte/Vte.metadata: Fix Vte.Terminal.SetColors to reflect proper mapping
to vte_terminal_set_colors. palette is now Gdk.Color[].
* sample/VteTest.cs: Update to work with fixed parameter.
* doc/en/Vte/Terminal.xml: Update vte docs to reflect parameter fix.
2005-09-23 Mike Kestner <mkestner@novell.com>
* configure.in.in : expand glib-sharp-2.0.pc.
* glib/glib-sharp-2.0.pc.in : new pc file template.
* glib/Makefile.am : dist and install pc file.
* gtk/gtk-sharp-2.0.pc.in : Require glib-sharp-2.0.
2005-09-21 Mike Kestner <mkestner@novell.com>
* bootstrap* : expose POLICY_VERSIONS variable.
* configure.in.in : AC_SUBST new POLICY_VERSIONS.
* Makefile.include : build/install policy assemblies.
* policy.config.in : policy config skeleton.
* */Makefile.am : ditto.
2005-09-19 Tambet Ingo <tambet@ximian.com>
* glib/Opaque.cs: Set owned property in any case. Generated code
will set owned to false after unref.
2005-09-15 Mike Kestner <mkestner@novell.com>
* configure.in.in : make gtkhtml-3.8 check >= 3.8.0.
[Fixes #76119]
2005-09-15 Mike Kestner <mkestner@novell.com>
* glade/Glade.metadata : mark Interface.toplevels private to allow
manual implementation.
* glade/Interface.custom : add manual impl for Toplevels and obsolete
old toplevels impl.
* glade/Makefile.am : add new custom.
2005-09-15 Mike Kestner <mkestner@novell.com>
* parser/gapi-fixup.cs : warn on unmatched rules. reworked from a Dan
Winship patch. [Fixes #76088]
2005-09-08 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Hide Gtk.Drag.SetIconDefault. Mark
Gtk.TreeView.GetVisibleRect's arg as "out".
* gtk/Drag.custom: gtk_drag_set_icon_default(ctx) should translate
to Gtk.Drag.SetIconDefault(ctx), not Gtk.Drag.IconDefault = ctx.
* gtk/TreeView.custom: add obsolete GetVisibleRect()
2005-09-07 Mike Kestner <mkestner@novell.com>
* bootstrap : bump version for beta2.
* bootstrap-2.4 : bump version for beta2.
2005-09-07 Eric Butler <eric@extremeboredom.net>
* gtk/NodeStore.cs : Add Clear() method
* doc/en/Gtk/NodeStore.xml : Add documentation for above method
2005-09-07 Mike Kestner <mkestner@novell.com>
* configure.in.in : check for monodoc sources dir and warn if we are
configuring for a different prefix.
* doc/Makefile.am : add install targets.
2005-09-06 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.cs : fix recursive emit of row_inserted.
2005-09-02 Tambet Ingo <tambet@ximian.com>
* glib/Object.cs: Clean disposed flag from resurrected objects.
2005-09-02 Miguel de Icaza <miguel@novell.com>
* gtk/Application.cs (Invoke): Add new overloads to easily invoke
methods on the executing thread.
2005-09-01 Miguel de Icaza <miguel@novell.com>
* gtk/Application.cs (Invoke): Add sugar to invoke a method on the
main thread.
2005-09-02 Ben Maurer <bmaurer@ximian.com>
* sample/NodeViewDemo.cs: take advantage of the stuff below
* gtk/TreeNodeValueAttribute.cs: Allow on props
* gtk/TreeNodeAttribute.cs: Obsolete column count
* gtk/NodeStore.cs: Change this to not need the TreeNodeAttribute
column count. Handle fields as well as properties.
2005-08-30 Mike Kestner <mkestner@novell.com>
* gdk/Event.cs : add some null guarding to GetEvent.
[Fixes #75642]
2005-08-30 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl : ignore ifndef *_H_ lines like in 1.0.x.
[Fixes #75938]
2005-08-30 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.custom : recursively emit row_inserted for AddNode.
[Fixes #75853]
2005-08-29 Mike Kestner <mkestner@novell.com>
* gtk/Widget.custom : add overloads for Modify* without a Gdk.Color
param to reset color to default. [Fixes #75913]
2005-08-28 Ben Maurer <bmaurer@ximian.com>
* configure.in.in: Enable doc building without mono-tools being
built.
* gtk/NodeSelection.cs: helper api
2005-08-27 Peter Williams <peter@newton.cx>
* gnome/Program.custom: Use a GLib.Argv in PersistentData to store
a handle to argv, so that the unmanaged strings aren't freed out
from under popt. This allows the popt context to actually be used.
2005-08-26 John Luke <john.luke@gmail.com>
* glib/Signal.cs: deal with obj.Handle == IntPtr.Zero
to avoid assertions
2005-08-25 Mike Kestner <mkestner@novell.com>
* configure.in.in : move GACUTIL check forward ahead of a use.
* Makefile.include : distcheck fixes
* glib/Makefile.am : distcheck fixes
* gtkdotnet/Makefile.am : distcheck fixes
2005-08-25 Mike Kestner <mkestner@novell.com>
* configure.in.in : add PLATFORM_WIN32 conditional. Borrow mono's
libtool s/cyg// hack. Improve/relocate System.Drawing check.
* Makefile.include : add gapi-cdecl-insert handling for win32.
* glib/Makefile.am : add gapi-cdecl-insert handling for win32.
* gtkdotnet/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/.
* sample/DrawingSample.cs : remove C# 2.0-isms.
* sample/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/.
2005-08-25 Mike Kestner <mkestner@novell.com>
* bootstrap : bump version to 2.5.90.99
* bootstrap-2.4 : bump version to 2.3.90.99
2005-08-25 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoIconView.cs : remove C# 2.0-isms.
* sample/opaquetest/OpaqueTest.cs : remove C# 2.0-isms.
* sample/valuetest/ValueTest.cs : remove C# 2.0-isms.
* sample/PolarFixed.cs : remove C# 2.0-isms.
2005-08-23 Ben Maurer <bmaurer@novell.com>
* glib/Object.cs: Escape names and ensure stuff is unique.
2005-08-23 Joe Shaw <joeshaw@novell.com>
* generator/SymbolTable.cs: Add "unsigned" as a type
which maps to "uint".
* parser/gapi2xml.pl: Handle "type const *" return types
as well. I think this is all of them!
2005-08-23 Joe Shaw <joeshaw@novell.com>
* parser/gapi2xml.pl: Fix a cut-and-paste error in handling
"type const *" fields.
2005-08-23 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : handle foo const * fields.
* gnome/gnome-api-2.10.raw : regen.
2005-08-23 Mike Kestner <mkestner@novell.com>
* bootstrap-for-the-insane : restore the message of doom that was
removed during the "bootstrap-generic" reorganization.
2005-08-22 Joe Shaw <joeshaw@novell.com>
* parser/gapi2xml.pl: Fix a minor bug handling "type const *"
parameters.
2005-08-22 Ben Maurer <bmaurer@novell.com>
* gtk/TreeNode.cs: Add Interlocked.Increment rather than ++. This
makes it safe to create tree nodes in a worker thread as long as
you reparent them into the tree with another thread. Thanks to mk
for allowing a bit of threadedness in :-).
* gtk/NodeView.cs: Fix leak here. r=mkestner
2005-08-22 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : handle "type const *" parameters.
* gdk/gdk-api-2.8.raw : regened probably from one of danw's parser
fixes. [Fixes #75844]
2005-08-22 Dan Winship <danw@novell.com>
* generator/Property.cs (Generate): Mark properties [Obsolete] if
they or their accessors are marked deprecated. (Affects
Gtk.Entry.Editable, Gtk.FontSelection.Font,
Gtk.Notebook.*TabBorder, Gtk.Object.UserData, and a bunch of old
Gtk.ProgressBar properties).
* gtk/Gtk.metadata: Hide Entry.Editable. Mark Notebook.Homogeneous
deprecated.
* gtk/Entry.custom: Implement Editable property with an Obsolete
pointing to IsEditable.
2005-08-22 Dan Winship <danw@novell.com>
* generator/CallbackGen.cs (Validate, MarshalType): if validation
fails, set MarshalType to "" to propagate that failure into
methods that have args of this type. [Fixes #75851]
2005-08-15 Peter Williams <peter@newton.cx>
* bootstrap-generic: New script, handles bootstrapping stuff generically
and saves bootstrap settings so we can regenerate configure.in from
configure.in.in.
* bootstrap
* bootstrap-2.4
* bootstrap-for-the-insane: Modify to use bootstrap-generic
* Makefile.am (configure.in): Add a rule to run bootstrap.status to
regenerate configure.in if configure.in.in changes.
2005-08-15 Mike Kestner <mkestner@novell.com>
* bootstrap : update for 2.5.90 release.
* bootstrap-2.4 : update for 2.3.90 release.
2005-08-15 Mike Kestner <mkestner@novell.com>
* gtk/glue/makefile.win32 : s/.c/.o typo.
2005-08-15 Mike Kestner <mkestner@novell.com>
* pango/makefile.win32 : process symbols file at fixup target.
2005-08-15 Mike Kestner <mkestner@novell.com>
* sample/opaquetest/Makefile.am : make clean fixes
* sample/valtest/Makefile.am : make clean fixes
2005-08-15 Dan Winship <danw@novell.com>
* sample/opaquetest/Makefile.am (EXTRA_DIST): add missing files
(generated/*.cs): fix for srcdir!=builddir
* sample/valtest/Makefile.am (EXTRA_DIST): add missing files
(Valobj.cs): fix for srcdir!=builddir
2005-08-15 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : hold strong refs for managed subclasses and
weakrefs for wrappers.
* gtk/Object.custom : don't hold managed refs here, they are now held
in GLib.Object.
2005-08-11 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (addFuncElems): if a struct or boxed type has
a constructor or a ref, unref, or destroy method, then it must be
a reference type, so mark it "opaque" but then also mark all of
its fields public and writable.
* */*-api*.raw: Regen
* generator/Parser.cs (ParseNamespace): make the opaque attribute
check actually look at the value of the attribute rather than just
checking if it's there, so that you can change a struct's opaque
attribute from "true" to "false" via metadata and have that work.
* generator/BoxedGen.cs (Generate): do not generate the boxed's
"Free" method (since it's guaranteed to crash when we pass it a
stack pointer). If "Copy" is marked deprecated, create a
deprecated no-op for it, otherwise just skip it (since otherwise
it will just leak memory when we copy its result onto the stack).
* pango/Pango.metadata: deprecate Pango.Color.Copy and
Pango.Matrix.Copy. Hide some array fields in Pango.GlyphString
that we've never generated correctly. Tweak Pango.LayoutLine
fields to be the same as they used to be.
* pango/GlyphItem.custom (glyphs, item):
* pango/GlyphString.custom (Zero, New):
* pango/Item.custom (Zero, New):
* pango/LayoutRun.custom (glyphs, item): add deprecated API compat
* gdk/Gdk.metadata: undo the parser's new opaquification of
Gdk.Font; it's been deprecated since pre-gtk# times, and no one
should be using it, so there's no point in fixing it now. Fix up a
few other things to match how they used to be. Fix RgbCmap's
constructor args.
* gdk/RgbCmap.custom (Zero, New): deprecated API compat
* gdk/PangoAttrEmbossed.custom:
* gdk/PangoAttrStipple.custom (Zero, New, Attr): deprecated API
compat
(explicit operator ...): allow casting back and forth between
Pango.Attribute. (We can't usefully make them real subclasses of
Pango.Attribute, because there's no way for
Pango.Attribute.GetAttribute() to be able to dtrt with them.)
* gtk/Gtk.metadata: deprecate Gtk.Requisition.Copy,
Gtk.TextIter.Copy, and Gtk.TreeIter.Copy. Mark the return value of
TextView.DefaultAttributes as "owned". Mark TargetList's fields
private so it stays how it used to be.
* gtk/TextAttributes.custom (Zero, New): deprecated API compat
* gnomevfs/Gnomevfs.metadata: remove a bunch of opaque
declarations that the parser figures out on its own now.
* art/Art.metadata:
* glade/Glade.metadata:
* rsvg/Rsvg.metadata: un-mark everything the parser marked opaque
in these libraries, because all of the structs in question would
still be unusably broken, so the API churn would be pointless.
2005-08-11 Dan Winship <danw@novell.com>
* generator/OpaqueGen.cs (Generate):
* generator/StructBase.cs (Generate): Add the [Obsolete] attribute
to deprecated structs/boxeds/opaques too. (Affects Gdk.Font,
Gtk.Arg, Gtk.ItemFactoryEntry, Gnome.IconData, and [in 2.6]
Gnome.Vfs.MimeAction)
2005-08-09 Dan Winship <danw@novell.com>
* configure.in.in: kill off all gda/gnomedb references.
(Henceforth gda# and gnomedb# will be part of gda and gnomedb. Or
maybe separate modules in Mono SVN. Not part of gtk-sharp though.)
* Makefile.am (SUBDIRS): remove gda and gnomedb
* gda/, gnomedb/: buh-bye
* sources/Makefile.am: remove gda/gnomedb
* sources/gda.patch, sources/gnomedb.patch: gone
2005-08-09 Dan Winship <danw@novell.com>
* generator/ClassBase.cs (Validate): Don't fully validate the
parent class and interfaces (because we don't want to see the
warnings about certain GtkWidget methods in every single library
that defines a widget, etc). Instead, use the new
ValidateForSubclass() method.
(ValidateForSubclass): only validate the signals
* generator/InterfaceGen.cs (ValidateForSubclass): for interfaces
we need to validate the methods too.
* generator/ObjectGen.cs (Generate): Check for interface method
collisions against the class's own methods too, not just its other
interfaces. Also, it's only a collision if the methods' signatures
have the same types.
* generator/Method.cs (GenerateDeclCommon): Strip "Get"/"Set" even
in the context of "Gtk.TreeModel.GetNColumns"
* generator/Signal.cs (GenDefaultHandlerDelegate): Use
"{0}_managed" rather than "obj" for the internal variable name, to
avoid compile problems with signals that have a parameter named
"obj".
* generator/SymbolTable.cs (MangleName): mangle "internal" to
"_internal".
* generator/CallbackGen.cs (GenWrapper): treat InterfaceGen return
values the same as ObjectGen
2005-08-09 Dan Winship <danw@novell.com>
* generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref
a bit; only Ref the pointer if Owned is false (and then set it to
true), and vice versa for Unref.
* glib/Opaque.cs (Opaque): set owned before setting Raw, so
that Raw will be reffed properly.
(GetOpaque): Fix this up to dtrt in all cases with refcounted
opaques.
* gtk/TreeView.custom (GetPathAtPos): Use "GetOpaque(...)" rather
than "new TreePath()"
* sample/opaquetest/*: regression test for opaque free/ref/unref
handling
* sample/Makefile.am (SUBDIRS): add opaquetest
* configure.in.in (AC_OUTPUT): add opaquetest files
2005-08-04 Dan Winship <danw@novell.com>
Change the way generatable validation works. Some generatable
properties can't be set until Validate-time (eg, Method.IsGetter),
but it's annoying for every potential user of those properties to
have to make sure it has Validated the generatable first. So now
we add an explicit Validate() step after everything is loaded but
before anything is Generated, so that at Generation time,
everything can be assumed to have been Validated.
* generator/IGeneratable.cs: add "bool Validate()"
* generator/CodeGenerator.cs (Main): after loading all of the
generatables, DeAlias the SymbolTable, Validate() all the
generatables, and discard any invalid ones.
* generator/*.cs: Implement Validate() trivially in generatables
that didn't implement it before. Move Validate() calls from
Generate() to Validate(). Remove non-hierarchical Validate()
calls.
* generator/SymbolTable.cs: GPtrArray is IntPtr, not IntPtr[]
2005-08-04 Dan Winship <danw@novell.com>
* gtk/TargetList.custom: add an operator for casting to
TargetEntry[], so you can use methods like
TargetList.AddTextTargets() in situations where you need a
TargetEntry[] rather than a TargetList.
* gtk/glue/targetlist.c: glue for that
2005-08-04 Mike Kestner <mkestner@novell.com>
* generator/Ctor.cs : call Finish and HandleException for static ctor
method bodies. [Fixes #75493]
2005-08-03 Mike Kestner <mkestner@novell.com>
* bootstrap : use gnome and vfs 2.10 api.
* bootstrap-2.4 : use gnome and vfs 2.6 api.
* bootstrap-for-the-insane : use gnome and vfs 2.10 api for now.
* configure.in.in : substitute GNOME_REQUIRED_VERSION.
* gnome/gnome-api.raw : rename to gnome-api-2.6.raw.
* gnome/gnome-api-2.10.raw : new 2.10 parse.
* gnomevfs/gnome-vfs-api.raw : rename to gnome-api-2.6.raw.
* gnomevfs/gnome-vfs-api-2.10.raw : new 2.10 parse.
* gnomevfs/Gnomevfs.metadata : mark MimeApplication opaque.
* sources/Makefile.am : split gnome parse for 2.6/2.10.
* sources/gtk-sharp-2.4-sources.xml : parse GNOME 2.6.
* sources/gtk-sharp-2.6-sources.xml : parse GNOME 2.10.
* sources/gtk-sharp-2.8-sources.xml : parse GNOME 2.10 for now.
2005-08-02 Dan Winship <danw@novell.com>
* generator/Property.cs (Generate): cast GLib.Values to
System.Enum before casting them to an enum type, to fix the build
with csc 1.1.
2005-07-29 Dan Winship <danw@novell.com>
Automatic memory management for opaque types [#49565]
* glib/Opaque.cs (Owned): new property saying whether or not gtk#
owns the memory.
(Opaque): Set Owned to true in the void ctor and false in the
IntPtr one.
(GetOpaque): add a new overload that can also create opaques, a la
GLib.Object.GetObject.
(Ref, Unref, Free): empty virtual methods to be overridden by
subclasses.
(set_Raw): Unref() and possibly Free() the old value, Ref() the
new one.
(~Opaque, Dispose): set Raw to IntPtr.Zero (triggering Free/Unref
if needed)
* parser/gapi2xml.pl (addReturnElem): if the method is named Copy
and returns a pointer, set the "owned" attribute on the
return-type.
* */*-api.raw: Regen
* generator/HandleBase.cs (FromNative): Add new
FromNative/FromNativeReturn overloads that takes a "bool owned"
param. Implement the 1-arg FromNative and FromNativeReturn in
terms of that.
* generator/ObjectBase.cs (FromNative): Implement HandleBase's new
overload. Use the two-arg version of GLib.Object.GetObject when
"owned" is true.
* generator/OpaqueGen.cs (Generate): Pull out Ref, Unref, and
Free/Destroy/Dispose methods and handle them specially by
overriding Opaque.Ref, .Unref, and .Free appropriately. (If any
of the methods are marked deprecated, output a deprecated
do-nothing method as well, to save us from having to write all
those deprecated methods by hand.)
(FromNative): use GetOpaque, passing "owned".
* generator/ReturnValue.cs (FromNative): if the value is a
HandleBase, pass Owned to its FromNative().
* generator/Parameters.cs (Owned): new property (for use on out
params)
(FromNative): Call FromNative() on the generatable, handling Owned
in the case of HandleBase.
* generator/ManagedCallString.cs:
* generator/MethodBody.cs:
* generator/Signal.cs: use param.FromNative() rather than
param.Generatable.FromNative(), to get ownership right.
* */*.metadata: Mark opaque ref/unref/free methods deprecated
(except where we were hiding them before). Add "owned" attributes
to return values and out params as needed.
* pango/AttrIterator.custom (GetFont): work around a
memory-management oddity of the underlying method.
* pango/AttrFontDesc.cs (AttrFontDesc): copy the passed-in
FontDescriptor, since the attribute will assume ownership of it.
* gtk/TreeView.custom (GetPathAtPos): set the "owned" flag on the
returned TreePaths.
* gtk/TargetList.custom: Remove refcounting stuff, which is
now handled automatically
* gtk/NodeStore.cs (GetPath): clear the Owned flag on the created
TreePath so that the underlying structure doesn't get freed when
the function returns
* gtkhtml/HTMLStream.custom (Destroy): hide this and then
reimplement it by hand to keep OpaqueGen from using it in
Dispose(), since calling it after an HTMLStream.Close() will
result in a crash.
2005-08-01 Todd Berman <tberman@off.net>
* gtk/Gtk.metadata: Change the Gtk.Style.Paint* methods to use a
Gdk.Drawable instead of a Gdk.Window
* doc/en/Gtk/Style.xml: Update the documentation for the above
change.
2005-07-28 Mike Kestner <mkestner@novell.com>
* bootstrap-for-the-insane : beginnings of 2.8 binding.
* */*-api-2.8.raw : 2.8 api files.
* gdk/Gdk.metadata : work around #define used in Pixbuf props in 2.7.
* parser/gapi2xml.pl : collision guarding for privatestruct defs.
* sources/gtk-sharp-2.8-sources.xml : parse for 2.8.
* sources/Makefile.am : api-2.8, get-2.8-sources, etc...
2005-07-28 Dan Winship <danw@novell.com>
* sources/gtk-sharp-2.4-sources.xml:
* sources/gtk-sharp-2.6-sources.xml: exclude a bunch of
gnome-print stuff that is not part of gnome-print's public API.
* gnome/gnome-api.raw: regen
* gnome/Gnome.metadata: remove some no-longer-needed metadata
* gnome/GPFontEntry.custom:
* gnome/GPPath.custom: no longer needed
* gnome/FontFamily.cs: moved from FontFamily.custom, since there's
no longer any non-custom portion of this.
2005-07-27 Dan Winship <danw@novell.com>
* gtk/ComboBoxEntry.custom: add an "Entry" property to cleanly
fetch the ComboBoxEntry's Gtk.Entry
2005-07-27 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (addParamsElem): deal with G_CONST_RETURN in
params... some functions use that to mark const "out" params. In
fact, let's use it as a hint to mark them pass_as="out" too...
* pango/pango-api-2.4.raw:
* pango/pango-api-2.6.raw:
* gtk/gtk-api-2.6.raw: Regen, fixing pango_script_iter_get_range
and gtk_image_get_icon_name.
* pango/Pango.metadata:
* pango/ScriptIter.cs: Alas, exposing GetRange makes it clear that
PangoScriptIter is really weird and we weren't wrapping it
correctly before anyway, so mark the whole thing hidden and wrap
it by hand.
2005-07-25 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata : mark IconList.GetIconFilename retval const.
[Fixes #75530]
2005-07-21 Dan Winship <danw@novell.com>
* glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject
constructors and casts. Add a new Enum cast.
(Val): Handle Pointer values. Change the handling of Enum/Flags
values to return the value directly rather than returning an
EnumWrapper. Remove the Char (ie, "byte") handling since there
aren't any char properties in all of gtk-sharp and the generator
mistakenly converts them to strings anyway.
* glib/EnumWrapper.cs:
* glib/UnwrappedObject.cs: Mark these Obsolete.
* glib/glue/type.c (gtksharp_get_parent_type,
gtksharp_get_type_name_for_id):
* glib/glue/value.c (gtksharp_value_get_value_type): Remove some
unneeded glue methods.
* generator/Ctor.cs (Generate):
* generator/Property.cs (Generate): Simplify the enum and object
property glue to not use EnumWrapper or UnwrappedObject.
* sample/valtest/*: a regression test for GLib.Value
* configure.in.in: add sample/valtest
2005-07-21 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (parseInitFunc): handle interface properties
as well as class properties
* gtk/gtk-api-2.4.raw:
* gtk/gtk-api-2.6.raw: Regen (adding properties to GtkFileChooser).
* generator/Property.cs (GenerateDecl): new method to generate
just a property declaration (for an interface).
(Generate): Add an "implementor" arg as with Method.Generate.
* generator/InterfaceGen.cs (Generate): Generate properties. Also,
validate methods *before* checking if they should be ignored,
since certain Method properties aren't set until Validate-time.
* generator/*.cs: misc minor changes/reorg for the above.
2005-07-19 Todd Berman <tberman@off.net>
* gtk/TreeSelection.custom: Add an overload for GetSelected to remove
the need to always pass in that damn TreeModel.
* doc/en/Gtk/TreeSelection.xml: Add documentation for the new
overload.
2005-07-19 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (addParamsElem): change the handling of
anonymous function pointer types in method signatures. Before, we
added a <callback> child to the <parameters> node, but the
generator just ignored it. Now we add the callback (with a made-up
name) to the toplevel node, and add an ordinary <param> node
referencing it to the <parameters> node. Also, if the last param
of the callback is a gpointer, rename it from "arg#" to "data" so
it will be treated correctly (as the user data passed from the
calling method). [Fixes #66241]
* art/art-api.raw:
* gdk/gdk-api-2.4.raw:
* gdk/gdk-api-2.6.raw: Regen
* generator/Parameters.cs (IsHidden): loosen the definition of
hideable user_data; it doesn't have to occur at the end of the
parameter list, as long as there's a callback arg before it.
* generator/MethodBody.cs (GetCallString): Use Parameters.IsHidden
to decide whether or not to squash user_data params, rather than
trying to duplicate its logic. As a side effect, this also causes
a handful of methods that take non-hidden IntPtr arguments to
start actually passing those arguments to C rather than always
passing IntPtr.Zero.
* generator/Method.cs (Equals, GetHashCode): Remove unnecessary
and possibly erroneous hashing overrides.
* gtk/Gtk.metadata: Hide Gtk.Container.ForeachFull, since it's
useless and wasn't in gtk# 1.0
* gtk/Menu.custom (Popup):
* gtk/TextIter.custom (ForwardFindChar, BackwardFindChar):
* gnome/App.custom (CreateMenusInterp, InsertMenusInterp,
CreateToolbarInterp):
* gnome/Client.custom (RequestInteractionInterp):
* gnome/Popup.custom (MenuDoPopupModal, MenuDoPopup): Add
[Obsolete] compat overloads for methods that have now lost a
useless IntPtr.
2005-07-19 Dan Winship <danw@novell.com>
* generator/Parameters.cs: Remove the AllowComplexRefs flag.
(They're always allowed now.)
* generator/Signal.cs (GenVirtualMethod): Fix up the use of CSType
vs MarshalType in the ref/out-handling code so that this can
marshal any type.
2005-07-18 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl: Change a few instances of
"last if ($line =~ /^}/);" to
"last if ($line =~ /^(deprecated)?}/);" to prevent runaway
parsing (in particular in libgnomeui).
* sources/gtk-sharp-2.4-sources.xml:
* sources/gtk-sharp-2.6-sources.xml: exclude a handful of
libgnomeui files that were omitted in gtk# 1.0 due to the parser
bug, but which are entirely deprecated anyway. (Some of them
showed up in earlier 1.9/2.4/2.6 releases but are going away again
now.)
* gnome/gnome-api.raw: Regen
* gnome/Gnome.metadata: Hide a few more things that should be
hidden, remove a few rules that aren't needed any more. Keeping
hiding GnomeIconTheme though and using the old by-hand IconTheme
for the moment, since the by-hand one isn't compatible with the
autogenerated one.
* gnome/IconData.cs: kill this, use the autogenerated version
2005-07-13 Dan Winship <danw@novell.com>
* sources/gtk-sharp-2.4-sources.xml:
* sources/gtk-sharp-2.6-sources.xml: remove some gnome-vfs files:
gnome-vfs-method and gnome-vfs-transform, because they're
internal/part of the module API, and gnome-vfs-file-size.h,
because it's generated and shouldn't be in the source tarball (and
we don't parse it right anyway).
* gnomevfs/gnome-vfs-api.raw: Regen
* gnomevfs/gnomevfs-symbols.xml: add GnomeVFSFileOffset
* gnomevfs/Gnomevfs.metadata: remove a whole bunch of callback
types that are only used from methods and structs that we hide.
2005-07-08 Mike Kestner <mkestner@novell.com>
* */*.raw : regen.
* parser/gapi2xml.pl : access comment doesn't have to start at
beginning of line.
2005-07-08 Mike Kestner <mkestner@novell.com>
* pango/*.raw : regen.
* sources/gtk-sharp-2.4-sources.xml : exclude some xft and fc files.
* sources/gtk-sharp-2.6-sources.xml : exclude some xft and fc files.
2005-07-07 Dan Winship <danw@novell.com>
* gnome/Gnome.metadata: opaquify ModuleInfo and hide the types
that are only used inside ModuleInfo, so we don't marshal the
function pointers into (incorrect) delegates.
* gnome/Modules.cs:
* gnome/Program.custom: update for ModuleInfo being a class rather
than a struct now
2005-07-02 Mike Kestner <mkestner@novell.com>
* generator/StructField.cs : fix name exception throw conditional.
2005-07-02 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : implement new IAccessor iface so that
callback fields on structs can now be accessed.
* generator/ClassBase.cs : remove/abstract some methods incorrectly
located here.
* generator/ClassGen.cs : implement methods previously inherited from
ClassBase incorrectly.
* generator/HandleBase.cs : new base class for native ptr wrappers.
Implements new IAccessor interface and code moved from ClassBase.
* generator/IAccessor.cs : new iface to generate field/prop accessors.
* generator/InterfaceGen.cs : derive from new ObjectBase.
* generator/LPGen.cs : implement IAccessor.
* generator/LPUGen.cs : implement IAccessor.
* generator/ObjectBase.cs : new base class for Object/Iface types.
* generator/ObjectGen.cs : derive from new ObjectBase.
* generator/OpaqueGen.cs : derive from HandleBase.
* generator/StructField.cs : refactor Generate method using new
IAccessor interface.
* */*.custom : add obsolete impls for some existing c_cased struct
field accessors that are now StudlyNamed.
2005-07-02 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : remove an old workaround that put
the native wrapper class into the implementor's *Sharp namespace.
Use new ImportSignature sig.
* generator/ImportSignature.cs : don't mangle the callback wrapper
namespace any more. Remove impl_ns ctor param and field.
* generator/MethodBase.cs : use new MethodBody and ImportSignature
ctor sigs.
* generator/MethodBody.cs : drop the impl_ns ctor param.
* generator/Signal.cs : use new ImportSignature ctor sig.
* generator/VirtualMethod.cs : use new ImportSignature ctor sig.
2005-07-01 Mike Kestner <mkestner@novell.com>
* generator/Parameters.cs : init allow_complex_refs to true to fix
build.
2005-06-30 Dan Winship <danw@novell.com>
* generator/Parameters.cs (AllowComplexRefs): new property for
whether or not to allow "complex" ref/out args.
(Validate): update for that
* generator/Signal.cs: set AllowComplexRefs false on the params.
(Validate): fix the messages
(GenCallback, GenEventHandler): properly handle ref/out args, by
manually pointerifying them (except for boxed args, which are
already pointers).
* glib/Marshaller.cs (StructureToPtrAlloc): Rename from
PtrToStructureAlloc, since it wraps Marshal.StructureToPtr.
2005-06-28 Mike Kestner <mkestner@novell.com>
* gtk/ComboBox.custom : add ctor (string[]).
* gtk/ComboBoxEntry.custom : add ctor (string[]).
* sample/test/TestComboBox.cs : simple new ComboBox tester.
* sample/test/WidgetViewer.cs : button for simple new ComboBox tester.
2005-06-27 Mike Kestner <mkestner@novell.com>
* gnome/CanvasBpath.custom : a BPath property to wrap the ugly Bpath
IntPtr prop. [Fixes #75381]
2005-06-24 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata : couple of small api cleanups.
2005-06-24 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : remove the one reference to FileChooserEmbed.
* gtk/gtk-api-2.*.raw : regen.
* sources/gtk-sharp-2.*-sources.xml : exclude FileChooserEmbed files.
2005-06-23 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs : support owned and elements_owned for lists.
* glib/List.cs : add ctor overloads for memory mgmt.
* glib/ListBase.cs : add ctor overloads for memory mgmt. Dispose
elements if specified.
* glib/SList.cs : add ctor overloads for memory mgmt.
* gnome/Gnome.metadata : unhide and generate a List prop.
* gnomevfs/Gnomevfs.metadata : unhide and generate a List prop.
* gtk/FileChooser.custom : new. add hidden props.
* gtk/FileChooserButton.custom : new. impl hidden props.
* gtk/FileChooserDialog.custom : remove some List props and use the
GLib.Marshaller for the remaining ones..
* gtk/FileChooserWidget.custom : remove some List props and use the
GLib.Marshaller for the remaining ones..
* gtk/Gtk.metadata : unhide and let the generator do some List props.
2005-06-23 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Client.cs : support add/remove of a single notify handle
to multiple directories. [Fixes #55877]
2005-06-22 Mike Kestner <mkestner@novell.com>
* sample/GladeTest.cs : add a menu item signal connect to test for the
problem described in bug#74946.
* sample/test.glade : add menubar.
2005-06-22 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoHyperText.cs : replace PersistentData usage that
breaks on csc.
* sample/GtkDemo/DemoTreeStore.cs : fix a 2.0 usage.
2005-06-22 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString.cs : don't assume ref for structs.
* generator/VMSignature.cs : don't assume ref for structs.
2005-06-21 Mike Kestner <mkestner@novell.com>
* generator/ConstStringGen.cs : override ToNativeReturn ().
* generator/ClassBase.cs : use fully qualified interface names for
conflicting implementations.
2005-06-20 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : fix const foo * const * fields/params.
[Fixes #75266]
2005-06-17 Mike Kestner <mkestner@novell.com>
* Makefile.include : add included apis as deps on the generation
target to force regen if dependency lib api changes.
* pango/Analysis.custom : new custom to implement the ExtraAttrs
property. [Fixes #74668]
* pango/Makefile.am : add new custom file.
2005-06-17 Mike Kestner <mkestner@novell.com>
* bootstrap : use assembly version 2.6.0.0.
* bootstrap-2.4 : use assembly version 2.4.0.0.
* configure.in.in : substitute the assembly version.
2005-06-14 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : add nodes for all the *Set props on TextTag.
[Fixes #75219]
2005-06-10 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (addPropElem): Distinguish CONSTRUCT ("must
be set at construct time") and CONSTRUCT_ONLY ("can only be set at
construct time") properties, rather than marking them all
"construct-only".
* gnome/gnome-api.raw:
* gtk/gtk-api-2.4.raw:
* gtk/gtk-api-2.6.raw: Regen, causing a few formerly-read-only
properties to become writable.
2005-06-10 Mike Kestner <mkestner@novell.com>
* glade/XML.custom : add a try block on field autoconnect to make it
easier to catch type mismatches and such. Suggestion from Gonzalito.
2005-06-09 Lluis Sanchez <lluis@novell.com>
* glib/Marshaller.cs: Added null check in FilenamePtrToString.
2005-06-08 Mike Kestner <mkestner@novell.com>
* generator/SimpleBase.cs : off-by-one in namespace join.
* glib/ListBase.cs : support IntPtr element_type.
* gnomevfs/FileInfo.cs : make it ManualGen friendly.
* gnomevfs/*.cs : rework for FileInfo api changes.
* gnomevfs/Gnomevfs.metadata : make FileInfo a manual symbol.
* gnomevfs/Uri.custom : rework for FileInfo api changes.
* gnome/Makefile.am : add gnomevfs dependency to pick up some more api
symbols.
* gnome/gnome-sharp-2.0.pc.in : advertise the vfs dep.
[Fixes #71060]
2005-06-08 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs : don't write a sem in FromNative.
* glib/ListBase.cs : handle GLib.Object explicit element types.
* glib/Marshaler.cs : only copy lists if Count > 0.
* gtk/Gtk.metadata : unhide Window.ListToplevels with a proper element
type for automatic list to array marshaling.
* gtk/Window.custom : kill manual ListToplevels impl.
2005-06-08 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs : improved list to array marshaling.
* glib/Marshaller.cs : added ListToArray ().
* gnomevfs/Gnomevfs.metadata : mark element_type on
Mime.GetAllApplications. [Fixes #71888]
2005-06-06 Mike Kestner <mkestner@novell.com>
* generator/ImportSignature.cs : fix native delegate namespacing hack.
* gnomevfs/gnome-vfs-api.raw : regen.
* gnomevfs/Gnomevfs.metadata : replace all the type renames with a
namespace rename. remove-node several manually implemented callback
types and broken generated types for now.
* gnomevfs/Async.cs : use Opaque.Handle.
* gnomevfs/Handle.cs : kill. replaced by generated GLib.Opaque type.
* gnomevfs/Makefile.am : kill Handle.cs.
* gnomevfs/Sync.cs : use Opaque.Handle.
* sources/gtk-sharp-2.6-sources.xml : s/Gnome.Vfs/GnomeVFS.
2005-06-06 Mike Kestner <mkestner@novell.com>
* Makefile.include : depend on gapi-fixup.exe for the api target.
* parser/gapi-fixup.cs : remove-node rule handling.
2005-06-06 Dan Winship <danw@novell.com>
* sample/GtkDemo/DemoRotatedText.cs (RotatedTextExposeEvent): Use
Gdk.PangoRenderer.GetDefault() like the C gtk-demo rather than
creating a new Gdk.PangoRenderer. [Fixes #74865]
* gdk/Gdk.metadata: fix return type of Gdk.PangoRenderer.GetDefault
* glib/GType.cs (cctor): call g_type_init(). (Avoids debug spew
when monodocer updates doc/en/GLib/GType.xml.)
2005-06-02 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api-2.6.raw : regen.
* parser/gapi_pp.pl : add G_DEFINE_TYPE_WITH_CODE handling.
* parser/gapi2xml.pl : add G_DEFINE_TYPE_WITH_CODE parsing.
[Fixes #74833]
2005-06-02 Mike Kestner <mkestner@novell.com>
* glib/ListBase.cs : add a nested class to support filename encoded
string element marshaling.
* gtk/Gtk.metadata : mark the filenames and folders as filename
encoded.
* gtk/FileChooserDialog.custom : use new ListBase.FilenameString type
for list element type of filenames and folders.
* gtk/FileChooserWidget.custom : use new ListBase.FilenameString type
for list element type of filenames and folders.
[Fixes #72701]
2005-06-02 Mike Kestner <mkestner@novell.com>
* generator/ConstFilenameGen.cs : new generatable for filename encoded
const string marshaling
* generator/Makefile.am : add new file
* generator/SymbolTable.cs : add new gfilename types.
* glib/Marshaller.cs : add new filename-encoded string marshalers.
* gtk/FileSelection.custom : use FilenamePtrToString to marshal.
* gtk/Gtk.metadata : map the FileSelector filename types to my new
imaginary gfilename type. [Fixes #74963]
2005-06-02 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom : only connect to Destroyed for managed subclasses
and let the wrappers get disposed by the GC.
2005-06-01 Mike Kestner <mkestner@novell.com>
* glib/Value.cs : handle enum/flags types in Val.
[Fixes #75112]
2005-06-01 Dan Winship <danw@novell.com>
* glib/Value.cs: Add a constructor and an explicit cast for
string[] (using a G_TYPE_STRV boxed value).
* generator/SymbolTable.cs (SymbolTable): Map GStrv to string[].
(The mapping relies on the above GLib.Value magic, so it only
works correctly for properties, but that's ok, because GStrv isn't
a real type anyway and only shows up in the api files for
G_TYPE_STRV properties.) Makes the Gtk.AboutDialog Artists,
Authors, and Documenters properties show up.
* gtk/Gtk.metadata: hide
AboutDialog.Get/SetArtists/Authors/Documenters, which can't be
used to implement the Artists/Authors/Documenters properties,
because the generated code doesn't know to NULL-terminate the
arrays.
2005-05-31 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : rework the weakref release mechanism to avoid a
couple "resurrection" issues.
2005-05-25 Mike Kestner <mkestner@novell.com>
* configure.in.in : remove crosspkgdir arg that causes trouble with
newer pkgconfigs.
2005-05-24 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl: Make the enum value parser do the right
thing with parenthesized values ("FOO = (1 << 2)") and within-type
aliases ("GTK_ANCHOR_N = GTK_ANCHOR_NORTH"). Make it intentionally
do the wrong thing with unparsable values (outputting them as-is
into the api file) so that we are forced to fix them with metadata
rather than silently getting incorrect values.
* gdk/gdk-api-2.4.raw:
* gdk/gdk-api-2.6.raw (PixdataType): Now recognized as flags,
not enum
* gtk/Gtk.metadata: hide the enums ArgFlags and RcTokenType (which
are not used by any wrapped API, and which formerly contained
entirely wrong values).
* gtk/gtk-api-2.4.raw:
* gtk/gtk-api-2.6.raw (AnchorType, SelectionMode): update with
values for aliases
* gnome/Gnome.metadata: fix value of Gnome.PrintButtons.Cancel
* gnome/gnome-api.raw (PrintUnitBase, PaperSelectorFlags,
PrintDialogFlags, PrintDialogRangeFlags): Now recognized as flags,
with values.
2005-05-24 John Luke <john.luke@gmail.com>
* configure.in.in: remove doc/updater/Makefile to fix build
2005-05-23 Mike Kestner <mkestner@novell.com>
* configure.in.in : add monodocer-fu.
2005-05-21 Mike Kestner <mkestner@novell.com>
* audit : add a compatibility auditing framework.
* audit/base/*.apiinfo : initial checkin of 1.0.10 API for diffs.
* audit/extract-missing.cs : XPath tool to grab presence='missing'.
* audit/get-apidiff.pl : diffs api-infos to the base.
* audit/get-apiinfo.pl : drives a module-wide api-info extraction.
* audit/get-missing.pl : drives the extract-missing.exe tool.
* audit/makefile : all and check targets. no dist support.
* audit/mono-api-info.cs: copied from mcs/tools/corcompare.
* audit/mono-api-diff.cs: copied from mcs/tools/corcompare.
2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
* gnome/About.custom: fixes exception when passing null argument
2005-05-16 Mike Kestner <mkestner@novell.com>
* makefile.win32 : remove 1.0 csc, default to 1.1.
* gtk/TreeEnumerator.cs : remove C# 2.0 usage.
* gtk/glue/makefile.win32 : remove duplicated cellrenderer.o.
* vte/glue/Makefile.am : use VTE_DEPENDENCIES_CFLAGS.
* */makefile.win32 : add glue args to generation target.
2005-05-16 Mike Kestner <mkestner@novell.com>
* configure.in.in : expand new vte glue makefile.
* vte/glue/Makefile.am : add GTK_CFLAGS to fix build. Remove
win32 dist files.
2005-05-16 Dan Winship <danw@novell.com>
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
2005-05-15 Ben Maurer <bmaurer@ximian.com>
* bootstrap (GTK_SHARP_VERSION): Bump so that Todd's md tarballs
work. Not yet tagged...
2005-05-13 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom : hold refs for all managed subclasses. Release on
Destroy. Dispose plain wrappers on Destroy also.
* gtk/Widget.custom : remove the parent set hack since it's "handled"
on Gtk.Object now. All this will get fixed properly when we have
access to owen's toggle_refs.
2005-05-13 Mike Kestner <mkestner@novell.com>
* generator/MethodBody.cs : don't create a new destroy notify
delegate, just use GLib.DestroyHelper.NotifyHandler directly.
2005-05-11 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : mark Dispose virtual.
* gtk/Object.cs : release the Destroy handler in Dispose.
2005-05-11 Mike Kestner <mkestner@novell.com>
* configure.in.in : s/-g/-debug
2005-05-11 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide IconTheme.GetIconSizes.
* gtk/IconTheme.custom : implement GetIconSizes because of its zero
terminated array return value. 2.6 only. [Fixes #74844]
2005-05-11 Mike Kestner <mkestner@novell.com>
* pango/Makefile.am : add file.
* pango/Units.cs : new class to wrap PANGO_SCALE and PANGO_PIXELS.
* pango/glue/units.c : accessors for the macros.
* pango/glue/Makefile.am : build it.
* pango/glue/makefile.win32 : build it on win.
[Fixes #74837]
2005-05-11 Eric Butler <eric@extremeboredom.net>
* gtk/Gtk.metadata : add IEnumerable iface to ListStore.
* gtk/ListStore.cs : add GetEnumerator.
* gtk/Makefile.am : add file.
* gtk/TreeEnumerator.cs : root node enumerator for a TreeModel.
2005-05-11 Mike Kestner <mkestner@novell.com>
* gtk/Widget.custom : manual ListMnemonicLabels implementation to
return a Widget[]. [Fixes #74786]
2005-05-11 Mike Kestner <mkestner@novell.com>
* generator/ObjectGen.cs : default empty assembly names for the
mapper. [Fixes #74769]
2005-05-10 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom : Dispose on a Destroyed event.
* gtk/Widget.custom : rework the parent_set hack to go direct to
the native signal instead of using the event so we avoid rewrapping of
already destroyed parents.
2005-05-10 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : use non-obsolete PixbufLoader.Write overload.
* gdk/PixbufLoader.custom : add obsolete PixbufLoader.Write overload
for the uint case for backcompat. Update other uses to the new ulong
overload.
* sample/GtkDemo/DemoImage.cs : use PixbufLoader.Write (byte[])
overload.
2005-05-09 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : add a try/catch block to g_object_unref calls to
help identify "extra unref" bugs when exceptions occur.
2005-05-06 John Luke <john.luke@gmail.com>
* pango/Makefile.am: add Matrix.custom
* pango/Matrix.custom: add Pango.Matrix.Identity field
which is the equivalent of PANGO_MATRIX_INIT
* sample/GtkDemo/DemoRotatedText.cs: use Pango.Matrix.Identity
* doc/en/Pango/Matrix.xml: add docs for Pango.Matrix.Identity
2005-05-06 Mike Kestner <mkestner@novell.com>
* configure.in.in : always enable debug build in maintainer_mode.
2005-05-06 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : move the GetCallingAssembly invocations back out
the the public methods.
* gdk/PixbufLoader.custom : ditto.
2005-05-06 Mike Kestner <mkestner@novell.com>
* bootstrap :
* bootstrap-2.4 : use ln instead of cp for api files so reparsing
causes rebuilds.
* sources/gtk-sharp-2.6-sources.xml : moved from gtk-sharp-sources.xml
plus fixed the pango, atk, and gdk raw filenames.
* sources/gtk-sharp-2.4-sources.xml : sources file for 2.4 api.
* sources/Makefile.am : added 2.4/2.6 targets for api and get-source
with make api/get-source-code getting/parsing both versions.
* */*.raw : regenerate
2005-05-06 Jose Faria <spigaz@gmail.com>
* gdk/Pixbuf.custom : new width/height ctor overloads.
* gdk/PixbufLoader.custom : new width/height ctor overloads.
2005-05-04 Mike Kestner <mkestner@novell.com>
* autogen.sh : error out with bootstrap help message.
* bootstrap : replaces autogen.sh for the 2.5.x release line.
* bootstrap-2.4 : replaces autogen.sh for the 1.9.x release line.
* configure.in.in : renamed from configure.in and added substitution
for version, dependencies, CFLAGS and CSFLAGS.
* README : bootstrap docs
* */*-api.raw : moved to api-2.6.raw for bootstrapping.
* */*-api-2.4.raw : added 2.4 api files for bootstrapping.
* */glue/Makefile.am : add GTK_SHARP_VERSION_CFLAGS.
* pango/Attribute.cs : add a #if GTK_SHARP_2_6 block.
* pango/glue/attribute.c : add a couple #ifdef GTK_SHARP_2_6 blocks.
* sample/GtkDemo/* : make the 2.6 demos conditional.
2005-05-04 Mike Kestner <mkestner@novell.com>
* glib/Signal.cs : s/DestroyNotify/SignalDestroyNotify to fix mcs 1.0
compilation.
* gdk/Input.custom : ditto.
2005-05-04 Todd Berman <tberman@off.net>
* glade/XML.custom: Store the callback wrapper so it doesn't get GC'd.
2005-05-04 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl: make note of _get_type methods for enums
* */*-api.xml: Regen, adding gtype="..." to many enum types
* generator/EnumGen.cs (Generate): if the enum has the
"gtype" property, add a GTypeAttribute pointing to an internal
FooGType class whose GType property can be used to get the enum's
GType.
* generator/ObjectGen.cs:
s/ObjectManager.RegisterType/GType.Register/
* glib/GTypeAttribute.cs: attribute for indicating a property that
will return the GType of a type (particularly for enums, which
can't have GType properties added to them).
* glib/GType.cs: renamed from Type.cs to match the type name
(public static readonly GType ...): add a few missing types.
(Register): moved from ObjectManager.RegisterType
(LookupGType): moved from TypeConverter.LookupType and extended to
handle GTypeAttribute. Also, fix mappings for sbyte/byte/char, and
return specific GTypes for Object subclasses rather than always
returning GType.Object. [Fixes #74699]
(LookupType): moved from ObjectWrapper.LookupType
(ToString): return the type name
* glib/Object.cs (RegisterGType):
s/ObjectManager.Register/GType.Register/
(LookupGType): Make this protected internal so GType can access
it.
* glib/ObjectManager.cs (RegisterType): deprecate in favor of
GType.Register.
(LookupType): moved to GType
* glib/TypeConverter.cs (LookupType): now a deprecated wrapper
around GType.LookupGType.
* glib/Value.cs: Use GType casts rather than TypeConverter
* gtk/NodeStore.cs (ScanType):
* gtk/ListStore.custom (ListStore):
* gtk/TreeStore.custom (TreeStore): Use (GType) cast rather than
TypeConverter. Remove the error check and exception, since the
cast never returns GType.Invalid. (The check probably predates
GLib.ManagedValue.)
* gnome/PanelAppletFactory.cs (Register): Use a GType cast rather
than GLib.Object.LookupGType (which is no longer accessible after
an mcs bugfix)
* sample/GtkDemo/DemoIconView.cs (CreateStore): use the Type[]
constructor rather than the GType[] constructor, since it
translates typeof(Gdk.Pixbuf) correctly now.
2005-05-04 Dan Winship <danw@novell.com>
* generator/Parameters.cs (Parameters.Validate): If the parameters
end with "callback, gpointer, GDestroyNotify", then mark the
callback as having "notified" Scope.
(Parameters.IsHidden): Hide user_data and GDestroyNotify after a
callback.
(Parameter.Scope): make this settable
(Parameter.IsDestroyNotify): new test
* generator/MethodBody.cs (Initialize): Handle "notified" callback
scope (using a GCHandle and GLib.DestroyHelper.NotifyHandler)
* generator/CallbackGen.cs (GenWrapper): Add a static
"GetManagedDelegate" method to the wrapper type, to translate a
native delegate back to its corresponding managed delegate.
(FromNative): use GetManagedDelegate.
* generator/ReturnValue.cs (Validate): We handle callback return
values now
* generator/SymbolTable.cs: marshal GDestroyNotify as
GLib.DestroyNotify
* glib/DestroyNotify.cs: Moved from gtk
* gtk/Gtk.metadata: globally change GtkDestroyNotify to
GDestroyNotify, but then change back the ones that are exposed in
the API. Un-hide lots of methods we can correctly autogenerate
now.
* gtk/DestroyHelper.cs: moved to glib
* gtk/*.custom: remove methods that are autogenerated now, add
Obsolete wrappers where needed, replace Gtk.DestroyHelper usage
with GLib.DestroyHelper.
* gdk/Gdk.metadata:
* gnome/Gnome.metadata: Turn Gdk.Drawable.SetData and
Gnome.IconList.SetIconDataFull's GDestroyNotify args into
gpointers so the generated API stays the same as it used to be.
* rsvg/Handle.custom: implement deprecated SetSizeCallback
* sample/GtkDemo/DemoIconView.cs (CreateSort): update for API
changes
2005-05-03 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : parse const * const * Foo () properly.
[Fixes #74710]
2005-05-02 Dan Winship <danw@novell.com>
* generator/Parameters.cs (IsHidden): method to check if a
parameter should be hidden in the managed sig (eg, because it's
user_data, or it's the length of the preceding array/string, etc).
(VisibleCount): the number of parameters that will actually be
exposed in the managed signature.
(IsAccessor): test VisibleCount, not Count
(AccessorReturnType, AccessorName): deal with the fact that the
accessor parameter might not be the first one.
* generator/CallbackGen.cs:
* generator/Signature.cs: use Parameters.IsHidden.
* generator/Method.cs (Initialize): set is_set based on
VisibleCount, not Count.
(Validate): call base.Validate() before Initialize() so that
VisibleCount will be correct in Initialize.
* generator/MethodBody.cs (GetCallString, CallArrayLength,
Initialize): update to deal with accessors with multiple args.
* gtk/Clipboard.custom (SetText): implement as an Obsolete variant
of the Text property
* gtk/IconTheme.custom (SearchPath, SetSearchPath): obsolete
SetSearchPath, implement a setter on SearchPath instead.
* gtk/ListStore.custom (SetColumnTypes):
* gtk/TreeStore.custom (SetColumnTypes): implement as an Obsolete
variant of the ColumnTypes property.
* glade/XML.custom (CustomHandler): implement as a property
(SetCustomHandler): Mark this obsolete
* glade/Global.custom (SetCustomHandler): deprecate in favor of
XML.CustomHandler.
* gnomedb/Editor.custom (SetText): implement as an Obsolete
variant of the Text property
2005-05-02 Dan Winship <danw@novell.com>
Apply the parts of the generator reorganization from #69514 that
don't actually affect the generated output
* generator/PropertyBase.cs: new base class for fields and
properties (mostly containing code formerly in Property.cs).
* generator/Property.cs: derive from PropertyBase
* generator/FieldBase.cs: base class for fields (containing some
code formerly in Field.cs)
* generator/StructField.cs: class for struct fields (the rest of
what used to be Field.cs)
* generator/StructBase.cs: s/Field/StructField/
* gnome/Gnome.metadata: hide a few _get_ methods that the
generator is just now noticing, to preserve the old output.
2005-05-02 Mike Kestner <mkestner@novell.com>
* generator/Property.cs : fix interface setter generation.
[Fixes #74766]
2005-04-27 Ben Maurer <bmaurer@ximian.com>
* */Makefile.am: more build fixes
* configure.in: amd64 build fix
2005-04-26 Miguel de Icaza <miguel@novell.com>
* gtkdotnet/Graphics.cs: Contribution from Sebastian Faltoni
<sebastian.faltoni@gmail.com> that implements support for using
System.Drawing on Windows.
2005-04-26 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.cs : implement IEnumerable.
2005-04-24 Dan Winship <danw@novell.com>
* pango/Attribute.cs: Base class for Pango attributes, a la
Gdk.Event
* pango/pango-symbols.xml: explain how to marshal PangoAttribute.
* pango/AttrBackground.cs:
* pango/AttrFallback.cs:
* pango/AttrFamily.cs:
* pango/AttrFontDesc.cs:
* pango/AttrForeground.cs:
* pango/AttrLanguage.cs:
* pango/AttrLetterSpacing.cs:
* pango/AttrRise.cs:
* pango/AttrScale.cs:
* pango/AttrShape.cs:
* pango/AttrSize.cs:
* pango/AttrStretch.cs:
* pango/AttrStrikethrough.cs:
* pango/AttrStrikethroughColor.cs:
* pango/AttrStyle.cs:
* pango/AttrUnderline.cs:
* pango/AttrUnderlineColor.cs:
* pango/AttrVariant.cs:
* pango/AttrWeight.cs: subclasses of Attribute, with proper
constructors. These don't actually correspond one-to-one with
the underlying types, but they're nicer this way.
* pango/Pango.metadata: Hide Attribute and its subclasses from the
generator. Also hide "Attr" (which previously contained
non-working badly-named static methods to create Attributes)
and AttrClass (which is not really useful outside of pango
itself).
* pango/AttrIterator.custom: use Pango.Attribute.GetAttribute.
* pango/glue/attribute.c: glue for Attribute and its subclasses
[Fixes #52575 and its semi-dup #46552]
2005-04-22 Dan Winship <danw@novell.com>
* gnome/Gnome.metadata: mark GnomeTriggerActionFunction's char**
param const
* glib/Marshaller.cs (Utf8PtrToString): Add an IntPtr[]->string[]
overload, since that's what we actually need in the case where
it's used (above). Leave the IntPtr[]->string[] overload of
PtrToStringGFree in case anyone is using it manually.
* gtk/Gtk.metadata: hide GtkModuleInitFunc and
GtkModuleDisplayInitFunc; they are the signatures of user-defined
methods that gtk only ever resolves via g_module_symbol(), so
they're not useful from C#. (And the marshalling was all wrong
anyway...)
* glib/Type.cs:
* glib/TypeConverter.cs:
* glib/Value.cs: sort lists of GTypes into TypeFundamental order
2005-04-22 Mike Kestner <mkestner@novell.com>
* configure.in : bump version to 2.5.0 for trunk.
2005-04-21 Mike Kestner <mkestner@novell.com>
* configure.in : require gtk+ 2.6.
* generator/ReturnValue.cs : invalidate Callback returns for now.
* gtk/Gtk.metadata : some renames for conflicting new API.
* parser/gapi2xml.pl : whitespace tweak for class VM regexen.
* sources/Makefile.am : add new patch, kill atk patch, revise dirs.
* sources/atkhyperlink.patch : kill unnecessary patch.
* sources/gtkclipboard.patch : add new clipboard patch.
* sources/gtk-sharp-sources.xml : parse gtk+-2.6.
* */*-api.raw : regen pango, atk, gdk, and gtk for new versions.
2005-04-21 Dan Winship <danw@novell.com>
* parser/gapi_pp.pl: add "#if 0" to $eatit_regex
* gdk/EventClient.cs (gtksharp_gdk_event_client_get_time):
* glib/Object.cs (gtksharp_get_type_id):
* glib/Value.cs (gtksharp_object_get_ref_count,
g_value_take_boxed):
* gnome/PrintContext.custom (gnome_print_concat,
gnome_print_glyphlist, gnome_print_setdash):
* gtk/NodeStore.cs (gtksharp_node_store_new, stamp):
* gtk/NodeView.cs (gtk_tree_view_new_with_model):
* gtk/Widget.custom (gtksharp_gtk_widget_set_allocation):
* pango/LayoutLine.custom (g_free): Remove unused
prototypes/fields
2005-04-21 Mike Kestner <mkestner@novell.com>
* Makefile.include : make mcs shaddup about 169.
2005-04-20 Mike Kestner <mkestner@novell.com>
* generator/*.cs : cleanup the unused private member warnings.
2005-04-20 Mike Kestner <mkestner@novell.com>
* parser/gapi-parser.cs : add a directory element with child exclude
elements to simplify source version updating.
* sources/gtk-sharp-sources.xml : switch to directory elements.
2005-04-19 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : add a None member to ModifierType and fix the
definition for ModifierMask since the parser barfs on it.
[Fixes #74594]
2005-04-17 Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>
* sample/PolarFixed.cs: (PolarFixed.PolarFixedChild): Fix compilation
problem.
2005-04-15 Mike Kestner <mkestner@novell.com>
* configure.in : remove unnecessary libxml check.
* parser/gapi-parser.cs : use a System.Xml to kill gapi_format_xml.
* parser/formatXml.c : kill.
* parser/Makefile.am : kill gapi_format_xml
* */*-api.raw : enormous whitespace diff. sorry dawgs on mono-patches.
2005-04-15 Mike Kestner <mkestner@novell.com>
* parser/gapi-parser.cs : C# rewrite of the old perl driver script.
* parser/gapi_parser.pl : kill.
* parser/gapi2-parser.in : invoke via $(RUNTIME).
* parser/Makefile.am : build rework for C# parser driver.
* sources/Makefile.am : use $(RUNTIME) to invoke new parser assm.
2005-04-12 Mike Kestner <mkestner@novell.com>
* configure.in : bump version to 1.9.3 and tag.
2005-04-11 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : fix out params on RenderPixmapAndMask* methods.
2005-04-11 Dan Winship <danw@novell.com>
* generator/ClassBase.cs (ParseImplements): record both managed
and unmanaged interface declarations.
(Implements): check recursively
* generator/ObjectGen.cs (Generate): output managed interfaces
* gtk/Gtk.metadata: make Container implement IEnumerable
* gtk/Container.custom (GetEnumerator): implement (a simplified
form of Children).
(AllChildren): add this (which accumulates the results of
Forall()).
(ForAll): mark ForAll(bool,CallbackInvoker) obsolete and add a
ForAll(bool,Gtk.Callback) overload to replace it.
* sample/PolarFixed.cs: new silly but fully-functional demo of
how to subclass container.
* sample/CustomNotebook.cs: kill this, since it was really
complicated, and never fully functional.
* sample/GtkDemo/DemoImages.cs (ToggleSensitivity): Use foreach
directly on the container, rather than on its .Children.
2005-04-11 Mike Kestner <mkestner@novell.com>
* gtk/Quit.custom : obsolete AddFull and implement Add properly.
* gtk/TreePath.custom : add ctor (int[] indices).
* gtk/Gtk.metadata : hide Quit.Add* and some ellipsis methods that are
implemented manually already.
2005-04-08 Dan Winship <danw@novell.com>
* configure.in: Add an --enable-debug flag, to build .mdb files
for all of the assemblies
* Makefile.include:
* gconf/GConf/Makefile.am:
* gconf/GConf.PropertyEditors/Makefile.am:
* glib/Makefile.am:
* gtkdotnet/Makefile.am (CLEANFILES): add $(ASSEMBLY).mdb
$(ASSEMBLY): build with $(CSFLAGS). Always delete $(ASSEMBLY).mdb
before building $(ASSEMBLY), so that if you first build with
debugging enabled, then update, then rebuild without debugging
enabled, you don't end up with an out-of-date .mdb file.
2005-04-08 Alp Toker <alp@atoker.com>
* atk/makefile.win32: gapi-cdecl-insert was called in the wrong place
and broke the win32 build.
2005-04-07 Dan Winship <danw@novell.com>
* gtk/Object.custom (Raw): Always ref the object, even if it's not
floating when we get it, since GLib assumes we hold a ref on it.
[Fixes #74468]
* gtk/Window.custom: remove refcount special-handling here
2005-04-06 Mike Kestner <mkestner@novell.com>
* gtk/FileFilter.custom : AddCustom delegate is destroy notified.
* gtk/Gtk.metadata : hide FileFilter.AddCustom. hide gtk_object_get|set.
2005-04-05 Mike Kestner <mkestner@novell.com>
* gtk/*.custom : persistent delegates for most of the remaining
"interesting" methods.
2005-04-05 Dan Winship <danw@novell.com>
* gdk/PixbufLoader.custom: Fix the new constructors to make sure
they call Close() in the event of an exception, to prevent a
g_warning.
2005-04-05 Mike Kestner <mkestner@novell.com>
* gtk/DestroyHelper.cs : implement an internal DestroyNotify handler
to release GCHandles.
* gtk/*.custom : rework existing persistent delegate implementations
to use destroy notify or PersistentData.
2005-04-05 Alp Toker <alp@atoker.com>
* gtk/Menu.custom: don't re-implement the Screen getter in Gtk.Menu.
Instead just return base.Screen, which is implemented by Widget.
2005-04-04 Dan Winship <danw@novell.com>
* pango/Scale.cs: rename the size constants to not have
underscores in their names (and add obsolete aliases for the old
names).
* sample/GtkDemo/DemoTextView.cs: use the new names
2005-04-04 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : mark all the call scope callback params to quiet
the warnings.
2005-04-04 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : hide some manually implemented callback methods.
* gdk/*.custom : implement several methods containing persistent
callback parameters.
* generator/BoxedGen.cs : set gen_info.CurrentType in Generate.
* generator/ClassGen.cs : set gen_info.CurrentType in Generate.
* generator/Ctor.cs : set gen_info.CurrentMember in Generate.
* generator/GenerationInfo.cs : add CurrentMember and CurrentType.
* generator/Method.cs : set gen_info.CurrentMember in Generate.
* generator/MethodBody.cs : always generate null guarding for array
parameters, and add a nag for callback parameters without a scope attr.
* generator/ObjectGen.cs : set gen_info.CurrentType in Generate.
* generator/OpaqueGen.cs : set gen_info.CurrentType in Generate.
* generator/Parameters.cs : kill NullOk. add Scope property.
* generator/StructGen.cs : set gen_info.CurrentType in Generate.
* gtk/Gtk.metadata : kill a few null_ok attrs.
* pango/Pango.metadata : mark the callback params as call scope. kill
a couple null_ok attrs.
2005-04-01 Dan Winship <danw@novell.com>
* samples/GtkDemo/*.cs: General fixup and cleanup; Remove some
gratuitous differences from the C version. Make comment and indent
style consistent. Don't use "this." where not needed. Override
OnDeleteEvent rather than connecting one's own DeleteEvent signal.
* sample/GtkDemo/DemoApplicationWindow.cs (static
DemoApplicationWindow): register the Gtk logo icon with
StockManager so it shows up correctly in the toolbar.
(AddActions): Register the radio items as radio items so they work
right.
* sample/GtkDemo/DemoHyperText.cs (EventAfter): handle
link-clicking from Widget.WidgetEventAfter (as in the C version),
rather than ButtonRelease, now that WidgetEventAfter is wrapped.
* sample/GtkDemo/DemoImages.cs (DemoImages): use
Gtk.Image.LoadFromResource (particularly to make the animation
work right).
(OnDestroyed): handle clean up (remove the timeout, etc)
* sample/GtkDemo/DemoMain.cs (LoadStream): Fix handling of blank
lines and whitespace to match the C version.
* sample/GtkDemo/DemoPixbuf.cs (Expose): Use
System.Runtime.InteropServices.Marshal.Copy() to copy
pixbuf.Pixels to pass to DrawRgbImageDithalign, to make this more
like the C version (and probably faster?)
(timeout): Remove the FIXME since it seems to work now
* sample/GtkDemo/DemoStockBrowser.cs: Simplify a bunch. Use
reflection to get the C# names of the stock icons rather than
trying to correctly re-mangle the ids. Display the Label with the
accelerator underlined.
* sample/GtkDemo/DemoTextView.cs (AttachWidgets): use
Gtk.Image.LoadFromResource, so the image is properly loaded as an
animation, not a static image. Don't set the combobox's "Active"
property (for consistency with the C version).
(InsertText): Fix miscellaneous differences with the C version.
Remove some leftover cruft from earlier workarounds for gtk# bugs.
* sample/GtkDemo/DemoTreeStore.cs (AddColumns): Make this more
like the C version so the checkboxes are sensitized and hidden
correctly on a per-row basis.
* sample/GtkDemo/DemoUIManager.cs: Make the radio menu items work.
* sample/GtkDemo/README:
* sample/GtkDemo/TODO: update
2005-04-01 Mike Kestner <mkestner@novell.com>
* gtk/TreeModelFilter.custom : manually implement SetVisibleFunc and
SetModifyFunc to handle delegate persistence.
* gtk/Gtk.metadata : hide methods.
2005-04-01 Mike Kestner <mkestner@novell.com>
* gtk/Clipboard.custom : manually implement SetWithData and
SetWithOwner to handle delegate persistence.
* gtk/Gtk.metadata : hide methods.
2005-03-31 Dan Winship <danw@novell.com>
* gdk/PixbufLoader.custom: Implement System.IO.Stream and
resource-file constructors (using code formerly in Pixbuf.custom)
* gdk/Pixbuf.custom: Redo the stream and resource ctors in terms
of the PixbufLoader ones.
* gdk/PixbufAnimation.custom: Add stream and resource ctors
* gtk/Image.custom: Add stream and resource ctors
2005-03-31 Mike Kestner <mkestner@novell.com>
* glib/ManagedValue.cs : add null/NULL guarding to Copy, Free,
WrapObject, and ObjectForWrapper. [Fixes #74197]
2005-03-30 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* parser/gapi2xml.pl : parse gst type macros.
2005-03-30 Anthony Taranto <voltron@emptyrhetoric.com>
* gtk/Widget.custom : cause Allocation.Set to call SizeUpdate().
* gtk/glue/widget.c : remove gtksharp_gtk_widget_set_allocation().
2005-03-29 Mike Kestner <mkestner@novell.com>
* gtk/TreeStore.custom : fix a CLS incompliance in the Append
Prepend, Insert, InsertBefore, and InsertAfter methods by obsoleting
them and adding new *Node methods that are CLS compliant.
[Fixes #73876]
2005-03-29 Mike Kestner <mkestner@novell.com>
* generator/Parser.cs : add symbol type='marshal' support.
* gdk/Event.cs : add GetEvent method to wrap arbitrary events.
* gdk/gdk-symbols.xml : make Event, EventAny, and EventNoExpose
marshal symbols using Event.GetEvent (). [Fixes #74184]
2005-03-29 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : special case ucs4 "0" conversion.
[Fixes #74175]
2005-03-28 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : add FromDrawable static method and obsolete
CreateFromNative, which should've been static. [Fixes #74155]
2005-03-28 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : Dispose the values passed to
g_signal_chain_from_overriden in base VM invocations. [Fixes #73522]
2005-03-25 Mike Kestner <mkestner@novell.com>
* */makefile.win32 : add gapi-cdecl-insert to assembly target.
2005-03-25 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : add CDeclCallback attrs to native dels.
* generator/Signal.cs : add CDeclCallback attrs to native dels.
2005-03-25 Mike Kestner <mkestner@novell.com>
* */*.cs : tag native callback delegates with [CDeclCallback].
* */*.custom : tag native callback delegates with [CDeclCallback].
2005-03-24 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : don't create native delegates for nulls.
* generator/ObjectGen.cs : revamp the ObjectManager code.
* glib/Object.cs : use new ObjectManager.RegisterType overload.
* glib/ObjectManager.cs : rewrite to kill the lameass LoadWithPartial
hack and keep a GType to Type mapping for quicker lookup/activation.
2005-03-23 Mike Kestner <mkestner@novell.com>
* gapi-cdecl-insert : a little perl script to insert modopts
* Makefile.am : dist the new script.
for cdecl callback delegates on win32.
* glade/makefile.win32 : use gapi-cdecl-insert
* glade/XML.custom : add [GLib.CDeclCallback] to RawXMLConnectFunc.
* glib/Makefile.am : add new file.
* glib/makefile.win32 : use gapi-cdecl-insert
* glib/CDeclCallbackAttribute.cs : new attr to tag delegates with
that will be invoked from native code. We have to mangle the il
with a modopt otherwise they are stdcall'd.
* glib/ManagedValue.cs : add [GLib.CDeclCallback] to Copy/Free.
switch to using GCHandles instead of the current IntPtr hack.
2005-03-15 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide TreeSortable.SetSortFunc.
* gtk/ListStore.custom : implement SetSortFunc for persistence.
* gtk/Makefile.am : add custom file.
* gtk/TreeModelSort.custom : implement SetSortFunc for persistence.
* gtk/TreeSortable.custom : new file, add hidden method decls.
* gtk/TreeStore.custom : implement SetSortFunc for persistence.
2005-03-15 John Luke <john.luke@gmail.com>
* glib/Object.cs: use IsDefined to check for ClassInitializer
attribute, fixes a warning and is supposedly better for performance
2005-03-15 Dan Winship <danw@novell.com>
Re-fix for yesterday's fix that didn't actually work.
* gtk/ITreeNode.cs: add a "child" arg to TreeNodeRemovedHandler
* gtk/TreeNode.cs (RemoveChild, OnChildRemoved): update for that
* gtk/NodeStore.cs (child_deleted_cb): use the passed-in child;
GetNodeAtPath won't work because the parent node already removed
the child from its list
2005-03-14 Mike Kestner <mkestner@novell.com>
* configure.in : rework the gtkhtml check for 3.6.
2005-03-14 Dan Winship <danw@novell.com>
* gtk/TreeNode.cs (AddNode): add an overload that takes a position
* gtk/NodeStore.cs (AddNode): likewise
(AddNode, child_added_cb): when adding a node, recursively connect
to the node signals on its children
(RemoveNode, child_deleted_cb): when removing a node, recursively
remove its children from node_hash.
2005-03-12 Mike Kestner <mkestner@novell.com>
* glade/Glade.metadata : mark the XMLCustomWidgetHandler string params
const-gchar*. Wonder how many of these are gonna screw us?
2005-03-12 Mike Kestner <mkestner@novell.com>
* gtk/TreeViewColumn.custom : use PersistentData to hold the
CellDataFuncs.
2005-03-12 Mike Kestner <mkestner@novell.com>
* glib/Makefile.am : add new file.
* glib/Object.cs : add protected PersistentData hash to hold data
across GC cycles.
* glib/WeakObject.cs : new object to hold managed refs weakly against
the native object.
* gtk/ListStore.custom : hold refs for DefaultSortFuncs.
* gtk/TreeModelSort.custom : hold refs for DefaultSortFuncs.
* gtk/TreeStore.custom : hold refs for DefaultSortFuncs.
2005-03-12 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : don't derive Wrappers from DelegateWrapper
any more. It leaks delegates like crazy. We effectively now use call
scope as the default for delegate parameters.
* generator/MethodBody.cs : use new simpler Wrapper ctor.
* glib/DelegateWrapper.cs : mark the ctor obsolete so people know to
update any manually coded wrappers out there.
* */*.custom : use new simpler Callback Wrapper ctors.
2005-03-11 Mike Kestner <mkestner@novell.com>
* glib/DelegateWrapper.cs : call g_object_set_data_full since we are
using its sig, not set_data.
2005-03-10 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : fix gssize and gsize, they aren't 32 bit
like the docs say they are.
2005-03-10 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : don't use g_utf8_strlen to determine the byte
count to be copied, it returns chars, not bytes.
* glib/glue/unichar.c : implement a quick and dirty strlen glue func.
2005-03-10 Mike Kestner <mkestner@novell.com>
* gtk/Style.custom : add bg_pixmap accessors. remove IntPtr[] vars
and s/6/5 for array sizes.
* gtk/glue/style.c : add bg_pixmap field glue.
[Fixes #73532]
2005-03-09 Mike Kestner <mkestner@novell.com>
* */*.custom : scrub for string usage in DllImports.
* gnome/Makefile.am : remove IconTheme.custom, it's not generated.
2005-03-09 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : add IntPtr.Zero guarding.
2005-03-09 Alexandre Gomes <alexmipego@hotmail.com>
* gtk/Gtk.metadata: Set GetVisibleRect param to be passed as out.
2005-03-08 Mike Kestner <mkestner@novell.com>
* */*.cs : scrub for StringToPtrAnsi and string usage in DllImports.
* */*.custom : begin the scrub here too.
* generator/ConstStringGen.cs : implement IManualMarshaler and move to
100% IntPtr marshaling.
* generator/Ctor.cs : call Body.Finish too.
* generator/IManualMarshaler.cs : new interface for generatables that
marshal manually and need cleanup.
* generator/Makefile.am : new file.
* generator/MethodBody.cs : use IManualMarshaler if applicable.
2005-03-07 Mike Kestner <mkestner@novell.com>
* generator/MethodBody.cs : remove an unused var.
* generator/ReturnValue.cs : privatize a couple props. Refactor the
SymbolTable lookup logic to be generatable based.
2005-03-04 Mike Kestner <mkestner@novell.com>
* generator/ImportSignature.cs : out param handling fix.
* generator/Makefile.am : kill StringGen.cs.
* generator/MethodBody.cs : simplify out param handling.
* generator/StringGen.cs : kill it, now using MarshalGen.
* generator/SymbolTable.cs : make non-const strings use an appropriate
MarshalGen. Non-const strings are now correctly marshaled as Utf8.
* glib/Marshaller.cs : add some utf8-fu for strdup/free marshaling.
Add a method to alloc/copy structs to native memory, unused yet.
* gtk/Gtk.metadata : partially fix a broken delegate.
2005-03-04 Mike Kestner <mkestner@novell.com>
* generator/Method.cs : refactor out some retval logic.
* generator/ReturnValue.cs : add FromNative and IsVoid members.
2005-03-03 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : remove unnecessary null_ok rules.
* generator/Ctor.cs : don't add null params to CreateNativeObject call
for InterfaceGen or OpaqueGen in addition to ObjectGen.
* generator/Field.cs : simplify Object/Opaque gen.
* generator/Method.cs : remove OpaqueGen special casing.
* generator/OpaqueGen.cs : make FromNative null_ok robust.
* generator/Signal.cs : remove arg marshaling ClassBase special case.
* gtk/Gtk.metadata : remove unnecessary null_ok rules.
2005-03-03 Mike Kestner <mkestner@novell.com>
* generator/ClassBase.cs : use "as" instead of a cast in FromNative.
* generator/Method.cs : remove the if/else checks for Object retvals.
* glib/Object.cs : return null immediately for NULL in GetObject.
2005-03-03 Mike Kestner <mkestner@novell.com>
* generator/ClassBase.cs : add null checking to CallByName. No sense
manually adding this for the ones that need it. Better to have g_criticals
then NullRefExceptions anyway.
* generator/MethodBody.cs : simplify out handle generation.
[A babystep toward #68820]
2005-02-28 Dan Winship <danw@novell.com>
* gtk/Container.custom (ChildType): fix this to just call
gtk_container_child_type().
* gtk/glue/container.c (gtksharp_container_base_child_type): kill
2005-02-28 Mike Kestner <mkestner@novell.com>
* glib/Idle.cs : add locking on the source_handlers.
* glib/Source.cs : add locking on the source_handlers.
* glib/Timeout.cs : add locking on the source_handlers.
2005-02-25 Mike Kestner <mkestner@novell.com>
* glib/Source.cs : remove from the hash by key.
* glib/Idle.cs : remove from the hash by key.
2005-02-23 Dan Winship <danw@novell.com>
* sources/gnomedb.patch: Patch over a bug in gnome-db-editor.h
* gnomedb/gnomedb-api.raw: Regen
2005-02-23 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (parseTypeToken): don't parse punctuation
into the type name. [Fixes #72925]
* gtk/gtk-api.raw: Regen, exposing the previously-broken
AccelGroup.AccelActivate, AccelMap.Changed,
ActionGroup.ConnectProxy, ActionGroup.DisconnectProxy,
ActionGroup.PreActivate, ActionGroup.PostActivate, and
Widget.EventAfter.
* gtk/Gtk.metadata: Give proper names to the parameters of those
signals
2005-02-23 Dan Winship <danw@novell.com>
* generator/Field.cs (Validate): new, to check that a field has a
valid type (or is hidden).
* generator/StructBase.cs (Validate): new, to check that all of
the struct fields have valid types
* generator/BoxedGen.cs (Generate):
* generator/StructGen.cs: (Generate): Call Validate() and bail out
if it fails; it's no good to generate a struct with the wrong
layout.
* gdk/gdk-symbols.xml: add a line for GdkKey -> Gdk.Key. (There's
no actual C type GdkKey, but we can use metadata to change uints
to GdkKeys, which will then become Gdk.Keys.)
* gtk/AccelKey.custom: remove the "Key" field (which was being
added in the wrong place in the struct), since it's properly
generated now.
* gtk/Gtk.metadata: Fix the line that renames AccelKey.AccelKey
to AccelKey.Key
* gnomevfs/Gnomevfs.metadata: hide the (mis-parsed) "action" field
in MimeAction, leaving the struct in the same broken state it was
in with the old generator code
* parser/gapi2xml.pl: add a hack to allow "foo_bar_get_type()"
rather than "FOO_TYPE_BAR" in G_TYPE_CHECK_INSTANCE_CAST macros,
allowing large parts of libgda that were previously misparsed to
be parsed correctly
* gda/gda-api.raw: Regen
* gda/Gda.metadata: Make Gda.Value opaque, since it's mostly a
union and we're horribly butchering its layout.
2005-02-22 Raja R Harinath <rharinath@novell.com>
* Makefile.include: Use $(top_builddir)/ instead of ../ so that it
is usable from directories two-or-more deep.
2005-02-18 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : remove an incorrect and harmful rule on
ClipboardGetFunc. [Fixes #69013]
2005-02-17 Mike Kestner <mkestner@novell.com>
* */Makefile.am : define SYMBOLS if it isn't already to fix breakage
with older automakes.
2005-02-15 Dan Winship <danw@novell.com>
* generator/ObjectGen.cs (GenChildProperties): If the class has an
ancestor that also defines child properties, make its child
properties class be a subclass of that ancestor's child properties
class. (Eg, make Gtk.ButtonBox.ButtonBoxChild be a subclass of
Gtk.Box.BoxChild.)
2005-02-14 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark the color in Rgb.FindColor ref.
2005-02-11 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Menu.SetScreen.
* gtk/Menu.custom : manually implement Screen prop.
2005-02-11 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Hide StyleGetProperty and StyleGetValist since
they're generated wrong, and StyleGet to avoid an ellipsis
warning. (Also hide the deprecated ellipsis method "Set".)
* gtk/Widget.custom (StyleGetProperty): implement manually, a la
Gtk.Container.ChildGetProperty.
* gtk/glue/widget.c (gtksharp_widget_style_get_property): glue for that
* generator/MethodBase.cs (Validate): use CName rather than always
saying "in ctor"
2005-02-10 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/Actions.cs: Remove obsolete & unsafe GLib.Object.Data usage.
2005-02-10 Mike Kestner <mkestner@novell.com>
* configure.in : update version for 1.9.2 release.
2005-02-09 Mike Kestner <mkestner@novell.com>
* gtk/Widget.custom : use a static method for the ParentSet hack
so we don't leak objects because the delegate holds an object ref.
2005-02-07 Ben Maurer <bmaurer@ximian.com>
* gdk/Point.custom, gdk/Rectangle.custom: misc. new apis to make
this more like the S.D structs.
2005-02-03 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.cs : use CreateNativeObject to allow subclassing.
[Fixes #71749]
2005-02-03 Mike Kestner <mkestner@novell.com>
* glib/ObjectManager.cs (GetValidParentType): return null if
G_TYPE_INVALID is returned from glue. [Fixes #72150]
2005-02-02 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : kill unnecessary BaseName prop.
2005-02-02 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : remove source file.
* generator/Signal.cs : generate marshaling callbacks and use new
GLib.Signal marshaling class for events.
* generator/SignalHandler.cs : kill. byebye SignalCallback subclasses.
* glib/Makefile.am : update source files.
* glib/GLibSharp.voidObjectIntPtrSignal.cs : kill.
* glib/Object.cs : mark the old Before/After props Obsolete. Use
GLib.Signal for the notify prop methods.
* glib/Signal.cs : new signal marshaling class. It manages all the
ConnectBefore/After stuff internally and connects itself to the native
object using GCHandles and DestroyNotify lifecycle management.
* glib/SignalCallback.cs : mark Obsolete.
[Fixes #72018 and #69847]
2005-02-01 Fredrik Nilsson <jymdman@home.se>
* glib/Marshaller.cs : DateTime marshaling fix.
2005-01-31 Mike Kestner <mkestner@novell.com>
* gtk/FileChooserDialog.custom : move backend to first param to
avoid conflicts with button names in overloaded ctor.
2005-01-31 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : handle unsigned-*.
* parser/gapi2xml.pl : handle const unsigned * parameters. Also fix
a G_GNUC_PRINTF parsing bug exposed by a GMime.
* */*-api.raw : regen.
[Fixes #71825]
2005-01-28 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs : use ToNativeReturnType for ToNativeType
instead of MarshalType.
* generator/Signal.cs : deal with boxed return values. beef up return
handling in the default handler generation code.
* generator/SignalHandler.cs : use ToNative return types for native
callbacks. Remove redundant casting/conversion in callback impl.
[Fixes #71899]
2005-01-28 Dan Winship <danw@novell.com>
* glib/Object.cs (AddNotification, RemoveNotification): methods to
subscribe to the "notify" signal (with property details). [#71684]
* glib/GLibSharp.voidObjectIntPtrSignal.cs: autogenerated, for
notifications
* glib/NotifyHandler.cs: sort of autogenerated
2005-01-28 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : add a params array for button info to the ctor.
* gtk/FileChooserDialog.custom : add a params array for button info to
both ctors. Chain them to IntPtr.Zero.
* gtk/Gtk.metadata : hide the ellipsis ctors for the dialog types.
[Fixes #71818]
* sample/GtkDemo/DemoDialog.cs : make the InteractiveDialog use the
new Dialog ctor as it does in the c version.
2005-01-27 Mike Kestner <mkestner@novell.com>
* gtk/NodeSelection.cs : use new GetSelectedRows() overload.
* gtk/TreeSelection.custom : add a GetSelectedRows overload without the
out model param. [Fixes #71814]
2005-01-27 Mike Kestner <mkestner@novell.com>
* gtk/NodeView.cs : fix the value creation in the ctor.
2005-01-26 Mike Kestner <mkestner@novell.com>
* glib/Value.cs : add a private debugging DllImport for ref_counts
since the glue is there already. g_value_get_object returns an
unowned ref, so don't pretend like we own it. Make get_Val work for
GObject subclasses. [Fixes #71125]
2005-01-26 Mike Kestner <mkestner@novell.com>
* gtk/NodeView.cs : always use CreateNativeObject.
2005-01-26 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide 3 IM related internal types. [Fixes #71021]
2005-01-26 Mike Kestner <mkestner@novell.com>
* generator/*.cs : refactoring of Parameters class. Added IEnumerable
to Parameters and gracefully handle elem == null instead of special
casing parms == null all over the place. Parameter logic is now Count
driven. [Fixes #71750]
2005-01-26 Dan Winship <danw@novell.com>
* generator/Property.cs (Generate): Remove a redundant WriteLine (that
resulted in there being 2 blank lines before every property).
* generator/Signal.cs (Generate): s/Write/WriteLine/ to fix a
weirdly-formatted if statement in the generated code.
2005-01-25 John Luke <john.luke@gmail.com>
* sample/CustomNotebook.cs:
* sample/CustomWidget.cs: use Widget.WidgetFlags prop to avoid
obsolete warning
2005-01-25 Mike Kestner <mkestner@novell.com>
* gnome/About.custom : implement a subclassable ctor.
* gnome/Gnome.metadata : hide About ctor, fix About.Construct parms.
* gnome/Makefile.am : add the new custom.
[Fixes #71271]
2005-01-25 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : hide all the Pixbuf.SaveTo methods.
* gdk/Pixbuf.custom : implement the SaveTo methods.
[Fixes #71430]
2005-01-25 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide all the SignalFunc using Toolbar methods.
* gtk/Makefile.am : add the new custom.
* gtk/Toolbar.custom : implement the SignalFunc methods. Deal with
null for Widget params in *Element.
[Fixes #71428]
2005-01-24 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* generator/MethodBody.cs : fix out LPUGen params.
2005-01-24 Mike Kestner <mkestner@novell.com>
* gda/Makefile.am : add new custom.
* gda/XmlConnection.custom : add backcompat static ctor.
* generator/ClassBase.cs : refactor lookup logic to here from Ctor
and improve the collision resolution.
* generator/Ctor.cs : refactor to use MethodBase.
* generator/Makefile.am : add new file.
* generator/MethodBase.cs : new base class for ctors and methods.
* generator/Method.cs : refactor to use MethodBase.
* generator/StructBase.cs : move some logic from here to Ctor.
* gnome/CanvasPathDef.custom : add backcompat static ctor.
* gnome/GPPath.custom : add backcompat static ctor.
* gnome/Makefile.am : add new custom.
* gtk/Gtk.metadata : mark a colliding Button ctor shared.
2005-01-23 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/ActionGroup.custom: Add a string index for the GetAction method.
2005-01-20 Dan Winship <danw@novell.com>
* glib/Marshaller.cs (StringFormat): Calls String.Format and makes
sure the output has no unescaped "%"s. (For wrapping printf-style
unmanaged methods with String.Format-style managed ones.)
* gtk/MessageDialog.custom (MessageDialog): use it. #71405. Also,
use gtk_message_dialog_new_with_markup by default, and add an
overloaded ctor that lets you use the non-markup version.
* gtk/Gtk.metadata: hide the GtkMessageDialog ctors so we don't
get ellipsis warnings about them.
* sample/GtkDemo/DemoApplicationWindow.cs:
* sample/GtkDemo/DemoDialog.cs: simplify the MessageDialog usage;
don't need to call String.Format separately now.
2005-01-18 Mike Kestner <mkestner@novell.com>
* generator/Method.cs : deal with owned retvals.
* generator/ReturnValue.cs : add Owned prop.
* gnome/Gnome.metadata : mark Thumbnail.ScaleDownPixbuf return owned.
[Fixes #71335]
2005-01-18 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api.raw : regen.
* parser/gapi2xml.pl : deal with G_GNUC_PRINTF.
2005-01-17 Mike Kestner <mkestner@novell.com>
* gtk/Style.custom : add Light, LightColors, Mid, MidColors, Dark,
and DarkColors.
* gtk/glue/style.c : add get_light and get_dark
2005-01-17 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Stock.
* gtk/Makefile.am : add new file.
* gtk/StockManager.cs : stock item management methods.
2005-01-14 Dan Winship <danw@novell.com>
* glib/Object.cs (ConnectDefaultHandlers): Don't call a signal's
ConnectionMethod if it's already been called for a superclass of
the current class. #71278
2005-01-13 Zac Bowling <zac@zacbowling.com>
* makefile.win32 : new "gac" target for automatic for gacutil calls,
added copying of gtk-sharp.snk to each folder being built to fix fresh
builds and after cleaning, added support for switching C#
compilers, and added handling of spaces in filenames for mcs builds
* gtkdotnet/makefile.win32 : add one more reference to fix mcs builds.
2005-01-13 Mike Kestner <mkestner@novell.com>
* configure.in : make vte check conditional on gnome.
* gtkdotnet/Makefile.am : add some references.
2005-01-13 Dan Winship <danw@novell.com>
* generator/ObjectGen.cs: Make ContainerChild constructors
"protected internal" rather than just "internal", so the classes
can be subclassed nicely.
2005-01-13 Zac Bowling <zac@zacbowling.com>
* gtkdotnet/makefile.win32 : fixed references to build on Win32
2005-01-12 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/Makefile,am : conditionally build.
2005-01-12 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/*.cs : s/Test.Gnome.VFS/TestGnomeVfs to avoid
namespace collision problems with current mcs.
2005-01-11 Ben Maurer <bmaurer@ximian.com>
* configure.in: There might be multiple S.D assemblies (eg, if you
build the 2.0 crap, you get a 1.1 and a 2.0). So use head -n1 when
looking at gacutil
2005-01-11 Mike Kestner <mkestner@novell.com>
* configure.in : add test for System.Drawing. expand gtkdotnet.
* Makefile.am : add gtkdotnet.
* makefile.win32 : add gtkdotnet.
* gtkdotnet/* : new .Net extensions assembly. Moved the sample
sysdraw.cs Graphics class in here under the Gtk.DotNet namespace.
* sample/sysdraw.cs : moved to gtkdotnet/Graphics.cs.
* sample/drawing-sample.exe.config.in : killed.
* sample/DrawingSample.cs : use Gtk.DotNet.Graphics.
* sample/Makefile.am : make drawing-sample.exe build conditional
on gtk-dotnet presence.
2005-01-11 Mike Kestner <mkestner@novell.com>
* gdk/Window.custom : add AddFilterForAll and RemoveFilterForAll
methods to handle the window==null native case.
[Fixes #71065]
2005-01-11 Mike Kestner <mkestner@novell.com>
* glib/Argv.cs : add automatic progname handling.
* gdk/Global.custom : kill obsolete warnings by using GLib.Argv.
2005-01-11 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : kill Colors since its methods are deprecated
and it doesn't exist in 1.0.
2005-01-08 Ben Maurer <bmaurer@ximian.com>
* Makefile.include (install-data-local, uninstall-local): make
this actually work for things that are disabled.
2005-01-08 Mike Kestner <mkestner@novell.com>
* configure.in : kill a ton of redundant stuff.
* AssemblyInfo.cs.in : moved here, only need one.
* Makefile.include : rules for building generated assemblies.
* Makefile.am : removed gtk-sharp-2.0.pc handling.
* */AssemblyInfo.cs.in : killed
* */Makefile.am : refactored out a ton of rules to an include.
* */*-pc.in : added Cflags entries pointing to the gapi files.
* generator/CodeGenerator.cs : add -I: synonym --include.
* gnomevfs/gnome-vfs-api.raw : remamed from gnomevfs-api.raw.
* gtk/gtk-sharp-2.0.pc.in : moved here from top.
* parser/gapi-fixup.cs : add --symbol arg to merge sym files.
* sources/gtk-sharp-sources.xml : remamed gnome-vfs-api.raw.
2005-01-07 Mike Kestner <mkestner@novell.com>
* sample/Makefile.am : mdb cleanup.
* sample/GtkDemo/Makefile.am : mdb cleanup.
2005-01-07 Mike Kestner <mkestner@novell.com>
* configure.in : check for panelapplet in enable_gnome and remove
all the stuff for a separate panelapplet-sharp assembly.
* Makefile.am : remove panelapplet dir from build.
* gnome/BonoboUIVerb.cs : moved from panelapplet.
* gnome/Gnome.metadata : add rules from panelapplet.
* gnome/Makefile.am : add new files.
* gnome/PanelApplet.custom : moved from panelapplet.
* gnome/PanelAppletFactory.cs : moved from panelapplet.
* gnome/glue/panelapplet.c : moved from panelapplet.
* gnome/glue/Makefile.am : add new file.
* gnomedb/GnomeDb.metadata : hide a newly parsed "obsolete" type.
* gtk/Gtk.metadata : hide a newly parsed "obsolete" callback type.
* panelapplet : kill dir.
* parser/gapi2xml.pl : update callback name sanity check.
* sources/gtk-sharp-sources.xml : move panelapplet parse into gnome.
* */*-api.raw : regen.
2005-01-07 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Hide the Gtk.Image ctors generated from
gtk_image_new_from_icon_set and gtk_image_new_from_stock.
* gtk/Image.custom: Implement them here, taking into account the
fact that the "icon_size" property is mysteriously an int rather
than a Gtk.IconSize.
* gtk/Makefile.am (customs): add Image.custom
* gtk/Gtk.metadata: gtk_window_set_focus accepts NULL
2005-01-06 Larry Ewing <lewing@novell.com>
* gtk/StockItem.custom: add a ctor for StockItem.
* gtk/Makefile.am: add StockItem.custom to the build.
2005-01-06 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Rename gtk_stock_add() back to
Gtk.StockManager.Add like it was in 1.0; Gtk.Stock.Add already
means something else. [#71044]
2005-01-06 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide GtkSignal and SignalRunType.
2005-01-06 Mike Kestner <mkestner@novell.com>
* gnomevfs/gnomevfs-symbols.xml : FileSize is a long long.
* generator/SymbolTable.cs : map longlong to C# long.
2005-01-05 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api.raw : regen.
* sources/gtk-sharp-sources.xml : hide xembed.h and gtkxembed.h.
2005-01-05 Mike Kestner <mkestner@novell.com>
* gtk/TreeView.custom : add back the TreeCellDataFunc overloads for
backward compat.
* gtk/TreeViewColumn.custom : add back the TreeCellDataFunc overloads for
backward compat.
2005-01-05 Mike Kestner <mkestner@novell.com>
* generator/Field.cs : deal with LPGen/LPUGen fields.
2005-01-05 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api.raw : regen.
* sources/gtk-sharp-sources.xml : exclude gtkiconthemeparser.h.
[Fixes #70898]
2005-01-05 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide some internal Image*Data structs.
2005-01-05 Alp Toker <alp@atoker.com>
* gtk/TextBuffer.custom : Mark SetText obsolete in favour of the Text
property, and use Text in SetText in the meantime.
2005-01-04 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api.raw : regen'd.
* sources/gtk-sharp-sources.xml : exclude file system backend source.
[Fixes #70904, #70897, and #70900]
2005-01-04 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : mark out params for IMContext.GetSurrounding
and GetPreeditString.
[Fixes #70995]
2005-01-04 Mike Kestner <mkestner@novell.com>
* gtk/CellLayout.custom : declare SetAttributes and SetCellDataFunc.
* gtk/CellView.custom : impl SetAttributes and SetCellDataFunc.
* gtk/ComboBox.custom : impl SetAttributes and SetCellDataFunc.
* gtk/EntryCompletion.custom : impl SetAttributes and SetCellDataFunc.
* gtk/Gtk.metadata : hide some methods to be manually implemented.
* gtk/Makefile.am : add new customs.
* gtk/NodeCellDataFunc : use CellLayoutDataFuncNative.
* gtk/TreeView.custom : use CellLayoutDataFunc not TreeCellDataFunc.
* gtk/TreeViewColumn.custom : impl SetAttributes and SetCellDataFunc.
[Fixes #70941]
2005-01-04 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : set preferred on CellViewMenuItem.NewWithText.
[Fixes #70938]
2005-01-03 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.cs : expose TreeModelFlags.ListOnly if the TreeNode
has ListOnly set.
* gtk/TreeNodeAttribute.cs : add ListOnly named value.
2004-12-30 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : mark the Data hashtable obsolete.
2004-12-30 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide TreeView.InsertColumnWith*.
* gtk/TreeView.cs : manual implementations of InsertColumn overloads
for WithAttributes and WithDataFunc.
2004-12-30 Alp Toker <alp@atoker.com>
* README.generator: Close tag fix for example XML.
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/gnomevfs/TestVolumes.cs: Update sample.
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Gnomevfs.metadata: Hide some more API.
* gnomevfs/VfsStreamAsyncResult.cs: Make Done property internal.
* gnomevfs/VolumeMonitor.custom: Hide GList API.
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: PInvoke the _uri methods directory instead of
using the ToString() methods.
* gnomevfs/FileInfo.cs: Make the FileInfoNative field internal.
* gnomevfs/Gnomevfs.metadata: Hide a bunch of unwanted API.
* gnomevfs/Uri.custom: New API.
* gnomevfs/Vfs.cs: Idem.
2004-12-27 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : use ReturnValue and more of Parameter.
* generator/GenBase.cs : remove unused NSElem prop.
2004-12-27 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: s/uint/FilePermissions/.
* gnomevfs/Gnomevfs.metadata: Make a bunch of API more user-friendly &
C# like.
* gnomevfs/Monitor.cs: Add internal MonitorEventType enum.
* gnomevfs/Uri.custom: Move a bunch of API from Vfs.cs to Uri.
* gnomevfs/Vfs.cs: Only put initialize & shutdown methods in here (plus
some debug API).
* gnomevfs/VfsStream.cs: Use new Uri API.
* sample/gnomevfs/TestUnlink.cs: Fix sample.
2004-12-27 Mike Kestner <mkestner@novell.com>
* generator/EnumGen.cs : rework for a single pass thru ChildNodes.
* generator/Parameters.cs : simplify PassAs logic.
* generator/SimpleBase.cs : mark abstract.
2004-12-27 Mike Kestner <mkestner@novell.com>
* generator/AliasGen.cs : derive from SimpleBase.
* generator/ConstStringGen.cs : derive from SimpleBase.
* generator/GObjectGen.cs : kill. now uses ManualGen.
* generator/GStringGen.cs : kill. now uses MarshalGen.
* generator/GUnicharGen.cs : kill. now uses MarshalGen.
* generator/LPGen.cs : derive from SimpleGen.
* generator/Makefile.am : update source files.
* generator/ManualGen : make this general for handle types.
* generator/MarshalGen : new CallByName/FromNative formatter class.
* generator/SymbolTable.cs : needed some reorganizing and some
restructuring of types to use MarshalGen.
* generator/TimeTGen.cs : kill. now uses MarshalGen.
2004-12-26 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : add new file.
* generator/SimpleBase.cs : new class for non-generated type mappers.
* generator/*Gen.cs : first refactoring of "Simple" generatable types.
Derive them all from SimpleBase. More to come.
2004-12-26 Mike Kestner <mkestner@novell.com>
* generator/CustomMarshalerGen.cs : kill bad idea unused class.
* generator/Makefile.am : remove CustomMarshalerGen.cs.
* generator/Method.cs : remove CustomMarshalerGen reference.
2004-12-26 Mike Kestner <mkestner@novell.com>
* generator/*Gen.cs : implement IGeneratable fully on GenBase
with abstract methods where necessary to refactor a ton of redundant
code.
2004-12-23 Mike Kestner <mkestner@novell.com>
* glib/ClassInitializerAttribute.cs : new attr for identifying type.
inialization methods to be run by RegisterGType.
* glib/Makefile.am : add file.
* glib/Object.cs : add private method to invoke ClassInitializers.
* gtk/glue/widget.c : some new glue for binding registration.
* gtk/BindingAttribute.cs : new attr for registering key bindings.
* gtk/Makefile.am : add file.
* gtk/Widget.custom : add ClassInitializer method to scan types
for [Binding] and register key bindings.
2004-12-22 Dan Winship <danw@novell.com>
* generator/Signal.cs: fix some WriteLine()s that should have been
Write()s
2004-12-22 Dan Winship <danw@novell.com>
* sources/gtk-sharp-sources.xml: exclude a bunch of uninstalled
gtk headers.
* gtk/gtk-api.raw: regen
* gtk/Gtk.metadata: Remove some explicit hiding of things that
shouldn't have been there anyway. Hide a few types that just show
up as unusable stubs.
2004-12-22 Mike Kestner <mkestner@novell.com>
* gdk/gdk-api.raw : update enum values.
* gnome/gnome-api.raw : update enum values.
* gtk/gtk-api.raw : update enum values.
* pango/pango-api.raw : update enum values.
* parser/gapi2xml.pl : pull whitespace out of enum prefixing logic.
[Fixes #70593]
2004-12-21 Mike Kestner <mkestner@novell.com>
* glib/Argv.cs : argv marshaling class.
* glib/Makefile.am : add file.
* glib/Marshaller.cs : mark the argv methods obsolete.
* gtk/Application.cs : use GLib.Argv. [Fixes #68812]
2004-12-21 Dan Winship <danw@novell.com>
* generator/CallbackGen.cs:
* generator/CodeGenerator.cs:
* generator/ManagedCallString.cs:
* generator/Property.cs: Remove unused vars
* generator/Method.cs (GetHashCode): have to implement this since
we're overriding Equals.
* generator/CallbackGen.cs: print a message when generating a
broken struct-returning callback. (Currently affects
GtkSharp.TextSegSplitFuncNative and
GtkSharp.TextSegCleanupFuncNative)
* gdk/glue/device.c:
* gdk/glue/dragcontext.c: Add missing prototypes
* gtk/Gtk.metadata: Mark SeparatorToolItem.Draw "new". Re-rename
CheckMenuItem.Toggled to EmitToggled rather than Toggle, since
that's a better description of what it does.
* gtk/CheckMenuItem.custom: implement a "Toggle" method that does
what the documentation claims it does.
* gtk/NodeStore.cs: remove unused var
* gnome/Gnome.metadata: mark DateEdit.Flags, Dialog.Default, and
PropertyBox.State "new". Hide GnomePixmapEntry.GnomeEntry and
GnomePixmapEntry.GtkEntry since they do exactly the same thing as
the methods of the same names inherited from GnomeFileEntry.
* gnome/glue/canvas-proxy.c:
* gnome/glue/canvas-proxy.h:
* gnome/glue/canvas-proxy-marshal.c:
* gnome/glue/canvas-proxy-marshal.h:
* gnome/glue/canvas-proxy-marshal.list: Remove unused code
* gnome/glue/Makefile.am (libgnomesharpglue_2_la_SOURCES): update
* panelapplet/PanelApplet.metadata: mark PanelApplet.Flags "new"
* sample/CanvasExample.cs:
* sample/CustomCellRenderer.cs:
* sample/CustomNotebook.cs:
* sample/DrawingSample.cs:
* sample/Fifteen.cs:
* sample/GladeTest.cs:
* sample/GtkDemo/DemoHyperText.cs:
* sample/GtkDemo/DemoPixbuf.cs:
* sample/ScribbleXInput.cs: remove unused vars, use
GLib.Timeout.Add rather than the deprecated Gtk.Timeout.Add
2004-12-21 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Async.cs:
* gnomevfs/Directory.cs:
* gnomevfs/Sync.cs:
* gnomevfs/Vfs.cs: Make the constructors private so they don't show up
in monodoc (these classes aren't meant to be instantiated).
2004-12-21 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Gnomevfs.metadata: Hide the auto-generated ModuleCallback
stuff in favor of the more developer friendly custom bindings.
* gnomevfs/Makefile.am:
* gnomevfs/ModuleCallbackAuthentication.cs:
* gnomevfs/ModuleCallbackFillAuthentication.cs:
* gnomevfs/ModuleCallbackFullAuthentication.cs:
* gnomevfs/ModuleCallbackSaveAuthentication.cs:
* gnomevfs/ModuleCallbackStatusMessage.cs: Complete the module callback
implementations.
2004-12-20 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark a couple array params.
* generator/Field.cs : remove the MarshalAs hack. We have to
do something much more evil since MarshalAs can't hang.
* generator/ImportSignature.cs : deal with out LP(U)Gen params.
* generator/LPGen.cs : moved from SSizeTGen and generalized.
* generator/LPUGen.cs : moved from SizeTGen and generalized.
* generator/Makefile.am : update sources.
* generator/MethodBody.cs : deal with out LP(U)Gen params.
* generator/Parameters.cs : deal with out LP(U)Gen params.
* generator/SymbolTable.cs : make all longs and size_t types LP(U)Gens.
2004-12-20 Dan Winship <danw@novell.com>
* generator/GUnicharGen.cs: generatable for gunichar, using
GLib.Marshaller.CharToGUnichar and .GUnicharToChar [#70704]
* generator/SymbolTable.cs (SymbolTable): add a GUnicharGen.
* generator/Makefile.am (sources): add GUnicharGen.cs
* parser/gapi2xml.pl (addPropElem): g_param_spec_unichar() has
type "gunichar" not "unichar".
* gtk/gtk-api.raw: Regen
* glib/Marshaller.cs: Import CharToGUnichar's glue method by the
right name
2004-12-20 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Don't rename GtkStock to StockManager, hide
Lookup (so we can customize it) and AddStatic (since it can't work
right from managed code), and tweak the params of Add.
* gtk/Stock.custom: Implement Lookup() using a special
ConstStockItem struct so the p/invoke layer won't try to free
static strings. [#70589]
* sample/GtkDemo/DemoStockBrowser.cs: update this to work with
that. (It used to crash.)
2004-12-20 Mike Kestner <mkestner@novell.com>
* generator/Property.cs : generate Interface properties.
* gtk/ComboBox.custom : remove dup model prop.
* gtk/TreeView.custom : remove dup model prop.
2004-12-20 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Makefile.am:
* gnomevfs/ModuleCallback.cs:
* gnomevfs/ModuleCallbackAuthentication.cs:
* gnomevfs/ModuleCallbackFullAuthentication.cs:
* gnomevfs/Vfs.cs: Use a custom VfsException for Result errors.
* gnomevfs/VfsException.cs: new custom Exception class.
* sample/gnomevfs/Makefile.am:
* sample/gnomevfs/TestCallback.cs:
Implement custom bindings for the ModuleCallback mechanism. Atm, only
the GNOME_VFS_MODULE_CALLBACK_AUTHENTICATION and
GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION callbacks are implemented.
Also added a test-case using the full authentication callback (tested
using the sftp: method). [Partially fixes #70602]
2004-12-18 Mike Kestner <mkestner@novell.com>
* configure.in : bump version in preparation for 1.9.1 release.
2004-12-18 Mike Kestner <mkestner@novell.com>
* gtk/ColorSelectionDialog.custom : fix some incorrect object wrapping
and mark the ColorSelectionButton nested class Obsolete with a heinous
warning message. [Fixes #68450]
2004-12-18 Mike Kestner <mkestner@novell.com>
* generator/Field.cs : add MarshalAs attrs for (u)longs.
2004-12-18 Mike Kestner <mkestner@novell.com>
* gconf/GConf/ChangeSet.cs : add internal Handle prop.
* gconf/GConf/Engine.cs : new class to expose the default gconf engine
perform changeset commits and reverses.
2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/ListStore.custom : dispose a bunch of GLib.Values.
* gtk/TreeStore.custom : ditto. Reworked and expanded from a patch
by Ben "valgrind-boy" Maurer. [Fixes #69925]
2004-12-17 Mike Kestner <mkestner@novell.com>
* glade/XML.custom (BindFields) : support multiple autoconnects
in different roots by not writing null widgets to the tagged
fields. [Fixes #68455]
2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Object and Widget.Destroy.
* gtk/Object.custom : manual virtual Destroy impl.
* gtk/Widget.custom : manual virtual Destroy impl.
* gtk/Window.custom : hold a managed ref for all toplevels. Release
it in a Destroy override. Window is frequently subclassed and is
never parented, so this keeps a managed ref around to avoid GC.
[Fixes #70120]
2004-12-17 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark out param on Window.GetFrameExtents.
* gdk/WindowAttr.custom : new typed Mask prop.
* gtk/Widget.custom : new typed WidgetFlags prop. mark Flags obsolete.
2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/Makefile.am : add new file.
* gtk/glue/makefile.win32 : add missing file.
* gtk/NodeCellDataFunc.cs : new callback delegate type and marshaler
for NodeStore tree views using GtkTreeCellDataFuncs.
* gtk/NodeStore.cs : add internal GetNode overload by TreeIter.
* gtk/NodeView.cs : add AppendColumn overload that uses data funcs.
* gtk/TreeViewColumn.custom : manual implementation for SetCellDataFunc
to support both TreeIter and ITreeNode models. We need to hold a ref
to a delegate for each cell renderer on a column. [Fixes #63062]
* sample/NodeViewDemo.cs : use a NodeCellDataFunc for one of the
cell renderers in the tree.
2004-12-17 Dan Winship <danw@novell.com>
* generator/Field.cs (StudlyName): Fall back to using "cname" if
"name" isn't defined (ie, when using the latest generator against
api files output by an older parser).
2004-12-17 Dan Winship <danw@novell.com>
* generator/ClassBase.cs (IgnoreMethod): Don't ignore GetFoo and
SetFoo methods if they aren't in the right form to be turned into
property accessors. (Causes 13 previously ignored methods to now
be wrapped. See doc/ChangeLog.)
* gtk/Gtk.metadata: Fix up a few of those newly-exposed methods
2004-12-16 Dan Winship <danw@novell.com>
* generator/ManagedCallString.cs (Setup, Finish, ToString): Add
new methods to allow arbitrary setup and teardown code around the
managed call. When passing a type with "complicated" marshalling
requirements as a ref or out param, first assign the value to a
temporary variable (in Setup), then pass the temp as the ref or
out param (in ToString), and then assign the new value back to the
original argument (in Finish).
* generator/Signal.cs:
* generator/SignalHandler.cs: Update to generate correct glue for
signals with "ref" or "out" params. (#70566)
* generator/VirtualMethod.cs: Update for ManagedCallString change
* generator/IGeneratable.cs: add comments explaining what each
member does
* gtk/Gtk.metadata: mark Editable.InsertText's "position" arg pass-by-ref
* sample/Size.cs: connect to the SizeRequested event and override
it, to test/demo the changes
2004-12-16 Dan Winship <danw@novell.com>
* parser/gapi_pp.pl: Don't strip out /*< public >*/ and
/*< private >*/ comments.
* parser/gapi2xml.pl: Use those comments to determine the
accessibility of struct/object fields, and set the "access"
attribute on fields with non-default accessibiliy (private for
structs, public for objects). Also, output a StudlyName for each
field as well as a c_name.
* */*-api.raw: Regen
* generator/Field.cs (StudlyName): Use the parser-generated studly
name rather than studlifying Name, which might have been mangled
to avoid conflicts with an all-lowercase keyword.
(Generate): Respect the access property on all field types rather
than always making certain types public. Don't bother outputting
wrapper properties for private fields, since the only code that
could use them is the generated code, which won't.
Part of #69514. See doc/ChangeLog for the (very minimal) fallout
from these changes.
2004-12-16 Mike Kestner <mkestner@novell.com>
* sample/NodeViewDemo.cs : rework of TreeViewDemo to use NodeStore.
* sample/TreeViewDemo.cs : added some timing and node counting fu.
2004-12-16 Duncan Mak <duncan@ximian.com>
* gtk/Makefile.am (sources): Added NodeSelection and NodeView.
* gtk/NodeSelection.cs: New file, an implementation of
TreeSelection that exposes ITreeNodes instead of TreeIters.
* gtk/NodeStore.cs : added internal GetIter and GetPath methods for
NodeSelection. Reworked [TreeNodeValue] lookup logic.
out what the Type of data the store holds.
* gtk/NodeView.cs: New subclass of TreeView utilizing NodeStore and
NodeSelection.
* gtk/TreeIter.custom : new internal UserData prop.
* gtk/TreeNodeValueAttribute.cs: Set AllowMultiple to true.
* gtk/TreeView.custom: Obsoleted constructor that uses a NodeStore as
parameter. NodeView should be used instead.
2004-12-16 Tambet Ingo <tambet@ximian.com>
* glib/Opaque.cs : hold a weakref in the hash, not a strong ref.
2004-12-15 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata : resolve a collision that was causing
Print class methods to be lost.
2004-12-13 Mike Kestner <mkestner@novell.com>
* configure.in : make gtkhtml conditional on enable_gnome.
[Fixes #70502]
2004-12-09 Mike Kestner <mkestner@novell.com>
* gtkhtml/HTML.custom : remove obsolete attr for Write overload.
* gtkhtml/HTMLStream.custom : ditto.
2004-12-09 Mike Kestner <mkestner@novell.com>
* gtkhtml/HTML.custom : add an back-compat obsolete overload for Write.
* gtkhtml/HTMLStream.custom : add an obsolete overload for Write.
2004-12-09 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : new files.
* generator/MethodBody.cs : fix for length param code.
* generator/SizeTGen.cs : smarter size_t marshaling.
* generator/SSizeTGen.cs : smarter ssize_t marshaling.
* generator/SymbolTable.cs : use the new generatables.
2004-12-08 John Luke <john.luke@gmail.com>
* sources/README: update versions of the libs
2004-12-08 Mike Kestner <mkestner@novell.com>
* art/Art.metadata : mark some ints as bools. [Fixes #61047]
2004-12-08 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/Makefile.am: Readded TestVfs.cs back and make it conditional.
* sample/TestVfs.cs: New sample contributed by Tamara Roberson.
[Fixes #70262]
2004-12-07 Mike Kestner <mkestner@novell.com>
* gtk/glue/style.c : add missing method and prototype. [Fixes #70216]
2004-12-07 Mike Kestner <mkestner@novell.com>
* */*.cs : s/glue-2.0/glue-2 so that dllimport works on win32.
* */*.custom : s/glue-2.0/glue-2
* */glue/makefile.win32 : s/glue-2.0/glue-2
* */glue/Makefile.am : s/glue-2.0/glue-2
2004-12-06 John Luke <john.luke@gmail.com>
* gtk/Gtk.metadata: set with_mnemonic as the preferred ctor
* doc/en/Gtk/Expander.xml: update
2004-12-06 John Luke <john.luke@gmail.com>
* gtk/Action.custom
* gtk/ActionGroup.custom
* gtk/UIManager.custom
* gtk/Gtk.metadata
* doc/en/Gtk/ActionGroup.xml
* file doc/en/Gtk/Action.xml
* doc/en/Gtk/UIManager.xml: replace List and SList with arrays
and update the docs
2004-12-06 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : add off_t as an IntPtr.
2004-12-06 Mike Kestner <mkestner@novell.com>
* generator/SignalHandler.cs : s/[]/Array in BaseName. [Fixes #69383]
2004-12-06 Mike Kestner <mkestner@novell.com>
* doc/en/*/*.xml : docs for new GValue members and size_t changes.
* generator/SymbolTable.cs : add ssize_t and make size_t a UIntPtr
instead of the current broken int mapping on 64 bit platforms.
* gtkhtml/HTMLStream.custom : fix size_t related overload.
[fixes #69574]
2004-12-03 Dan Winship <danw@novell.com>
* gdk/gdk-symbols.xml: alias GdkBitmap to GdkPixmap [Fixes #68824]
* gdk/Gdk.metadata: Remove the earlier GdkBitmap hack now that
it's aliased. Also move Gdk.Bitmap.CreateFromData to
Gdk.Pixmap.CreateBitmapFromData
* gdk/Pixbuf.custom (RenderPixmapAndMask,
RenderPixmapAndMaskForColormap, RenderThresholdAlpha):
s/Bitmap/Pixmap/
* sample/GtkDemo/DemoTextView.cs: uncomment the fg/bg stipple
code, since that works now
* parser/gapi-fixup.cs: Add an "add-node" rule. This turned out to
not actually be needed for this fix, but we know we'll need it
later, so here it is.
2004-12-03 Jorge Garcia <jgarcia@ac.upc.es>
* glib/Type.cs: add Int64 and UInt64 support.
* glib/TypeConverter.cs: add Int64 and UInt64 support.
* glib/Value.cs: add Int64 and UInt64 support.
2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : correct return value for AddButton overload.
[Fixes #70121]
2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : mark accel_group null_ok on ImageMenuItem ctor.
[Fixes #69041]
2004-12-03 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Pass TextIters by ref almost everywhere.
[Fixes #70187]. Kill two varargs warnings.
* gtk/TextBuffer.custom: Update for that, and also implement
InsertWithTagsByName
* sample/GtkDemo/DemoHyperText.cs:
* sample/GtkDemo/DemoTextView.cs: Remove kludges for broken
TextIter handling. Also fix the i18n demo bits by translating the
octal-encoded UTF-8 to hex-encoded UTF-16.
2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide junk methods in Global. [Fixes #60895]
2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Visibility enum. [Fixes #60704]
2004-12-01 Todd Berman <tberman@off.net>
* generator/StructGen.cs: Check to see if a GType is going to be
generated. If not, generate a GType.Pointer. This fixes bug
#70017.
* glib/TypeConverter.cs: Remove the .IsValueType check, as those
now have GType properties.
* gda/Gda.metadata: Change GdaValue.GType to GdaValue.GdaType.
* doc/en/Gda/Value.xml: Regenerated to reflect new API.
2004-11-30 Dan Winship <danw@novell.com>
* sample/GtkDemo/DemoImages.cs: Fix some crashers discovered while
trying to use this as a test case to figure out whether or not I'd
broken Gtk#. Sigh. :)
2004-11-30 Mike Kestner <mkestner@novell.com>
* glib/glue/value.c : add back some code lost in the merge of
2-4-branch. [Fixes #70045]
2004-11-26 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/ActionEntry.cs:
* gtk/ActionGroup.custom:
* gtk/Gtk.metadata:
* gtk/Makefile.am:
* gtk/RadioActionEntry.cs:
* gtk/ToggleActionEntry.cs:
* gtk/UIManager.custom:
* sample/Actions.cs: Updated to use the new *ActionEntry code. Reflects
testactions.c from gtk+ now.
Added C# syntactic sugar for easily defining Action's for the UIManager.
Derived from the same ActionEntry structs in gtk+.
2004-11-22 Dan Winship <danw@novell.com>
* generator/ClassBase.cs:
* generator/ObjectGen.cs: Move child property handling from
ClassBase to ObjectGen (as suggested by Mike) since it's only
used there
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs : beginnings of a real
implementation for GInterfaces. Not quite ready yet,
so it's not active in generation.
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : add new file.
* generator/Method.cs : add Declaration property.
* generator/VirtualMethod.cs : new class to generate virtual
methods for Interfaces and objects. Unfinished.
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/ClassBase.cs : remove a "new" string in the
ChildProp class holder decl to fix build warnings.
2004-11-18 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata : mark an out param on Value.
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/*Gen.cs : add ToNativeReturnType to deal with
the g_free string nonsense in the virtual method case.
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/AliasGen.cs : make this a SimpleGen.
2004-11-18 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : fix a missing semi in a vm regex.
* */*-api.raw : regen with missing vms.
2004-11-18 Dan Winship <danw@novell.com>
Redo child property handling; now we generate classes to hold the
child properties for a given widget in a container, and generate
the child properties as properties on those classes.
* parser/gapi2xml.pl (addPropElem): don't prepend "child_" to
child prop names any more
* generator/ClassBase.cs (ClassBase): keep childprops separate
from properties
(GenChildProperties): create a subclass of Gtk.ContainerChild
containing the container type's child properties, and override the
Container indexer to return that type.
* generator/ObjectGen.cs (Generate): call GenChildProperties
* generator/Property.cs:
* generator/ChildProperty.cs: Simplify these a bunch, since child
properties are now represented as C# properties as well. Also add
[GLib.Property(cname)] and [Gtk.ChildProperty(cname)] attributes.
* glib/Makefile.am (sources): add PropertyAttribute.cs
* glib/PropertyAttribute.cs: attribute used to label
GObject properties
* gtk/Makefile.am (sources): add ChildPropertyAttribute.cs
* gtk/gtk-api.raw: regenerate for parser changes (remove
"Child"/"child_" from child property names).
* gtk/ChildPropertyAttribute.cs: attribute used to label
GtkContainer child properties
* gtk/Container.custom: define the ContainerChild class, and an
indexer to return instances of it.
2004-11-17 Jorn Baayen <jorn@nl.linux.org>
* gtk/FileChooserDialog.custom : set TransientFor, not Parent.
[Fixes #69626]
2004-11-17 Mike Kestner <mkestner@novell.com>
* gnome/Makefile.am : kill unused file.
* gnome/voidObjectAffineSVPintSignal.cs : kill old file.
2004-11-17 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : add new file.
* generator/Method.cs : refactoring to use ReturnValue.
* generator/MethodBody.cs : remove unnecessary code.
* generator/ReturnValue.cs : class for redundant retval handling.
* generator/Signal.cs : refactoring for ReturnValue.
* generator/SignalHandler.cs : refactoring for ReturnValue.
2004-11-16 Dan Winship <danw@novell.com>
* glib/Value.cs: add new constructors for enum and boxed values
that take the name of the type rather than an object/property
name pair; this way they work for both GObject properties and
GtkContainer child properties.
* glib/glue/value.c (gtksharp_value_create_from_type_name): glue
for that
* glib/Opaque.cs (GetOpaque): Fix this.
* generator/Property.cs (Generate): Use the new GLib.Value
constructors. (Fixes setting of enum-valued child properties.)
2004-11-15 Dan Winship <danw@novell.com>
* gtk/glue/container.c (gtksharp_container_get_focus_child): New
glue method to get container->focus_child
* gtk/Gtk.metadata: hide SetFocusChild
* gtk/Container.custom (FocusChild): implement with both getter
and setter
2004-11-15 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide the Get/Set Color methods that are marked
deprecated but didn't exist in 1.0.
2004-11-13 Duncan Mak <duncan@ximian.com>
* generator/SymbolTable.cs: Add support for GDestroyNotify, so
that `gtk_cell_layout_set_cell_data_func' will be generated in
Gtk.ComboBox.
2004-11-13 Mike Kestner <mkestner@novell.com>
* */*-api.raw : rerun the parser for new vm-age and cleanups.
* parser/gapi_pp.pl : suppress union types, since we can't generate
them. smarter get_type regex. ignore #errors.
* parser/gapi2xml.pl : generate vm elements for GInterfaces. Deal
with G_CONST_RETURN in vms. deal with "struct _foo" types in method
prototypes.
* gtk/ComboBox.custom : remove now correctly generated dllimport.
2004-11-13 Mike Kestner <mkestner@novell.com>
* sources/gda.patch : fix broken signal defs.
* sources/gnomedb.patch : fix broken signal defs.
* sources/Makefile.am : apply new patches, and dist some others.
2004-11-12 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl : fix multi-line extern parsing.
2004-11-12 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl : fix a struct parsing bug.
2004-11-12 Mike Kestner <mkestner@novell.com>
* sources/gtk-sharp-sources.xml : exclude a couple more pango headers.
2004-11-09 Mike Kestner <mkestner@novell.com>
* */Makefile.am : make the Obsolete warnings shaddup.
2004-11-09 Mike Kestner <mkestner@novell.com>
* configure.in : conditional stuff for gnomevfs
* doc/Makefile.am : conditionally update panelapplet and gnomevfs.
* doc/en/*/* : update to add PanelApplet and Gnome.Vfs stubs.
* gnomevfs/Makefile.am : make conditional
2004-11-08 Dan Winship <danw@novell.com>
* glib/Object.cs (CreateNativeObject): virtualize
(Object(GType)): Mark this ctor Obsolete
* gtk/Gtk.metadata: disable the generated GType ctor on Gtk.Widget
* gtk/Widget.custom (Widget, CreateNativeObject,
Widget_ParentSet): Connect to our own ParentSet event from
CreateNativeObject and the GType ctor, and keep a static Hashtable
of parented widgets, so that adding a managed widget to a
container keeps both the GObject and the managed object alive.
* generator/ObjectGen.cs (GenCtors): handle the disable_gtype_ctor
flag. Also, mark GType ctors [Obsolete]
* generator/ChildProperty.cs:
* generator/Property.cs: Fix child property names.
2004-11-07 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Gtk.metadata: Fix some TreeModelFilter stuff (similar to
TreeModelSort).
2004-11-05 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/*.cs: Add copyright/LGPL header.
* gnomevfs/*.custom: Idem.
* gnomevfs/Mime.cs: Obsolete, replaced by MimeType.cs.
* gnomevfs/MimeActionType.cs: Obsolete, generated now.
* gnomevfs/OpenMode.cs: Idem.
* gnomevfs/Result.cs: Idem.
* gnomevfs/SeekPosition.cs: Idem.
2004-11-05 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (parseInitFunc, addPropElem): handle
GtkContainer child properties
* generator/Property.cs:
* generator/ChildProperty.cs: make Property subclassable and add a
"ChildProperty" subclass.
* generator/Makefile.am (sources): add ChildProperty.cs
* generator/ClassBase.cs: handle "childprop" nodes by creating
ChildProperty objects.
* glib/Value.cs (explicit operator EnumWrapper): use
g_value_get_flags() rather than g_value_get_enum() when
appropriate.
* glib/glue/value.c (glibsharp_value_holds_flags): glue for that
* gtk/gtk-api.raw: regen to pick up child properties
* gtk/Gtk.metadata:
* gtk/Container.custom: hide the auto-generated
Gtk.Container.ChildGetProperty and implement a nicer one by hand.
* gtk/glue/container.c (gtksharp_container_child_get_property):
utility function to set up an appropriate GValue for us
2004-11-05 Tambet Ingo <tambet@ximian.com>
* generator/OpaqueGen.cs: Add optional "parent" attribute to Opaque
types.
2004-11-04 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: Add async GetEntries Uri alias.
* gtk/FileChooserDialog.custom: Add nice custom properties for Uris.
ListFilters, ListShortcutFolders and ListShortcutFolderUris.
* gtk/FileChooserWidget.custom: Idem.
* gtk/Gtk.metadata: Idem.
2004-11-04 Todd Berman <tberman@off.net>
* glib/ListBase.cs: In Empty, call FreeList, not Dispose.
2004-11-04 Todd Berman <tberman@off.net>
* glib/ListBase.cs: Make sure to properly check if it is a
GLib.Object subclass.
2004-11-04 Todd Berman <tberman@off.net>
* doc/en/GLib/ListBase.xml: Add documentation for ListBase.Empty
* glib/ListBase.cs: Add ListBase.Empty, frees the children and the
list.
* glib/Markup.cs: Fix Alex's tomboy crash, sending -1 instead of
Length.
* gtk/FileChooserDialog.custom:
* gtk/FileChooserWidget.custom: properly free the list.
2004-11-03 Todd Berman <tberman@off.net>
* gtk/FileChooserDialog.custom:
* gtk/FileChooserWidget.custom: Properly implement .Filenames. The old
code was a really bad c&p job.
2004-11-02 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/AsyncDirectoryLoadCallback.cs:
* gnomevfs/AsyncDirectoryLoadCallbackNative.cs:
* gnomevfs/Directory.cs: Implement asynchronous directory loading.
* gnomevfs/FileInfo.cs: Clear the FileInfoNative struct in the
destructor.
* gnomevfs/Makefile.am: Add new callback files.
* sample/gnomevfs/TestDirectory.cs: Add async test.
2004-11-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: New Create and Delete methods. Free the
FileInfo List returned by gnome_vfs_directory_list_load.
* gnomevfs/FileInfo.cs: Copy the FileInfoNative struct so the original
can be properly freed.
* gnomevfs/Vfs.cs: Move MakeDirectory and RemoveDirectory to Directory.
2004-11-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: Bind gnome_vfs_directory_list_load as a static
FileInfo[] GetEntries (uri) method.
* gnomevfs/FileInfo.cs: Add internal FileInfoNative constructor to
create a FileInfo class based on an existing FileInfoNative struct.
* gnomevfs/Makefile.am:
* sample/gnomevfs/Makefile.am:
* sample/gnomevfs/TestDirectory.cs:
2004-10-30 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom:
* gtk/FileChooserDialog.custom:
* gtk/FileChooserWidget.custom: Fix c&p error with filename.
2004-10-29 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom: Add a header.
* gtk/FileChooserDialog.custom: Add subclassing support, and a header.
* gtk/FileChooserWidget.custom: Add a header.
2004-10-29 Todd Berman <tberman@off.net>
* gtk/FileChooserDialog.custom: Add Filenames property to return
the data as a string[] instead of a GSList.
* gtk/FileChooserWidget.custom: Same as above.
* gtk/Makefile.am: Add FileChooserWidget.custom
2004-10-30 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sources/gtk-sharp-sources.xml: Invalid XML due to unremoved -->
closing comment tag.
2004-10-29 Todd Berman <tberman@off.net>
* gtk/FileChooserDialog.custom: Allow a null parent.
2004-10-29 Todd Berman <tberman@off.net>
* gconf/GConf/gconf-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix
-pkg:gtk-sharp
2004-10-29 Todd Berman <tberman@off.net>
* gtk-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp
2004-10-26 Dan Winship <danw@novell.com>
* gdk/Gdk.metadata: Remap all "out Gdk.Bitmap" params to be
Gdk.Pixmaps instead, because the former will crash. Also fix the
"data" param to Pixmap.CreateFromXpmD and
Pixmap.ColormapCreateFromXpmD
* gtk/Style.custom (TextAAGC, SetTextAAGC, LightGC, SetLightGC,
DarkGC, SetDarkGC, MidGC, SetMidGC): add these to go along with
BaseGC, SetBaseGC, etc.
* gtk/glue/style.c: add the glue methods needed for the above
2004-10-21 Mike Kestner <mkestner@ximian.com>
* generator/SymbolTable.cs : map unsigned int to uint. [Fixes #67732]
2004-10-21 Mike Kestner <mkestner@ximian.com>
* configure.in : guard against broken installs where enable_gnome
fails but enable_gnomedb succeeds. [Fixes #67986]
2004-10-20 Dan Winship <danw@novell.com>
* gdk/Window.custom: add a new constructor that takes a
Gdk.WindowAttributesType rather than an int for attributes_mask.
2004-10-18 Dan Winship <danw@novell.com>
* generator/OpaqueGen.cs: Don't build the (IntPtr raw) constructor
if "disable_raw_ctor" is set on the opaque type.
* gtk/Gtk.metadata: Make GtkTargetList opaque (fixes a crash in
Gtk.Drag.Begin), hide the generated constructor and ref/unref
methods, and fix up the interpretation of AddTable.
* gtk/TargetList.custom (TargetList, ~TargetList): Implement the
suppressed constructors and add a finalizer, which handle
refcounting the underlying struct.
(Add, Find, Remove): convenience overloads that take string
instead of Gdk.Atom.
* gtk/Makefile.am (customs): add TargetList.custom
2004-10-07 Mike Kestner <mkestner@ximian.com>
* gdk/Makefile.am : add missing custom file.
* gdk/Pixmap.custom : add overloads for *CreateFromXPM* methods which
default transparency mask and color.
2004-10-07 Todd Berman <tberman@off.net>
* gtk/Gtk.metadata: Mark ComboBox.GetActiveIter as an out param.
2004-10-06 John Luke <john.luke@gmail.com>
* gtk/Action.custom: add overload for string, string, null, null
* gtk/UIManager.custom: add overload to get the UI from a resource
* gtk/Makefile.am: add the 2 new custom files
* sample/Action.cs: remove using GtkSharp, make ui_info const, quit on Quit
2004-10-05 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom: Add SetCellDataFunc to allow you to set a
CellLayoutDataFunc on a ComboBox.
2004-10-05 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom: new file, to allow get/set access to 'model'.
* gtk/Makefile.am: add ComboBox.custom.
2004-10-05 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide Selection.GetTargets.
* gtk/SelectionData.custom : impl Targets prop and add Selection,
Target, and Type field accessors.
* gtk/glue/selectiondata.c : field accessor glue.
2004-10-04 Todd Berman <tberman@off.net>
* Merge forward patch from Miguel to fix delegate marshalling in
1.1.1. Original Changelog follows
2004-10-04 Todd Berman <tberman@off.net>
* */*.pc.in: Fix the Requires to use -2.0
2004-09-29 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide some ellipsis methods, add pass_as attrs.
* gtk/Object.custom : new IsFloating property.
* gtk/glue/object.c : new gtksharp_object_set_floating glue.
2004-09-29 Mike Kestner <mkestner@ximian.com>
* generator/GStringGen.cs : new generatable impl for GStrings.
* generator/InterfaceGen.cs : better error reporting.
* generator/Makefile.am : add new source file.
* generator/Method.cs : better error reporting.
* generator/SymbolTable.cs : add new GString igen.
2004-09-29 Mike Kestner <mkestner@ximian.com>
* glib/GString.cs : new marshaling class for GStrings. Used by
generator to map GString params and returns onto managed strings.
* glib/Makefile.am : add new file.
2004-09-27 Mike Kestner <mkestner@ximian.com>
* gtk/Button.custom : add a ctor (Widget). reworked from patch by
John Luke.
[Fixes #66228]
2004-09-26 Mike Kestner <mkestner@ximian.com>
* glib/Idle.cs : proxy hash keys are uints, not ints.
2004-09-24 Mike Kestner <mkestner@ximian.com>
* gtk/Bin.custom : make Child get/set.
* gtk/Gtk.metadata : hide the Bin.get_child method.
[Fixes #66232]
2004-09-23 Mike Kestner <mkestner@ximian.com>
* gtk/Widget.custom : new OnSetScrollAdjustments VM.
* gtk/glue/widget.c : glue for new VM.
2004-09-18 Miguel de Icaza <miguel@ximian.com>
* glib/Source.cs: Add new base class to hold the method to be
called, and the proxy handler we use to keep references to them
and avoid a collection.
Exposes a new variables that references all the active Timeouts
and Idle handlers to avoid collection/
* glib/Timeout.cs: Implement TimeoutProxy that acts as a filter to
remove the proxy when the timeout is removed.
Register a TimeoutProxy when we create a timeout.
* glib/Idle.cs: Implement IdleProxy that acts as a filter to
remove the proxy when the idle handler is removed.
Register an IdleProxy when we create a timeout.
2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : bump version and tag for 1.0.2.
2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : bump version and tag for 1.0.2.
2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : use either gtkhtml 3.0 or 3.2
2004-09-14 Mike Kestner <mkestner@ximian.com>
* gdk/* : remaining API audit fixes.
2004-09-09 Mike Kestner <mkestner@ximian.com>
* gdk/Device.custom : manual GetHistory impl.
* gdk/Display.custom : manual GetPointer overloads.
* gdk/Gdk.metadata : hides and array params.
* gdk/Makefile.am : add new file.
* gdk/TextProperty.cs : new manual impl of methods.
2004-09-03 Mike Kestner <mkestner@ximian.com>
* configure.in : expand new doc/updater makefile
* gtk/Gtk.metadata : hide Init.Check and AbiCheck*.
* gtk/Init.custom : manual Init.Check impl.
* gtk/Makefile.am : add Init.custom.
2004-08-31 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : mark out params on *CreateWithXpm*.
[Fixes #61116]
2004-08-31 Mike Kestner <mkestner@ximian.com>
* gtk/NodeStore.cs : add GType prop to expose native gtype.
[Fixes #61226]
2004-08-31 Mike Kestner <mkestner@ximian.com>
* glib/Marshaller.cs : fix utc offseting for time_tToDateTime.
[Fixes #60960]
2004-08-30 Tambet Ingo <tambet@ximian.com>
* glib/ListBase.cs : indexing bugfix for CopyTo.
2004-08-28 John Luke <john.luke@gmail.com>
* gdk/Gdk.metadata: change Gdk.KeyVal name return-type from
gchar* to const-gchar*, so we do not try to modify it (call gfree).
[Fixes #64421]
2004-08-27 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Async.cs: Add Priority enum. Add methods which take an Uri
object (similar to Sync methods).
* gnomevfs/Vfs.cs: Add Truncate bindings.
* gnomevfs/VfsStream.cs: Major fixes. Don't use the AsyncWaitHandle for
blocking until an operation has finished. Fix (a)sync reading & writing.
You either use sync/async throughout the code. Can't mix sync and async
gnome-vfs method calls (different Handle objects).
* gnomevfs/VfsStreamAsyncResult.cs: Throw NotSupportedException when
AsyncWaitHandle property is accessed.
* sample/gnomevfs/Makefile.am: New test programs.
* sample/gnomevfs/TestAsync.cs:
* sample/gnomevfs/TestAsyncStream.cs:
* sample/gnomevfs/TestSyncStream.cs:
2004-08-26 Manuel V. Santos <mvsl@telefonica.net>
* gdk/Device.custom : glue to expose object fields.
* gdk/DeviceAxis.custom : expand the ToString to incl use:
* gdk/EventButton.custom : fix for Axes prop.
* gdk/EventMotion.custom : fix for Axes prop.
* gdk/Gdk.metadata : hide some accessors on Device.
* gdk/Makefile.am : add new custom.
* gdk/glue/Makefile.am : add new .c
* gdk/glue/makefile.win32 : add new .o
* gdk/glue/device.c : ditto.
* gtk/InputDialog.custom : glue to expose button fields.
* gtk/Makefile.am : add new custom.
* gtk/glue/Makefile.am : add new .c
* gtk/glue/makefile.win32 : add new .o
* gtk/glue/inputdialog.c : ditto.
* sample/ScribbleXInput.cs : new sample using extension events.
2004-08-25 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : use typeof instead of Type.GetType to
specify the event args type.
* glib/ObjectManager.cs : beef up the type lookup code using
Assembly.LoadWithPartialName to fix a very popular win32 bug.
[Fixes #61139 and friends] Thanks to John Luke for expert
patch testing on win32.
2004-08-25 John Luke <john.luke@gmail.com>
* glib/MainLoop.cs: MainLoop implementation by Jeroen
[Fixes #61493]
2004-08-24 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : kill TreeDataList and TreeDataSortHeader
internal types.
2004-08-24 Larry Ewing <lewing@ximian.com>
* gtk/Gtk.metadata : Style.PaintPolygon has an array of points.
2004-08-24 John Luke <john.luke@gmail.com>
* gtk/Makefile.am: add Menu.custom
* gtk/Menu.custom: new custom for Popup () overload
[Fixes #60668]
* rsvg/Pixbuf.custom: new custom file
* rsvg/Makefile.am: add Pixbuf.custom to build
* rsvg/Tool.cs: remove double ; that cause warnings
* rsvg/rsvg-sharp.pc.in: add Requires: gtk-sharp art-sharp
[Fixes #60894]
* gdk/PixbufLoader.custom: add Write () overload
[Fixes #62681]
2004-08-24 Larry Ewing <lewing@ximian.com>
* gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults
to the entire pixbuf width/height.
[Fixes #60703]
2004-08-24 Mike Kestner <mkestner@ximian.com>
* gdk/Drawable.custom : add a DrawPolygon overload with bool filled
and mark the old int filled overload Obsolete.
[Fixes #60702]
2004-08-23 Todd Berman <tberman@off.net>
* panelapplet/BonoboUIVerb.cs:
* panelapplet/ContextMenuItem.cs:
* panelapplet/Makefile.am:
* panelapplet/PanelApplet.custom: Remove the ContextMenuItem and the
need for the glue. Add BonoboUIVerb to directly call the setup_menu
function. Leave the glue library for now, as I think getting the
proper orientation stuff setup will require some glue work.
* sample/panelapplet/testapplet.cs: Update sample to reflect new
api. Need to make this installable.
2004-08-22 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Makefile.am: Remove ADDITIONAL_API variable.
2004-08-20 Mike Kestner <mkestner@ximian.com>
* atk/Atk.metadata : mark an array param on Relation ctor.
2004-08-19 Borja Sanchez Zamorano <borsanza@yahoo.es>
* gtk/Gtk.metadata : hide some methods on TextBuffer.
* gtk/TextBuffer.custom : pass -1 for the text length to some
more methods.
2004-08-19 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Makefile.am: Add Monitor.cs.
* gnomevfs/Monitor.cs: New custom class wrapping the gnome_vfs_monitor_*
methods.
* sample/gnomevfs/Makefile.am: Added TestMonitor.cs.
* sample/gnomevfs/TestMonitor.cs: Test case for using the new Monitor
class.
2004-08-18 John Luke <john.luke@gmail.com>
* AUTHORS: fix my name
* glade/XML.custom: remove doc comments (in monodoc)
add overload ctor for the most common case so far
[Fixes #62238]
2004-08-18 John Luke <john.luke@gmail.com>
* pango/Pango.metadata : hide a couple methods on Layout.
* pango/Layout.custom : impl SetText and SetMarkup w/ length=-1.
[Fixes #63057]
2004-08-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : unhide ExpanderStyle.
* doc/en/Gtk/Style.xml : doc PaintExpander.
* doc/en/Gtk/ExpanderStyle.xml : new enum docs.
[Fixes #60480] metadata patch from Jeroen Zwartepoorte.
2004-08-17 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : metadata for the pango audit.
* pango/*.custom : customizations to fix audited API.
* doc/en/* : docs for some api changes and additions.
* glib/Marshaller.cs : some gunichar marshal-fu.
* glib/glue/unichar.c : a new glue method.
2004-08-14 Todd Berman <tberman@off.net>
* gnomevfs/VfsStream.cs: if ErrorEof is returned in Read, return 0
instead of throwing an exception.
2004-08-13 John Luke <john.luke@gmail.com>
* gtk/Gtk.metadata: mark Gtk.StockManager.Lookup param as ref
patch by jaspervp@gmx.net (Jasper van Putten)
[Fixes #61893]
2004-08-13 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide Insert and SetText for manual impl.
* gtk/TextBuffer.custom : pass -1 for length to Insert and SetText.
Adapted from a patch by borsanza@yahoo.es (Borja Sanchez Zamorano).
[Fixes #62985]
2004-08-10 Todd Berman <tberman@off.net>
* gnomevfs/AssemblyInfo.cs.in: use the .snk, not the .pub.
2004-08-10 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* glib/MainLoop.cs:
* gnomevfs/.cvsignore:
* gnomevfs/Async.cs:
* gnomevfs/FileInfo.cs:
* gnomevfs/Gnomevfs.metadata:
* gnomevfs/Makefile.am:
* gnomevfs/MimeType.cs:
* gnomevfs/Sync.cs:
* gnomevfs/Uri.custom:
* gnomevfs/VfsStream.cs:
* gnomevfs/VfsStreamAsyncResult.cs:
* gnomevfs/VolumeMonitor.custom:
* gnomevfs/Xfer.cs:
* gnomevfs/XferProgressCallback.cs:
* gnomevfs/XferProgressCallbackNative.cs:
* gnomevfs/filesize.diff:
* gnomevfs/gnomevfs-api.raw:
* sample/gnomevfs/.cvsignore:
* sample/gnomevfs/Makefile.am:
* sample/gnomevfs/TestInfo.cs:
* sample/gnomevfs/TestMime.cs:
* sample/gnomevfs/TestSync.cs:
* sample/gnomevfs/TestSyncCreate.cs:
* sample/gnomevfs/TestSyncWrite.cs:
* sample/gnomevfs/TestUnlink.cs:
* sample/gnomevfs/TestVolume