2005-01-11 Mike Kestner * gdk/Gdk.metadata : kill Colors since its methods are deprecated and it doesn't exist in 1.0. 2005-01-08 Ben Maurer * Makefile.include (install-data-local, uninstall-local): make this actually work for things that are disabled. 2005-01-08 Mike Kestner * 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 * sample/Makefile.am : mdb cleanup. * sample/GtkDemo/Makefile.am : mdb cleanup. 2005-01-07 Mike Kestner * 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 * 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 * gtk/StockItem.custom: add a ctor for StockItem. * gtk/Makefile.am: add StockItem.custom to the build. 2005-01-06 Dan Winship * 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 * gtk/Gtk.metadata : hide GtkSignal and SignalRunType. 2005-01-06 Mike Kestner * gnomevfs/gnomevfs-symbols.xml : FileSize is a long long. * generator/SymbolTable.cs : map longlong to C# long. 2005-01-05 Mike Kestner * gtk/gtk-api.raw : regen. * sources/gtk-sharp-sources.xml : hide xembed.h and gtkxembed.h. 2005-01-05 Mike Kestner * 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 * generator/Field.cs : deal with LPGen/LPUGen fields. 2005-01-05 Mike Kestner * gtk/gtk-api.raw : regen. * sources/gtk-sharp-sources.xml : exclude gtkiconthemeparser.h. [Fixes #70898] 2005-01-05 Mike Kestner * gtk/Gtk.metadata : hide some internal Image*Data structs. 2005-01-05 Alp Toker * 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 * 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 * gtk/Gtk.metadata : mark out params for IMContext.GetSurrounding and GetPreeditString. [Fixes #70995] 2005-01-04 Mike Kestner * 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 * gtk/Gtk.metadata : set preferred on CellViewMenuItem.NewWithText. [Fixes #70938] 2005-01-03 Mike Kestner * gtk/NodeStore.cs : expose TreeModelFlags.ListOnly if the TreeNode has ListOnly set. * gtk/TreeNodeAttribute.cs : add ListOnly named value. 2004-12-30 Mike Kestner * glib/Object.cs : mark the Data hashtable obsolete. 2004-12-30 Mike Kestner * gtk/Gtk.metadata : hide TreeView.InsertColumnWith*. * gtk/TreeView.cs : manual implementations of InsertColumn overloads for WithAttributes and WithDataFunc. 2004-12-30 Alp Toker * README.generator: Close tag fix for example XML. 2004-12-28 Jeroen Zwartepoorte * sample/gnomevfs/TestVolumes.cs: Update sample. 2004-12-28 Jeroen Zwartepoorte * 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 * 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 * generator/CallbackGen.cs : use ReturnValue and more of Parameter. * generator/GenBase.cs : remove unused NSElem prop. 2004-12-27 Jeroen Zwartepoorte * 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 * 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 * 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 * 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 * 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 * 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 * 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 * generator/Signal.cs: fix some WriteLine()s that should have been Write()s 2004-12-22 Dan Winship * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * configure.in : bump version in preparation for 1.9.1 release. 2004-12-18 Mike Kestner * 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 * generator/Field.cs : add MarshalAs attrs for (u)longs. 2004-12-18 Mike Kestner * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * sample/NodeViewDemo.cs : rework of TreeViewDemo to use NodeStore. * sample/TreeViewDemo.cs : added some timing and node counting fu. 2004-12-16 Duncan Mak * 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 * glib/Opaque.cs : hold a weakref in the hash, not a strong ref. 2004-12-15 Mike Kestner * gnome/Gnome.metadata : resolve a collision that was causing Print class methods to be lost. 2004-12-13 Mike Kestner * configure.in : make gtkhtml conditional on enable_gnome. [Fixes #70502] 2004-12-09 Mike Kestner * gtkhtml/HTML.custom : remove obsolete attr for Write overload. * gtkhtml/HTMLStream.custom : ditto. 2004-12-09 Mike Kestner * 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 * 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 * sources/README: update versions of the libs 2004-12-08 Mike Kestner * art/Art.metadata : mark some ints as bools. [Fixes #61047] 2004-12-08 Jeroen Zwartepoorte * 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 * gtk/glue/style.c : add missing method and prototype. [Fixes #70216] 2004-12-07 Mike Kestner * */*.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 * gtk/Gtk.metadata: set with_mnemonic as the preferred ctor * doc/en/Gtk/Expander.xml: update 2004-12-06 John Luke * 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 * generator/SymbolTable.cs : add off_t as an IntPtr. 2004-12-06 Mike Kestner * generator/SignalHandler.cs : s/[]/Array in BaseName. [Fixes #69383] 2004-12-06 Mike Kestner * 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 * 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 * 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 * gtk/Dialog.custom : correct return value for AddButton overload. [Fixes #70121] 2004-12-03 Mike Kestner * gtk/Gtk.metadata : mark accel_group null_ok on ImageMenuItem ctor. [Fixes #69041] 2004-12-03 Dan Winship * 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 * gtk/Gtk.metadata : hide junk methods in Global. [Fixes #60895] 2004-12-03 Mike Kestner * gtk/Gtk.metadata : hide Visibility enum. [Fixes #60704] 2004-12-01 Todd Berman * 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 * 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 * glib/glue/value.c : add back some code lost in the merge of 2-4-branch. [Fixes #70045] 2004-11-26 Jeroen Zwartepoorte * 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 * 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 * 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 * 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 * generator/ClassBase.cs : remove a "new" string in the ChildProp class holder decl to fix build warnings. 2004-11-18 Mike Kestner * atk/Atk.metadata : mark an out param on Value. 2004-11-18 Mike Kestner * generator/*Gen.cs : add ToNativeReturnType to deal with the g_free string nonsense in the virtual method case. 2004-11-18 Mike Kestner * generator/AliasGen.cs : make this a SimpleGen. 2004-11-18 Mike Kestner * parser/gapi2xml.pl : fix a missing semi in a vm regex. * */*-api.raw : regen with missing vms. 2004-11-18 Dan Winship 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 * gtk/FileChooserDialog.custom : set TransientFor, not Parent. [Fixes #69626] 2004-11-17 Mike Kestner * gnome/Makefile.am : kill unused file. * gnome/voidObjectAffineSVPintSignal.cs : kill old file. 2004-11-17 Mike Kestner * 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 * 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 * 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 * 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 * 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 * */*-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 * 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 * parser/gapi_pp.pl : fix multi-line extern parsing. 2004-11-12 Mike Kestner * parser/gapi_pp.pl : fix a struct parsing bug. 2004-11-12 Mike Kestner * sources/gtk-sharp-sources.xml : exclude a couple more pango headers. 2004-11-09 Mike Kestner * */Makefile.am : make the Obsolete warnings shaddup. 2004-11-09 Mike Kestner * 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 * 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 * gtk/Gtk.metadata: Fix some TreeModelFilter stuff (similar to TreeModelSort). 2004-11-05 Jeroen Zwartepoorte * 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 * 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 * generator/OpaqueGen.cs: Add optional "parent" attribute to Opaque types. 2004-11-04 Jeroen Zwartepoorte * 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 * glib/ListBase.cs: In Empty, call FreeList, not Dispose. 2004-11-04 Todd Berman * glib/ListBase.cs: Make sure to properly check if it is a GLib.Object subclass. 2004-11-04 Todd Berman * 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 * gtk/FileChooserDialog.custom: * gtk/FileChooserWidget.custom: Properly implement .Filenames. The old code was a really bad c&p job. 2004-11-02 Jeroen Zwartepoorte * 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 * 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 * 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 * gtk/ComboBox.custom: * gtk/FileChooserDialog.custom: * gtk/FileChooserWidget.custom: Fix c&p error with filename. 2004-10-29 Todd Berman * 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 * 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 * sources/gtk-sharp-sources.xml: Invalid XML due to unremoved --> closing comment tag. 2004-10-29 Todd Berman * gtk/FileChooserDialog.custom: Allow a null parent. 2004-10-29 Todd Berman * gconf/GConf/gconf-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp 2004-10-29 Todd Berman * gtk-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp 2004-10-26 Dan Winship * 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 * generator/SymbolTable.cs : map unsigned int to uint. [Fixes #67732] 2004-10-21 Mike Kestner * configure.in : guard against broken installs where enable_gnome fails but enable_gnomedb succeeds. [Fixes #67986] 2004-10-20 Dan Winship * gdk/Window.custom: add a new constructor that takes a Gdk.WindowAttributesType rather than an int for attributes_mask. 2004-10-18 Dan Winship * 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 * 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 * gtk/Gtk.metadata: Mark ComboBox.GetActiveIter as an out param. 2004-10-06 John Luke * 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 * gtk/ComboBox.custom: Add SetCellDataFunc to allow you to set a CellLayoutDataFunc on a ComboBox. 2004-10-05 Todd Berman * gtk/ComboBox.custom: new file, to allow get/set access to 'model'. * gtk/Makefile.am: add ComboBox.custom. 2004-10-05 Mike Kestner * 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 * Merge forward patch from Miguel to fix delegate marshalling in 1.1.1. Original Changelog follows 2004-10-04 Todd Berman * */*.pc.in: Fix the Requires to use -2.0 2004-09-29 Mike Kestner * 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 * 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 * 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 * gtk/Button.custom : add a ctor (Widget). reworked from patch by John Luke. [Fixes #66228] 2004-09-26 Mike Kestner * glib/Idle.cs : proxy hash keys are uints, not ints. 2004-09-24 Mike Kestner * gtk/Bin.custom : make Child get/set. * gtk/Gtk.metadata : hide the Bin.get_child method. [Fixes #66232] 2004-09-23 Mike Kestner * gtk/Widget.custom : new OnSetScrollAdjustments VM. * gtk/glue/widget.c : glue for new VM. 2004-09-18 Miguel de Icaza * 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 * configure.in : bump version and tag for 1.0.2. 2004-09-17 Mike Kestner * configure.in : bump version and tag for 1.0.2. 2004-09-17 Mike Kestner * configure.in : use either gtkhtml 3.0 or 3.2 2004-09-14 Mike Kestner * gdk/* : remaining API audit fixes. 2004-09-09 Mike Kestner * 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 * 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 * gdk/Gdk.metadata : mark out params on *CreateWithXpm*. [Fixes #61116] 2004-08-31 Mike Kestner * gtk/NodeStore.cs : add GType prop to expose native gtype. [Fixes #61226] 2004-08-31 Mike Kestner * glib/Marshaller.cs : fix utc offseting for time_tToDateTime. [Fixes #60960] 2004-08-30 Tambet Ingo * glib/ListBase.cs : indexing bugfix for CopyTo. 2004-08-28 John Luke * 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 * 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 * 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 * 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 * glib/MainLoop.cs: MainLoop implementation by Jeroen [Fixes #61493] 2004-08-24 Mike Kestner * gtk/Gtk.metadata : kill TreeDataList and TreeDataSortHeader internal types. 2004-08-24 Larry Ewing * gtk/Gtk.metadata : Style.PaintPolygon has an array of points. 2004-08-24 John Luke * 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 * gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults to the entire pixbuf width/height. [Fixes #60703] 2004-08-24 Mike Kestner * 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 * 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 * gnomevfs/Makefile.am: Remove ADDITIONAL_API variable. 2004-08-20 Mike Kestner * atk/Atk.metadata : mark an array param on Relation ctor. 2004-08-19 Borja Sanchez Zamorano * 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 * 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 * 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 * 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 * 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 * 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 * gnomevfs/VfsStream.cs: if ErrorEof is returned in Read, return 0 instead of throwing an exception. 2004-08-13 John Luke * 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 * 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 * gnomevfs/AssemblyInfo.cs.in: use the .snk, not the .pub. 2004-08-10 Jeroen Zwartepoorte * 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/TestVolumes.cs: * sample/gnomevfs/TestXfer.cs: Commit new gnomevfs files and samples. Also the GLib.MainLoop addition for programs which don't want to use Gtk.Application.Run (), but still use the GLib main loop. 2004-08-04 Raja R Harinath * configure.in (GTKHTML): Use SOVERSION=11 for GtkHTML 3.1.18. * gda/Makefile.am ($(API)): Remove duplicated $(srcdir). 2004-07-30 Mike Kestner * parser/gapi2xml.pl : char const * fixes for clahey's gsf binding. 2004-07-28 Jeroen Zwartepoorte * */*: merge from HEAD again. 2004-07-24 Mike Kestner * gdk/Gdk.metadata : hide Window.Destroy. * gdk/Window.custom : manually impl Destroy since it releases our ref. * glib/Object.cs : support unset of Raw values. 2004-07-22 Mike Kestner * glib/Value.cs : allow null for ctor(GLib.Object). 2004-07-18 Todd Berman * panelapplet/Makefile.am: We dont actually use gnome-sharp.dll, remove it. 2004-07-16 John Luke * gtk/Gtk.metadata: * glade/Glade.metadata: mark return type as const-gchar* for Gtk.Global.CheckVersion and Glade.Global.ModuleCheckVersion so Gtk# does not try to free them. Thanks to jaspervp@gmx.net (Jasper van Putten) for identifying the Glade part. Fixes bugs #61329 and #60954 2004-07-12 Martin Willemoes Hansen * gnome/Gnome.metadata: Fixed typo i to 1 Remove unnessesary disabledefaultconstructor * gnome/PrintJob.custom: Change ctor to an overload ctor 2004-07-11 Todd Berman * panelapplet/ContextMenuItem.cs: New struct to hold context menu item information. * panelapplet/Makefile.am: added new file. * panelapplet/PanelApplet.custom: add glue accessor to set the context menu. * panelapplet/glue/panelapplet.c: new glue functionality to setup a context menu. * sample/panelapplet/testapplet.cs: expand sample to show context menu code. 2004-07-10 Todd Berman * panelapplet/panelapplet-sharp-2.0.pc.in: fix path. 2004-07-09 Mike Kestner * gdk/Gdk.metadata : mark gc param of Drawable.DrawPixbuf null_ok. 2004-07-09 Todd Berman * Makefile.am: * configure.in: Add panelapplet stuff to configure.in and the subdirs. * generator/ClassBase.cs: * generator/ObjectGen.cs: Add a new attribute 'abstract' to allow a class to be defined to be abstract. PanelApplet.PanelApplet uses this. * panelapplet/.cvsignore: * panelapplet/AppletFactory.cs: * panelapplet/AssemblyInfo.cs.in: * panelapplet/Makefile.am: * panelapplet/PanelApplet.cs: * panelapplet/PanelApplet.custom: * panelapplet/PanelApplet.metadata: * panelapplet/panelapplet-api.raw: * panelapplet/panelapplet-sharp-2.0.pc.in: * panelapplet/panelapplet-sharp.dll.config.in: * panelapplet/glue/.cvsignore: * panelapplet/glue/Makefile.am: * panelapplet/glue/panelapplet.c: Initial import of the panelapplet code. This code is largely untested, and will need a good amount of glue. For sure glue code is needed for the context menu items. * sample/panelapplet/CSharpTestApplet_Factory.server: * sample/panelapplet/monodoc.png: * sample/panelapplet/testapplet.cs: A small testcase for the panelapplet. There is no makefile yet, and the server needs some help as it uses an absolute path that will only work on my box. When I get back to Toronto (so some point this weekend) I will fix this code to build/install properly and add a README file to help with any potential issues. * sources/Makefile.am: * sources/gtk-sharp-sources.xml: Add the panelapplet-sharp stuff to the build here. 2004-07-06 Todd Berman * sources/gtk_tree_model_signal_fix.patch: duh, this is the real patch. 2004-07-06 Todd Berman * sources/Makefile.am: * sources/gtk_tree_model_signal_fix.patch: a new hacky patch to fix the signal generation on the tree model structs. * */*-api.raw: regen. * glib/Object.cs: merge forward a small patch. 2004-07-06 Todd Berman * Makefile.am: * configure.in: * gtk-sharp-2.0.pc.in: * gtk-sharp.pc.in: * art/.cvsignore: * art/Makefile.am: * art/art-sharp-2.0.pc.in: * art/art-sharp.pc.in: * gconf/GConf/.cvsignore: * gconf/GConf/Makefile.am: * gconf/GConf/gconf-sharp-2.0.pc.in: * gconf/GConf/gconf-sharp.pc.in: * gda/.cvsignore: * gda/Makefile.am: * gda/gda-sharp-2.0.pc.in: * gda/gda-sharp.pc.in: * glade/.cvsignore: * glade/Makefile.am: * glade/glade-sharp-2.0.pc.in: * glade/glade-sharp.pc.in: * gnome/.cvsignore: * gnome/Makefile.am: * gnome/gnome-sharp-2.0.pc.in: * gnome/gnome-sharp.pc.in: * gnomedb/.cvsignore: * gnomedb/Makefile.am: * gnomedb/gnomedb-sharp-2.0.pc.in: * gnomedb/gnomedb-sharp.pc.in: * gnomevfs/.cvsignore: * gnomevfs/gnome-vfs-sharp-2.0.pc.in: * gnomevfs/gnome-vfs-sharp.pc.in: * gtkhtml/.cvsignore: * gtkhtml/Makefile.am: * gtkhtml/gtkhtml-sharp-2.0.pc.in: * gtkhtml/gtkhtml-sharp.pc.in: * rsvg/.cvsignore: * rsvg/Makefile.am: * rsvg/rsvg-sharp-2.0.pc.in: * rsvg/rsvg-sharp.pc.in: * sample/rsvg/Makefile.am: * vte/.cvsignore: * vte/Makefile.am: * vte/vte-sharp-2.0.pc.in: * vte/vte-sharp.pc.in: Make gtk-sharp-2.0 parallel installable with gtk-sharp. Now you can install both and do -pkg:gtk-sharp-2.0 or similar to compile against the gtk-sharp-2.0 assemblies. Basically this change comprised some small configure.in changes to change the $(PACKAGE) to gtk-sharp-2.0, and check for the appropriate versions of the gnome 2.6 based libraries. Also, every .pc file was renamed -2.0.pc to allow for the parallel install, and the .cvsignore and Makefile.am rules were updated to reflect this change. 2004-07-05 John Luke * sample/VteTest.cs: improve the scrolling in the sample and pass on the Environment variables 2004-07-02 Mike Kestner * configure.in : dist the HACKING file from now on. 2004-07-01 Mike Kestner * sample/rsvg/Makefile.am : add an art-sharp /r. 2004-06-30 John Luke * vte/Vte.metadata: remove unneeded metadata and add comments 2004-06-29 Mike Kestner * configure.in : bump version to 1.0 and tag. Woot! 2004-06-25 Mike Kestner * */*.cs : add lgpl license blurb and clean up (c)'s. * */*.custom : add lgpl license blurb and clean up (c)'s. * */glue/*.c : add lgpl license blurb and clean up (c)'s. file adds without license from now on are punishable by wedgie. 2004-06-25 Mike Kestner * generator/*.cs : add gpl license blurb and clean up (c)'s. * parser/* : ditto * doc/*.cs : ditto * doc/gen-handlerargs-docs.cs : add little scripty. 2004-06-25 Mike Kestner * configure.in : tag and bump version to 0.99. 2004-06-23 Todd Berman * doc/*/*.xml: s/GtkSharp.SignalArgs/GLib.SignalArgs/; 2004-06-22 Mike Kestner * configure.in : GLIB check for gobject, not glib. 2004-06-20 Jeroen Zwartepoorte * gdk/Gdk.metadata: Fix merging errors. * gnome/CanvasItem.custom: Idem. * gtk/Widget.custom: Idem. 2004-06-20 Jeroen Zwartepoorte * *: Merge with HEAD. 2004-06-17 Larry Ewing * gdk/Makefile.am (sources): add Pixdata.custom * gdk/Pixdata.custom: add new file to fix Serialize. * gnome/CanvasItem.custom: remove the incorrect custom bindings. * gnome/Gnome.metadata: stop hiding the AffineRelative and AffineAbsolute the generator gets them right they are not out params. * gdk/Gdk.metadata: mark the Pixdata byte stream as and array hide the broken serialize method. 2004-06-18 John Luke * sample/rsvg/Makefile.am: do not reference gnome-sharp and art-sharp * sample/rsvg/svghelloworld.cs: rework with just gtk (no gnome deps) 2004-06-15 Mike Kestner * gtk/Gtk.metadata : hide the button_new_from_stock ctor. * gtk/Button.custom : add a manual ctor implementation. 2004-06-14 Mike Kestner * configure.in : another "really frozen this time" release. * gdk/Gdk.metadata : mark a couple array params on Pixbuf.Savev. * gdk/Pixbuf.custom : add a Save implementation. 2004-06-14 Mike Kestner * configure.in : bump the version to 0.97, tag. 2004-06-12 Todd Berman * glib/ObjectManager.cs: change CreateInstance overload being used to properly pick up protected ctors. 2004-06-11 Todd Berman * gtk/Container.custom: * gtk/CellRenderer.custom: * gnome/CanvasItem.custom: mark Override* private. * doc/en/*/*.xml: update to remove Override* methods. 2004-06-11 Mike Kestner * doc/en/*/*.xml : update to remove Override* methods. * generator/Signal.cs : make the Override* methods private. They should not ever be called manually and it saves about 800 "do not call this method" doc entries. 2004-06-11 Mike Kestner * configure.in : require mono-0.96, bump the version, tag. 2004-06-11 Mike Kestner * configure.in : remove the mint usage for darwin. 2004-06-11 Mike Kestner * configure.in : deal with a csc-ism in source paths. * */Makefile.am : use the GENERATED_SOURCES var. * */glue/Makefile.am : add -no-undefined for win32 dll builds. 2004-06-10 Mike Kestner * configure.in : break the monodoc dep, even though it was optional it was a pain in the backside. * doc/Makefile.am : add assemble target to build docs using monodoc. we now have two manual targets which use monodoc, but aren't required for the default build (update and assemble). 2004-06-10 Mike Kestner * configure.in : AC_SUBST GACUTIL_FLAGS. require mono-0.95 (though it's really cvs bleeding edge.) * * AssemblyInfo.cs.in : s/pub/snk. delaysign=no. * * Makefile.am : s/pub/snk. portability fixes to csc from John Luke. Switch to GACUTIL_FLAGS. * doc/Makefile.am : don't build docs, install raw xml to the prefix. 2004-06-10 Todd Berman * gtk/Container.custom: add C# glue for virtualizing ChildType () * gtk/glue/container.c: add C glue for virtualizing ChildType () * gtk/Gtk.metadata: hide Container.ChildType () * gtk/Widget.custom: Add ClearFlag, and SetFlag convenience methods. Also add various IsFlag bool properties for checking for flags. * gtk/glue/widget.c: Fix setting flags. * doc/*: updated Widget docs. 2004-06-09 Todd Berman * gdk/Gdk.metadata: mark Window.SetBackPixmap as null_ok. * glib/Object.cs: in set_Raw, if value == IntPtr.Zero, dont put that in the weakref hashtable, as it creates later issues with gtk+ returning null and gtk# mistaking if for an object. 2004-06-08 Mike Kestner * gnomedb/Application.cs : add a missing DllImport. 2004-06-08 Mike Kestner * gdk/Gdk.metadata : mark array param on Drawable.*Image. 2004-06-08 Mike Kestner * gdk/Gdk.metadata : mark array param on Drawable.DrawGrayImage. 2004-06-07 Mike Kestner * */Makefile.am : s|--unsafe|/unsafe to remove a mcs-ism that jluke exposed in his cygwin build patch. 2004-06-07 Jeroen Zwartepoorte * configure.in: Add pango pkg-config check. * pango/Layout.custom: Updated custom code to new opaque LayoutLine. * pango/LayoutLine.custom: Properties for LayoutLine struct fields. * pango/Makefile.am: * pango/Pango.metadata: Make LayoutLine opaque [Fixes #59666]. * pango/glue/.cvsignore: * pango/glue/Makefile.am: * pango/glue/layoutline.c: glue for the LayoutLine struct fields. * pango/glue/makefile.win32: * pango/glue/win32dll.c: 2004-06-07 Todd Berman * gtk/Widget.custom: expose some easy bool properties for checking certain WidgetFlags. Make Allocation a settable property. * gtk/glue/widget.c: bit of glue to make Allocation settable. * gdk/Window.custom: expose UserData as a usable IntPtr property. * gdk/Gdk.metadata: hide old GetUserData/SetUserData methods. * doc/*: ran the updater. 2004-06-07 Jeroen Zwartepoorte * gtk/Widget.custom: Add FocusLineWidth property. * gtk/glue/widget.c: (gtksharp_gtk_widget_set_flags), (gtksharp_gtk_widget_style_get_int): glue for getting an integer style property. 2004-06-07 John Luke * doc/Makefile.am: install the docs if monodoc is there 2004-06-07 Peter Williams * configure.in (MONODOC_REQUIRED_VERSION): Fix missing 'test' in shell if statement. 2004-06-07 Jeroen Zwartepoorte * gtk/Widget.custom: Add the AddAccelerator method back which got removed by accident during the last merge. * sample/CustomNotebook.cs: New sample showing of a custom Notebook. 2004-06-07 Jeroen Zwartepoorte * *: Merge with HEAD. 2004-06-04 Todd Berman * glib/Object.cs: ConnectDefaultHandlers needs to look at public api as well for virtual methods. * gtk/CellRenderer.custom: * gtk/Container.custom: * gnome/CanvasItem.custom: Add DefaultSignalHandler to remove the need for the static ctor. 2004-06-04 Todd Berman * gnome/CanvasItem.custom: Changed from OnXXX vmethods to XXX vmethods * gnome/CanvasProxy.cs: removed, unused code * gnome/GtkSharp.BoundsHandler.cs: removed * gnome/GtkSharp.DrawHandler.cs: removed * gnome/GtkSharp.PointHandler.cs: removed * gnome/GtkSharp.RenderHandler.cs: removed * gnome/GtkSharp.UpdateHandler.cs: removed * gnome/Makefile.am: updated to reflect removing of old files. * gtk/CellRenderer.custom: Changed from OnXXX vmethods to XXX vmethods, and added StartEditing vmethod * gtk/Container.custom: Changed from OnForall to ForAll * gtk/Gtk.metadata: hide CellRenderer.GetSize and StartEditing * gtk/glue/cellrenderer.c: new glue for CellRenderer.StartEditing override. * sample/CustomCellRenderer.cs: updated signatures to reflect new code. 2004-06-02 Vladimir Vukicevic * gdk/Pixbuf.custom : Pixels prop isn't unsafe 2004-06-02 Mike Kestner * generator/Field.cs : add field hiding, for manual impl. * generator/StructBase.cs : support disable_new, for manual impl. 2004-06-01 Jeroen Zwartepoorte * sample/CustomWidget.cs: remove custom GType stuff. 2004-06-01 Mike Kestner * generator/ObjectGen.cs : generate protected ctor () for all GLib.Objects that don't have any ctors. * gtk/CellRenderer.custom : remove ctor (). * gtkhtml/Gtk.metadata : add a disable_void_ctor rule for HTML. 2004-06-01 Jeroen Zwartepoorte * configure.in: Merge with HEAD again. * gdk/Gdk.metadata: * gnome/CanvasItem.custom: * gtk/Gtk.metadata: * sample/.cvsignore: * sample/CustomWidget.cs: Inherit from Gtk.Bin and make it a better suited sample. 2004-06-01 Mike Kestner * gtk/Gtk.metadata : mark SizeRequest requisition as out, not ref. [Fixes #59388] 2004-06-01 Jeroen Zwartepoorte * sample/CustomWidget.cs: Fixed Widget.SizeRequest usage. Works properly now. 2004-05-31 Mike Kestner * configure.in : Bump version to 0.93 and tag. 2004-05-31 Jeroen Zwartepoorte * gtk/Gtk.metadata: unhide WidgetFlags. * gtk/Widget.custom: add setter for GdkWindow prop. Add Flags prop. * gtk/glue/widget.custom: setter for window, accessors for flags. [Fixes #59337] 2004-05-31 Jeroen Zwartepoorte * gdk/Gdk.metadata: fix member names in WindowClass. [Fixes #59336] 2004-05-31 Jeroen Zwartepoorte * gdk/Gdk.metadata: mark dest rects as out for Intersect and Union. [Fixes #59341] 2004-05-31 Jeroen Zwartepoorte * gtk/Gtk.metadata: Unhide the GtkWidgetFlags enum. * gtk/Makefile.am: Remove WidgetFlags.cs. * gtk/WidgetFlags.cs: Obsolete. 2004-05-31 Jeroen Zwartepoorte * sample/CustomWidget.cs: The Gtk.Requisition is passed by reference in the OnSizeRequested handler. 2004-05-31 Jeroen Zwartepoorte * *: Merge changes from HEAD again. 2004-05-31 Jeroen Zwartepoorte * gtk/Container.custom: Merged fix for Container.Forall handler. * gtk/Makefile.am: Added WidgetFlags.cs. * gtk/Widget.custom: Added Flags property and setter to GdkWindow. * gtk/WidgetFlags.cs: Enumeration of widget flags (from widget.h). * gtk/glue/container.c: (gtksharp_container_invoke_gtk_callback): Fixes for Container.Forall handler. * gtk/glue/widget.c: (gtksharp_gtk_widget_set_window), (gtksharp_gtk_widget_get_state), (gtksharp_gtk_widget_get_flags), (gtksharp_gtk_widget_set_flags): Added new API which is needed to write custom gtk widgets. * parser/gapi_pp.pl: Match #if !defined (*_DISABLE_DEPRECATED) properly. * sample/CustomWidget.cs: new sample for creating a custom Gtk widget. * sample/Makefile.am: Added CustomWidget.cs sample. 2004-05-29 Mike Kestner * gnome/CanvasItem.custom : for OnUpdate, Art.SVP can be NULL so treat it as an IntPtr with Zero checks and manual marshaling. 2004-05-28 Vladimir Vukicevic * gtk/CellRenderer.custom: fix GetSize_cb, cell_area can be NULL coming from Gtk (so can't use ref Gdk.Rectangle, have to use IntPtr) 2004-05-28 Miguel de Icaza * Added System.Drawing samples. 2004-05-28 Mike Kestner * configure.in : bump for next version, tagged 0.92. 2004-05-28 Vladimir Vukicevic * generator/ObjectGen.cs : adjust to ObjectManager ns change. * glib/ManagedValue.cs : move to GLib and internalize. * glib/Object.cs : adjust to ObjectManager ns change. * glib/ObjectManager.cs : move to GLib. * glib/TypeConverter.cs : move to GLib. return ManagedValue.GType when we can't match a type instead of GType.None. * gtk/*.custom: adjust for new TypeConverter ns and behavior. 2004-05-28 Mike Kestner * gtk/Makefile.am : add new custom. * gtk/Settings.custom: add props for unparsed API. 2004-05-27 Mike Kestner * glib/Object.cs: mark GType property public. 2004-05-27 Jeroen Zwartepoorte * gtk/Gtk.metadata: Hide the GtkCtree class (old gtk+ 1.x junk). 2004-05-26 Mike Kestner * gtkhtml/Gtk.metadata : hide Gtk.HTML the ctors. * gtkhtml/HTML.custom : new manual impl for ctors. * gtkhtml/Makefile.am : add new custom [Fixes #59148] 2004-05-25 Jeroen Zwartepoorte * gnome/Gnome.metadata: Don't hide the GtkEntry and GnomeEntry properties. * gtk/Accel.custom: Add custom methods for backwards compatibility of the gtk_accel_map_* methods. [Fixes #58954] 2004-05-25 Dan Winship * gtk/Gtk.metadata : mark a ref param in SizeRequested 2004-05-25 Mike Kestner * */Makefile.am : rm generated/* in generated-stamp target. 2004-05-25 Mike Kestner * configure.in : don't expand the GAPI Makefile. * parser/Makefile.am : remove SUBDIRS. * parser/gapi2xml.pl : remove GAPI::Metadata usage. * parser/GAPI/* : kill. long live gapi-fixup. 2004-05-25 Mike Kestner * gtk/Container.custom : use glue to invoke the GtkCallback in Forall. * gtk/glue/container.c : add gtksharp_container_invoke_gtk_callback. 2004-05-23 Mike Kestner * generator/SignalHandler.cs : put back the ObjectGen hack for param wrapping. [Fixes #58876] 2004-05-23 Jeroen Zwartepoorte * atk/atk-api.xml: Removed. * gdk/gdk-api.xml: Idem. * glade/glade-api.xml: Idem. * gnome/IconTheme.cs: s/GLibSharp/GLib/ * gnome/gnome-api.xml: Removed. * gtk/Adjustment.custom: Obsolete custom property code. * gtk/glue/adjustment.c: (gtksharp_gtk_adjustment_set_bounds): Idem. * gtk/gtk-api.xml: Removed. * pango/pango-api.xml: Idem. 2004-05-23 Jeroen Zwartepoorte Merge changes from HEAD since yesterday. 2004-05-22 Mike Kestner * configure.in : require mono-0.91.99. Sorry, but we need to require mono cvs until beta2 because of some recent breakage in Gnome.Program custom code while reflecting against the runtime. 2004-05-22 Todd Berman * gnome/Program.custom: Change the Mono.Runtime stuff to reflect its new internal nature. This fixes MD, gnunit, and all gnome# programs that were blowing up for no reason. 2004-05-23 Jeroen Zwartepoorte * *: Merge changes from HEAD again. 2004-05-22 Radek Doulik * gtk/TreeView.custom(GetPathAtPos): change Gtk.TreeViewColumn column parameter to out[put] as gtk_tree_view_get_path_at_pos returns column address to column parameter (GetPathAtPos): use GLib.Object.GetObject so that we don't create new TreeViewColumn object duplicates 2004-05-19 Mike Kestner * gtk/Container.custom : add CallbackInvoke and use it in OnForall. 2004-05-19 Mike Kestner * generator/Makefile.am : add TimeTGen.cs * generator/SymbolTable.cs : use new TimeTGen. * generator/StringGen.cs : s/GLibSharp/GLib * generator/TimeTGen.cs : generatable to marshal time_t. * glib/time_t_CustomMarshaler.cs : kill * glib/Makefile.am : remove time_t_CustomMarshaler.cs * glib/Markup.cs : s/GLibSharp/GLib * glib/Marshaller.cs : move to GLib namespace. Add methods to marshal time_t to and from DateTime. * glib/glue/time_t.c : kill * glib/glue/Makefile.am : remove time_t.c * glib/glue/makefile.win32 : remove time_t.o * gnome/*.custom : use GLib.Marshaller instead of the time_t custom marshaler. * gtk/*.custom : s/GLibSharp/GLib 2004-05-18 Zoltan Varga * glib/time_t_CustomMarshaler.cs: Fix custom marshalling after runtime changes. 2004-05-18 Vladimir Vukicevic * gdk/Pixbuf.custom: Changed Pixbuf.Pixels to return an IntPtr instead of a byte * -- anyone who needs a byte * can do the cast in an unsafe context already. 2004-05-18 Todd Berman * samples/Scribble.cs: Im bored, you can erase, etc 2004-05-18 Mike Kestner * glib/MissingIntPtrCtorException.cs : new exception to throw if unable to access an IntPtr ctor on a GLib.Object subclass. We need an IntPtr ctor to be able to wrap arbitrary object handles. * glib/Object.cs : have NativeType call LookupGType. * glib/ObjectManager.cs : throw the new exception in a try/catch. 2004-05-17 Mike Kestner * generator/ObjectGen.cs : Generate a .cctor that calls the assembly's ObjectManager.Initialize method if the class will need to be registered with GLib.ObjectManager. Enhance the Initialize method to allow multiple invocations. 2004-05-17 Mike Kestner * generator/SignalHandler.cs : fix some broken/redundant generation in the Object/Struct wrapping for sig params. * glib/Object.cs : internalize/protect lots of API that shouldn't need to be used by non-subclass/non-glib code. Return GType.Object as GType. * glib/Value.cs : use internal GLib.Object.NativeType prop. * sample/TestDnd.cs : use ToString instead of TypeName. 2004-05-14 Todd Berman * glib/Object.cs: make static GLib.Object.LookupGType protected for now. * gtk/CellRenderer.custom: code to allow for subclassing and implementing a custom cell renderer. * gtk/Makefile.am: add custom to build. * gtk/glue/Makefile.am: add glue to build. * gtk/glue/cellrenderer.c: glue code to override get_size and render from cellrenderer. * sample/CustomCellRenderer.cs: new sample to show how to implement a custom cell renderer. * sample/Makefile.am: add CustomCellRenderer sample. 2004-05-13 Todd Berman * *.pc.in: add .dll to the end of the Libs: references, and convert them to be absolute paths. 2004-05-11 Mike Kestner * *.pc.in : add Requires so that dependent libs are pulled in too. 2004-05-11 Mike Kestner * gconf/GConf/NotifyWrapper.cs : add some defensive null checking. [fixes #57902] 2004-05-11 Mike Kestner * gtk/SelectionData.custom : add a Set overload without length param. 2004-05-10 Mike Kestner * gtk/Gtk.metadata : mark some Dialog API params as ResponseType instead of int. [fixes #58240] 2004-05-10 Mike Kestner * glib/Value.cs : fix GBoxed GLib.Value setting. [fixes #58229] 2004-05-10 Mike Kestner * gtk/Gtk.metadata : change return-type on Global.EventsPending to a bool to avoid compat problems in 2.4. Also rename to GetEventsPending so that it's generated as a property. [fixes #58292] 2004-05-10 Mike Kestner * gtk/Gtk.metadata : hide some ctors and map some prop names. * gtk/Makefile.am : add new customs. * gtk/ItemFactory.custom : implement ctor for subclassing. * gtk/Plug.custom : implement ctors for subclassing. 2004-05-09 Jeroen Zwartepoorte * gdk/Gdk.metadata: Misc fixes for getting Muine to build & run. * gtk/FileSelection.custom: Add this back. * gtk/Gtk.metadata: Misc fixes for getting Muine to build & run. 2004-05-08 Jeroen Zwartepoorte * gconf/GConf.PropertyEditors/Makefile.am: Reinclude the OptionMenu property editor. * gdk/Gdk.metadata: * gdk/Pixbuf.custom: Add backwards compatible implementations of GetFromDrawable, RenderPixmapAndMask and a couple of others which are now static in gtk+ 2.4. These methods have the same API as the ones generate for gtk+ 2.2. * gdk/gdk-api.raw: * generator/ClassBase.cs: Generate an [Obsolete] tag for deprecated code. * generator/ClassGen.cs: Idem. * generator/Method.cs: Idem. * generator/ObjectGen.cs: Idem. * gnome/Gnome.metadata: * gnome/IconData.cs: * gnome/IconTheme.cs: GnomeIconTheme inherits directly from GtkIconTheme in libgnomeui-2.6. This breaks the parser, so it won't generate the proper code. This is a manual class implementation for backward compatibility with gtk+ 2.2 version of gtk#. * gnome/IconTheme.custom: Removed * gnome/Makefile.am: * gnome/gnome-api.raw: * gtk/Gtk.metadata: * gtk/IconTheme.custom: Added custom methods previously found in ../gnome/IconTheme.custom. * gtk/gtk-api.raw: * pango/pango-api.raw: * parser/gapi2xml.pl: Check for "deprecated" prefixes and add a deprecated attribute to the appropriate elements when found. * parser/gapi_pp.pl: Prefix everything that's in a #ifndef *_DISABLE_DEPRECATED block with "deprecated". * sample/GtkDemo/DemoMain.cs: s/File/System.IO.File/ since there's now also a Gtk.File class. * sample/GtkDemo/DemoSizeGroup.cs: Use the original OptioMenu code. * sample/GtkDemo/DemoTextView.cs: s/File/System.IO.File/. * sample/Makefile.am: * sources/gtk-sharp-sources.xml: Add a bunch of s to the Gtk namespace so it won't generate API for _really_ old deprecated widgets like GtkCList, GtkCTree etc. This commit adds support for deprecated widgets to gtk#. This is necessary since some widgets have been deprecated from gtk+ 2.2->2.4, but are still in use (any program that uses Gtk.OptionMenu, Gtk.Combo and methods in Gtk.Toolbar to name a few). This is done in C# by using the [Obsolete] metadata tag. 2004-05-07 Todd Berman * gnome/Makefile.am: add DruidPageEdge.custom * gnome/Gnome.metadata: hide DruidPageEdge ctors * gnome/DruidPageEdge.custom: subclassable ctors. 2004-05-07 Todd Berman * gnome/IconList.custom: subclassable ctor. * gnome/Gnome.metadata: hide IconList ctor. 2004-05-07 Mike Kestner * gnome/Canvas.custom : PixelsPerUnit prop. * gnome/Gnome.metadata : hide Canvas.SetPixelsPerUnit. * gnome/glue/Makefile.am : get_pixels_per_unit. * gnome/glue/canvas.c : get_pixels_per_unit. * gtk/Container.custom : OnForall virtual method impl. * gtk/glue/Makefile.am : add container.c * gtk/glue/container.c : virtual method glue for forall. * gtk/glue/makefile.win32 : add container.o 2004-05-07 Todd Berman * gnome/Gnome.metadata: map properties for with_flags DateEdit ctor, and hide the DateTime, bool, bool ctor * gnome/Makefile.am: Add DateEdit.custom. * gnome/DateEdit.custom: Add subclassable ctor for DateEdit and add enough overloads that accept variable parameter lists to make Mike Kestner sick. 2004-05-07 Todd Berman * gnome/Gnome.metadata: Hide App ctor. * gnome/Makefile.am: add App.custom. * gnome/App.custom: New custom for subclassing. 2004-05-07 Todd Berman * gnome/Gnome.metadata: Hide Scores ctor. * gnome/Makefile.am: add Scores.custom. * gnome/Scores.custom: New custom for overridable ctor. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : map some RadioButton ctor props. 2004-05-07 Mike Kestner * gnome/Druid.custom : fix Todd's broken code. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide TextView with_buffer ctor. map some parms to props. * gtk/Makefile.am : add new custom. * gtk/TextView.custom : implement with_buffer ctor for subclassing. 2004-05-07 Todd Berman * gnome/Gnome.metadata: Hide Druid with_window ctor, map About property. add some null_ok from bug #57948. * gnome/Druid.custom: implement with_window ctor for subclassing, and a 3 paramatered version for when you dont care about the returned window. another 3 parametered version for when you have want null parent, and a 2 parametered version for the null parent and the discarding of the window (THANKS MIKE!) * gnome/Makefile.am: add new custom. 2004-05-07 Mike Kestner * gtk/TreeView.custom : make the NodeStore ctor subclassable. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide SpinButton with_range ctor. * gtk/Makefile.am : add new custom. * gtk/SpinButton.custom : implement with_range ctor for subclassing. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide ListStore and TreeStore newv ctors. * gtk/ListStore.custom : rework the ctors for subclassing. * gtk/TreeStore.custom : rework the ctors for subclassing. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide HScale and VScale with_range ctors. * gtk/Makefile.am : add new customs. * gtk/HScale.custom : implement with_range ctor for subclassing. * gtk/VScale.custom : implement with_range ctor for subclassing. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : map AccelLabel ctor parm to prop and hide Adjustment ctor. * gtk/Adjustment.custom : add set accessors for Upper/Lower and implement ctor with subclassing. * gtk/CheckMenuItem.custom : return from subclass branch. * gtk/ImageMenuItem.custom : return from subclass branch. * gtk/MenuItem.custom : return from subclass branch. * gtk/RadioMenuItem.custom : return from subclass branch. * gtk/glue/adjustment.c : add setters for lower/upper. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide some *MenuItem ctors. * gtk/CheckMenuItem.custom : implement string ctor. * gtk/ImageMenuItem.custom : implement string ctor. * gtk/MenuItem.custom : use AccelLabel. * gtk/RadioMenuItem.custom : fix string ctor for subclassing. * gtk/Makefile.am : add new customs. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide some MenuItem ctors. * gtk/Makefile.am : add the new custom. * gtk/MenuItem.custom : implement the string ctor. 2004-05-07 Mike Kestner * sample/GnomeHelloWorld.cs : guard against null args.Event in the icon_selected_cb, which occurs on button-presses for some reason. Thanks to wmealing on irc for the bug report. 2004-05-07 Mike Kestner * sample/*/Makefile.am : rebuild if the assemblies change 2004-05-07 Mike Kestner [Derived from a patch by Ben Maurer] * generator/Ctor.cs : generate code to detect subclassing and handle GType registration and native object creation properly. * generator/Parameters.cs : add PropertyName accessor for param attr. * generator/Property.cs : use a new GLib.Value ctor. * glib/ObjectManager.cs : redo hash access. * glib/Object.cs : CreateNativeObject method to invoke g_object_newv and some refactoring of RegisterGType and LookupGType. * glib/Value.cs : make gtype field an IntPtr. * glib/glue/object.c : glue for g_object_newv use. * glib/glue/value.c : new glue for value creation. * gtk/Dialog.custom : fix a ctor declaration for auto-reg. * gtk/Gtk.metadata : mark a couple property_name attrs as examples. * sample/Subclass.cs : use auto-GType-registration now. 2004-05-06 Mike Kestner * gdk/Gdk.metadata : some out and array magic for Property.Get. [Fixes #56513] 2004-05-06 Jeroen Zwartepoorte * generator/Method.cs: Don't use the "unsafe" modifier for methods which are part of an interface [fixes #58059]. 2004-05-06 Mike Kestner * configure.in : bump version for cvs. 2004-05-06 Jeroen Zwartepoorte * Makefile.in: * configure.in: * gconf/GConf.PropertyEditors/Makefile.in: * glade/Makefile.in: * gnomevfs/.cvsignore: * gnomevfs/AssemblyInfo.cs.in: * gnomevfs/Makefile.am: * gnomevfs/Makefile.in: * gnomevfs/gnome-vfs-sharp.dll.config.in: * gnomevfs/gnome-vfs-sharp.pc.in: * sample/Actions.cs: Remove System.Drawing.Size usage. * sample/Makefile.am: Added actions.exe. * sample/Makefile.in: Remove obsolete Makefile.in files from the repository. Auto*ify the gnomevfs assembly. 2004-05-06 Jeroen Zwartepoorte Merge changes from HEAD to the jeroen-gtk-2-4 branch. The correct gnome 2.6.0 & gtk+-2.4.1 sources are now also downloaded when you run "make get-source-code". Some samples are disabled for now since they use deprecated API and fail to build. 2004-05-05 Mike Kestner * generator/BoxedGen.cs : remove g_value_init DllImport and change (g|s)et_boxed to use a glue method to simplify dllmapping. * glib/Value.cs : add Init method. * glib/glue/value.cs : add get/set_boxed glue methods. * */*.config.in : remove libgobject mappings for dlls that no longer need them. 2004-05-05 Larry Ewing * gtk/Adjustment.custom: add an a set method for StepIncrement. * gtk/glue/adjustment.c: add gtk_adjustment_set_step_increment. 2004-05-05 Mike Kestner * generator/Signal.cs : rmv Handle param to SignalCallback ctor calls. s/GtkSharp.Signal*/GLib.Signal*. * generator/SignalHandler.cs : rmv Handle param to ctors as it's redundant. s/GtkSharp.Signal*/GLib.Signal*. Use new Connect/Disconnect instead of generating DllImports into libgobject directly. * glib/SignalArgs.cs : move the the GLib namespace. * glib/SignalCallback.cs : expose Connect and Disconnect methods to hide some pinvokes that were previously generated. Also move to the GLib namespace. gnome/*Handler.cs : update to new SignalHandler API. gnome/CanvasProxy.cs : ditto gnome/void*Signal.cs : ditto 2004-05-05 Mike Kestner * sample/gconf/Makefile.am : fix some whitespace. I love you, auto*. 2004-05-05 Mike Kestner * configure.in : fix gtkhtml versioning *again*. * sample/gconf/Makefile.am : conditional build on ENABLE_GNOME. 2004-05-04 Mike Kestner * configure.in : require gtkhtml-3.0.10 so we can use a single so version (.4). * sources/* : update to gtkhtml-3.0.10. This produces zero change in the generated API. 2004-05-03 Todd Berman * */*.pc.in: change to use @PACKAGE@ where its needed, fixes pc bug 2004-05-03 Todd Berman * configure.in: bump mono dep to 0.90 2004-05-03 Todd Berman * configure.in: bump to 0.91, dont kill me mike. 2004-05-03 Todd Berman * gtk-sharp.pc.in: add PACKAGE stuff here 2004-05-03 Mike Kestner * */Makefile.am : fix gacutil for new package switch * */*.pc.in : fix -libs var for new dll path 2004-05-03 Mike Kestner * configure.in : add some checks for gtkhtml-3.1 and use it if avail. * gtkhtml/gtkhtml-sharp.dll.config.in : deal with 3.1 versioning. 2004-05-03 Miguel de Icaza * gtkhtml/Gtk.metadata: Patch from Mike Kestner: make GtkHTMLStream opaque, to fix a bug that was found by running Monodoc on MacOS X. We were passing a pointer to a managed object, instead of a pointer to a HTMLStream-allocated object. * HTMLStream.custom: Update custom file to reflect change to Opaque: use Handle instead of this. 2004-04-30 Mike Kestner * gdk/glue/makefile.win32 : remove windowmanager.o for now. It was breaking the build on win32. 2004-04-30 Mike Kestner * configure.in : lookup gacutil and error out if not found. * */Makefile.am : add install-data-local and uninstall-local targets for GAC installation. Add gtk-sharp.pub target to cp the key in for distcheck. * */AssemblyInfo.cs.in : remove ../ from key path for VPATH build. 2004-04-30 Mike Kestner * configure.in : remove BASE_DEPENDENCIES LIBS and CFLAGS and expose more specific versions for glue building. * */glue/Makefile.am : use more specific versions of LIBS and CFLAGS to reduce the ldd footprint. 2004-04-30 Mike Kestner * configure.in : AC_SUBST an API_VERSION=1.0.0.0 for the AssemblyVersionAttributes. * */AssemblyInfo.cs.in : s/@VERSION@/@API_VERSION@/ 2004-04-30 Mike Kestner * */AssemblyInfo.cs.in : s/@VERSION@.0.0/@VERSION@/ 2004-04-30 Mike Kestner * sample/gconf/* : break System.Drawing dependency. 2004-04-30 Owen Fraser-Green * gconf/tools/gconfsharp-schemagen.in : fixed variables * sources/Makefile.am : remove reference to old gst target 2004-04-30 Erik Dasque * gtk/Calendar.custom : new Date property with setter 2004-04-29 Mike Kestner * mapdllnames.pl : remove unneccessary script 2004-04-29 Mike Kestner * gst/* : kill. it's been spun out the the gst-sharp module. * sources/Makefile.am : remove gst source download target. * sources/gtk-sharp-sources.xml : remove gst nodes. 2004-04-29 Mike Kestner * configure.in : expand the AssemblyInfo.cs files. * */AssemblyInfo.cs.in : new assembly info files. * */Makefile.am : dist, make, and clean assmbly info files. 2004-04-29 Owen Fraser-Green * generator/ClassBase.cs: added base case to Parent to avoid infinite recursion. * glib/Marshaller.cs: changed SizeOf(typeof's to int and long instead of string. 2004-04-29 Duncan Mak * vte/vte-sharp.dll.config.in: Removed extra element. 2004-04-29 Owen Fraser-Green * gnome/CanvasGroup.custom : added public constructor. 2004-04-29 Mike Kestner * configure.in : expand the new config files. * */*config.in : the per-assembly config files. * */Makefile.am : dist, clean, and install the configs. * gnome/*.c* : fix some errant DllImports. 2004-04-28 Mike Kestner [Expanded from patch by John Luke attached to bug.] * gdk/Gdk.metadata : rename Atom.Name to GetName so it props. * gdk/Atom.custom : new string cast operator. * sample/TestDnd.cs : fix Atom.Name reference * sample/GtkDemo/DemoEditableCell.cs : fix a ListStore.Remove ref broken by last commit. [Fixes #57721] 2004-04-28 Mike Kestner * gtk/Gtk.metadata : mark ListStore.Remove iter pass_as=ref. [Fixes #56945] 2004-04-28 Mike Kestner * Makefile.am : dist the public signing key baulig just added. 2004-04-27 Mike Kestner * gnome/glue/canvaspoints.c : remove some g_prints spotted by Jorge Garcia. 2004-04-16 Rachel Hestilow * generator/GObjectGen.cs: Added new generatable to handle plain GObjects the same way we do subclasses. * generator/ManualGen.cs: Make FromNative/FromNativeReturn virtual to allow overriding. * generator/SymbolTable.cs: Use GObjectGen instead of ManualGen for GObject. * generator/Makefile.am: Add GObjectGen.cs. 2004-04-16 Boyd Timothy * gdk/Global.custom : properties to expose window manager spec properties. * gdk/glue/windowmanager.c : glue to retrieve window manager props using gdk_property_get. * gdk/glue/Makefile.am : add new file. * gdk/glue/makefile.win32 : add new file. 2004-04-13 Mike Kestner * glib/Value.cs : fix a csc-breaker. 2004-04-12 Mike Kestner * gnome/Program.custom : add ArgumentException for app_id containing spaces. [fixes #56594] 2004-04-12 Mike Kestner [Rework of a patch from Ben Maurer to turn GLib.Value into a valuetype.] * generator/BoxedGen.cs : fix operators for new valuetype GValues. * generator/ByRefGen.cs : new generatable for byref value types. * generator/Makefile.am : add ByRefGen.cs. * generator/MethodBody.cs : remove GValue special casing. * generator/Property.cs : rework value handling. * generator/Signal.cs : fix base virtual method value passing. * generator/SymbolTable.cs : map GValue to ByRefGen. * glib/Object.cs : rework GetProperty and SetProperty. * glib/Value.cs : make it a value type. * glib/ValueArray.cs : fix GValue passing. * glib/glue/value.c : rework for valuetype GValues. * gnome/Program.custom : fix GValue passing * gtk/Gtk.metadata : make TreeModel.GetValue value param pass_as=ref. * gtk/ListStore.custom : fix GValue passing * gtk/NodeStore.cs : fix GValue passing * gtk/TextTag.custom : fix GValue passing * gtk/TreeModelSort.custom : fix GValue passing * gtk/TreeStore.custom : fix GValue passing 2004-04-05 Larry Ewing * gnome/Gnome.metadata: Make data an array type so that the image functions can be used. * gnome/Print.custom: add a custom handler to print Pixbufs. * gnome/Makefile.am: add Print.custom. 2004-04-07 Mike Kestner * generator/ClassBase.cs : remove default ctor generation and hasDefaultConstructor field. * generator/Ctor.cs : chain to base (IntPtr.Zero). * generator/StructBase.cs : remove hasDefaultConstructor usage. * glib/Object.cs : remove Object () ctor. Add Ben's GetGType method, although nothing uses it yet. Still working on integrating the remainder of Ben's patch. * gtk/Gtk.metadata : remove all the disabledefaultctor rules. * */*.custom : add base (IntPtr.Zero) or this (...) chaining for all ctors. 2004-04-07 John Luke * gtk/Gtk.metadata: mark Gtk.Widget.ModifyFont font_desc null_ok 2004-04-07 Gonzalo Paniagua Javier * glib/Value.cs: added StructLayout attribute as requested by the runtime. Now --aot works again. 2004-04-04 Mike Kestner * generator/SymbolTable.cs : don't use StringGen for gunichar. * glib/glue/unichar.c : glue to fetch a gunichar as a utf8 string. * glib/glue/Makefile.am : add unichar.c * glib/glue/makefile.win32 : add unichar.c * gtk/Gtk.metadata : hide TextIter.GetChar * gtk/TextIter.custom : manually impl Char prop. [fixes #53425] 2004-04-04 Mike Kestner * pango/Layout.custom : increment an indexer. thanks to Moritz Balz for the bug report and candidate patch. 2004-04-04 Mike Kestner * generator/BoxedGen.cs : DllImport glibsharpglue for value_create. 2004-04-04 Mike Kestner * gnome/glue/canvasitem.c : add glue to override VMs. * gnome/CanvasItem.cs : expose virtual methods for update, point, realize, draw, and render. 2004-04-04 John Luke * vte/Vte.metadata: mark argv and envv parameters to Vte.Terminal.ForkCommand as arrays, it finally works * sample/Vte-test.cs: adjust for above 2004-04-02 Todd Berman * gtk/Gtk.metadata: fix Gtk.SelectionData.Set. 2004-04-02 Todd Berman * configure.in: added new .pc files * gtk-sharp.pc.in: modified to include Libs: line * art/.cvsignore: added art-sharp.pc * art/Makefile.am: added rules for installing .pc * art/art-sharp.pc.in: new .pc file * gconf/GConf/.cvsignore: added gconf-sharp.pc * gconf/GConf/Makefile.am: added rules for installing .pc * gconf/GConf/gconf-sharp.pc.in: new .pc file * gda/.cvsignore: added gda-sharp.pc * gda/Makefile.am: added rules for installing .pc * gda/gda-sharp.pc.in: new .pc file * glade/.cvsignore: added glade-sharp.pc * glade/Makefile.am: added rules for installing .pc * glade/glade-sharp.pc.in: new .pc file * gnome/.cvsignore: added gnome-sharp.pc * gnome/Makefile.am: added rules for installing .pc * gnome/gnome-sharp.pc.in: new .pc file * gnomedb/.cvsignore: added gnomedb-sharp.pc * gnomedb/Makefile.am: added rules for installing .pc * gnomedb/gnomedb-sharp.pc.in: new .pc file * gtkhtml/.cvsignore: added gtkhtml-sharp.pc * gtkhtml/Makefile.am: added rules for installing .pc * gtkhtml/gtkhtml-sharp.pc.in: new .pc file * rsvg/.cvsignore: added rsvg-sharp.pc * rsvg/Makefile.am: added rules for installing .pc * rsvg/rsvg-sharp.pc.in: new .pc file * vte/.cvsignore: added vte-sharp.pc * vte/Makefile.am: added rules for installing .pc * vte/vte-sharp.pc.in: new .pc file 2004-04-01 Mike Kestner * art/Art.metadata : mark dst pass_as=out on Affine.Point 2004-04-01 Jorn Baayen * gtk/Style.custom : wrappers for Text[] and Base[] * gtk/glue/style.c : glue to access text[] and base[] [fixes #54805] 2004-04-01 Jeroen Zwartepoorte * gnome/IconTheme.custom : GetSearchPath impl [fixes #51599]. 2004-04-01 Joshua Tauberer * gdk/Gdk.metadata : hide Region.GetRectangles * gdk/Region.custom : implement Rectangles prop [fixes #55811] 2004-04-01 Mike Kestner * glib/Value.cs : NULL check for g_value_get_string Thanks to Jeroen Zwartepoorte for the bug report with patch [fixes #54979]. 2004-03-31 Miguel de Icaza * configure.in: If monodoc is not found, then turn off enable_monodoc, so the value is properly propagated. 2004-03-31 Mike Kestner * configure.in : tagged for 0.18 and bumped release to 0.18.99 for cvs. 2004-03-31 Mike Kestner * configure.in : remove atk/glue/Makefile * atk/Makefile.am : comment out subdirs for now * atk/makefile.win32 : don't build glue * */glue/Makefile.am : remove generated.c from sources * */glue/makefile.win32 : remove generated.c from sources * generator/ObjectGen.cs : disable vm glue generation for now. 2004-03-30 John Luke [Reworked a bit by MK] * Makefile.am : add doc dir * configure.in : test for monodoc, expand doc/Makefile * doc/Makefile.am : build and dist docs * doc/makefile : kill 2004-03-30 Mike Kestner * gtk/Makefile.am : add the customs that miggie didn't add. 2004-03-30 Mike Kestner * rsvg/Makefile.am : apply metadata to api * rsvg/Rsvg.metadata : mark an array param 2004-03-29 Todd Berman * sample/Makefile.am: small resource build fix for glade-test.exe 2004-03-27 Jeroen Zwartepoorte * gnomevfs/Mime.cs: * gnomevfs/MimeActionType.cs: * gnomevfs/Vfs.cs: Implemented more gnome-vfs methods. 2004-03-25 Mike Kestner * gtk/Gtk.metadata : Widget.Events is a Gdk.EventMask, not int * sample/GtkDemo/DemoDrawingArea.cs : remove int casts * sample/Scribble.cs : remove int casts 2003-03-24 John Luke * samples/gconf/Makefile.am: changes SOURCES to FILES to make automake 1.8 happy 2003-03-24 Jorn Baayen * gtk/Gtk.metadata : mark null_ok param on Window.SetTransientFor. 2003-03-24 Jorn Baayen * gdk/Gdk.metadata : mark out param on Screen.GetMonitorGeometry. 2004-03-22 Mike Kestner * gtk/Window.custom : bring back the DefaultSize prop as a Gdk.Size. 2004-03-21 Gonzalo Paniagua Javier * configure.in: if no C# compiler found, error out. 2004-03-18 Mike Kestner * gdk/Makefile.am : generate glue * gdk/glue/Makefile.am : build generated glue * gdk/glue/makefile.win32 : build generated glue * gdk/glue/vmglueheaders.h : includes for vm glue * gtk/Makefile.am : generate glue * gtk/glue/Makefile.am : build generated glue * gtk/glue/makefile.win32 : build generated glue * gtk/glue/vmglueheaders.h : includes for vm glue 2004-03-18 Mike Kestner * configure.in : expand atk/glue/Makefile * atk/Makefile.am : generate glue and build glue dir * atk/makefile.win32 : ditto * atk/glue/Makefile.am : build new glue * atk/glue/makefile.win32 : build new glue * atk/glue/vmglueheaders.h : new includes for vm glue * atk/glue/win32dll.c : win dll building code * generator/CodeGenerator.cs : add --gluelib-name and --glue-filename argument parsing. * generator/GenerationInfo.cs : add GluelibName, GlueFilename, GlueEnabled, GlueWriter, and CloseGlueWriter. * generator/ObjectGen.cs : Add VirtualMethod glue generation * generator/Statistics.cs : Add warning message for virtual method throttling. 2004-03-18 Mike Kestner * parser/gapi2xml.pl : fix passbyvalue bug in vm parsing. * */*.raw : regen 2004-03-17 Mike Kestner * sample/rsvg/Makefile.am : make conditional on ENABLE_RSVG 2004-03-16 Mike Kestner * generator/Signal.cs : streamline the remove code a tad. 2004-03-16 Mike Kestner * gdk/Makefile.am : add new file. * gdk/Size.cs : implementation of a Size value type. 2004-03-16 Mike Kestner * generator/Signal.cs : remove a C.WL. 2004-03-16 Mike Kestner * generator/ObjectGen.cs : don't gen a Signals hash per class. * generator/Signal.cs : gen checks for [ConnectBefore]. * generator/SignalHandler.cs : add connect_flags param to ctor. * glib/ConnectBeforeAttribute.cs : new attr * glib/Makefile.am : add new file * glib/Object.cs : add before/after hashes and EventLists * gnome/CanvasProxy.cs : use AfterSignals and AfterHandlers. 2004-03-14 John Luke * parser/gapi-fixup.in: * generator/gapi-codegen.in: s/@MONO@/@RUNTIME@ 2004-03-14 Jeroen Zwartepoorte * Makefile.in: * configure.in: * gnomevfs/AsyncCallback.cs: * gnomevfs/AsyncCallbackNative.cs: * gnomevfs/AsyncReadCallback.cs: * gnomevfs/AsyncReadCallbackNative.cs: * gnomevfs/AsyncWriteCallback.cs: * gnomevfs/AsyncWriteCallbackNative.cs: * gnomevfs/Handle.cs: * gnomevfs/Makefile.in: * gnomevfs/OpenMode.cs: * gnomevfs/Result.cs: * gnomevfs/SeekPosition.cs: * gnomevfs/Vfs.cs: * sample/Makefile.in: * sample/TestVfs.cs: Added partial gnome-vfs bindings. Necessary now that can Gtk.FileChooser return gnome-vfs uris. 2004-03-12 Mike Kestner * */Makefile.am : automakify the build * */Makefile.in : kill * *.custom : remove System.Drawing dependencies * *.cs : remove System.Drawing dependencies * *-api.xml : mv to *-api.raw * glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade. * gtk/gtk-symbols : alias GtkType to GType * sources/gtk-sharp-sources.xml : create .raw files. They are now transformed to .xml files by the metadata compilation step. 2004-03-08 Mike Kestner * generator/ObjectGen.cs : ignore virtual_method elems for now. * parser/gapi2xml.pl : parse the non-signal class methods and add as virtual_method elements in the API xml * */*-api.xml : regen 2004-03-06 Gonzalo Paniagua Javier * glue/Makefile.am: * glue/makefile.win32: * glue/thread-notify.c: dropped. * gtk/ThreadNotify.cs: use just Idle.Add, which is what the deprecated gda_input_add does. No more P/Invoke here. 2004-03-04 Gonzalo Paniagua Javier * glue/Makefile.am: * glue/makefile.win32: added thread-notify.o * glue/thread-notify.c: handles pipe creation/read/write/close for ThreadNotify. * gtk/ThreadNotify.cs: P/Invoke the thread-notify code instead of libc functions. 2004-02-29 Jeroen Zwartepoorte * gtk/FileChooserDialog.custom: Implement the gtk_file_chooser_dialog_new constructor by hand. 2004-02-28 Jeroen Zwartepoorte * gtk/Gtk.metadata: Rename some AddAction* methods to just Add*. 2004-02-28 Jeroen Zwartepoorte * glib/Value.cs: Work around a GLib.Value having a null string (#54979). * sample/Actions.cs: Updated. * sample/Makefile.in: Added the action sample. 2004-02-28 Jeroen Zwartepoorte * gdk/gdk-api.xml: Updated to latest CVS. * gnome/gnome-api.xml: Idem. * gtk/gtk-api.xml: Idem. * pango/pango-api.xml: Idem. * sample/Makefile.in: Don't build the gconf sample for now. 2004-02-28 Jeroen Zwartepoorte * gnome/PrintContext.custom: Added gnome_print_context_* methods. * gtk/gtk-api.xml: Hide GtkActionEntry C-specific struct and methods. * sample/Actions.cs: Updated. * sample/Makefile.in: Reinclude print sample. * sample/PrintSample.cs: Updated. * sample/TestDnd.cs: Updated. 2004-02-26 Mike Kestner * configure.in : tagged 0.17 and bumped cvs version. 2004-02-26 Mike Kestner * atk/Atk.metadata : hide some funky api * atk/atk-api.xml : regen 2004-02-26 Mike Kestner * gnome/GtkSharp.* : move to Gnome namespace * gnome/CanvasProxy.cs : update event handler namespaces * gnome/voidObject*.cs : internalize 2004-02-24 Mike Kestner * pango/AttrIterator.custom : manually implement SList method. * pango/GlyphItem.custom : manually implement SList method. * pango/Layout.custom : manually implement SList method. * pango/Pango.metadata : hide some SList methods. * pango/pango-api.xml : regen. 2004-02-23 Mike Kestner * pango/Pango.metadata : mark some out params on Layout. * pango/pango-api.xml : regen [fixes #54720] 2004-02-23 Thiago Milczarek Sayão * gtk/TextBuffer.custom : add TextIter parm to InsertWithTags method. 2004-02-21 Mike Kestner * pango/Pango.metadata : mark some out params on Layout. * pango/pango-api.xml : regen [fixes #54696] 2004-02-21 Mike Kestner * pango/Pango.metadata : mark some out params on ParseMarkup. * pango/pango-api.xml : regen [fixes #54695] 2004-02-20 Mike Kestner * gdk/Gdk.metadata : hide NoExpose, Client, Setting, WindowState, and Proximity events. * gdk/EventClient.cs : glue-based manual implementation. * gdk/EventClient.custom : kill * gdk/EventNoExpose.custom : kill * gdk/EventProximity.cs : glue-based manual implementation. * gdk/EventProximity.custom : kill * gdk/EventSetting.cs : glue-based manual implementation. * gdk/EventSetting.custom : kill * gdk/EventWindowState.cs : glue-based manual implementation. * gdk/EventWindowState.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mappings. * glue/event.cs : expose event struct fields. * gtk/Application.cs : simplify CurrentEvent prop. 2004-02-20 Mike Kestner * gdk/Gdk.metadata : hide Property, Selection, and DND events * gdk/EventDND.cs : glue-based manual implementation. * gdk/EventDND.custom : kill * gdk/EventProperty.cs : glue-based manual implementation. * gdk/EventProperty.custom : kill * gdk/EventSelection.cs : glue-based manual implementation. * gdk/EventSelection.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mappings. * glue/event.cs : expose DND, Property and Selection struct fields. 2004-02-19 Thiago Milczarek Sayão * gtk/TextBuffer.custom : new InsertWithTags method. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventFocus and EventConfigure. * gdk/EventConfigure.cs : glue-based manual implementation. * gdk/EventConfigure.custom : kill * gdk/EventFocus.cs : glue-based manual implementation. * gdk/EventFocus.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mappings. * glue/event.cs : expose Focus and Configure struct fields. * sample/Scribble.cs : fix EventConfigure api breakage 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventCrossing. * gdk/EventCrossing.cs : glue-based manual implementation. * gdk/EventCrossing.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventCrossing. * glue/event.cs : expose Crossing struct fields. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventVisibility. * gdk/EventVisibility.cs : glue-based manual implementation. * gdk/EventVisibility.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventVisibility. * glue/event.cs : expose Visibility struct fields. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventExpose. make Region opaque. * gdk/EventExpose.cs : glue-based manual implementation. * gdk/EventExpose.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventExpose. * glue/event.cs : expose Expose struct fields. * sample/Scribble.cs : fix some EventExpose api breakage 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventMotion * gdk/EventMotion.cs : glue-based manual implementation. * gdk/EventMotion.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventMotion. * glue/event.cs : expose Motion struct fields. * sample/Scribble.cs : fix some EventMotion api breakage 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventScroll * gdk/EventScroll.cs : glue-based manual implementation. * gdk/EventScroll.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventScroll. * glue/event.cs : expose Scroll struct fields. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventButton * gdk/EventButton.cs : glue-based manual implementation. * gdk/EventButton.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventButton. * glue/event.cs : expose Button struct fields. * sample/CanvasExample.cs : fix EventButton ctor * sample/GnomeHelloWorld.cs : fix EventButton ctor 2004-02-17 Radek Doulik * glib/Value.cs: use g_value_set_pointer for GType.Pointer/IWrapper objects * glib/TypeConverter.cs: return GType.Pointer for Opaque objects which do not have GType property 2004-02-17 John Luke * gdk/Gdk.metadata: set Gdk.Window.Cursor null_ok * gdk/gdk-api.xml: regen 2004-02-17 Jorn Baayen * gtk/SelectionData.custom : fix get_data_pointer glue method name. 2004-02-16 Mike Kestner * glib/TypeConverter.cs : check for GType prop on all types, not just value types, before we fall back to managed values. * glib/Value.cs : use handle to set_boxed for IWrappers. 2004-02-16 Mike Kestner * gdk/EventKey.cs : add a Key prop to return casted KeyVals. 2004-02-16 Mike Kestner * gdk/Gdk.metadata : hide EventKey * gdk/EventKey.cs : glue-based manual implementation. * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventKey. * glue/event.cs : expose key struct fields. 2004-02-16 Mike Kestner * gdk/Gdk.metadata : hide EventAny * gdk/Event.cs : make this a full EventAny implementation. * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : map EventAny to Gdk.Event. * glue/event.cs : expose window and send_event fields. 2004-02-14 Todd Berman * gtk/Gtk.metadata : hide Widget.SetState * gtk/Widget.custom : add State get; set; property * glue/widget.c : add glue for get_State (); * gtk/gtk-api.xml : regen 2004-02-12 Mike Kestner * sample/GladeViewer.cs : fix a broken api usage. 2004-02-12 Mike Kestner * gnome/Gnome.metadata : hide the GList API * gnome/*.custom : manually wrap GList api using typed arrays * gnome/gnome-api.xml : regen. 2004-02-12 Mike Kestner * glade/Glade.metadata : hide a GList method. * glade/Makefile.in : run gapi-fixup * glade/XML.custom : return Widget[] from GetWidgetPrefix. * glade/glade-api.xml : regen * pango/Pango.metadata : hide a dubious GList method. * pango/pango-api.xml : regen 2004-02-12 Ben Maurer * gtk/TreeIter.custom: Make the hash here not collide. 2004-02-12 Mike Kestner * gdk/Gdk.metadata : hide the GList API * gdk/*.custom : manually wrap GList api using typed arrays * gdk/gdk-api.xml : regen. 2004-02-12 Mike Kestner * gtk/Accel.custom : s/List/SList * gtk/Stock.custom : ditto * gtk/TextIter.custom : ditto 2004-02-12 Zoltan Varga * glib/time_t_CustomMarshaler.cs: Update after custom marshaling changes. 2004-02-12 Jeroen Zwartepoorte * gtk/Gtk.metadata: Hide the various *ActionEntry classes since they're only meant to be used in C code. 2004-02-11 Jeroen Zwartepoorte * atk/atk-api.xml: * gconf/GConf.PropertyEditors/Makefile.in: * gdk/Gdk.metadata: * gdk/gdk-api.xml: * generator/CallbackGen.cs: Set a GError pointer to IntPtr.Zero. * gnome/Gnome.metadata: * gnome/gnome-api.xml: * gtk/Adjustment.custom: * gtk/FileSelection.custom: Deprecated, removed. * gtk/FileSystemModel.custom: * gtk/Gtk.metadata: * gtk/IconTheme.custom: Custom SearchPath property (fixes #51599). * gtk/Paned.custom: Deprecated, removed. * gtk/TreeModelFilter.custom: New class in 2.4. * gtk/gtk-api.xml: * pango/pango-api.xml: * sample/Actions.cs: Added new Action API sample. * sample/Makefile.in: Don't build some samples for now. Updated everything to use gtk 2.3/2.4. Some samples commented out because they use deprecated/changed API. More work to follow. 2004-02-11 Mike Kestner * gtk/Gtk.metadata : hide the GSList API * gtk/*.custom : manually wrap GSList api using typed arrays * gtk/gtk-api.xml : regen. 2004-02-11 Mike Kestner * gtk/*.custom : don't use element_type ctor for GObject lists. 2004-02-11 Mike Kestner * gtk/*.custom : return 0 length arrays, not null. 2004-02-10 Mike Kestner * gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : nuke a GnomeSharp. * generator/Signal.cs : move eventhandlers and args into the base namespace instead of a *Sharp namespace. * sample/*.cs : nuke using *Sharp. 2004-02-10 Mike Kestner * art/Art.metadata : mark a field private * art/art-api.xml : regen * gda/Gda.metadata : mark a few structs opaque * gda/gda-api.xml : regen * gdk/*.custom : fix changed field names * gdk/gdk-api.xml : regen * generator/Field.cs : StudlyCase simple typed field names. * gnome/Gnome.metadata : mark FontEntry.weight private to avoid collision with Weight field. s|//|/api/namespace|g * gnome/gnome-api.xml : regen * gtk/Gtk.metadata : rename AccelKey.accel_key to key to avoid collision with type name. * gtk/*.custom : fix changed field names * gtk/gtk-api.xml : regen * pango/pango-api.xml : regen * parser/gapi_pp.pl : add a private_regex to hide BACKEND and ENGINE apis, which are by convention private. * sample/* : make compile * sample/GtkDemo/* : make compile * sample/test/* : make compile * sources/gtk-sharp-sources.xml : exclude a bunch of pango source files. 2004-02-07 Mike Kestner * configure.in : tagged 0.16 and bumped cvs version. 2004-02-07 Mike Kestner * generator/ObjectGen.cs : oops, remove a couple C.WLs. 2004-02-07 Gustavo Giraldez * atk/Makefile.in : fix copy/paste error in --assembly-name. * generator/ObjectGen.cs : rework ObjectManager generation code. * glade/Makefile.in : fix copy/paste error in --assembly-name. 2004-02-06 Mike Kestner * generator/Method.cs : for Opaque/Object retvals, if raw_ret is NULL, return null instead of an object with a NULL handle. 2004-02-06 Mike Kestner * glib/time_t_CustomMarshaler.cs : use TimeSpan.TotalSeconds, not TimeSpan.Seconds. 2004-02-06 John Luke * gtk/Gtk.metadata: hide unneeded RadioMenuItem ctors * gtk/RadioMenuItem.custom: add ctor to create a new group * gtk/gtk-api.xml: regen 2004-02-04 Mike Kestner * generator/CustomMarshalerGen.cs : impl MarshalReturnType. * generator/Method.cs : add CustomMarshalerGen return type handling. * generator/Property.cs : rework property type selection. * generator/SymbolTable.cs : add time_t mapping * glib/time_t_CustomMarshaler.cs : impl native to managed methods. * glue/time_t.c : remove debugging code. 2004-02-03 Mike Kestner * glib/List.cs : add a ctor overload to create empty lists with a specific element_type. * glib/SList.cs : ditto 2004-02-03 Mike Kestner * glib/Value.cs : remove double free of ManagedValues. Fixes the unfiled (cough, tberman, cough) bug in managed types as tree store values. 2004-02-03 Mike Kestner * glib/ManagedValue.cs : null check on Free. * glib/Value.cs : some ManagedValue rework because we unset now. 2004-02-02 Mike Kestner * generator/CustomMarshalerGen.cs : beginnings of a new generatable. * generator/SymbolTable.cs : mangle interface keyword to iface. 2004-02-02 Martin Willemoes Hansen * generator/ClassBase.cs: Converted String uses to the string alias. * generator/ConstStringGen.cs: Ditto * generator/Ctor.cs: Ditto * generator/EnumGen.cs: Ditto * generator/ManualGen.cs: Ditto * generator/SignalHandler.cs: Ditto * generator/StringGen.cs: Ditto * sample/Subclass.cs: Added a DeleteEventHandler to the window widget, this way a user can properly quit the sample. 2004-02-02 Mike Kestner * glib/Value.cs : add dispose queue and idle handler so we can unset GValues that are created by the binding ctors. [Fixes #53490] 2004-02-02 Todd berman * gdk/Event*.custom: added fix for bug #53729. 2004-01-30 Todd Berman * gtk/Gtk.metadata: out fix for TreeView.GetBackgroundArea and TextView.GetIterLocation. * gtk/gtk-api.xml: regen 2004-01-29 Mike Kestner * glib/time_t_CustomMarshaler.cs : new custom marshaler form time_t. * glue/time_t.c : glue for time_t. * glue/Makefile.am : add time_t.c * glue/makefile.win32 : ditto 2004-01-28 John Luke * glade/XML.custom : some null checking for crash prevention. [Fixes #47017] * sample/VteTest.cs: update * vte/Vte.metadata: remove incorrect rules * vte/vte-api.xml: regen 2004-01-28 Mike Kestner * gtk/gtk-api.xml : regen * parser/gapi2xml.pl : fix signals parsing where a STRUCT_OFFSET is not present in the signal_new call. * parser/gapi_pp.pl : ignore #ident lines. * vte/vte-api.xml : regen [Fixes #53189] 2004-01-27 Mike Kestner * gtk/SelectionData.custom : guard against null in get_Text. [Fixes #52713] 2004-01-27 Mike Kestner * glue/selectiondata.c : expose data field. * gtk/SelectionData.custom : add Data property. [Fixes #53397] 2004-01-27 John Luke * gtk/AccelKey.custom: add convenience ctor * gtk/Gtk.metadata: revert previous Widget.AddAccelerator change, fix AccelKey fields * gtk/Widget.custom: add overload for AddAccelerator * gtk/gtk-api.xml: regen 2004-01-27 Mike Kestner * glib/Value.cs : only g_free values we allocate. [Fixes #51180] 2004-01-27 Mike Kestner * glib/TypeConverter.cs : lookup GTypes for boxed value types. * glib/Value.cs : fix boxed type handling in object ctor. [Fixes #51043] 2004-01-27 Mike Kestner * generator/BoxedGen.cs : gen a Value to Boxed explicit cast op. * generator/Property.cs : use new cast in Boxed getters. [Fixes #53414] 2004-01-27 Mike Kestner * gtk/Gtk.Metadata : revert opaquing of TextIter. * gtk/TextBuffer.custom : ditto * gtk/gtk-api.xml : regen 2004-01-27 Mike Kestner * generator/MethodBody.cs : remove unnecessary generation for Handle using out parameters. * gtk/Gtk.Metadata : make TextIter opaque * gtk/TextBuffer.custom : remove redundant dllimport * gtk/gtk-api.xml : regen 2004-01-27 Mike Kestner * gnome/Gnome.metadata : Icon.LookupSync mark factory param null_ok. Reworked from patch by Todd Berman. * gnome/gnome-api.xml : regen 2004-01-25 Mike Kestner * art/art-api.xml : regen * gdk/gdk-api.xml : regen * generator/SymbolTable.cs : add unsigned char mapping * gnome/gnome-api.xml : regen * parser/gapi2xml.pl : handle unsigned keyword in fields, typedefs, and parameter types. [Fixes #53055] 2004-01-25 Mike Kestner * gdk/gdk-api.xml : regen * gnome/gnome-api.xml : regen * gtk/gtk-api.xml : regen * parser/gapi2xml.pl : handle typedef struct {...} Foo; [Fixes #53312] 2004-01-22 Martin Willemoes Hansen * generator/Ctor.cs: Warnings was output like "ctor" fixed to output like "in ctor", like the rest of the warnings. 2004-01-21 John Luke * vte/Makefile.in: fix so you can build from scratch 2004-01-21 Mike Kestner * generator/Field.cs : kill Protection, restructure Generate and add FIXMEs for broken parts. Add StudlyName and move array fields to use Studly names. 2004-01-20 John Luke * samples/GtkDemo: * samples/DbCLient: compile fixes, patch from Paul Duran 2004-01-20 John D. Hardin * glue/type.c : ansi-c-ify some late var decls. 2004-01-19 John Luke * vte/Makefile.in: fix it so you can build without having gtk# already installed 2004-01-19 Mike Kestner * art/Art.metadata : correct a couple symbolic array_lens * art/art-api.xml : regen * gdk/Gdk.metadata : correct a symbolic array_len * gdk/gdk-api.xml : regen * generator/Field.cs : generate array fields with MarshalAs attrs for correct marshaling. 2004-01-18 Mike Kestner * generator/Field.cs : refactored code from StructBase * generator/StructBase.cs : spin off Field class 2004-01-18 Mike Kestner * generator/SymbolTable.cs : mangle parms named readonly 2004-01-18 Peter Williams * glib/Marshaller.cs (ArrayPtrToArgv, ArgvToArrayPtr): new functions for marshalling and unmarshalling string arrays to/from char **. Not pretty, but lets us call gtk_init() in Gtk. * gtk/Application.cs (do_init): New helper function to handle passing args to Gtk. Uses above functions. (Init): Use do_init, take a new progname parameter. (InitCheck): Same. 2004-01-18 Mike Kestner * gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows return list element_type as Gtk.TreePath. * gtk/gtk-api.xml : regen 2004-01-18 Mike Kestner * gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows model param as out. * gtk/gtk-api.xml : regen 2004-01-18 John Luke * vte/Vte.metadata: fix to generate signals * vte/vte-api.xml: regen * samples/VteTest.cs: remove my home dir path 2004-01-17 John Luke * configure.in: detect and compile vte-sharp (require vte-0.11.10) * Makefile.in: add vte to subdirs * vte/*: * sources/makefile: * sources/gtk-sharp-sources.xml: add vte * samples/VteTest.cs: add incomplete test/sample * samples/Makefile.in: add vte-test.exe target 2004-01-15 Martin Willemoes Hansen * generator/Method.cs: Methods which returns void and has a single out parameter like void Foobar (..., out int baz, ...) are turned into the more .NET like signature int Foobar (...), this fixes bug 46392 * generator/Signature.cs: Ditto * generator/MethodBody.cs: Ditto * gtk/ListStore.custom: Ditto * gtk/TextBuffer.custom: Ditto * gtk/TreeStore.custom: Ditto 2004-01-13 Tambet Ingo * gtk-sharp.pc.in : add libdir var * generator/SymbolTable.cs : add GByteArray mapping. 2004-01-13 Mike Kestner * generator/Signal.cs : use ValueArray to assemble parms arg for g_signal_chain_from_overriden call. Initialize retval GValue for above. * glib/Object.cs : g_signal_chain_from_overridden parms are IntPtrs. * glib/TypeConverter.cs : handle unboxed ValueTypes. * glib/Value.cs : handle unboxed struct types. add ctor for init'd unset Values. * glib/ValueArray.cs : new binding for GValueArray used by VMs. * glue/valuearray.c : field accessors * glue/Makefile.am : add new glue file * glue/makefile.win32 : add new glue file [Fixes #52680] 2004-01-13 John Luke * en/Gtk/Dialog.custom: add more Gtk.ResponseType overloads 2004-01-10 John Luke * samples/GtkDemo/*.cs: make it compile patch from Yves Kurz 2004-01-09 Mike Kestner * gtk/Gtk.metadata : hide NotebookPage.Num method * gtk/Notebook.custom : implement PageNum. * gtk/gtk-api.xml : regen 2004-01-09 John Luke * gtk/Gtk.metadata: Hide most RadioButton constructors, for api reasons * gtk/RadioButton.custom: add ctor to create a new RadioButton with its own group to avoid having to pass null * gtk/gtk-api.xml: regen 2004-01-07 Mike Kestner * gtk/Gtk.metadata : rename TreeView.RowExpand to GetRowExpanded. * gtk/gtk-api.xml : regen 2004-01-07 John Luke * gtk/Dialog.custom: add AddActionWidget overload 2004-01-07 Mike Kestner * gtk/Gtk.metadata : TreeStore.Remove iter should be ref * gtk/gtk-api.xml : regen 2004-01-06 John Luke * gtk/Gtk.metadata: change uint to GtkAccelKey for Widget.AddAccelerator * gtk/gtk-api.xml: regenerated 2004-01-05 Mike Kestner * configure.in : tagged 0.15 and updated version. 2003-12-30 Mike Kestner * glib/Object.cs (ConnectDefaultHandlers): reflection code to hook up overridden default signal handlers. * glue/type.c (gtksharp_override_virtual_method): peek the gtype and ref the class if it isn't created yet. * sample/Subclass.cs : update to override Button.OnClicked. 2003-12-26 Mike Kestner * glue/selectiondata.c : new glue to make SelectionData opaque * glue/Makefile.am : add file * glue/makefile.win32 : add file * gtk/Gtk.metadata : mark SelectionData opaque, unhide Set method * gtk/SelectionData.custom : invoke glue methods for opaque fields. * gtk/gtk-api.xml : regen * sample/TestDnd.cs : update to new SelectionData API. 2003-12-24 John Luke * gtk/Label.custom: add public default constructor * gtk/gtk-api.xml: * gtk/Gtk.metadata: make gtk_label_new_with_mnemonic the preferred constructor, disable protected default ctor 2003-12-21 John Luke * glib/Idle.cs: add Remove method found in Alp Toker's platano 2003-12-16 Joe Shaw * generator/SymbolTable.cs (MangleName): Add "lock" and "callback" to the list of names that need to be mangled. The former is a C# reserved keyword and the latter is already used as an argument to methods which marshal callbacks. 2003-12-15 Mike Kestner * generator/BoxedGen.cs : s/uint/GLib.GType * generator/ManualGen.cs : add a ctor to pass ToNative handle name * generator/ObjectGen.cs : s/uint/GLib.GType * generator/Signal.cs : use GLib.GType and call OverrideVirtualMethod * generator/SymbolTable.cs : make GType a ManualGen and update a few ManualGens to the new signatures. * glib/DefaultSignalHandler.cs : s/Type/System.Type * glib/ManagedValue.cs : s/uint/GLib.GType * glib/Object.cs : s/uint/GLib.GType, add OverrideVirtualMethod. * glib/Type.cs : s/uint/IntPtr, add static fields for fundamentals. make it a value type and add ==, !=, Equals, and GetHashCode. * glib/TypeConverter.cs : use new GType statics, not fundamentals. * glib/Value.cs : use new GType statics, not fundamentals. * gnome/*.custom : s/uint/GLib.GType * gtk/*Store.custom : use GType statics, not fundamentals. * sample/Subclass.cs : s/uint/GLib.GType. 2003-12-12 Mike Kestner * generator/CallbackGen.cs : kill some redundant generation * generator/MethodBody.cs : pass array parameters as arrays of the corresponding native type. 2003-12-12 Mike Kestner * gnome/gnome-api.xml : regen'd * parser/gapi2xml.pl : handle typedef enum _foo foo; * parser/gapi-parser : support elements in addition to and to specify the sources to be parsed. 2003-12-12 Radek Doulik * gtk/Gtk.metadata: hide TextTag.Weight property and implement it in TextTag.custom. TextTag Weight property in gtk is of type int, but we want it to be Pango.Weight enum 2003-12-10 Radek Doulik * glue/program.c (get_default): moved check after strspec is set so we don't check uninitialized value 2003-12-10 Mike Kestner * generator/CallbackGen.cs : kill ref_owned generation * generator/ClassBase.cs : use simple GetObject w/o ref_owned * generator/ManagedCallString.cs : new class to generate native to managed method calls. * generator/Method.cs : kill ref_owned generation * generator/MethodBody.cs : kill ref_owned generation * generator/Property.cs : kill ref_owned generation * generator/Signal.cs : generate delegates and vtable connect methods for all signals. Mark VMs with new attr. * generator/StructBase.cs : kill ref_owned generation * glib/DefaultSignalHandlerAttribute.cs : new attr to mark virtual methods. * glib/Object.cs : add overload for GetObject that defaults to ref_owned=false. Add extern for VM override glue. 2003-12-08 Luciano Martorella * gdk/Gdk.metadata : ref/array tags * gdk/Colormap.custom : removed * gdk/gdk-api.xml : regen 2003-12-08 Mike Kestner * generator/Signal.cs : add virtual method generation for the default signal handlers. * glib/Object.cs : add g_signal_chain_from_overridden extern 2003-12-08 Mike Kestner * generator/VMSignature.cs : new class to generate virtual method signatures for default signal handlers. 2003-12-08 Mike Kestner * generator/ObjectGen.cs : stupid little whitespace change 2003-12-08 Mike Kestner * glue/type.c : new glue for g_signal_override_class_closure 2003-12-07 Mike Kestner * gnome/Gnome.metadata : About ctor's logo_pixbuf is null_ok * gnome/gnome-api.xml : regen 2003-12-04 Mike Kestner * glib/Object.cs : kill unused WrapperClassAttribute. [#51458] 2003-12-04 Mike Kestner * parser/gapi2xml.pl : fix for const param handling [#50295] 2003-12-03 Mike Kestner * generator/CallbackGen.cs : use new sig and isig classes. * generator/Ctor.cs : use new sig, isig, and body classes. * generator/ImportSignature.cs : isig code spun out from Parameters. * generator/Method.cs : use new sig, isig, and body classes. * generator/MethodBody.cs : spun Initialize, GetCallString, Finish, and Exception throwing methods from Parameters. * generator/Parameters.cs : Slayed the evilness that was CreateSignature. It is now essentially a container for Parameter classes instead of a tangled mess of code trying to do everything remotely related to parameter lists. Also completely killed the VAType/IsVarArgs stuff, as it can be done with the array and params attrs instead. * generator/Property.cs : use new sig class. * generator/Signature.cs : new method sig generator extracted from Parameters class. add "params" keyword support for tagged parameters. * gnome/Gnome.metadata : hide IconList.GetSearchPath (to be manual) * gnome/gnome-api.xml : regen * gtk/ListStore.custom : kill unneeded overload * gtk/TreeStore.custom : kill unneeded overload * gtk/Gtk.metadata : mark params/args on *store_newv * gtk/gtk-api.xml : regenerated 2003-12-03 Ettore Perazzoli * sample/TestDnd.cs: New. * gtk/TargetEntry.custom: New. * glue/dragcontext.c: New. * glib/Object.cs: New public property TypeName in class Object. * gdk/DragContext.custom: New. 2003-11-30 Mike Kestner * art/art-symbols.xml : add some simple types to clean up generation. * art/Makefile.in : add art-symbols.xml 2003-11-29 Mike Kestner * gtk/Gtk.metadata : fix targets for Drag.SourceSet. * gtk/gtk-api.xml : regen 2003-11-29 Mike Kestner * generator/Parameters.cs : handle null_ok for arrays. * gtk/Gtk.metadata : mark a null_ok in Drag.DestSet * gtk/gtk-api.xml : regen 2003-11-29 Mike Kestner * gdk/Pixbuf.custom : revert Miguel's commit. 2003-11-29 Mike Kestner * */Makefile.in : remove the nowarns * gdk/Rectangle.custom : add System.Drawing.Rect implicit cast op. * sample/Size.cs : use System.Drawing.Rectangles * sample/GnomeHelloWorld.cs : remove an unneeded null check 2003-11-29 Mike Kestner * generator/StructBase.cs : remove ==/!= operator generation. 2003-11-28 Miguel de Icaza * gdk/Pixmap.custom: Added Pixmap.custom to add a convenience constructor. 2003-11-27 Miguel de Icaza * glib/Log.cs: Make LogLevelFlags CLS compliant. * glib/SignalCallback.cs: Set the constructor protection level to protected, since it can not be instantiate.d * glib/Marshaller.cs: Do not allow instances of this class as it only exposes static methods. * glib/Source.cs, glib/FileUtils.cs, glib/Timeout.cs, glib/Thread.cs, glib/Markup.cs, glib/TypeConverter.cs: Ditto. 2003-11-29 Mike Kestner * gdk/Gdk.metadata : add some array attrs to Pixbuf ctors. * gdk/Pixbuf.custom : remove unneeded overloads. * gdk/gdk-api.xml : regenerated 2003-11-23 Mike Kestner * generator/SignalHandler.cs : use CONNECT_AFTER. 2003-11-22 John Luke * sample/PrintSample.cs: add small Gnome.Print example * sample/Makefile.in: add print example to gnome build 2003-11-19 Peter Williams * gtk/Gtk.metadata: Add some array attributes for some "type *elem, int n_elem" array params. 2003-11-19 Mike Kestner * parser/gapi_pp.pl : handle files and dirs in ARGV. * parser/gapi2xml.pl : deal with struct keyword in param decls * parser/gapi-parser : handle elements. 2003-11-18 Mike Kestner * configure.in : tagged for 0.14 and bumping VERSION. 2003-11-18 Mike Kestner * gtkhtml/Makefile.in : make the install target conditional too. 2003-11-18 Moritz Balz * gdk/Window.custom : remove Visible and Viewable since the Is* methods are now gen'd as properties. 2003-11-18 Mike Kestner * pango/Pango.metadata : mark ref params on LayoutLine.GetExtents and GetPixelExtents. [Fixes #50338] * pango/pango-api.xml : regenerated. 2003-11-18 Peter Williams * gtk/NodeStore.cs (GetNode): New public function. Patch refactored a bit to eliminate code duplication with get_node_cb. 2003-11-18 John Luke * configure.in: test for gtkhtml3 * gtkhtml/Makefile.in: build conditionally 2003-11-18 Mike Kestner * gdk/Pixbuf.custom : resurrect the stream/resource ctors. rename LoadResource to LoadFromResource for the string overload. * gdk/PixbufLoader.custom: add an internal prop to get an unwrapped pixbuf handle. 2003-11-17 Gonzalo Paniagua Javier * gdk/Pixbuf.custom: (LoadResource (assembly, resource)): a null assembly uses the calling assembly. 2003-11-17 Ettore Perazzoli * gdk/Pixbuf.custom: Removed the Assembly constructors. (Pixbuf.LoadResource (string)): New. (Pixbuf.LoadResource (Assembly, string)): New. 2003-11-16 Mike Kestner * generator/Parameters: handle array+len param pairs. * gtk/Gtk.metadata : unhide DestDefaults and mark targets param of drag_dest_set as array. * gtk/gtk-api.xml : regenerate 2003-11-14 Mike Kestner * gtk/Gtk.metadata : fully qualify attr paths * parser/gapi-fixup.cs : compile a path expression per Ben Maurer suggestion. 2003-11-14 Mike Kestner * configure.in : update VERSION to 0.14. Tagged 0.13. 2003-11-13 Mike Kestner * generator/SignalHandler.cs : guard against destroyed signalhandlers. 2003-11-07 Mike Kestner * configure.in : add mono check. expand wrapper scripts * generator/Makefile.in : use install. install a gapi-codegen wrapper. * generator/SymbolTable.cs : add SimpleGen for short * generator/gapi-codegen.in : new wrapper script in file. * parser/Makefile.in : use install. install a gapi-fixup wrapper. * generator/gapi-fixup.in : new wrapper script in file. * parser/gapi2xml.pl : deal with non-namespaced enums. ignore forward struct declarations. 2003-11-05 Mike Kestner * gtk/ITreeNode.cs : make Parent readonly * gtk/TreeNode.cs : use an internal method to set parent on the child, and set child.Parent to null in RemoveChild. 2003-11-05 Moritz Balz * gdk/Window.custom : System.Drawing.Rectangle/Point customizations 2003-11-05 Mike Kestner * gtk/TreeNodeAttribute.cs : sealed per Ben Maurer's suggestion. * gtk/TreeNodeValueAttribute.cs : ditto 2003-11-04 Mike Kestner * glib/Value.cs : add set to Val prop * glue/Makefile.am : build nodestore.c * glue/makefile.win32 : link nodestore.o * glue/nodestore.c : new, glue for TreeModel implementation * gtk/NodeStore.cs : new tree store implementation * gtk/ITreeNode.cs : new interface for nodestore node types * gtk/TreeNode.cs : abstract class for deriving nodestore nodes * gtk/TreeNodeAttribute.cs : tree node marking attr * gtk/TreeNodeValueAttribute.cs : node column marking attr * gtk/TreeView.custom : add ctor(NodeStore) 2003-11-04 John Luke * sources/makefile: add gstreamer 0.6.4 sources * sources/gstreamer-parse.patch: fixes to parse gst * gst/Gst.metadata: new metadata * gst/Makefile.in: add gapi-fixup to Makefile * gst/gst-api.xml: new api file for 0.6.4 * gtk/Gtk.metadata: set correct preferred constructor for button * gtk/gtk-api.xml: regenerated 2003-11-02 Mike Kestner * generator/CallbackGen.cs : use a temporary ret value if there is any cleanup to be done after the call. Thanks to John Luke for a patch which identified the problem. 2003-11-01 Radek Doulik * gtk/TreeModelSort.custom: implementation of GetValue/SetValue (copied from TreeStore.custom) * gtk/TreeModel.custom: added GetValue/SetValue 2003-10-30 Ken Foster * glue/button.c: initial creating of glue file for GdkButton * glue/Makefile.am: added button.c to glue make * glue/makefile.win32: added button.c to win32 glue make * gtk/Button.custom: expose in_button GdkButton member 2003-10-29 Martin Willemoes Hansen * generator/Method.cs: marked Is and Has methods, to be generated as properties, fixes bug [47910] 2003-10-28 Mike Kestner * configure.in : releasing 0.12 2003-10-28 Mike Kestner * */Makefile.in : create the apidir before installing to it. 2003-10-28 Mike Kestner * generator/BoxedGen.cs : generate GLib.Value ctors. [fixes #47168] * generator/Property.cs : use new Boxed value ctors. * generator/StructBase.cs : use existing Writer if available. 2003-10-27 Moritz Balz * gdk/Drawable.custom : add a S.D.Rectangle overload for DrawRect. 2003-10-26 Martin Willemoes Hansen * gtk/Gtk.metadata: Added the rest of sources/Gtk.metadata and sorted the metadata. * gtk/gtk-api.xml: Regenerated, to reflect the above changes. Tags are swapped around. PaintBox, PaintBoxGap, PaintShadow and PaintShadowGap are moved arround as well. * sources/Gtk.metadata: Removed 2003-10-23 Martin Willemoes Hansen * gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata * gtk/gtk-api.xml: Reflects changes of the metadata move, tags are swapped around. * sources/Gtk.metadata: Removed metadata, which are moved to gtk/Gtk.metadata 2003-10-22 Martin Willemoes Hansen * gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata * gtk/gtk-api.xml: Reflects changes of the metadata move, tags are swapped around. * gtkhtml/Gtk.metadata: Added metadata from sources/Gtk.metadata * gtkhtml/gtkhtml-api.xml: Reflects changes of the metadata move, tags are swapped around. * sources/Gtk.metadata: Removed metadata, which are moved to gtk/Gtk.metadata and gtkhtml/Gtk.metadata 2003-10-22 Mike Kestner * gtkhtml/gtkhtml-api.xml : regenerated * sources/makefile : add gtkhtml-embedded.* to the parse. Patch proposed by orph on bug #49875. 2003-10-20 Mike Kestner * gtk/Gtk.metadata : mark TargetEntry.flags as type TargetFlags. * gtk/gtk-api.xml : regenerated [fixes #49859] 2003-10-20 Mike Kestner * generator/Parameters.cs : treat interface out params like objects. * gtk/gtk-api.xml : regenerated * gtk/Gtk.metadata : mark TreeSelection.GetSelected params out. * gtk/TreeSelection.custom : emptied since it's now generated. * sources/Gtk.metadata : kill hide of TreeSelection.GetSelected. [fixes #49858] 2003-10-20 Mike Kestner * atk/atk-api.xml : regenerated * gdk/gdk-api.xml : regenerated * gtk/gtk-api.xml : regenerated * gtkhtml/gtkhtml-api.xml : regenerated [Fixes #49875] * parser/gapi2xml.pl : handle unnamed parameter declarations. 2003-10-20 Mike Kestner * generator/Parameters.cs : add a cast to the call_string for Length params other than int. 2003-10-18 Mike Kestner * gtk/Gtk.metadata : add move-node rules for Paint methods. * gtk/gtk-api.xml : regenerated * parser/gapi2xml.pl : put paint_ methods in global, not Paint. * parser/gapi-fixup.cs : add move-node rule handling. [Fixes #47980] 2003-10-17 Mike Kestner * generator/Parameters.cs : mark enum pointer params as out. need to audit if any are really arrays. [Fixes #49779] 2003-10-17 Mike Kestner * gtk/Window.cs : override Raw prop and take a ref, since gtk+ owns the ref to new Windows, and we need a ref. [Fixes #47721] 2003-10-17 Mike Kestner * gnome/CanvasPoints.custom : make New overload a ctor overload. * gnome/Gnome.metadata : mark CanvasPoints as opaque * gnome/gnome-api.xml : regenerated. [Fixes #37256] 2003-10-17 Gonzalo Paniagua Javier * gtk/ThreadNotify.cs: close the pipe and detach the GSource when explicitly requested or finalized. 2003-10-17 Gonzalo Paniagua Javier * gconf/tools/schemagen.cs: support for lists. 2003-10-15 Mike Kestner * generator/Property.cs : use new Opaque value ctor and rework get/set blocks for Opaque types. [Fixes #47959] * glib/Opaque.cs : kill explicit IntPtr operator. * glib/Value.cs : rework Opaque value ctor. 2003-10-14 Mike Kestner * gtk/Gtk.metadata : rule for ClipboardGetFunc * gtk/Clipboard.custom : comment out for now don't think any of this is needed. * gtk/ClipboardClearFunc.cs : gen'd now * gtk/ClipboardGetFunc.cs : gen'd now * gtk/GtkSharp.GtkClipboardClearFuncNative.cs : gen'd now * gtk/GtkSharp.GtkClipboardGetFuncNative.cs : gen'd now * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : remove a couple clipboard hides 2003-10-14 Mike Kestner * gtk/gtk-api.xml : regenerated * gtk/Gtk.metadata : begin the port of the Gtk rules * gtk/Makefile.in : apply metadata in gen target * gtkhtml/gtkhtml-api.xml : regenerated * gtkhtml/Gtk.metadata : a couple rules ported * gtkhtml/Makefile.in : apply metadata in gen target * sources/Gtk.metadata : port first 350 lines of rules. 2003-10-14 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : removed all the obsolete "out" rules 2003-10-13 Mike Kestner * gdk/Gdk.metadata : mark an array param on PixbufDestroyNotify * gdk/gdk-api.xml : regenerated * generator/CallbackGen.cs : Handle out params in callback sigs and ditch the object[] args handling for typed args. * generator/Parameters.cs : more proactive PassAs logic. We now default all simple pointer types (uint*, int*, double*, etc...) to out params unless they are marked otherwise in the XML with a pass_as tag or an array tag. [Fixes #32104] 2003-10-13 Mike Kestner * gnome/Gnome.metadata : new xpath metadata rules * gnome/Makefile.in : apply metadata before generation * gnome/gnome-api.xml : regenerated * parser/gapi-fixup.cs : use XmlDocument.Save (filename) instead of opening a stream manually. * sources/Gnome.metadata : killed 2003-10-12 Mike Kestner * art/Art.metadata : new xpath metadata rules * art/Makefile.in : apply metadata before generation * atk/Atk.metadata : new xpath metadata rules * atk/Makefile.in : apply metadata before generation * gda/Gda.metadata : new xpath metadata rules * gda/Makefile.in : apply metadata before generation * gdk/Gdk.metadata : new xpath metadata rules * gdk/Makefile.in : apply metadata before generation * gnomedb/GnomeDb.metadata : new xpath metadata rules * gnomedb/Makefile.in : apply metadata before generation * pango/Pango.metadata : new xpath metadata rules * pango/Makefile.in : apply metadata before generation * parser/Makefile.in : build and install new gapi-fixup * parser/gapi-fixup.cs : new xpath based metadata engine * sources/*.metadata : remove most of the old metadata, still have to convert Gtk and Gnome to xpaths. 2003-10-11 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : applied patch from jluke for hides requested in bug #38660. Also cleaned up the sprawling "hidden" rules to reduce the overall footprint. 2003-10-11 Mike Kestner * generator/OpaqueGen.cs (FromNativeReturn): just do a new on the type. GLib.Opaque.GetOpaque was apparently an homage to GetObject that just seems wrong. 2003-10-11 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : markes some out tags on TreeView.GetCursor. [Fixes #49556] 2003-10-11 Mike Kestner * generator/Parameters.cs : Properly handle out params for Object and Opaque types. * gtk/ListStore.custom: remove out on GetValue overload * gtk/TreeStore.custom: remove out on GetValue overload * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : remove some incorrect out tags [Fixes #49517] for real this time. 2003-10-10 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : mark pos and path pass_as="out" for TreeView.GetDragDestRow and GetDestRowAtPos [Fixes #49517] 2003-10-10 Mike Kestner * gtk/gtk-api.xml : regenerated * gtk/TreePath.custom : implement Indices property by hand. Patch from tds00mahi@thn.htu.se (malte) [Fixes #49518] * sources/Gtk.metadata : hide TreePath.Indices. 2003-10-10 Mike Kestner * gtk/gtk-api.xml : regenerated * gtk/FileSelection.custom : implement the Selections property by hand. [Fixes #49254] * sources/Gtk.metadata : hide FileSelection.GetSelections. 2003-10-10 Mike Kestner * */makefile.win32 : remove api dir from build and fix clean target 2003-10-10 Mike Kestner * gdk/gdk-api.xml : regenerated * sources/Gdk.metadata : mark Cursor opaque. mark confine_to and cursor null_ok in Gdk.Pointer.Grab. [Fixes #48273] 2003-10-09 Mike Kestner * generator/Statistics.cs (Report): pretty it up. * generator/SymbolTable.cs : handle const-xmlChar as ConstString 2003-10-09 Mike Kestner * pango/Makefile.in : fix path to glib-sharp.dll 2003-10-10 Martin Willemoes Hansen * Makefile.in: Updated to reflect moval of api xml files from api/ to each assembly dir. * configure.in: Ditto * art/.cvsignore Ditto * art/Makefile.in: Ditto * atk/.cvsignore Ditto * atk/Makefile.in: Ditto * gda/.cvsignore Ditto * gda/Makefile.in: Ditto * gdk/.cvsignore Ditto * gdk/Makefile.in: Ditto * gdk/gdk-symbols.xml Ditto * glade/.cvsignore Ditto * glade/Makefile.in: Ditto * gnome/.cvsignore Ditto * gnome/Makefile.in: Ditto * gnomedb/.cvsignore Ditto * gnomedb/Makefile.in: Ditto * gst/.cvsignore Ditto * gst/Makefile.in: Ditto * gtk/.cvsignore Ditto * gtk/Makefile.in: Ditto * gtk/gtk-symbols.xml Ditto * gtkhtml/.cvsignore Ditto * gtkhtml/Makefile.in: Ditto * pango/.cvsignore Ditto * pango/Makefile.in: Ditto * rsvg/.cvsignore Ditto * rsvg/Makefile.in: Ditto * sources/gtk-sharp-sources.xml: Ditto * api/: Removed 2003-10-09 Mike Kestner * api/*-api.xml : regenerated * parser/gapi_pp.pl : ignore simple comments. [Fixes #47450] * parser/gapi2xml.pl : turn off debug. 2003-10-09 Mike Kestner * generator/Property.cs : don't do new for Objects if FromNativeReturn returns null. [Fixes #48055] 2003-10-08 Mike Kestner * */Makefile.in : rework the prefix handling for duncan's packaging. 2003-10-08 Martin Willemoes Hansen * gnome/PrintJob.custom: Added default ctor. * gnome/PrintDialog.custom: Added overloaded ctor with fewer parameters. * sources/Gnome.metadata: Disabled default ctor for PrintJob, changed type from int to PrintDialogFlags for PrintDialog ctor and changed return type from byte to string for PrintConfig.Get. 2003-10-07 Mike Kestner * api/gtk-api.xml : regenerated * generator/Method.cs : gen new_flag automatically if set * sources/Gtk.metadata : mark new_flag on Gtk.Bin.GetChild 2003-10-07 Mike Kestner * generator/ObjectGen.cs (Generate): check sigs.Count in addition to the null check to determine if the signals hash should be generated. 2003-10-07 Mike Kestner * parser/gapi2xml.pl : look for ");" at the end of property declarations to avoid problems with ';' in property docstrings. * api/gtk-api.xml : regenerated. [Fixes #47987] 2003-10-07 Mike Kestner * glib/ListBase.cs : assume ref_owned=false for GObject lists. [Fixes #49145] 2003-10-07 Mike Kestner * gtkhtml/Makefile.in : add art-sharp ref * sources/Gtk.metadata : make gtk_widget_size_request pass_as ref instead of out. [Fixes #46354] 2003-10-07 Mike Kestner * gtkhtml/Makefile.in : add gnome api to includes and ref in build * gtkhtml/gkthtml-api.xml : regenerated * sources/Gtk.metadata : remove the gtkhtml gnomeprint hides 2003-10-06 Mike Kestner * Makefile.in : add gtkhtml dir. * configure.in : expand gtkhtml/Makefile * api/Makefile.in : remove gtkhtml-api.xml * generator/CodeGenerator.cs : parse new --outdir, --customdir, and --assembly-name args. * generator/GenerationInfo.cs (Ctor): new (dir, dir,assembly) ctor * gtkhtml/HTMLStream.custom : moved here from gtk dir * gtkhtml/gtkhtml-api.xml : moved here from api dir * gtkhtml/Makefile.in : gen source and build dll * sources/gtk-sharp-sources.xml : write gtkhtml api to new dir 2003-10-06 Artem Popov * gtk/Dialog.custom : Action area is an HButtonBox, not a VBox. 2003-10-06 Mike Kestner * generator/InterfaceGen.cs (Generate): gen the EventHandlers for sigs * generator/Signal.cs (GetHandlerName): kill this and split it into EventHandlerName and EventHandlerArgsName props instead of the ugly out param hack. (GenEventHandler): make public void and add gen_info param. open stream with gen_info. use new *Name props. (Generate): only gen the EventHandler if we're genning the container, not for implementors. 2003-10-06 Mike Kestner * generator/CodeGenerator.cs (Main): use new ObjectGen.GenerateMappers. * generator/GenerationInfo.cs (Ctor): new (dir, assembly) ctor * generator/ObjectGen.cs : move hash management to Generate from Ctor, index it on dir, and make it hold new DirectoryInfo refs. Refactor GenerateMapper. The object mappers are now assembly based instead of namespace based. 2003-10-06 Mike Kestner * generator/Signal.cs (Generate): pass gen_info to sighdnlr.Generate. use gen_info.AssemblyName in Args instantiation. * generator/SignalHandler.cs (Generate): use gen_info to open stream. refactor out some local vars. 2003-10-04 Mike Kestner * generator/CallbackGen.cs : remove CloseWriter call. * generator/GenBase.cs : kill CreateWriter and CloseWriter. 2003-10-04 Mike Kestner * generator/AliasGen.cs : stub new Generate overload. * generator/BoxedGen.cs : implement new Generate overload. * generator/CallbackGen.cs (Generate):implement new overload. * generator/ClassBase.cs : implement new Generate overload and pass around the gen_info. * generator/ClassGen.cs : implement new Generate overload. * generator/Ctor.cs (Generate): s/sw/gen_info. * generator/EnumGen.cs : implement new Generate overload. * generator/GenBase.cs : expose NSElem, add gen_info param to AppendCustom. kill CreateWriter. (GenWrapper): add gen_info param and use it to open stream. * generator/GenerationInfo.cs : new class to pass around generation related information and perform tasks like opening streams. * generator/IGeneratable.cs : add Generate(gen_info) overload. * generator/InterfaceGen.cs : implement new Generate overload. * generator/ManualGen.cs : stub new Generate overload. * generator/Method.cs (Generate): accept gen_info. kill GenerateComments. * generator/ObjectGen.cs : implement new Generate overload. * generator/OpaqueGen.cs : implement new Generate overload. * generator/Parameters.cs (Initialize): s/sw/gen_info. * generator/Property.cs (Generate): accept gen_info. * generator/Signal.cs (Generate): accept gen_info. * generator/SimpleGen.cs : stub new Generate overload. * generator/StructBase.cs : s/sw/gen_info * generator/StructGen.cs : implement new Generate overload. 2003-10-03 Mike Kestner * generator/GenBase.cs : remove unused do_generate private member. 2003-10-03 Mike Kestner * generator/*.cs : Kill DoGenerate. 2003-10-03 Mike Kestner * api/gtk-symbols.xml : make GtkType a uint like GType. * generator/CodeGenerator.cs : adopt new parser semantics * generator/Parser.cs : move to single parser/multiple Parse. Remove DoGenerate hack and let the CodeGenerator control this. Return generatables instead of loading symboltable. * generator/SymbolTable : add AddTypes method. Revamp dealiasing code. 2003-10-02 Mike Kestner * api/gnome-api.xml : regenerated * parser/gapi2xml.pl : handle enum {...}; Thanks to Martin for identifying the bug and providing a candidate patch. 2003-10-01 Mike Kestner * README.generator : updates for new parser script * api/Makefile.in : add gtkhtml-api.xml * api/*-api.xml : regenerated * parser/makefile : install new parsing script * parser/gapi-parser : new xml-driven parsing script * sources/makefile : call new parsing script * sources/gtk-sharp-sources.xml : new parser input file * sources/gtk-sharp.sources : killed 2003-09-29 Martin Willemoes Hansen * sources/Gnome.metadata: Use const-gchar* instead of const-guchar*, when the value is realy a string * api/gnome-api.xml: Ditto 2003-09-28 Martin Willemoes Hansen * sources/gtk-sharp.sources: Fixed, wrong library used for libgnomeprintui * api/gnome-api.xml: Ditto 2003-09-23 John Luke * README: * sources/README: reflect the current targets 2003-09-19 Rachel Hestilow * sources/Gtk.metadata, api/gtk-api.xml: Rename 'Event' signals on Widget and TextTag to WidgetEvent and TextTag event, respectively, to avoid ambiguity with System.EventHandler/EventArgs. 2003-09-18 Mike Kestner * configure.in : releasing 0.11 2003-09-17 Rachel Hestilow * glib/DelegateWrapper.cs: Remove 'RemoveIfNotAlive' and revamp the memory management to use destroy notification. * generator/CallbackGen.cs: Do not generate the call to RemoveIfNotAlive. * gtk/GtkSharp.GtkClipboardGetFuncNative, GtkSharp.GtkClipboardClearFuncNative: Do not call RemoveIfNotAlive. 2003-09-17 Rachel Hestilow * generator/StructBase.cs: Make pointer, wrapped, bitfield, and dummy fields private fields. 2003-09-16 Martin Willemoes Hansen * api/gda-api.xml: Updated to reflect new versions of the targeted libraries + addition of GnomePrint * api/gdk-api.xml: Ditto * api/gnome-api.xml: Ditto * api/gnomedb-api.xml: Ditto * api/gtk-api.xml: Ditto * api/rsvg-api.xml: Ditto * sources/.cvsignore: Ditto * sources/makefile: Ditto * sources/gtk-sharp.sources: Ditto * sources/Gda.metadata: Added a couple of new_flags * sources/Gdk.metadata: Fixed name filter level type, it was missed by the parser. * sources/Gtk.metadata: Added hides for the GtkHtml releations to GnomePrint, these hides can be removed when GtkHtml is put in its own assembly. 2003-09-14 Mike Kestner * Makefile.in : add a gen-clean target to clean all but glue/parser. * generator/Signal.cs : use restructured SignalHandler. * generator/SignalHandler.cs (GetName): break up this monument to structured programming. 2003-09-12 Mike Kestner * generator/Parameters.cs (CreateSignature): begin refactoring this unholy mess. Eliminated one pass thru the param list. Eliminated prev/curr param refs. Switched to a for loop since lookbacks are required. 2003-09-11 Mike Kestner * generator/Parameters.cs : keep an ArrayList of Parameter objects and refactor the hell out of the joint using the new Count and this[]. Still need to refactor a couple methods. 2003-09-11 Mike Kestner * generator/Parameters.cs (IsLength): use a switch to make the growing list of valid len types more readable. 2003-09-11 Mike Kestner * generator/Ctor.cs : kill inline doc comments once and for all * generator/EnumGen.cs : ditto * generator/Method.cs : ditto * generator/OpaqueGen.cs : ditto * generator/Property.cs : ditto 2003-09-11 Alp Toker * generator/Parameters.cs: Handle string length parameters specified not just as int but also signed/unsigned int, long or short 2003-09-07 Alp Toker * makefile.win32: New clean and release targets, and don't bother building the samples (sample/makefile.win32 is out of date anyway) * api/makefile.win32: * glue/makefile.win32: * makefile.win32: Glade# works perfectly on win32 now; include it in the default build * sample/GladeTest.cs: * sample/GladeViewer.cs: Remove Gnome dependency and clean up * glue/makefile.win32: Add -mms-bitfields for MSVC function name mangling compatibility 2003-09-06 Alp Toker * api/gdk-api.xml: * sources/Gdk.metadata: out params for Gdk.Window.GetInternalPaintInfo * glade/makefile.win32: new win32 makefile * glue/win32dll.c: * glue/makefile.win32: Patch to remove cygwin1.dll dependency on win32 from Todd Berman * glue/makefile.win32: Update list of sources * glue/Makefile.am: Remind people to keep makefile.win32 up to date 2003-09-03 Aleksey Sanin * parser/GAPI/Metadata.pm: enable enums processing using element syntax 2003-09-02 Martin Willemoes Hansen * gda/Makefile.in: Fixed bad nowarn options 2003-08-31 Alp Toker * api/gdk-api.xml: * sources/Gdk.metadata: out params for Gdk.Window.GetOrigin 2003-08-30 Gonzalo Paniagua Javier * gdk/Pixbuf.custom: use windows dll name. Removed DllImport that is already in the generated file. * glib/Thread.cs: use windows dll name. * gtk/ThreadNotify.cs: close comment. 2003-08-28 Martin Willemoes Hansen * gdk/Pixbuf.custom: Added missing DllImport statement and proper copyright header. * api/gtk-api.xml: * sources/Gtk.metadata: Fixed new_flag rules, they did not get applied to the gtk-api.xml. * generator/Parameters.cs: * generator/StructBase.cs: * generator/SymbolTable.cs: Fixed the keyword base was not mangled, also did a little refactoring. 2003-08-28 Alp Toker * glue/style.c: glue and corresponding .custom entries for TextGC 2003-08-26 John Luke * gtk/ThreadNotify.cs: mark dllimported methods private 2003-08-26 Gonzalo Paniagua Javier * gconf/GConf/Value.cs: implemented support for lists. * glib/ListBase.cs: implemented the IDisposable stuff and created a new method, FreeList, to free the list when needed. * glade/HandlerNotFoundException.cs: make it derive from SystemException. Don't override Message, the message is created in the .ctor. 2003-08-26 Alp Toker * glue/style.c: glue and corresponding .custom entries for BaseGC, plus the ability to set GCs 2003-08-21 Martin Willemoes Hansen * gnomeprint: * api/gnomeprint-api.xml: Removed, gnomeprint is now included in gnome. 2003-08-19 John Luke * glib/ListBase.cs: Add convenience .Append (string) method 2003-08-19 Martin Willemoes Hansen * generator/Method.cs: Fixed bug where all ToString methods was marked as override, this is only correct if the ToString method does not have any parameters. 2003-08-18 Aleksey Sanin * generator/SignalHandler.cs : take refs on GObject sig parms. 2003-08-15 Duncan Mak * sources/Gtk.metadata (Gtk.TreeView.CellArea): Apply patch from Aleksey Sanin to declare the "Gdk.Rectangle rect" parameter as an out parameter. This is required because Gdk.Rectangle is a struct. 2003-08-14 Martin Willemoes Hansen * sources/Gnome.metadata: Renamed use of keyword base to Base in GnomePrintUnit method GetIdentity. Added GObject as the parent for GnomePrintTransport and GnomePrintPdf * sources/gtk-sharp.sources: Added libgnomeprintui/gpaui 2003-08-13 Martin Willemoes Hansen * sources/makefile: * sources/gtk-sharp.sources: Added libgnomeprint-2.2.2 and libgnomeprintui-2.2.2 2003-08-08 Mike Kestner * sources/gtk-sharp.sources : point to gtkhtml-3.0.8 dir * sources/gtkhtml-font-style-enum.patch : ditto * sources/makefile : fix some urls, make a get-gtkhtml-code target, and use gtkhtml-3.0.8 instead of cvs. 2003-08-06 Duncan Mak * sources/Atk.metadata: Make Mr. Art.VpathDash an Opaque struct instead of a plain ol' struct. * sources/Gtk.metadata (Gtk.Widget.SizeRequest): Mark the requisition parameter as out. 2003-08-06 Xavier Amado * gtk/Notebook.custom (CurrentPageWidget): Added a property for getting the current page widget directly. 2003-07-30 Duncan Mak * sources/Gnome.metadata: (CanvasItem.SetValist): (CanvasItem.Construct): Hidden, because we don't support va_list params. (CanvasItem): Hid the constructor, as each subclass has their own contsructor and we don't support va_list params. (CanvasItem.W2i): (CanvasItem.I2w): Marked parameters as ref, so they can be used as in/out parameters. (Canvas.GetMiterPoints): (Canvas.GetColor): Fixed return type to be 'bool' instead of 'int'. (CanvasClipgroup.Wind): Fixed property type. It should be an Art.WindRule enum, not a UInt. (Canvas.W2cAffine): (CanvasItem.AffineAbsolute): (CanvasItem.AffineRelative): (CanvasItem.I2wAffine): (CanvasItem.I2cAffine): Hidden, use the impl. in the custom file instead. * gnome/Canvas.custom: Added for W2cAffine. * gnome/CanvasItem.custom: Reformatted. Added AffineRelative, AffineAbsolute, I2wAffine, I2cAffine. These are needed because of the 'const double affine[6]' parameter. 2003-07-29 Duncan Mak * sources/Gtk.metadata: * api/gtk-api.xml: Marked the arguments to GetSelectionBounds and GetLayoutOffsets as out params. 2003-07-28 Duncan Mak * glade/XML.custom: Added new convenience factory methods, FromStream and FromAssembly. 2003-07-27 Duncan Mak * art/Makefile.in: * atk/Makefile.in: * gda/Makefile.in: * gdk/Makefile.in: * glade/Makefile.in: * gnome/Makefile.in: * gnomedb/Makefile.in * gtk/Makefile.in: * pango/Makefile.in: * rsvg/Makefile.in: Suppress warnings CS0660 and CS0661. 2003-07-23 Mike Kestner * gtk/FileSelection.custom : more s/new Object/GetObject 2003-07-23 Mike Kestner [Equal credit to Ettore Perazzoli for fixing all the bugs in the initial patch] * */*.custom : fix incorrect usage of new Object (IntPtr) where Glib.Object.GetObject should've been used. add ref_owned param to GetObject calls. * generator/CallbackGen.cs : setup ref_owned in bodies * generator/ClassBase.cs : add ref_owned to GetObject FromNative call * generator/Method.cs : setup ref_owned in bodies * generator/Property.cs : setup ref_owned in bodies * generator/SignalHandler.cs : pass ref_owned to GetObject * generator/StructBase.cs : setup ref_owned in bodies * glib/Object.cs : kill Ref/Unref methods. Don't want it to be easy for users to screw with ref counts, or make it look like they should need to. (GetObject): add ref_owned param and ref/unref to remain at 1 * glib/Value.cs : pass ref_owned to GetObject 2003-07-23 Martin Willemoes Hansen * generator/ClassBase.cs: Fixed printouts of ctor validation. Warnings refering to the same ctor were printed multiple times. 2003-07-22 John Luke * sample/TreeViewDemo.cs: remove GLib and System.Drawing references remove workaround for mscorlib use Type.GetMembers instead of .GetMethods remove Glib.IdleHandler for simplicity 2003-07-22 Mike Kestner * generator/Method.cs (GenerateBody): kill the "cast_type" overload of this, since cast_type wasn't even used. * generator/Property.cs : call simpler GenerateBody sig 2003-07-22 Duncan Mak * gtk/FileSelection.custom (FSButton): Mark the constructor as 'internal', instead of 'public'. 2003-07-15 Duncan Mak * sources/makefile (get-source-code): make it go a bit faster by checking out all files in one go. * gtk/IconSet.custom (Sizes): added proper binding to gtk_icon_set_get_sizes (), this fixes bug #45835. * sources/Gtk.metadata (GtkIconSet): hide the GetSizes method. (GtkTextBuffer): new overrides MoveMarkByName -> MoveMark DeleteMarkByName -> DeleteMark ApplyTagByName -> ApplyTag RemoveTagByName -> RemoveTag (GtkItemFactory): new overrides GetItemByAction -> GetItem GetWidgetByAction -> GetWidget These two changes fixes bug #46388. (GtkHTML): overrides for Begin, mark BeginContent and BeginFull as overrides of Begin. This fixes bug #46427. * sources/gtkhtml-font-style-enum.patch: A patch to use real values in gtkhtml-enums.h so that the parser won't choke on the complex enum declarations. * sources/makefile: Apply the above patch after checking out the source code for GtkHTML. 2003-07-14 Mike Kestner * api/*-api.xml : regenerated * gdk/Drawable.custom : DrawRectangle filled param is now bool * generator/Parameters.cs : studlify names ending w/ uscore * gtk/GtkSharp.GtkClipboardClearFuncNative : s/Opaque/Object * gtk/GtkSharp.GtkClipboardGetFuncNative : s/Opaque/Object * parser/gapi2xml.pl : put _string_* methods in Global * sample/Scribble.cs : update to new DrawRectangle api * sources/Gdk.metadata : hide some conflicting methods * sources/Gtk.metadata : finally fix the Progress crap and renames, hides and such to fix conflicts * sources/README : mention new gtk-2.2 reqs * sources/gtk-sharp.sources : update to new gtk-2.2 reqs * sources/makefile : update for 2.2 api 2003-07-12 Mike Kestner * api/gda-api.xml : hide the new Type class * source/Gda.metadata : hide the new Type class 2003-07-11 Mike Kestner * gdk/Selection.custom : add static fields for the primary, secondary, and clipboard and clipboard selection Gdk.Atoms. * glue/Makefile.am : add selection.c * glue/selection.c : add glue to get the atoms. * gtk/TextBuffer.custom : add a PasteClipboard overload for pasting to the cursor location. 2003-07-10 Mike Kestner * api/*-api.xml : regenerated * gdk/Threads.cs : killed since the methods are now gen'd * generator/ClassGen.cs : new, static class generatable * generator/Parameters.cs : mangle new and byte as param names * generator/Parser.cs : parse new elements * generator/SymbolTable.cs : add GC SimpleGen * parser/gapi2xml.pl : static class element fixes * parser/GAPI/Metadata.pm : add class element * sources/Art.metadata: new, rename Affine.ToString method * sources/Atk.metadata: rename State class * sources/Gdk.metadata: hide Pixbuf static class for now. rename Event and Pango static classes to avoid collisions. * sources/Gnome.metadata: rename Gtk and Gdk static classes to avoid collisions. * sources/GnomeDb.metadata: rename Stock static class to avoid collisions. * sources/Gtk.metadata: rename Stock static class to avoid collisions. Hide Idle class. 2003-07-08 Ettore Perazzoli * gtk/Layout.custom: New file, adding the Layout::BinWindow property. * glue/layout.c: New file, adding glue for getting the bin_window of a GtkLayout. 2003-07-06 Mike Kestner * api/gtk-api.xml : regenerated * parser/GAPI/Metadata.pm : add support for property attribute alteration. * sources/Gtk.metadata : rule to mark TextTag.Weight as PangoWeight instead of gint. fixes 45214. 2003-07-05 Mike Kestner * api/*-api.xml : regenerated * parser/gapi2xml.pl : first pass at trying to expose static classes for typeless method aggregation. 2003-07-05 Mike Kestner * sources/makefile : fix the download uri's for the gnomedb lib source. 2003-07-04 Mike Kestner * api/*-api.xml : regenerated * parser/gapi2xml.pl (addFuncElems): only ignore get_type methods for enum types, so that we don't suppress some methods. (addPropElem): remove doc-str since we don't autogen docs and access types for enum/boxed/flags/obj as an offset from the end of the param_spec to avoid problems with split(/,/). 2003-07-04 Rodrigo Moya * sources/makefile: updated download targets for libgda and libgnomedb. 2003-07-04 Rodrigo Moya * sources/gtk-sharp.sources: * api/gda-api.xml: * api/gnomedb-api.xml: updated for libgda/libgnomedb 0.90. 2003-07-05 Martin Willemoes Hansen * glib/Object.cs: Changed getData, setData to a single Data property Different keys are allowed now. 2003-07-02 Shane Hyde * generator/GenBase.cs : put #line directive after the #region so line numbers match up. 2003-07-02 Mike Kestner * generator/StructBase.cs : remove doc comments 2003-06-25 Martin Willemoes Hansen * parser/gapi_pp.pl: Added striping of C comments 2003-06-23 Martin Willemoes Hansen * glib/Type.cs: Added ToString 2003-06-14 Mike Kestner * configure.in : tagging for 0.10 2003-06-14 Mike Kestner * gtk/TreeViewColumn.custom : cast Array param to object[] before indexing into it. 2003-06-14 Mike Kestner * glib/Value.cs : cast uint to TypeFundamentals 2003-06-14 Mike Kestner * CallbackGen.cs : rework for internal callback helpers, pass NS to parms ctor * Ctor.cs : pass NS to parms ctor * Method.cs : pass NS to parms ctor * Parameters.cs : refactoring, plus rework for internal callback helpers. * Signal.cs : pass NS to parms ctor 2003-06-14 Mike Kestner * parser/gapi2xml.pl : some whitespace parsing cleanup * api/*-api.xml : rerun of the parser. 2003-06-12 Mike Kestner * generator/SimpleGen.cs : mark a few members virtual since they are overridden elsewhere. 2003-05-29 Rachel Hestilow * gconf/Value.cs: Update to use new string marshalling. * generator/StringGen.cs, ConstStringGen.cs: Added. * generator/IGeneratable.cs: Add new method ToNativeReturn. * generator/CallbackGen.cs: Implement ToNativeReturn. Call ToNativeReturn for the return statement. Fix a couple of places where s_ret was being used incorrectly for m_ret. * generator/ClassGen.cs, EnumGen.cs, ManualGen.cs, SimpleGen.cs, StructBase.cs: Implement ToNativeReturn. * generator/SignalHandler.cs: Call ToNativeReturn for the return statement, instead of CallByName. * generator/SymbolTable.cs: Use StringGen for gchar, char, and gunichar, and ConstStringGen for their const variants. Add a new method wrapper for ToNativeReturn. (Trim): Add a special-case for const strings so that the const is not stripped. Otherwise there is no way of resolving the const case. * glade/XML.custom: Update to use new string marshalling. * glib/Marshaller.cs: Added. * glib/GException.cs, Markup.cs, ObjectManager.cs, Value.cs: Update to use new string marshalling. * glib/Object.cs: Remove old g_type_name DllImport as it is no longer used. * glue/fileselection.c (gtksharp_file_selection_get_fileop_entry): Mark this as const return. * gtk/ColorSelection.custom, FileSelection.custom, SelectionData.custom: Update to use new string marshalling. 2003-06-07 Martin Willemoes Hansen * generator/SymbolTable.cs: Added ulong 2003-05-27 Rachel Hestilow * sample/ManagedTreeViewDemo.cs: Remove debugging cruft. * gconf/.cvsignore, gconf/GConf/.cvsignore, gconf/GConf.PropertyEditors/.cvsignore, gconf/tools/.cvsignore, sample/gconf/.cvsignore, sample/rsvg/.cvsignore: Added. * .cvsignore, parser/.cvsignore: Update. 2003-05-27 Rachel Hestilow * gconf/GConf/ChangeSet.cs, Client.cs: Change SetValue from protected to internal, as it references an internal type. * gconf/GConf/ClientBase.cs: The same; additionally remove some commented-out code. Change Initialize from protected to internal. 2003-05-22 Rachel Hestilow * glib/ManagedValue.cs, glib/Value.cs: A few old-style DllImports snuck in during my last commit; update them to use Win32 dll names. 2003-04-28 Lee Mallabone * sources/Gtk.metadata, api/gtk-api.xml: Unhide GtkSizeGroup as it's a useful class. 2003-05-19 Rachel Hestilow * glib/ManagedValue.cs, TypeConverter.cs: Added. * glib/Value.cs: Make Value inherit from IDisposable, and move dtor to Dispose. Add generic object constructor with support for ManagedValue. Add a new Val property which will call the appropriate explicit cast. * glue/value.c: Add new glue function gtksharp_value_get_value_type. * gtk/TreeViewColumn.custom: Added. * gtk/ListStore.custom, TreeStore.custom: Add a number of SetValue overloads. Add convenience functtion AppendValues. Add new ctor that takes System.Type instead of GLib.TypeFundamentals. Add a GetValue convenience wrapper. * gtk/TreeView.custom: Add AppendColumn convenience functions. * sample/ManagedTreeViewDemo.cs: Added. * sample/Makefile.in: Update. * sample/TreeViewDemo.cs: Update to use new convenience APIs. 2003-05-18 Mike Kestner * generator/CallbackGen.cs : use non-static symtab, kill doc comments * generator/ClassBase.cs : use non-static symtab * generator/CodeGenerator.cs : use non-static symtab * generator/EnumGen.cs : kill doc comments, don't gen using System here * generator/GenBase.cs : gen using System here for all types * generator/InterfaceGen.cs : don't gen using System here. * generator/Method.cs : use non-static symtab * generator/ObjectGen.cs : kill doc comments, use non-static symtab * generator/OpaqueGen.cs : don't gen using System here. * generator/Parameters.cs : use non static symtab. * generator/Parser.cs : use non static symtab. add SimpleGen's and ManualGen's * generator/Property.cs : use non static symtab * generator/SignalHandler.cs : use non static symtab * generator/StructBase.cs : use non static symtab * generator/SymbolTable.cs : major refactoring. now uses SimpleGen and ManualGen IGeneratables to simplify the method and prop code. Is now instance based with a static prop to get the singleton instance, so that a this indexer can be provided to access the IGeneratables nicely. Gearing up to remove even more code from here by accessing IGeneratables directly. 2003-05-18 Mike Kestner * generator/ClassBase.cs : Use QualifiedName in spew * generator/ObjectGen.cs (Validate): kill, not used 2003-05-13 Mike Kestner * COPYING : Add the license. This is copied verbatim from http://www.gnu.org/licenses/lgpl.txt. 2003-05-13 Mike Kestner * configure.in : bump the version to 0.10 * generator/CallbackGen.cs (GenWrapper): Update sig preparing for external assembly wrapper generation. Kill doc comment generation. Make marshaling delegate internal. 2003-05-07 Mike Kestner * generator/ClassBase.cs (GenSignals): remove doc comment param * generator/GenBase.cs (CreateWriter): alter generated file comment * generator/InterfaceGen.cs (CreateWriter): remove doc comments * generator/ObjectGen.cs (Generate): use new GenSignals sig * generator/Signal.cs : make signal marshalers internal and remove doc comments. * generator/SignalHandler.cs : make signal marshalers internal and remove doc comments. * gnome/CanvasProxy.cs : use Gnome.voidObjectSignal since the gtk one is inaccessible now. 2003-05-05 Gonzalo Paniagua Javier * rsvg/Makefile.in: * sample/rsvg/Makefile.in: hopefully fixes building from scratch. * rsvg/Tool.cs: the class should be public. 2003-05-02 Alp Toker * sources/gtk-sharp.sources: * api/glade-api.xml: * glade/XML.custom: Use libglade-2.0-0.dll not glade-2.0 (for win32) 2003-04-30 Mike Kestner * tagging for release 0.9 2003-04-28 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata: Add a rule to hide classes/structs that are private in Gtk+. 2003-04-28 Gonzalo Paniagua Javier * sample/Scribble.cs: patch from Philip Van Hoof taht fixes compilation. 2003-04-25 Charles Iliya Krempeaux * README : Updated to reflect the name change or the "MonkeyGuide" to the "Mono Hand Book". Updated to give the (new) correct chapter number for the GNOME.NET section. Added mention of the Gtk# Wiki. 2003-04-25 Charles Iliya Krempeaux * gtk-sharp.pc.in, parser/gapi.pc.in : Both of these files were checked in as empty files, before. Checked them in, this time, with something in them. 2003-04-16 Charles Iliya Krempeaux * gdk/EventKey.custom : Created it so that there is a "Key" property that returns a Gdk.Key. 2003-04-15 Gonzalo Paniagua Javier * gtk/TreeView.custom: (GetPathAtPos): added 3 overloads of this method so that the caller does not need to create extra variables that may not use. * api/gtk-api.xml: * sources/Gtk.metadata: added pass_out attribute for tx and ty arguments of TreeView::WidgetToTreeCoords. Hide TreeView::GetPathAtPos. 2003-04-14 Charles Iliya Krempeaux * gtk-sharp.pc.in : Created to be used for the detection of Gtk#. * parser/gapi.pc.in : Created to be used for the detection of gapi.pl. * makefile : Deleted it. (Actually, renamed it to Makefile.in.) * Makefile.in : Created it from the old makefile, and modified it to account for gtk-sharp.pc. * configure.in : Made it so it will generate gtk-sharp.pc from gtk-sharp.pc.in, parser/gapi.pc from parser/gapi.pc.in, and Makefile from Makefile.in. * parser/Makefile.in : Modified it to account for parser/gapi.pc. 2003-04-14 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata, gtk/ColorSelection.custom: Fix up API in ColorSelection - Palette{From,To}String now work, and PreviousColor is now a C# property. * api/gdk-api.xml, sources/Gdk.metadata, gdk/Color.custom: Hide the Copy, Free and Hash methods in Gdk.Color and override GetHashCode(). 2003-04-12 Alp Toker * parser/gen_keysyms: Generates a C# Key enum from the Gdk headers (gdkkeysyms.h) * gdk/Key.cs: The generated Key enum 2003-04-09 Gonzalo Paniagua Javier * glib/Object.cs: (GetObject): check that the target of the WeakReference is still there. Otherwise, create a new wrapper for the IntPtr. This fixes the random nullrefs when running nunit-gtk. 2003-04-03 Gonzalo Paniagua Javier * generator/CallbackGen.cs: the new generated wrappers have: -(optional) Field of the same type returned by the callback. -A call to RemoveIfNotAlive at the beginning. It returns true, return the dummy field. -Added an object to the ctor signature and pass it to the base class. * generator/Ctor.cs: added a Params property. * generator/Method.cs: set Static property in Parameters if the method is static. * generator/Parameters.cs: added Static property. The call creation of the delegate wrapper (if applicable) uses the new signature. Pass a null as object is the method is static. * generator/StructBase.cs: set Static for the parameters of the ctors. * glib/DelegateWrapper.cs: the ctor takes an object (the one creating the wrapper or null) and creates a weak reference to it. Store it in a static Hashtable (this way the wrapper itself is not garbage collected). (RemoveIfNotAlive): called from the native delegate callbacks. If the target of the weak reference has been garbage collected, removes itself from the hashtable to let the GC dispose this instance and returns true. * gdk/Pixbuf.custom: * gtk/Clipboard.custom: * gtk/GtkSharp.GtkClipboardClearFuncNative.cs: * gtk/GtkSharp.GtkClipboardGetFuncNative.cs: * glade/XML.custom: changed delegate wrappers to match the new signature. 2003-04-04 Lee Mallabone * gdk/Drawable.custom: * sources/Gdk.metadata: * api/gdk-api.xml: Apply a modified version of a patch from Artemis , to fix and clean DrawPolygon and DrawLines in Gdk.Drawable. 2003-04-02 Charles Iliya Krempeaux * generator/SignalHandler.cs : Added Patch submitted by Mark Crichton , to get GtkMozEmbed bindings working. 2003-04-02 Lee Mallabone * gtk/Entry.custom: Add a constructor that sets the initial contents. * sources/Gtk.metadata: * api/gtk-api.xml: Fix API 'out' parameters in 'Frame' and some in 'Widget'. 2003-03-27 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata, gtk/Viewport.custom: Add default constructor to Viewport. 2003-03-25 Lee Mallabone * api/gtk-api.xml: Allow parameters in TreeView.ScrollToCell to be null. * source/Gtk.Metadata: Mark TreeView.ScrollToCell() with some null_ok params. 2003-03-25 Martin Baulig * gtk/Application.cs (CurrentEvent): Made this property static. 2003-03-25 Gonzalo Paniagua Javier * sample/rsvg/Makefile.in: don't build the sample app. everytime. 2003-03-25 Gonzalo Paniagua Javier * api/gtk-api.xml: changed DisplayOptions by SetDisplayOptions. * sources/Gtk.metadata: added rename hint for DisplayOptions. Moved GtkHTMLStream hints to 'misc' area (they were in 'rename' area). * gtk/Calendar.custom: added a .net style GetDate override. * sample/CalendarApp.cs: updated to new methods in the Calendar API. 2003-03-23 Martin Baulig * glib/Object.cs (Dispose): Call `Objects.Remove (_obj)' here instead of in PerformQueuedUnrefs(). 2003-03-22 Gonzalo Paniagua Javier * sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla. * sample/DbClient/client.cs: updated to make it compile again. 2003-03-22 Gonzalo Paniagua Javier * glue/adjustment.c: * glue/canvaspoints.c: * glue/clipboard.c: * glue/colorseldialog.c: * glue/combo.c: * glue/dialog.c: * glue/error.c: * glue/event.c: * glue/fileselection.c: * glue/list.c: * glue/object.c: * glue/paned.c: * glue/program.c: * glue/slist.c: * glue/style.c: * glue/type.c: * glue/value.c: * glue/widget.c: removed almost all the warnings. 2003-03-22 Lee Mallabone * sample/makefile.in: * sample/CalendarApp.cs: Add a sample showing a Gtk.Calendar. 2003-03-15 Duncan Mak * gtk/ColorSelectionDialog.custom: Rename the inner Button class to be ColorSelectionButton to avoid a name clash in the doc generator. * gtk/TextBuffer.custom: Fix the Text property. Patch from Mathias Hasselmann . 2003-03-15 Miguel de Icaza * sample: Update samples to new Glade.Widget. * glade/WidgetAttribute.cs: Moved the old GladeWidgetattribute here. Now its called `Glade.WidgetAttribute'. * glade/GladeWidgetAttribute.cs: Removed * glib/Idle.cs: Do not allow Idle class to be instantiated. 2003-03-11 Miguel de Icaza * gtk/Application.cs (CurrentEvent): Property implementing the suggestion from Paolo. * glib/Object.cs (Dispose): Destructor might be invoked in a thread, queue the object for destruction using the Gtk idle handler. We perform the real destruction of the object in the same thread as the Gtk+ main thread. 2003-03-14 Charles Iliya Krempeaux * sources/makefile : Added a "distclean" rule, so that typing it will remove any source code directories, and their contents. (This works by just deleting all the subdirectories. Except for "CVS" of course.) 2003-03-14 Charles Iliya Krempeaux * sample/Makefile.in : Modified it to make it so "make clean" will clean the "sample/rsvg" directory too. And made it so a "make distclean" will do a distclean to the "sample/rsvg" too. * sample/rsvg/Makefile.in : Added the "distclean" rule to it. 2003-03-14 Rodrigo Moya * configure.in: * sources/makefile: * sources/gtk-sharp.sources: updated for libgda/libgnomedb 0.11. * sources/Gda.metadata: hide GdaBatch class. 2003-03-13 Charles Iliya Krempeaux * README : Did some spelling and grammar corrections. Fixed indentation problem. And added some more info. * HACKING: Added info for people getting started with hacking Gtk#. 2003-03-13 Duncan Mak * gdk/Pixbuf.custom: Add a nice version of Gdk.Pixbuf.Pixels that return a 'byte *'. * sources/Gdk.metadata: * api/gdk-api.xml: Hide Gdk.Pixbuf.Pixels. 2003-03-10 Miguel de Icaza * gtk/Application.cs: Do not allow instances of Application to be created. (InitCheck): new method, wraps gtk_init_check. Removed inline docs from here. Put them on the documen 2003-03-08 Miguel de Icaza * glib/Idle.cs: Add private constructor. 2003-03-05 Miguel de Icaza * gtk/Bin.cs: Add new property `Child' to GtkBin. 2003-03-06 Mike Kestner * rsvg/Makefile.in : some -L -r magic 2003-03-03 Miguel de Icaza * gdk/Rectangle.custom: Add a Rectangle constructor that takes for arguments. 2003-03-02 Miguel de Icaza * glib/Markup.cs: Add new file. 2003-03-01 Peter Williams * glue/Makefile.am (libgtksharpglue_la_LIBADD): Change this to BASE_DEPENDENCIES_LIBS 2003-03-01 Mike Kestner * api/gdk-api.xml : make Color.Parse retval a gboolean. Also change some libname override rules to use win32 dllnames. * sources/Gdk.metadata : rules for above. 2003-03-01 Charles Iliya Krempeaux * sources/README : Updated it to include mention of GStreamer and librsvg. Also mentioned being able to use "make get-source-code" to get the source code too. Then added alot of content. And basically rewrote it. 2003-02-28 Miguel de Icaza * glue/widget.c (gtksharp_gtk_widget_get_window): Fix. Return the window, not the address of the window pointer. 2003-02-28 Gonzalo Paniagua Javier * generator/SignalHandler.cs: the generated Dispose method now calls base.Dispose and always disconnects the handler. Thanks to Petr Danecek . 2003-02-28 Gonzalo Paniagua Javier * api/gdk-api.xml: * sources/Gdk.metadata: hide GdkColormap.AllocColor. * gdk/Colormap.custom: AllocColor is here. * gconf/tools/schemagen.cs: XmlDocument.Load (string) takes an Uri. 2003-02-28 Miguel de Icaza * gdk/Color.custom: Added constructors from System.Drawing.Color and from rgb byte tuples. * gdk/Colormap.custom: Add new .custom file for the AllocColor call. * sources/Gdk.metadata: Make Colormap.AllocColor GdkColor parameter be a `ref' parameter. 2003-02-27 Charles Iliya Krempeaux * sample/rsvg : Created place to put sample program that uses Rsvg#. * sample/Makefile.in : Edited it to make it "make" the stuff in "sample/rsvg". * sample/rsvg/Makefile.in : Added it to "make" the Rsvg# sample program. * sample/rsvg/svghelloworld.cs : Added it. It's the sample Rsvg# program. * sample/rsvg/sample.cvs : Added it. It's a sample SVG file that the program displays. * configure.in : Modified it so it will create sample/rsvg/Makefile from sample/rsvg/Makefile.in. 2003-02-27 Charles Iliya Krempeaux * sources/makefile : Updated the "make get-source-code" functionality to create the Symbolic Links and get gtkhtml from CVS, as specified by "sources/READDME". 2003-02-27 Miguel de Icaza * gdk/Drawable.custom: Added nice overload for DrawRectangle. 2003-02-19 Miguel de Icaza * gdk/Pixbuf.custom: Add overload arguments that take a System.Drawing.Color. Added a Clone() method, to implement the ICloneable interface. Added constructors for inlined in-data RGB/RGBA buffers and file images. 2003-02-26 Charles Iliya Krempeaux * gtk/TextBuffer.custom : Added method, named "GetIterAtOffset" to wrap C API procedure "gtk_text_buffer_get_iter_at_offset" in a more expected way. 2003-02-26 Charles Iliya Krempeaux * configure.in : Added support for Rsvg.NET -- librsvg .NET bindings. (Made a check for the library. And made it so "rsvg/Makefile" would be generated. Also made it so it will display if rsvg-sharp.dll will be generated or not.) * makefile : Added support for Rsvg.NET -- librsvg .NET bindings. (Added an entry for Rsvg.NET.) * sources/gtk-sharp.sources : Added an entry for Rsvg.NET -- librsvg .NET bindings. * rsvg/ : Created "rsvg/" directory. (To hold stuff for Rsvg.NET.) * rsvg/Tool.cs : Created Rsvg.Tool class to hold various procedures (which were not automatically wrapped). * rsvg/Makefile.in : Created "rsvg/Makefile.in". * api/Makefile.in : Added and entry for Rsvg.NET. 2003-02-26 Gonzalo Paniagua Javier * generator/Parser.cs: use XmlDocument.Load (Stream). The one using (String) expects an uri. * generator/Signal.cs: always remove the delegate from the signal callback (prior to this, the last handler was not being removed). Dispose the callback (ie, disconnect from the signal) when there are no registered delegates to handle it. * generator/SignalHandler.cs: added 2 new fields to hold the instance and the handler ID. The finalization is now done in Dispose and disconnects the signal handler when no delegate will handle the signal. Changed gobject-2.0 to libgobject-2.0-0.dll. * glib/SignalCallback.cs: implemented IDisposable interface. 2003-02-24 Mike Kestner * released 0.8 2003-02-24 Mike Kestner * sample/TreeViewDemo.cs : fix Type ambiguities 2003-02-24 Mike Kestner * sample/Subclass.cs : rework the GType code. 2003-02-24 Mike Kestner * generator/Parameters.cs : fix some ref/out bugs 2003-02-24 Mike Kestner * generator/ObjectGen.cs : gen GLib.Value ctor, not uint * glib/Object.cs : use GLib.Type in RegisterGType and make the g_object_new ctor use GLib.Type. * glib/Type.cs : new thin wrapper for GValue type * glib/*.cs : s/Type/System.Type 2003-02-23 Mike Kestner * generator/GenBase.cs : quote the custom filenames in #file directives. 2003-02-23 Mike Kestner * generator/CallbackGen.cs : suppress len params from string/len pairs. * generator/Parameters.cs : begin the refactoring to use Parameter class. Suppress len params from string/len pairs. */*.custom : remove all overrides of string/len pairs */*.cs : ditto. Thanks to Alp Toker for the foundation patch that this change was built upon. 2003-02-22 Mike Kestner * sources/makefile : patch from Charles Krempeaux to add get-source-code target which wgets tarballs. 2003-02-21 Mike Kestner * mapdllnames.pl : a little whitespace action * api/*-api.xml : move to win32 dllnames * */makefile.win32 : remove the mapdllnames step * */*.cs : move to win32 dllnames * */*.custom : move to win32 dllnames * sources/gtk-sharp.sources : move to win32 dllnames 2003-02-21 Mike Kestner * api/*-api.xml : remove stray enum get_type methods. * parser/gapi2xml.pl : ignore get_type methods on enums. 2003-02-20 Mike Kestner * api/gtk-api.xml : hide the Arrow::Set method. * sources/Gtk.metadata : metadata for above. 2003-02-19 Mike Kestner * generator/Parameters.cs (Initialize): construct a GLib.Value for out params. 2003-02-19 Mike Kestner * api/gtk-api.xml : mark TreeModel::GetValue value param out suggested by Lee Mallabone * sources/Gtk.metadata : metadata for above * sources/README : update the gnomedb/gda version reqs 2003-02-19 Duncan Mak * sources/Gtk.metadata: Add GetLayoutOffsets to the rule for out params. * gtk/FileSelection.custom (Button): Rename to FSButton, so that we won't wipe out our original Gtk.Button docs. 2003-02-19 Mike Kestner * generator/GenBase.cs : mark #line 1 for .customs * generator/SignalHandler.cs : fix for GObj retvals 2003-02-18 Mark Crichton * generator/EnumGen.cs: Handle different enum types. 2003-02-14 Duncan Mak * api/gtk-api.xml: * sources/Gtk.metadata: Mark 'out' param in GetSelectionBounds, thanks to Lee Mallabone for spotting that. 2003-02-13 Mike Kestner * glib/Boxed.cs : fix a ctor bug reported to the list by u900842@oz.nthu.edu.tw. 2003-02-13 Mike Kestner * sample/Makefile.in: add a distclean target 2003-02-13 Charles Iliya Krempeaux * README : Clarifications and additions 2003-02-13 Stefan Sarin * gdk/Color.custom: fixed ToString (). 2003-02-13 Gonzalo Paniagua Javier * gconf/GConf/Client.cs: * gconf/GConf/NoSuchKeyException.cs: added key string to the exception when Get does not find it. 2003-02-11 Duncan Mak * gnome/voidObjectAffineSVPintSignal.cs: * gnome/CanvasProxy.cs: Make the voidObjectAffineSVPintSignal class be in the 'GtkSharp' namespace, instead of 'GtkSharp.Gnome'. 2003-02-10 Gonzalo Paniagua Javier * glade/XML.custom: added a couple of checks for null. 2003-02-09 Duncan Mak * sources/Gtk.metadata: * api/gtk-api.xml: Gtk.Editable.InsertText should have the position be marked 'ref', not 'out', because it is an in-out parameter. * gtk/Entry.custom: Overload for InsertText. * gtk/Clipboard.custom: New overload for SetText. * sources/Gtk.metadata: Mark out params for methods in GtkCalendar, GtkCellRenderer, GtkWindow, GtkRuler, GtkLayout, GtkScrolledWindow and GtkSpinButton. Monotalk is very useful for this kind of work. 2003-02-08 Radek Doulik * glib/MainContext.cs: beginning of MainContext class, just Iteration and Pending methods to be able to refresh Gtk in the middle of time consuming function where it's not worth while to use threads * glue/style.c (gtksharp_gtk_style_get_font_description): new function to access style's font_description field * gtk/Style.custom: added font description property * gconf/GConf/Client.cs: added SyggestSync method 2003-02-07 Peter Williams * glue/Makefile.am (libgtksharpglue_la_LIBADD): Set this so that people linking to libgtksharpglue.so get their dependencies. (I've had this patch sitting around forever, I think it got approved, and it certainly appears correct.) 2003-02-07 Martin Willemoes Hansen * Added a constructor to gdk/Point.custom 2003-02-07 Gonzalo Paniagua Javier * sample/gconf/Makefile: defined top_builddir. RUNTIME is just 'mono'. 2003-02-06 Duncan Mak * sources/Gtk.metadata: Correct the metadata for the HTMLStream Write method to make it always regenerate the correct stuff. Thanks to Rachel for helping me out at the middle of the night. 2003-02-06 Duncan Mak * api/gtk-api.xml: * sources/Gtk.metadata: * gtk/Window.custom: Mark out params in gtk_window_get_size and gtk_window_get_default_size. 2003-02-06 Gonzalo Paniagua Javier * glib/SignalCallback.cs: new methods AddDelegate and RemoveDelegate. * generator/Signal.cs: add/remove signal handlers from the delegate used to invoke them. * generator/SignalHandler.cs: use Delegate instead of MulticastDelegate. 2003-02-05 Rodrigo Moya * gda/Application.cs: * gnomedb/Application.cs: synced version number with its corresponding C library version. 2003-01-29 Duncan Mak * gtk/Widget.custom: Add a nice overload, rename it to 'RequestSize' instead of 'SizeRequest' to avoid a name clash. * api/gtk-api.xml: * sources/Gtk.metadata: out param for gtk_widget_get_size_request. * gtk/Window.custom: Add some overloads. * api/gtk-api.xml: * sources/Gtk.metadata: * sources/Pango.metadata: Add some more metadata rules. 2003-01-28 Rodrigo Moya * configure.in: * api/gda-api.xml: * api/gnomedb-api.xml: * sources/gtk-sharp.sources: * sources/Gda.metadata: added support for latest libgda/libgnomedb. 2003-01-22 Radek Doulik * sources/Gtk.metadata: disable default contructor for Frame in metadata * parser/gapi2xml.pl: add comment to .xml files with warning that they were auto generated 2003-01-20 Mike Kestner * released 0.7. 2003-01-12 Martin Baulig * parser/gapi2xml.pl (addNameElem): Make this work if the $cname doesn't start with $prefix. 2003-01-10 Duncan Mak * gtk/TextView.custom (WindowToBufferCoords): Remove the hack, as the generator produces correct code now. * sources/Gtk.metadata (GtkTextView): Add a patch from Fredrik Nilsson to add needed 'out' parameters. 2003-01-09 Rodrigo Moya * makefile: * configure.in: * api/Makefile.in: * api/gphoto-api.xml: * sources/gtk-sharp.sources: * gphoto/Makefile.in: * gphoto/.cvsignore: removed gphoto2 bindings, to be moved to mphoto. 2003-01-06 Pedro Abelleira Seco * pango/Layout.custom: Add Size get property and add some nicer overloads to avoid explicit passing in the string length 2003-01-05 Pedro Abelleira Seco * gdk/Drawable.custom: Add Size get property 2003-01-05 Duncan Mak * pango/GlyphString.custom: Add some nicer overloads to avoid explicit passing in the string length. 2003-01-05 Duncan Mak * generator/GenBase.cs (AppendCustom): Add #region to code from .custom files. * generator/*Gen.cs: Add #region markers. 2003-01-05 Duncan Mak * sources/Gtk.metadata (TextIter.ForwardSearch): Add out param (TextIter.BackwardSearch): Add out param here too. * sources/Gdk.metadata (Drawable.GetSize): Add out param. * gtk/TextBuffer.custom (Clear): Add a new Clear method. 2003-01-02 Alp Toker * api/gst-api.xml: Give int values to the ElementState enum, remove incorrectly generated SetInternalConnectionFunction and a duplicated type field 2003-01-01 Alp Toker * glade/XML.custom: Determine name of GladeWidget if none specified * glade/GladeWidgetAttribute.cs: ditto 2003-01-01 Rachel Hestilow * glade/XML.custom: New method BindFields. (Autoconnect): Call BindFields. * glade/GladeWidgetAttribute.cs: Added. * sample/GladeTest.cs: Test GladeWidgetAttribute. 2002-12-25 Rodrigo Moya * sources/gtk-sharp.sources: added libgphoto2. * api/gphoto-api.xml: added API file for libgphoto2. * gphoto/Makefile.in: added Makefile for building libgphoto2 bindings. * makefile: * configure.in: * api/Makefile.in: added libgphoto2 to build. 2002-12-25 Alp Toker * doc/makefile: Accept the RUNTIME parameter for platforms without /usr/bin/mono * sample/gconf/Makefile: ditto 2002-12-24 Mike Kestner * generator/ObjectGen.cs : generate protected GType ctors * generator/SymbolTable.cs : map GType to uint * glib/Object.cs : add GType ctor. add RegisterGType. * glue/type.c (gtksharp_register_type): new GType registrar * */*.custom : make GType params uints * sample/Subclass.cs : a simple type registration example 2002-12-24 Alejandro Sánchez Acosta * samples/tutorial/notebook: Added notebook sample. 2002-12-23 Alp Toker * glib/Thread.cs: Add a class for thread awareness * gdk/Threads.cs: ditto 2002-12-22 Kristian Rietveld * sources/Gnome.metadata: add out param rules for a bunch of Canvas methods (pointed out by Paul Duran). * api/gnome-xml.api: updated 2002-12-22 Robert McQueen * makefile: when doing distclean, attempt distclean on all the C# subdirs too * gconf/Makefile.in: added distclean target to rm the Makefiles in the subdirs of gconf/ * glue/Makefile.am: build libgtksharpglue as an unversioned module to avoid so -> so.0 -> so.0.0 symlink mess * */Makefile.in: call mkinstalldirs before installing any files so that subdirs can be installed seperately or in any sequence (eg binding dirs before native dirs) 2002-12-20 Alp Toker * api/gst-api.xml: Make Gst# link to libgstreamer.so as per pkg-config --libs gstreamer * sources/gtk-sharp.sources: ditto * gst/Application.cs: ditto * gst/Makefile.in: Reference the newly-built glib-sharp 2002-12-15 Alejandro Sánchez Acosta * sample/tutorial/spinbutton/SpinButton.cs: Added new SpinButton sample for the GTK# tutorial. * sample/tutorial/Makefile: Added new SpinButton sample. 2002-12-15 Gonzalo Paniagua Javier * api/gdk-api.xml: * sources/Gdk.metadata: PixbufLoader.Pixbuf have to ref the new Pixbuf. 2002-12-12 Gonzalo Paniagua Javier * glib/Log.cs: removed the IntPtr argument and keep a reference to the delegate passed to unmanaged world as suggested by rachel. 2002-12-11 Juli Mallett * gconf/Makefile.in, sample/Makefile.in: Use $(MAKE) not "make." * parser/Makefile.in: Use CFLAGS and CPPFLAGS hints from configure, and the base dependency CFLAGS. Fixes case where iconv.h is outside of the compiler's default path. 2002-12-10 Mike Kestner * released 0.6. 2002-12-10 Gonzalo Paniagua Javier * glib/Log.cs: New file. Wraps a few logging functions. Useful for debugging. 2002-12-10 Gonzalo Paniagua Javier * generator/Signal.cs: generate correct type name for EventArgs. 2002-11-29 Duncan Mak * gtk/TextBuffer.custom (Text): Add a new Text property. 2002-11-26 Gonzalo Paniagua Javier * sample/DbClient/GnomeDbClient.cs: * sample/DbClient/client.cs: make them build. 2002-11-25 Alejandro Sánchez Acosta * Added eventbox, rangewidget, scribble and packing sample widget. * Changed togglebutton sample. 2002-11-21 Mike Kestner * api/*.xml : a few new attrs * generator/Parameters.cs : remove redundant ref keywords * gtk/ListStore.custom: overload SetColumnTypes * gtk/TreeStore.custom: overload SetColumnTypes * parser/GAPI/Metadata.pm : allow callback nodes at class level * sources/Gtk.metadata : hide ClipboardClearFunc and GetFunc, tag types param of SetColumnTypes as array, uncomment needs_ref tags on Widget methods to match the current api.xml file 2002-11-19 Mike Kestner * gtk/Dialog.custom : bind another ctor 2002-11-17 Radek Doulik * glib/Value.cs: cast Typefundamentals.* to uint (GType is unsigned int), fix Value (GLib.Object) - use new GetGType method * glib/Object.cs: new GetGType method, returns _obj GType 2002-11-17 Daniel Morgan * pango/Scale.cs: added file containing constants for text widgets needing Pango Scale Attribute 2002-11-13 Vladimir Vukicevic * gtk/CanvasItem.custom: use base() to set Raw in constructor, so that the ref counting semantics get correctly set up 2002-11-10 Gonzalo Paniagua Javier * glade/XML.custom: converted from Latin1 to UTF8 to make the generator go on. 2002-11-10 Vladimir Vukicevic * glib/Object.cs: add needs_ref boolean that controls whether we need to ref this object once we have a pointer to it or not. By default this is set to true -- constructors and other functions where we do own the object need to set this to false before setting the "Raw" property. Also added Unref and RefCount methods. * glue/object.c, glue/type.c: some utility functions for refcounting support * gdk/Pixbuf.custom: manually wrap a few functions so that the refcount ends up being correct at the end (need an extra Unref) * api/gdk-api.xml, sources/Gdk.metadata: metadata updates for hiding manually-wrapped Pixbuf stuff 2002-11-10 Vladimir Vukicevic * generator/StructBase.cs: create a Zero static member for use when the IntPtr is NULL. * generator/SignalHandler.cs, generator/CallbackGen.cs: removed call to Initialize for structs * gtk/Clipboard.custom, gtk/ClipboardClearFunc.cs, gtk/ClipboardGetFunc.cs, gtk/GtkSharp.GtkClipboardClearFuncNative.cs, gtk/GtkSharp.ClipboardGetFuncNative.cs, SelectionData.custom: Hand-wrapped selection handling stuff, along with relevant signals and the like. * gnome/voidObjectAffineSVPintSignal.cs: removed Initialize for hand-wrapped signal * sample/GnomeHelloWorld.cs, sample/Size.cs: compare against .Zero instead of using IsNull * api/gtk-api.xml, sources/Gtk.metadata: metadata updates for hiding some manually-wrapped stuff 2002-11-10 Alejandro Sánchez Acosta * sample/tutorial: added some examples for the gtk# tutorial 2002-11-06 Duncan Mak * sample/Scribble.cs: Make it compile. 2002-11-06 Gonzalo Paniagua Javier * autogen.sh: * configure.in: added configuration summary. 2002-11-03 Alp Toker * sources/gtk-sharp.sources: Update to support GStreamer 0.4.2 * api/gst-api.xml : ditto * gst/Application.cs : ditto 2002-11-01 Alp Toker * configure.in : Add GStreamer support * api/Makefile.in : ditto * api/gst-api.xml : ditto * sources/gtk-sharp.sources: ditto * gst/Makefile.in : ditto * gst/Application.cs : Gst initialization * sample/GstPlayer.cs : An example which uses the Gst binding * generator/Parameters.cs : Add 'fixed' keyword to name mangler * generator/StructBase.cs : ditto * generator/Parameters.cs : Fix Initialize() for set accessors * generator/Ctor.cs : ditto * generator/Method.cs : ditto * generator/SymbolTable.cs : Add gint64, guint64 to simple types 2002-10-29 Mike Kestner * generator/Signal.cs : Fix namespacing of Args. 2002-10-27 Mike Kestner * configure.in : bump version to 0.6. 2002-10-26 Mike Kestner * gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : ns stuff * glade/XML.custom : more GnomeSharp namespace stuff * gnome/CanvasProxy.cs : ditto * sample/CanvasExample.cs : ditto * sample/Fifteen.cs : ditto * sample/GnomeHelloWorld.cs : ditto 2002-10-26 Mike Kestner Much of this patch from Vlad, with substantial rework by mk. * */makefile.win32 : introduce mapdllnames.pl, api, and glue * generator/CallbackGen.cs : rework namespacing for csc compilation * generator/Parameters.cs : ditto * generator/Signal.cs : ditto * generator/SignalHandler.cs : ditto * glue/win32dll.c : new dll construction source * glib/Value.cs : new ushort ctor/cast operator * gtk/Table.custom : comment this out until we add a default ctor tag * gtk/ThreadNotify.cs : make ReadyEvent public * sources/Gdk.metadata : mark a Parse() param as ref 2002-10-26 Ettore Perazzoli * glib/Object.cs: Changed so that Objects is a hash of WeakReferences instead of hashing the real objects. Without this change, GObjects were never collected. (Raw, set): Put a WeakReference to the object in Objects. (Object.GetObject): Get the WeakReference from Objects, and from there the actual object. (Object.DisposeNative): Remove the Raw pointer from Objects. 2002-10-26 Mike Kestner * api/*.xml : get libgda and libgnomedb metadata setup * gconf/*/Makefile.in : patch from MauricioC for -L's and /r's * gnomedb/Makefile.in : patch from MauricioC for -L's and /r's * generator/ClassBase.cs (ctor): mangle hash names for sigs and props * generator/Parameters.cs (MangleName): handle params, null, and ref * generator/Parser.cs (ParseNamespace): ignore "hidden" types * generator/StructBase.cs (MangleName): handle params, null, and ref * glib/Object.cs (Equals): kill, also kill == and != * sources/Gda.metadata : new, make Gda behave without hand edits * sources/GnomeDb.metadata : ditto 2002-10-21 Vladimir Vukicevic * glade/XML.custom: add SetCustomHandler() wrapper 2002-10-20 Miguel de Icaza * glib/Object.cs: Avoid recursive calls with the previous operator != and operator == 2002-10-19 Duncan Mak * glib/Source.cs: Added. 2002-10-19 Miguel de Icaza * glib/Object.cs: Added operator != and operator == overloads. 2002-10-19 Rachel Hestilow * gconf, sample/gconf: Added. * glue/combo.c: This was never added, add it now. * configure.in, makefile, sample/Makefile.in: Build new gconf bindings if gnome is enabled. 2002-10-14 Mike Kestner * glib/Object.cs (GetObject): remove (int) cast 2002-10-11 Martin Baulig * gtk/Combo.custom: New file. (Combo.SetPopdownStrings): New method to set the popdown strings from a string array. 2002-10-11 Martin Baulig * glib/ListBase.cs (ListBase.Append): New public method. (ListBase.Prepend): New public method. 2002-10-11 Martin Baulig * glib/FileUtils.cs: New file. Wrapped g_file_get_contents() here. 2002-10-10 Mike Kestner * generator/CallbackGen.cs : some fixes * generator/Parameters.cs (CreateSignature): handle void params 2002-10-10 Miguel de Icaza * gtk/ThreadNotify.cs: Avoid multiple notifications. 2002-10-09 Miguel de Icaza * glue/adjustment.c (gtksharp_gtk_adjustment_get_page_size): Added the glue. * gtk/Adjustment.custom: Added some more methods 2002-10-08 Kristian Rietveld (So Miguel told me just to go ahead and commit -kris) * gtk/TreeSelection.custom: new file, defines a working GetSelected method (GetSelected is a bit tricky function). * generator/InterfaceGen.cs (Generate): also call AppendCustom * sources/Gtk.metadata: hide the autogenerated Gtk.TreeSelection.GetSelected method. 2002-10-08 Miguel de Icaza * gdk/Point.custom: Use (x,y) instead. * gdk/Color.custom: Use the X rgb color format specification. * gdk/Rectangle.custom: Use the X geometry format for Rectangles. 2002-10-07 Vladimir Vukicevic * glue/style.c, gtk/Style.custom: handle getting GC's and colors correctly -- it's not possible to marshal arrays from C-land to mono correctly, so indexed accessors have to be used. 2002-10-08 Duncan Mak * gdk/Color.custom: * gdk/DeviceAxis.custom: * gdk/Point.custom: * gdk/Rectangle.custom: Committed ToString patches contributed by Jasper van Putten 2002-10-05 Vladimir Vukicevic * glib/GException.cs: g_clear_error takes a GError **, not a GError *. Added refs to get the **. 2002-10-04 Vladimir Vukicevic * glib/ObjectManager.cs, glue/type.c: If there isn't an exact match for a C GObject class (i.e. BluecurveStyle), walk up the gobject type hierarchy until we find a type that we do have a wrapper for, and return that. This means that you'll always, worst-case, end up with a GObject. * glib/Value.cs, glue/value.c: Added default constructor to GLib.Value() that creates a new value with a type of INVALID, and changed the glue function to not call gtk_type_init if INVALID is passed. 2002-10-02 Vladimir Vukicevic * gtk/TreeView.custom: added TreeView Handle as argument to set_model in Model property 2002-09-29 Rachel Hestilow * glue/canvas-proxy.c (update), glue/canvas-proxy-marshal.list: Marshal the array as a pointer for now. * gnome/voidObjectAffineSVPintSignal.cs: Added. * gnome/CanvasProxy.cs (Update): Use a custom signal handler. 2002-09-23 Miguel de Icaza * gtk/Style.custom: bind it. * gtk/Widget.custom: bind it. * glue/widget.c: Wrapper to fetch a GdkWindow from a widget. * glue/style.c: wrapper routines for getting/setting the thickness on a GtkStyle. 2002-09-21 Miguel de Icaza * gtk/TreeView.custom: Add Model.set to the TreeView 2002-09-21 Rachel Hestilow * parser/gapi2xml.pl: Adjust enum regex to allow negative values. 2002-09-16 Martin Baulig * gnome/Modules.cs (Module): Make this class public. * sample/CanvasExample.cs: Insert a missing `break' in a switch section to make this compile. * sample/Scribble.cs: Added missing casts from EventMask to int. 2002-09-15 Ricardo Fernandez Pascual * glade/XML.custom: Added a constructor to read the glade file from a stream and to read it from a resource in an assembly. * sample/Makefile.in * sample/GladeTest.cs: Embed the glade file as a resource and use the new constructor. 2002-09-13 Ricardo Fernandez Pascual * glade/HandlerNotFoundExeception.cs: Added. * glade/Makefile.in * glade/XML.custom: Support for autoconnecting signals using reflection. * glib/SignalAttribute.cs: Added. * generator/Signal.cs: Mark events generated from glib signals with the "Signal" attribute. * sample/GladeTest.cs * sample/Makefile.in * sample/test.glade: Test of signal autoconnection. 2002-09-12 Rachel Hestilow * sources/Gtk.metadata: Set null_ok on the callback argument to Menu.Popup. * generator/Parameters.cs: Handle null_ok properly for callback arguments. 2002-09-11 Miguel de Icaza * glib/Object.cs (DisposeNative): Call GC.SuppressFinalize, and set the obj to null. 2002-09-11 Rachel Hestilow * glib/Object.cs (Ref): Added. * gtk/Object.custom (Ref): Overload. Note that we were reffed. (DisposeNative): Unref if we were explicitly reffed. * generator/Method.cs: Call Ref if needs_ret is set. * generator/StructBase.cs: Call Ref on all object accessors. * glue/style.c: Ref returned GCs. * sources/Gtk.metadata: Set needs_ret on various gdk-related accessors in GtkWidget. Hide Ref/Unref methods on Widget and RcStyle as these ought to be deprecated anyway. 2002-09-11 Rodrigo Moya * gnomedb/Makefile.in: * gnomedb/Application.cs: added class for libgnomedb initialization. * sample/DbClient/GnomeDbClient.cs: new test file for libgnomedb. 2002-09-08 Rodrigo Moya * makefile: * configure.in: * sources/gtk-sharp.sources: added needed stuff for libgnomedb. * gnomedb/Makefile.in: * api/Makefile.in: * api/gnomedb-api.xml: new files for libgnomedb API. 2002-09-07 Rachel Hestilow * parser/gapi2xml.pl: Add support for "fake struct" opaque types. * generator/StructBase.cs: Generate wrapper fields for opaque fields as well as pointer fields. * api/gdk-symbols.xml: Remove GdkAtom as it is now wrapped. 2002-09-05 Gonzalo Paniagua Javier * sample/DbClient/client.cs: updated to make it compile. 2002-09-04 Mike Kestner * generator/ObjectGen.cs : generate dtors. * glib/Object.cs : Implement IDisposable. Add a new DisposeNative method. Implement default dtor. * glue/object.c : new gtksharp_object_unref_if_floating method. * gtk/Object.custom : override DisposeNative to check float bit. 2002-09-03 Juli Mallett * parser/Makefile.in: Use $(CC) instead of 'cc'. 2002-09-01 Rodrigo Moya * gda/Application.cs: new class for libgda initialization and event loop management. * gda/Makefile.in: added new file as a dependency. 2002-09-01 Gonzalo Paniagua Javier * glib/ListBase.cs: fixed compilation (the base class must be at least as accesible as the derived ones). 2002-08-31 Rodrigo Moya * api/gda-api.xml: new file for the libgda API. * gda/*: added libgda bindings. * sources/README: updated requirements. 2002-08-31 Rachel Hestilow Proper GList, GSList support. Read-only for now. * glue/list.c: Added. * glue/Makefile.am: Add list.c * glue/type.c: Add function gtksharp_is_object. * glib/ListBase.cs, List.cs: Added. * glib/SList.cs: Inherit from ListBase. * glib/Object.cs: Add static method "IsObject". * generator/Method.cs: Pass on element_type to constructor if specified. * generator/SymbolTable.cs: Move GList to manual types. * sample/GladeViewer.cs: Remove list hacks. * sources/Gnome.metadata: Specify element types for CanvasPathDef.Split and IconList.GetSelection. Rename CanvasPathDef *to methods to properly capitalized *To. * sources/Gtk.metadata: Hide Widget.ListAccelClosures until GClosure is handled properly. * sources/Pango.metadata: Added. * sample/test/TestToolbar.cs: Compile with recent delegate changes. 2002-08-31 Rachel Hestilow * glib/Idle.cs: Added. * gtk/Application.cs: Add EventsPending, RunIteration. * sample/TreeViewDemo.cs: Add a status dialog while populating tree. 2002-08-31 Rachel Hestilow * generator/Method.cs: Re-enable "if null then new" behavior for Opaques. 2002-08-29 Rachel Hestilow * glib/DelegateWrapper.cs: Forgot to add this. 2002-08-28 Rachel Hestilow * generator/CallbackGen.cs: Generate wrappers to map from managed delegates to native ones. * generator/Ctor.cs: Call parms.Initialize for the static case. * generator/Parameters.cs: Add "CType" property. Append [] to CSType if necessary. Add "HideData" property if a container wishes to hide the user_data (used in callbacks). (Initialize): Add case for callback. * generator/SymbolTable.cs: Add size_t. * glue/program.c: string[] marshalling is no longer broken, remove hack. * sources/Gtk.metadata: Disable GtkColorSelection.SetChangePaletteHook and GtkTreeView.GetSearchEqualFunc for now, they return delegates and we don't support native->managed delegate mapping yet. 2002-08-28 Joe Shaw * makefile: Add the art directory back in; fixes the build. 2002-08-26 Rachel Hestilow * sources/Gtk.metadata: Add null-ok for Menu.Popup. 2002-08-25 Juli Mallett * makefile: Fix recursive invocation of make(1) to use the variable MAKE, to use the same utility that was responsible for the invocation of the initial build. 2002-08-25 Miguel de Icaza * gtk/TextBuffer.custom: Added SetText with a single argumnet. * gtk/Table.custom: Added empty constructor. GtkTables automatically grow. 2002-08-23 Rachel Hestilow * glue/Makefile.am: Fix # terminators. 2002-08-23 Rachel Hestilow * Applied patch from Robot101 for maintainer-clean, etc. Needed for packaging. 2002-08-20 Rachel Hestilow * generator/SymbolTable.cs (Trim): Work around "void*". Libart has a lovely API... 2002-08-22 Mike Kestner * glib/IWrapper.cs : remove set_Handle * glib/Object.cs : ditto * glib/Opaque.cs : ditto 2002-08-22 Mike Kestner * glib/Makefile.in : rm -rf generated on make clean target * gnome/CanvasProxy.cs : add missing Signals hash. 2002-08-20 Rachel Hestilow Ditto for generator and api. 2002-08-20 Rachel Hestilow * parser/makefile: Rename to Makefile.in, change prefix to @prefix@. * configure.in: generate parser/Makefile. 2002-08-20 Rachel Hestilow * makefile: Add parser to build (for install only) * parser/makefile: Add distclean target. * parser/gapi.pl: Forgot to add this. * api/: Replace APIs with correctly generated ones. 2002-08-20 Rachel Hestilow * README.generator: Added docs on using the generator. 2002-08-19 Rachel Hestilow * art/Makefile.in (clean): Change to avoid bugging out on generated/CVS. * glib/ObjectManager.cs: Added. Used to be auto-generated, but now it can infer names, and relies on per-namespace ObjectManager classes to inform it of oddly-named classes. * generator/IGeneratable.cs, GenBase.cs: New "DoGenerate" property. * generator/*Gen.cs: Honor DoGenerate. * generator/CodeGenerator.cs: Support including dependency files which will not be generated. * generator/ObjectGen.cs: Generate mapping file per-namespace, as one that calls back to the one in glib. Only generate if the name does not follow the normal conventions, otherwise, GtkSharp.ObjectManager can infer the name. * generator/Parser.cs: Accept 'generate' flag to pass on to the IGeneratables. Parse a new toplevel element, "symbol", which adds a type to the SymbolTable (instead of hard-coding it). * generator/SignalHandler.cs: Do not optimize signal handler creation, instead creating them in their own namespaces. Do not generate if the calling Signal told us not to. * generator/Signal.cs: Do not generate handlers if container's DoGenerate is false. Adjust to the marshaller name being in a sub-namespace. * generator/SymbolTable.cs (AddSimpleType, AddManualType): Used to add simple and manually wrapped types at runtime instead of compile-time. (FromNative): Remove hard-coded cases for manually wrapped types, use a generic case instead. * api: Added. Move api files and generation targets here. * source: Added. Move source parsing here. * generator/makefile: Move actual generation to api/. * glib/Makefile.in: Remove generated/* target. * glue/Makefile.am: Fix to include canvas-marshal. Move canvas stuff to GNOME target. * gnome/CanvasProxy.cs: Update to work with SignalHandlers being namespace-specific. * parser/Metadata.pm: Moved to GAPI/Metadata.pm, renamed, etc. * parser/gapi2xml.pl: Use GAPI::Metadata. * parser/makefile: Install scripts, remove source parse build target. Rename formatXML to gapi_format_xml. 2002-08-17 Miguel de Icaza * gtk/ThreadNotify.cs: New file, used to notify invoke code in the main Gtk thread. 2002-08-17 Duncan Mak * gnome/CanvasProxy.cs: * gnome/GtkSharp.BoundsHandler.cs: * gnome/GtkSharp.DrawHandler.cs: * gnome/GtkSharp.PointHandler.cs: * gnome/GtkSharp.RenderHandler.cs: * gnome/GtkSharp.UpdateHandler.cs: C# glue for subclassing CanvasItems. * glue/canvas-proxy-marshal.c: * glue/canvas-proxy-marshal.h: * glue/canvas-proxy-marshal.list: * glue/canvas-proxy.c: Added the coverage signal. 2002-08-17 Duncan Mak * glue/canvas-proxy.c: * glue/canvas-proxy.h: New files. Glue for subclassing CanvasItem from C#. * glue/canvas-proxy-marshal.c: * glue/canvas-proxy-marshal.h: * glue/canvas-proxy-marshal.list: Added to handle marshaling signals used by CanvasProxy. 2002-08-15 Mike Kestner * sample/Makefile.in : add some art-sharp refs 2002-08-11 Miguel de Icaza * glub/adjustment.c: C-side of the Adjustment glue. * gtk/Adjustment.custom: Add new SetBounds function that allows us to change the adjustment after it has been created. 2002-08-15 Duncan Mak * generator/gtkapi.xml: New Libart stuff. * parser/build.pl: * gnome/Makefile.in: Added reference to atk-sharp.dll * generator/Parameters.cs (MangleName): Added cases for 'in' and 'out'. 2002-08-13 Joe Shaw * configure.in: Check for libgnomecanvas. * gtk/ColorSelectionDialog.custom: Create a button subclass which contains a reference to the parent ColorSelectionDialog. Modify properties to return this subclass instead of a regular Gtk.Button. * gtk/FileSelection.custom: Ditto. * sample/test/TestFileSelection.cs (file_selection_ok): Demonstrate the button subclass by destroying the parent dialog when the ok button is clicked. 2002-08-12 Rachel Hestilow [ Patch from Ricardo Fernandez Pascual for libglade support (slightly modified) ] * configure.in: Conditionally compile glade support. * makefile: Add glade directory. * glade/: Added. * sample/makefile.in: Add (conditional) glade example. * sample/GladeViewer.cs: Added. * glue/gladexml.c: Added. * glue/Makefile.am: Updated. * parser/build.pl: Parse libglade-2.0.0. * parser/README: Update requirements. 2002-08-12 Rachel Hestilow * parser/gapi_pp.pl: Handle "typedef struct {...}" construct. * glue/canvaspoints.c: Added. * glue/Makefile.am: Updated. * gnome/CanvasPoints.custom: Added. (Doesn't seem to work right yet, looking into this.) 2002-08-10 Rachel Hestilow * sample/TreeViewDemo.cs (Main, DeleteCB): Update to use correct event handler. 2002-08-09 Kristian Rietveld * parser/Gtk.metadata: add a bunch of out arg rules, add a vararg rule for the ListStore constructor, change method names of TreeModel's signal emission methods, remove opaque rule of GtkTreeIter, remove null_ok rules of TreeModel.IterNChildren and TreeModel.IterNthChild. * parser/Metadata.pm: add some code to be able to filter on parameter names. * generator/Method.cs: a method with accessor args and a non-void return value cannot be written as property. * sample/Makefile.in, sample/TreeViewDemo.cs: add a simple TreeView demo app. * gtk/ListStore.custom, gtk/TreeModel.custom, gtk/TreeModelSort.custom, gtk/TreeStore.custom, gtk/TreeView.custom: customizations. 2002-08-09 Mike Kestner * generator/ObjectGen.cs (GenerateMapper): guard against IntPtr.Zero 2002-08-09 Duncan Mak * sample/Fifteen.cs (Position): Made it a property instead of a public field. * sample/pixmaps/gnome-color-browser.png: Icon for Fifteen#. 2002-08-09 Mike Kestner * generator/SymbolTable.cs : make GLib.Value a manually_wrapped_type 2002-08-08 Mike Kestner * generator/Property.cs : getter usage fix 2002-08-08 Mike Kestner * generator/Method.cs : s/GetType/GetGType. Don't generated static methods for interfaces. * glib/Object.cs : add GType prop * gnome/*.custom : s/Type/GType * parser/Gtk.metadata : rule to make TreeIter opaque * parser/gapi2xml.pl : handle interface methods properly * sample/Fifteen.cs : s/Type/GType 2002-08-08 Mike Kestner * gdk/Event.cs : derived from Boxed, not Object. * generator/SymbolTable.cs : fixes for Gdk.Events 2002-08-07 Mike Kestner * generator/CodeGenerator.cs : call ObjectGen.GenerateMapper * generator/Method.cs : Remove the if null workaround * generator/ObjectGen.cs : build a hash of object types. (GenerateMapper): generate the GtkSharp.ObjectManager class. * glib/Object.cs : use ObjectManager.CreateObject. * glue/type.c : helper for typename lookup. 2002-08-07 Duncan Mak * sample/Fifteen.cs: Fixed scramble. The whole thing works now. 2002-08-06 Rachel Hestilow * generator/SignalHandler.cs: Handle null arguments and return values. * sample/Makefile.in: Add fifteen game. 2002-08-06 Gonzalo Paniagua Javier * sample/GnomeHelloWorld.cs: use DeleteEventHandler. 2002-08-07 Duncan Mak * sample/Fifteen.cs: Fixed movement logic. It works now. Added 'debug' flag. Run 'mono ./Fifteen.exe debug' to see movement info. 2002-08-07 Duncan Mak * sample/Fifteen.cs: Added new canvas example. 2002-08-06 Duncan Mak * glue/canvasitem.c: * gnome/CanvasItem.custom: Added accessor to get the 'canvas' field. * sample/CanvasExample.cs: Removed extra methods. 2002-08-05 Rachel Hestilow * makefile, */Makefile.in: Packaging fix from Robert McQueen (a.k.a. Robot101). 2002-08-05 Rachel Hestilow * gnome/Canvas*.custom, IconTextItem.custom: Added. * sample/CanvasExample.cs: Added. * sample/Makefile.in: Build canvas example in gnome build. 2002-08-05 Rachel Hestilow * parser/Gnome.metadata: Patch from duncan for bug #28553 (canvas item event handler rename). 2002-08-04 Joe Shaw * configure.in: We actually need libgnomeui, not libgnome. 2002-08-04 Mike Kestner Tagged for 0.3 and updated configure.in to 0.4. Back open for commits. 2002-08-03 Mike Kestner Freezing cvs for 0.3 release. Please no commits until the release. 2002-08-03 Mike Kestner * generator/Method.cs : Added IsGetter, IsSetter, ReturnType. Made GenerateImport, GenerateBody public. * generator/Parameters.cs : Added Parameter::MarshalType * generator/Property.cs : Added logic to use methods instead of text properties wherever possible. 2002-08-03 Rachel Hestilow * generator/Method.cs: Support libname overrides. Call parms.Finish. * generator/Parameters.cs: New method parms.Finish. Generate a temporary holder variable for enum out parameters. * generator/Property.cs: Pass a boolean to EnumWrapper indicating. if these are flags. * generator/StructBase.cs: Disable array marshalling (it is broken in mono.) * generator/SymbolTable.cs: Add methods IsEnumFlags. * glib/EnumWrapper.cs: New bool "flags". * glib/Value.cs: Call flags variant on GValue for enum props, if needed. * glue/Makefile.am, glue/style.c, glue/widget.c: Add widget and style field accessor methods. * gtk/Style.custom, Widget.custom: Added. * parser/README: Update requirements (needed for pixbuf drawable hack) * parser/Gdk.metadata: Fix library for pixbuf methods in gdk. Add Window.GetPointer "out" parameters. * parser/gapi2xml.pl: Remap gdk_draw_* methods to Drawable. * sample/Makefile.in: Add size and scribble samples. * sample/Scribble.cs: Added. 2002-08-02 Rachel Hestilow [ Mike, this is everything I wanted in for the release. ] * generator/StructBase.cs: Generate field accessors for wrapped types (opaque, object, and structs/boxed). Bitfields, unions, and arrays are still unsupported for accessors, and are probably marshalling incorrectly. But this is enough to get events working (see example in sample/GnomeHelloWorld.cs). * parser/Metadata.pm: Support a "delete" directive, and set metadata on structs and boxed (previously was only checking objects and interfaces). * parser/Gdk.metadata: Delete bogus entries GdkWindowObject and GdkPixmapObject (more evil drawable stuff.) * sample/GnomeHelloWorld.cs: Show an example of how to use marshalled events, in our selection callback. 2002-07-31 Rachel Hestilow * generator/StructBase.cs (GetFieldInfo): Generate strings correctly. Also, delegates are not marshalling correctly right now, change those to IntPtr. * generator/SymbolTable.cs: New method IsCallback. * sample/GnomeHelloWorld.cs: Use Gnome.App and stock menu items. Use the new event handlers. 2002-07-30 Rachel Hestilow * generator/ClassBase.cs: Change hasDefaultConstructor to protected, adjust now that it is an attr and not a subnode. Also add virtual property AssignToName (for ctors). * generator/Ctor.cs: Add property ForceStatic. (Generate): Optimize return code a bit for the static case. * generator/Method.cs: Assign to a "raw_ret" pointer before calling FromNativeReturn. * generator/Parameters.cs: Change "out ref" to "out", not "ref". * generator/Property.cs: Fix to work correctly with all object and struct types (mostly just some if-cases added). * generator/SignalHandler.cs: Remove args_type and argfields (unused). (Generate): Initialize struct if necessary. * generator/StructBase.cs: Massive reworking to support methods, ctors, etc. * generator/SymbolTable.cs: Add GdkAtom and gconstpointer simple types. * glib/Boxed.cs: Accept both IntPtr and object ctors. Add access for both. * glib/Opaque.cs: Fix copy/pasted copyright notice, remove data and event fields. Fix docs. * glib/Value.cs: Work correctly with boxed properties. * gnome/Modules.cs: Use new struct ctors. * gnome/Program.custom: Remove Get, this is being generated now. * parser/Gdk.metadata: Fix the drawable classes to inherit correctly. * parser/Metadata.pm: Change per-class attributes to actually be attributes. * parser/Gtk.metadata: Add a dummy attribute value for disabledefaultctor. * parser/gapi2xml.pl: Add hacks for the (broken) Drawable and Bitmap typedefs. * sample/test/TestColorSelection.cs: Display color string in hex format, update to use IsNull instead of == null, and size dialog to look pretty. * sample/Size.cs: Added. 2002-07-25 Rachel Hestilow [about 60% of the marshalling patch that I lost. The rest to come tomorrow.] * generator/BoxedGen.cs, StructGen.cs: Move most of this to StructBase, delete large chunks duplicated from ClassBase. * generator/IGeneratable.cs: Add MarshalReturnType, FromNativeReturn. * generator/ClassBase.cs: Move ctor stuff here. Add a CallByName overload with no parameters for the "self" reference. * generator/EnumGen.cs, CallbackGen.cs: Implement new MarshalReturnType, FromNativeReturn. * generator/Method.cs: Use container_type.MarshalType, CallByName, and SymbolTable.FromNativeReturn when generating call and import sigs. * generator/OpaqueGen.cs: Added. * generator/Property.cs: Handle boxed and opaques differently. * generator/SymbolTable.cs: Update for the opaque stuff and the new Return methods. Also change GetClassGen to simply call the as operator. * glib/Boxed.cs: Update for struct usage -- this is now a wrapper for the purposes of using with Value. * glib/Opaque.cs: Added. New base class for opaque structs. * glue/textiter.c, gtk/TextIter.custom: Remove. * gnome/Program.cs: Update for new struct marshalling. * parser/Metadata.pm: Use our own getChildrenByTagName. * parser/README: Update for new requirements (was out of sync with build.pl) * parser/gapi2xml.pl: Hide struct like const in field elements. * parser/gapi_pp.pl: Handle embedded union fields (poorly). * sample/test/TestColorSelection.cs: Comment out null color tests for now. 2002-07-24 Mike Kestner * generator/SignalHandler.cs : use ref parameters in signal cb's. 2002-07-24 Alp Toker * gtk/Makefile.in etc. : reference the newly compiled assemblies instead of those already installed on the system 2002-07-23 Mike Kestner * generator/Method.cs : implement static method generation. * parser/Gnome.metadata : map AppBar::ClearPrompt signal collision. * parser/Gtk.metadata : map IMContext::DeleteSurrounding collision. * parser/gapi2xml.pl : mark shared methods in the XML. 2002-07-20 Mike Kestner * generator/SignalHandler.cs : pring unexpected key in exception. 2002-07-20 Mike Kestner * generator/Method.cs : beef up !Validate warnings * generator/ObjectGen.cs : beef up !Validate warnings * generator/Parameters.cs (Validate): fail on ellipsis parm * parser/gapi2xml.pl : Handle more opaque types properly 2002-07-19 Duncan Mak * gtk/Paned.custom: * glue/paned.c: Glue code for getting child1 and child2 out from a Gtk.Paned. * glue/Makefile.am: Add paned.c 2002-07-19 Mike Kestner * generator/StructGen.cs : comment out GenField. It's broke. * sample/ButtonApp.cs : revert the EventAny WriteLine. 2002-07-19 Mike Kestner * parser/gapi2xml.pl : mark privately defined structs opaque. 2002-07-18 Mike Kestner * generator/StructBase.cs : use GetMarshalType for field gen. * sample/ButtonApp.cs : WriteLine the Gdk.EventAny in DeleteEvent. 2002-07-18 Mike Kestner * generator/StructGen.cs : make them public structs, not classes. * parser/build.pl : step up to the g2final tarballs. * parser/gapi2xml.pl : suppress *Private struct types. Mark ellipsis terminated param lists. 2002-07-18 Mike Kestner * generator/StructBase.cs : Mangle field names. * generator/StructGen.cs : uncomment GenField. 2002-07-18 Duncan Mak * parser/Gtk.metadata: Mark gtk_radio_menu_item_new_with_label, gtk_radio_button_new_with_label, gtk_radio_button_new and gtk_radio_button_new_with_mnemonic with null_ok flags. 2002-07-17 Radek Doulik * gtk/ScrolledWindow.custom: new file with ScrolledWindow custom default constructor use this (null, null) * parser/Metadata.pm: addClassData subroutine to add * parser/Gtk.metadata: disable default constructor for ScrolledWindow * generator/ObjectGen.cs: added hasDefaultConstructor flag, dont generate default protected empty constructor if hasDefaultConstructor is false, it will be provided by .custom file * generator/makefile (RUNTIME): use RUNTIME variable 2002-07-17 Rachel Hestilow * parser/Gtk.metadata: Tag MenuItem.SetSubmenu as null-ok. 2002-07-17 Rachel Hestilow * generator/Method.cs: Honor array in return type. * parser/Gtk.metadata: Tag FileSelection.GetSelections as array. * parser/Metadata.pm: Add "return" target. * parser/gtkhtml, parser/README: Add gtkhtml-stream.[ch]. Needed for url-requested signal. The actual wrapper for this compiles but is badly borked, it will probably need a lot of love. 2002-07-16 Mike Kestner * generator/ClassBase.cs : make MarshalType virtual. * generator/Parameters.cs : add Parameter class and Indexer. * generator/Signal.cs : Now use Parameters. (GetHandlerName): New abstraction of name handling. (GenerateDecls): use GetHandlerName. (GenComments): make private. (GenHandler): New. Generate custom event handlers and args. (Generate): use GenHandler. Pass args type to SignalHandler. * generate/SignalHandler.cs : store args type. Generate handler dependent args and use MulticastDelegate.DynamicInvoke. * generate/StructGen.cs : override MarshalType. * glib/SignalCallback.cs : store a MulticastDelegate and args type * sample/*.cs : use new DeleteEventHandler 2002-07-13 Rachel Hestilow * generator/Parameters.cs: Allow nulls if null_ok set. * generator/SymbolTable.cs: Add method IsStruct. * parser/Gtk.metadata, Gdk.metadata, Gnome.metadata: Merge in null_ok from *.defs. This is probably incomplete though, I've already found one method that wasn't listed. * sample/GnomeHelloWorld.cs: Remove IntPtr.Zero hack. 2002-07-13 Rachel Hestilow * parser/Gnome.metadata, Gtk.metadata: More conflict fixes. * parser/build.pl: Fully qualify all lib names. (Gtk+ packages are now LFS-compliant in Debian...) * parser/gapi2xml.pl: Fix for whitespace in fields, defines, and docs. * generator/BoxedGen.cs: Remove extraneous CallByName definition, add "override" keyword to FromNative. (Generate): Generate methods after fields. * generator/ClassBase.cs: Change CallByName, FromNative to virtual. (.ctor): Ignore "hidden" nodes. Set container on signal. (GenSignals, GenMethods): Add "implementor" argument for interface use. (Get(Method|Signal|Property)Recursively): Rework to correctly recurse interfaces. (Implements): Added. * generator/Ctor.cs (Initialize): Move clash initialization completely out of Generate, so we can check for collisions. * generator/Method.cs (GenerateDeclCommon): Check for duplicates, for "new" keyword. (Generate): Add "implementor" argument. * generator/ObjectGen.cs (Generate): Initialize ctor clashes on this and all parents, before generating. (Ctors, InitializeCtors): Added. * generator/Signal.cs: Store the container_type, check for collisions. * generator/StructGen.cs: Add "override" keyword to overriden methods. * gtk/FileSelection.custom (ActionArea): Add "new" keyword. 2002-07-11 Mike Kestner * glib/SList.cs : fix a couple DllImports 2002-07-11 Duncan Mak * glue/Makefile.am: Added dialog.c and colorseldialog.c * glue/dialog.c: * gtk/Dialog.custom: C# glue for getting more fields from a GtkDialog. * glue/colorseldialog.c: * gtk/ColorSelectionDialog.custom: C# glue for getting more fields from a ColorSelectionDialog. 2002-07-09 Mike Kestner * generator/ClassBase.cs : handle overloaded method hash collision * generator/SignalHandler.cs : generate *Handler delegates. stub *Args * parser/Gtk.metadata : add *Defaults method renaming 2002-07-08 Mike Kestner * glue/Makefile.in : s/BASE_SOURCES/BASESOURCES * parser/gapi_pp.pl : handle nested #if/#endif in ignored #if's * parser/makefile : make gtkapi.xml depend on gapi*.pl 2002-07-06 Rachel Hestilow * generator/Parameters.cs (Initialize): Initialize error to zero. 2002-07-06 Rachel Hestilow * ObjectGen.cs: Support static string elements. Do not generate Ctors or Signals if it is not a GObject. * parser/gapi2xml.pl: Add stock defines. 2002-07-05 Rachel Hestilow * glue/Makefile.am: Make this work cleanly, with all automake. 2002-07-05 Rachel Hestilow * configure.in: Conditionally compile Gnome. * parser/gapi_pp.pl: Handle line breaks in function declarations. * parser/gapi2xml.pl: Handle non-literals in property definitions. * glue/program.c: Added. * glue/Makefile.am: Add program.c (conditionally compiled). Update INCLUDES. * gnome/Makefile.in: Conditionally compile this. * gnome/Program.custom, Modules.cs: Added. * samples/Makefile.in: Conditionally compile gnome example. * samples/GnomeHelloWorld.cs: Use Gnome.Program. 2002-07-01 Rachel Hestilow * generator/gtkapi.xml: * parser/build.pl: Fix to use 3.0 (accidentally reverted in last commit). * generator/SymbolTable.cs (simple_types): Map gssize and gsize. * parser/Gdk.metadata: Tag PixbufLoader.Write's data parameter as array. 2002-07-01 Rachel Hestilow * generator/gtkapi.xml: * parser/build.pl: Qualify gnome lib names; this is needed because of debian/LSB policy. 2002-06-26 Duncan Mak * generator/gtkapi.xml: * parser/build.pl: Point to 'gtkhtml-3.0' instead of gtkhtml-2. 2002-06-26 Rachel Hestilow * generator/*.cs: Deal with whitespace XmlNodes. * parser/build.pl: Dump non-indented file to local directory. * parser/makefile, parser/formatXml.c: Added. * generator/gtkapi.xml: Nicely indented now. woo! 2002-06-26 Rachel Hestilow * parser/Gtk.metadata: Change gtk_label_new to be the preferred constructor. * gdk/Event.cs: Add "IsValid" property (sometimes NULL events get sent in signals). * sample/GnomeHelloWorld.cs: Check to make sure iconlist event is valid. 2002-06-26 Rachel Hestilow * configure.in, makefile, makefile.win32: add gnome. * doc/index.html, netdoc.xsl: Add gnome. * gdk/Event.cs: New manual wrap for GdkEvent. * generator/ClassBase.cs: Add methods GetProperty, GetPropertyRecursively, GetMethodRecursively. Move Parent property here from ObjectGen.cs. Pass this pointer into Property. * generator/Ctor.cs: Generate docs. * generator/Method.cs, Property.cs: Tag method as "new" if a Method/Property with the same name is found in the class hierarchy. * generator/SignalHandler.cs: Correctly wrap complex signal argument types. Add gnome directory. * generator/SymbolTable.cs: Add manually wrapped types hash (contains GLib.GSList and Gdk.Event). Add method IsManuallyWrapped. * glib/SList.cs: Add constructor from IntPtr. * glue/slist.c, glue/event.c: Added (field accessor glue). * glue/Makefile.am: Update. * parser/Gtk.metadata: Add new signal renames for new signals exposed by GdkEvent changes. * parser/README, parser/build.pl: Add libgnome, libgnomecanvas, libgnomeui. * parser/gapi2xml.pl: Handle literal-length array parameters, and NULL property doc strings. * sample/: Add new test GnomeHelloWorld.cs. * gnome/: Added. * parser/Gnome.metadata: Added. 2002-06-25 Mike Kestner * generator/gtkapi.xml : lots of fixes, plus GtkHTML! * parser/Gtk.metadata : add a bunch of renames. * parser/build.pl : Add the gtkhtml parse. * parser/README : module list to parse 2002-06-25 Mike Kestner * parser/gapi2xml.pl : some GtkHTML related parsing tweaks. 2002-06-25 Rachel Hestilow * makefile: back out a premature add of gnome 2002-06-25 Rachel Hestilow * doc/: Added the makeshift doc generation toolchain. 2002-06-25 Mike Kestner * configure.in : back out a premature add of gnome/Makefile.in 2002-06-24 Rachel Hestilow * glib/UnwrappedObject.cs: New class which holds an IntPtr. This is used in Value so that we can retrieve the IntPtr itself for an object property. * glib/Value.cs: Add UnwrappedObject cast operator. * glib/Property.cs: If the retrieved value is an object, and there is no wrapper object, create a new one. 2002-06-24 Rachel Hestilow * gtk/FileSelection.custom: Remove random cruft that was at the beginning of this file. 2002-06-24 Rachel Hestilow * glib/EnumWrapper.cs: New class which holds an enum int. * glib/Value.cs: Add support for glib enum types. We needed to use EnumWrapper for this because otherwise the int operator wouldn't know which glib function to use. * generator/BoxedGen.cs, ClassBase.cs, Ctor.cs, EnumGen.cs, InterfaceGen.cs, Method.cs, ObjectGen.cs, Signal.cs, StructGen.cs: Create more doc stubs. * generator/Property.cs: Generate enum values correctly. * generator/Ctor.cs: Refactor generation to honor metadata-specified collision preference. * parser/Gtk.metadata: Added constructor collision preferences to all known clashes. * parse/Gdk.metadata: Added (for Pixbuf clashes). 2002-06-24 Duncan Mak * glue/fileselection.c: New file, defines accessor functions to fields inside a GtkFileSelection. * gtk/FileSelection.custom: C# glue that makes use of new accessor functions defined in fileselection.c. * glue/Makefile.am: Added fileselection.c 2002-06-23 Rachel Hestilow * glib/Object.cs, glib/SList.cs, glib/Value.cs, gtk/Application.cs: Move documentation to right before their actual methods, rather than the DllImported ones. * generator/Method.cs: Generate documentation before the actual method and not the DllImport. 2002-06-23 Rachel Hestilow * generator/ClassBase.cs: Add accessors for methods and signals. Change GenSignals and GenMethods to public, as csc has a different idea of protected than mcs. Handle interface collisions in GenMethods. * generator/Method.cs: Add accessor Protection - "public" by default. * generator/ObjectGen.cs: Make sure wrapper's Signals hashtable only gets generated once. Generate a list of collisions for GenMethods. Remove dead foreach loop from Validate. * generator/Paramaters.cs (CreateSignature): Initialize last_param. * parser/Gtk.metadata: Add property & event collision renames for TextBuffer and OldEditable. * sample/makefile.win32: Reference atk-sharp.dll. * makefile.win32: Do not build gdk.imaging. 2002-06-22 Mike Kestner * */makefile.win32 : add docs target * generator/ClassBase.cs : Make GenMethods public for interface gen * generator/Method.cs : Lose the CallingConvention * generator/Parameters.cs : fix uninitialized var * generator/SignalHandler.cs : Lose the CallingConvention * generator/StructBase.cs : Lose the CallingConvention 2002-06-21 Michael Meeks * sample/Makefile.in: re-factor slightly. 2002-06-21 Mike Kestner * gtk/*akefile* : lose the gdk-imaging-sharp refs 2002-06-21 Mike Kestner * configure.in : remove gdk.imaging/Makefile creation. 2002-06-21 Mike Kestner * makefile : remove gdk.imaging from the build * gdk.imaging/* : kill * generated/BoxedGen.cs : XmlNode namespace handling. Use GenBase. * generated/CallbackGen.cs : XmlNode namespace handling. * generated/Ctor.cs : construct with libname not ns. * generated/EnumGen.cs : XmlNode namespace handling. * generated/GenBase.cs : XmlNode namespace handling. Make AppendCustom an instance method so it can use the private fields instead of params. * generated/InterfaceGen.cs : XmlNode namespace handling. * generated/Method.cs : construct with libname not ns. * generated/ObjectGen.cs : XmlNode namespace handling. * generated/Parser.cs : Use new XmlNode namespace ctors. * generated/Signal.cs : Lose the namespace field. * generated/StructBase.cs : derive from ClassBase * generated/StructGen.cs : XmlNode namespace handling. Use GenBase. * generated/SymbolTable.cs : nuke GetDllName method. * generator/gtkapi.xml : Add library name to namespace node. * parser/build.pl : refactor for library name param * parser/gapi2xml.pl : add libname param handling * sample/Makefile.in : build linux on make install, but don't install. 2002-06-21 Rachel Hestilow * generator/ClassBase.cs: New base class for classes and interfaces. * generator/InterfaceGen.cs: Inherit from ClassBase, generate declarations. * generator/ObjectGen.cs: Move half of this into ClassBase. * generator/Method.cs: Turn all applicable Get/Set functions into .NET accessors. Remove redundant == overload and move into Equals, as it was confusing "!= null". * generator/Parameters.cs: Alter signature creation to accept "is_set" option, add support for variable arguments. Add properties "Count", "IsVarArgs", "VAType". * generator/Ctor.cs: Fixup for changes in Parameters (indenting, signature creation). * generator/Signal.cs: Support generating declarations. * generator/SymbolTable: Change GetObjectGen to GetClassGen. * glib/IWrapper.cs: Move "Handle" declaration to here, so both classes and interfaces can benefit from it. * glib/Object.cs: Inherit from IWrapper.cs * parser/Metadata.pm: Support attribute changes on constructors, methods, signals, and paramater lists. * parser/gapi2xml.pl: Parse init funcs for interfaces. Ignore "_" functions here. * parser/gapi_pp.pl: Remove boxed_type_register check, as it will be caught in the init funcs. * parser/Atk.metadata: Added. * parser/Gtk.metadata: Add all needed signal/method collision renames. Rename GtkEditable.Editable accessors to IsEditable, as .NET does not like accessors with the same name as their declaring type. Tag TreeStore constructor as varargs. * samples/ButtonApp.cs: s/EmitAdd/Add. * samples/Menu.cs: s/EmitAdd/Add, s/Activate/Activated. 2002-06-21 Mike Kestner * */makefile.win32 : add /doc flags * */.cvsignore : ignore .xml files 2002-06-21 Mike Kestner * gdk.imaging/Makefile.in : add a missing -L * gtk/Makefile.in : add a missing -L * generator/Method.cs : Add some docs stubbage 2002-06-20 Mike Kestner * generator/Parameters.cs : GError handling overhaul * generator/SymbolTable.cs : map GError to IntPtr * glib/GException.cs : Refactor to use glue. * glue/Makefile.am : add the error.c file. * glue/error.c : glue for error message string access * gtk/makefile.win32 : ref the gdk-imaging-sharp assembly 2002-06-19 Mike Kestner * generator/Parameters.cs : csc build error fixes 2002-06-14 Rachel Hestilow * glib/GException.cs: Added. * generator/Ctor.cs, Method.cs: Tag function as unsafe if it throws an exception. Call parms.HandleException. * generator/Paramaters.cs: Add property ThrowsException (based on a trailing GError**). If ThrowsException, mask GError in the signature, initialize a GError in Initialize, and add new method HandleException to throw an exception if error != null. * generator/SymbolTable.cs: Add gdk-pixbuf DLL, and GError type. * gdk.imaging, gdk.imaging/Makefile.in, gdk.imaging/makefile.win32: Added. * configure.in, Makefile, makefile.win32: Build gdk.imaging. * gtk/Makefile.in, gtk/makefile.win32: Link against gdk.imaging. * parser/gapi2xml.pl: Support namespace renaming. * parser/build.pl: Build gdk-pixbuf as gdk.imaging. 2002-06-09 Rachel Hestilow * generator/GenBase.cs: new method AppendCustom, moved from ObjectGen. * generator/BoxedGen.cs, ObjectGen.cs, StructGen.cs: Call AppendCustom in Generate (); * generator/Method.cs, Parameters.cs: Add support for "out" parameters. Additionally, output an accessor instead of a regular method if it is an accessor-style function (ie GetStartIter). * generator/Property.cs: Add additional cast to Boxed, if necessary. * glue/textiter.c: New constructor for GtkTextIter. * glue/Makefile.am: Add textiter.c, build with Gtk+ cflags. * configure.in: Check for Gtk+ cflags. * parser/Metadata.pm, Gtk.metadata: Added. * parser/gapi2xml.pl: Call Metadata::fixup on the document. Also work around gtk's screwy boxed type name registration (GtkFoo -> GtkTypeFoo). * gtk/TextIter.custom: Added. 2002-06-06 Mike Kestner * glib/Timeout.cs : new Timeout class with Add() and TimeoutHandler delegate. 2002-06-05 Mike Kestner * generator/Property.cs : Fix get{} GLib.Value passing. * glib/Object.cs : GetProperty passes the GLib.Value now. * glib/Value.cs : Add a ctor to create Values for props. * glue/value.c : add gtksharp_value_create_from_property. 2002-05-29 Mike Kestner * */Makefile.in : remove generated source in clean target. 2002-05-29 Mike Kestner * generator/CallbackGen.cs : Fix build breaker from refactoring. * sample/Makefile.in : Build the menu sample on linux. 2002-05-28 Mike Kestner * makefile : add separate targets for native and platform independent products per request from debian packager Alp Toker 2002-05-26 Mike Kestner * generator/Parser.cs : Implement Alias node parsing. * generator/SymbolTable.cs : resolve aliased types. 2002-05-23 Mike Kestner * generator/BoxedGen.cs : Update for Static SymbolTable * generator/CallbackGen.cs : Use GenBase and Parameters classes * generator/CodeGenerator.cs : Update for Static SymbolTable * generator/Ctor.cs : code from StructBase using Parameters class * generator/EnumGen.cs : Use GenBase * generator/GenBase.cs : Abstract Stream Writer creation, stream boilerplate, and common *Name properties * generator/IGeneratable.cs : Update for Static SymbolTable * generator/InterfaceGen.cs : Use GenBase * generator/Method.cs : code from StructBase using Parameters class * generator/ObjectGen.cs : Major refactoring. Use GenBase. Build tables of Member generatables at construct time to facilitate future name collision resolution logic. * generator/Parameters.cs : new generatable to abstract duplicated parameter parsing logic. * generator/Parser.cs : Update for Static SymbolTable * generator/Property.cs : code from ObjectGen * generator/Signal.cs : code from ObjectGen * generator/SignalHandler.cs : Update for Static SymbolTable * generator/StructBase.cs : Update for Static SymbolTable * generator/StructGen.cs : Update for Static SymbolTable * generator/SymbolTable.cs : Make all methods and private members static. There is no reason to ever have multiple tables. 2002-05-13 Joe Shaw * sample/Makefile.in: Use -L compiler flags and specify all of the assemblies to link against. 2002-05-13 Joe Shaw * gtk/Makefile.in: Add the System.Drawing assembly to the compiler command-line. 2002-05-08 Joe Shaw * generator/ObjectGen.cs (GenProperty): And uncomment it out because the compiler bug is fixed. 2002-05-08 Joe Shaw * generator/ObjectGen.cs (GenProperty): Comment the last checkin out because it exposes a compiler bug. (GenSignal): Back this change out. 2002-05-08 Joe Shaw * */Makefile.in: Don't allow the shell to do file globbing; makes --recurse work. * generator/ObjectGen.cs (GenProperty): We need to cast a GLib.Value to a GLib.Object and then to whatever it is, because explicit casts don't work to child classes. (GenSignal): Append "EventHandler" when generating signal handlers so we don't get symbol conflicts. 2002-05-07 Mike Kestner * generator/SymbolTable.cs : map char to string. 2002-05-07 Mike Kestner * */Makefile.in : Add clean targets. Add -L parms. 2002-05-06 Mike Kestner * generator/ObjectGen.cs : When generating a ctor(void) for subclassing purposes, mark it protected, not public. Thanks to Miguel for reporting this bug. 2002-05-03 Mike Kestner * sample/makefile.win32 : add the Menu sample * sample/Menu.cs : A menu and box packing sample. 2002-05-02 Mike Kestner * generator/ObjectGen.cs : Add support for .custom files. * gtk/Window.custom : clean up build * sample/HelloWorld.cs : Use the customizations. * sample/ButtonApp.cs : Use the customizations. 2002-05-02 Mike Kestner * README : Describe the new make procedure. * configure.in : Add the new Makefile generation. * makefile : add the glue dir, make linux the default build, add an install target * */makefile.win32 : temp build files for win32 * */Makefile.in : new configurable make system * */makefile : killed * generator/BoxedGen.cs : Now uses GLib.Boxed * generator/ObjectGen.cs : Use Values for Props. * generator/SymbolTable.cs : Add IsEnum method. * glib/Boxed.cs : Major overhaul. * glib/Object.cs : Remove type specific (Get|Set)Property. Now use GValue based property accessors. * glib/TypeFundamentals.cs : Update to current values. * glib/Value.cs : Refactor to use glue. 2002-04-25 Mike Kestner * autogen.sh : simple config for the glue build * configure.in : simple config for the glue build * makefile : add glue dir to build * glib/SList.cs : Fix some leakage. * glue/value.c : a helper function for heap alloc of GValues * glue/Makefile.am : build for libgtksharpglue 2002-04-19 Mike Kestner * glib/SList.cs : A more sane approach. * glib/Value.cs : Marshal strings directly with pinvoke 2002-04-18 Joe Shaw * */makefile: Allow a different MCS to be passed in on the make command line. 2002-04-09 Mike Kestner * tagging for gtk-sharp-0.1 2002-04-09 Mike Kestner * sample/ButtonApp.cs : Get it to run on linux. 2002-04-04 Mike Kestner * generator/CallbackGen.cs : Unstubify. * generator/SymbolTable.cs : qualify some simple typenames. 2002-03-29 Mike Kestner * */makefile : add make linux target. 2002-03-29 Mike Kestner * generator/SymbolTable.cs (Trim): revamp TrimEnd call. 2002-03-28 Mike Kestner * generator/SignalHandler.cs : switch to 2.0 libs * generator/SymbolTable.cs : switch to 2.0 libs * glib/Object.cs : switch to 2.0 libs * glib/SList.cs : switch to 2.0 libs * glib/Value.cs : switch to 2.0 libs * gtk/Application.cs : switch to 2.0 libs 2002-03-26 Mike Kestner * generator/SignalHandler.cs : Use Path.DirectorySeparatorChar. 2002-03-25 Mike Kestner * generator/StructBase.cs : Throttle _gtk methods. * generator/SymbolTable.cs : tweak dll names. * glib/Object.cs : restructure DllImports and prop code. * glib/SList.cs : restructure DllImports. * glib/Value.cs : restructure DllImports. * gtk/Application.cs : overload Init() to get past the string[] marshaling crash on linux. * sample/HelloWorld.cs : Use App::Init() since no args are needed. 2002-03-24 Mike Kestner * generator/*Gen.cs : Use Path.DirectorySeparatorChar. * generator/Parser.cs : better debug for unexpected types. * generator/SymbolTable.cs : Use linux library names. 2002-03-07 Mike Kestner * generator/CodeGenerator.cs : Refactor generatable iteration. * generator/SymbolTable.cs : Add Generatables property to expose complex_types.Values. 2002-03-02 Mike Kestner * makefile : add linux build. * generator/makefile : add linux build. 2002-02-19 Mike Kestner * generator/BoxedGen.cs : Add ctor and method generation. * generator/StructBase.cs : Switch to Raw syntax. * glib/Boxed.cs : Add Handle prop, make Raw protected, and add ctors. * glib/Object.cs : s/RawObject/Raw to simplify generation. 2002-02-19 Mike Kestner * generator/Statistics.cs : New. Gathers stats about generation. * generator/*.cs : Hook in the stat counters. 2002-02-18 Mike Kestner * generator/StructBase.cs (GenCtor): StudCapsify static method names. * generator/SymbolTable.cs (Trim): strip const- prefix. * sample/ButtonApp.cs (Window_delete): handle RetVal. 2002-02-17 Mike Kestner * generator/StructBase.cs (MangleName): add object and event. * parser/gapi2xml.pl : Handle embedded callback declarations in method parameter lists. 2002-02-15 Mike Kestner * generator/SignalHandler.cs : Create the SignalArgs.Args array and fix indexing into it. * sample/ButtonApp.cs : A little cleanup. Not quite there yet. * sample/HelloWorld.cs : Set up the RetVal in the delete handler. 2002-02-14 Mike Kestner * generator/ObjectGen.cs : suppress generation of get/set methods when properties exist. Mangle method names on signal name clashes. Gen the signals. * generator/SymbolTable.cs : Add GetName. Add some more calls to Trim. * generator/gtkapi.xml : adding binary file as an experiment. If the diff's show this file, I'll be removing it with apologies and going back to the separate package idea. * parser/gapi2xml.pl : some signal related fixes. * sample/HelloWorld.cs : uncomment the event hook. 2002-02-10 Mike Kestner * generator/BoxedGen.cs (FromNative): Add explicit cast. * generator/ObjectGen.cs (FromNative): Add explicit cast. (GenSignal): New. Partial. Not hooked in yet. * generator/StructBase.cs (GenMethod): return-type is a sub-element, not an attribute. 2002-02-09 Mike Kestner * generator/StructBase.cs (GenMethod): Add handle arg to paramless method call and extern. 2002-02-08 Mike Kestner * README : Some updates. * generator/BoxedGen.cs : Add FromNative method. * generator/CallbackGen.cs : Add FromNative method. * generator/EnumGen.cs : Add FromNative method. * generator/IGeneratable.cs : Add FromNative method. * generator/InterfaceGen.cs : Add FromNative method. * generator/ObjectGen.cs : Add FromNative method. Hook in GenMethod. * generator/StructBase.cs : Revamp param handling. Add GenMethod. * generator/StructGen.cs : Add FromNative method. * generator/SymbolTable.cs : Add FromNative method. * parser/gapi2xml.pl : Detect ctors before methods. Fix method names. * sample/HelloWorld.cs : uncomment the Show call. 2002-02-06 Mike Kestner * generator/BoxedGen.cs : Marshal as IntPtr using Raw prop. * generator/ObjectGen.cs : Use Handle for marshaling. * generator/StructBase.cs (CallByName): Fill out the stub. (GetImportSig): Fill out the stub. * generator/StructGen.cs (MarshalType): Use QualifiedName. * generator/SymbolTable.cs (GetMarshalType): Trim type. (CallByName): New. Provides calling syntax. * sample/HelloWorld.cs : Make it compile. 2002-02-02 Mike Kestner * generator/ObjectGen.cs : Add IntPtr constructor generation. Pass a ctor signature hash around to use in clash resolution. Generate a void ctor if none is present which just calls the parent ctor. * generator/StructBase.cs : Add non-void signature ctor generation, including collision handling logic. Collisions are implemented as static methods. * generator/SymbolTable.cs : Map GSList to GLib.SList. Add type trimming to remove trailing *'s. Need to suppress leading const yet. * glib/Object.cs : Add default ctor for void and IntPtr ctors. * glib/SList.cs : Implementation of a wrapper class for GSLists. Lots of FIXMEs. * parser/gapi2xml.pl : Handle ** and array params. 2002-01-17 Mike Kestner * generator/BoxedGen.cs : Removed Name, CName, and QualifiedName. * generator/ObjectGen.cs : Removed Name, CName, and QualifiedName. * generator/StructBase.cs : Add Name, CName, and QualifiedName. Add GenCtor method. Stub GetCallString, GetImportSig, and GetSignature methods. * generator/StructGen.cs : Removed Name, CName, and QualifiedName. * generator/SymbolTable.cs : Add GetDllName method. * parser/gapi2xml.pl : Fix a couple bugs. 2002-01-16 Mike Kestner * generator/BoxedGen.cs : New boxed type generatable. * generator/ObjectGen.cs : Add boxed type property generation and stub off interface properties for now. * generator/Parser.cs : Add boxed element parsing. * generator/SymbolTable.cs : Add IsBoxed and IsInterface methods. * glib/Boxed.cs : New base class for deriving boxed types. * glib/Object.cs : Add boxed GetProp/SetProp methods. * parser/gapi2xml.pl : Add boxed type element formatting. * parser/gapi_pp.pl : Add preprocessing of the generated sourcefiles. Handle the builtins and make them identifiable to the xml generator. 2002-01-11 Mike Kestner * generator/ObjectGen.cs : Add property generation. * generator/SymbolTable.cs : More fixage to simple_types. Add GetMarshalType and IsObject methods. * glib/Object.cs : Rename Events prop to EventList to avoid name collision. Add float, double, uint, and IntPtr GetProp and SetProp methods. * parser/TODO : Add a couple prop related bugs to come back for. * parser/gapi2xml.pl (addPropElems): Restructure. It was thoroughly broken. It's better now. 2002-01-10 Mike Kestner * generator/StructBase.cs (GenField): Return a bool success indicator. * generator/ObjectGen.cs : Check the return of GenField. * generator/SymbolTable.cs : More fixage to simple_types. * parser/gapi2xml.pl : Fix multiline comment bug, and callback name hashing logic. Squash callbacks that aren't in the namespace. * sample/HelloWorld.cs : Clean out some debugging to make it closer to compiling. Not quite there yet. 2002-01-08 Mike Kestner * generator/CallbackGen.cs : Use name in QualName, not cname. * generator/EnumGen.cs : Use name in QualName, not cname. * generator/InterfaceGen.cs : Use name in QualName, not cname. * generator/StructBase.cs (GenField): gen as public. 2002-01-08 Mike Kestner * generator/CallbackGen.cs : New stub for delegate generation. * generator/InterfaceGen.cs : New stub for interface generation. * generator/Parser.cs : Add the interface and callback element hooks. * generator/SymbolTable.cs : Additions to simple_types hash. 2002-01-07 Mike Kestner * generator/ObjectGen.cs : Make parent debug statement more helpful. * generator/Parser.cs : Add interface element case. * parser/gapi2xml.pl : Add interface types. * parser/gapi_pp.pl : Grab G_TYPE_INSTANCE_GET_INTERFACE defines. Grab struct declarations out of private headers. 2002-01-06 Mike Kestner * */makefile : Add atk to the build. * generator/EnumGen.cs : Create the generated dir if necessary. * generator/ObjectGen.cs : Create the generated dir if necessary. * generator/StructGen.cs : Create the generated dir if necessary. * parser/gapi2xml.pl : Squash bug in comma separated field defs. 2002-01-06 Mike Kestner * generator/EnumGen.cs : Open stream Create only. * generator/ObjectGen.cs : New generatable for GObject subclasses. * generator/Parser.cs : Add the object element hook. * generator/StructBase.cs : Handle bits element in GenField. * generator/StructGen.cs : Open stream Create only. * generator/SymbolTable.cs : Additions to simple_types hash. * parser/gapi2xml.pl : Parse bitflags into the bits element. 2002-01-05 Mike Kestner * generator/SymbolTable.cs : First pass at simple_types hash. 2002-01-05 Mike Kestner * generator/*.cs : Move into GtkSharp.Generation namespace. * generator/CodeGenerator.cs (Main): Add usage check. Add SymbolTable. * generator/EnumGen.cs (QualifiedName): New. (Generate): Add SymbolTable to signature. * generator/IGeneratable : Add QualifiedName prop and update Generate signature. * generator/Parser.cs : Switch from plain Hashtable to SymbolTable. (Parse): Replaces the Types property and returns a SymbolTable. * generator/StructBase.cs : New base class to derive struct and object types. Initial implementation of protected GenField method and ctor. * generator/StructGen.cs : New non-object struct type generatable. * generator/SymbolTable.cs : New. Manages complex types hash and a simple types hash. Will provide generic lookup interface. 2002-01-04 Mike Kestner * makefile : switch to the new generator. * generator/CodeGenerator.cs : New main program class. * generator/IGeneratable.cs : Interface for generation methods/props. * generator/EnumGen.cs : Subclass of IGeneratable for enums. * generator/Parser.cs : The XML parser. * parser/gapi_pp.pl : A source preprocessor for api extraction. * parser/gapi2xml.pl : Produces Xml document for GObject based APIs. 2001-12-31 Mike Kestner * codegen/defs-parse.pl : Fix EOL handling for DOS \r\n patterns as reported by David Dawkins. 2001-12-17 Mike Kestner * makefile : Add the pango subdir. * codegen/defs-parse.pl : Add a buttload of type entries to %maptypes and %marshaltypes. Ignore props, sigs, and methods for non GObject types. Turn on all classes. Major beefup of struct generation. Start to use the new sighandlers. Rip out const- types. Handle Unicode string marshalling. * codegen/gdk-structs.defs : Regenerated. * codegen/get-structs-from-source.pl : Handle typedef x y; Suppress structs with "Private" in the typename. Handle multiple levels of typedeffing. Handle function pointers. Suppress comments sanely. * codegen/gtk-props.defs : Fill out the rest of the classes. * codegen/gtk-signals.defs : Fill out the rest of the classes. * codegen/gtk-structs.defs : First pass. Hacked obscenely. * codegen/hardcoded.defs : Kill. No hardcoding needed anymore. * codegen/makefile : Use the new defs files. * codegen/pango.defs : Ripped from pygtk. * codegen/pango-structs.defs : New struct defs gen'd with my tool. * codegen/pango-types.defs : Ripped from pygtk. * gdk/makefile : Add the pango-sharp.dll ref. * gdk/SimpleEvent.cs : Killed. * glib/SimpleSignal.cs : Killed. * gtk/makefile : Add the pango-sharp.dll ref. * gtk/Widget.cs : Killed. * pango/makefile : New build dir. 2001-12-11 Mike Kestner * codegen/get-structs-from-source.pl : New define-struct extractor. * codegen/gdk-structs.defs : generated defs with a few hand edits. 2001-12-04 Mike Kestner * codegen/defs-parse.pl : Index %structs by cname, not name. Derive structs from class to facilitate marshalling since Value types can't use the Marshal.PtrToStructure method. Generate StructLayout attr for struct class defs. Stuff the signal args into a SignalArgs inst to pass to the EventHandlers. * sample/HelloWorld.cs : some cleanup and temporary signal playcode. 2001-12-01 Mike Kestner * makefile : Make ROOT /cygdrive/, not //. 2001-11-25 Mike Kestner * codegen/defs-parse.pl (get_sighandler): gen the helper class. arg passing and return value handling need beefing up still. * glib/SignalArgs.cs : New arg passing/ return value handling class. * glib/SignalCallback.cs (dtor): kill, this will be gen'd in the subclasses. (ctor): prune down to two params. 2001-11-24 Mike Kestner * codegen/defs-parse.pl : mkdir the glib/generated dir. (gen_signal): Call new get_sighandler sub. Doesn't use the returned value yet. s/event/ev3nt on arg names. (get_sighandler): new sub to lookup or gen a signal helper/delegate. Only generates the delegate so far. * codegen/hardcoded.defs : Added a stub for Gdk.Event. * gdk/Event.cs : Killed, now a generated struct. * gdk/SimpleEvent.cs (SimpleEventCallback): Use Marshal.PtrToStructure to create the Event, not a ctor(IntPtr). * glib/SignalCallback.cs : New abstract base class for signal helpers. 2001-11-14 Mike Kestner * codegen/defs-parse.pl : Add System.Collections to usings. s/event/signal. Add gen_signal sub and call it from gen_object. Mangle method names that collide with signal names by prepending Emit to the method name. * codegen/makefile : add gtk-signals.defs to the build. 2001-11-13 Mike Kestner * codegen/get-signals-from-source.pl : My own little perl signal parser. * codegen/gtk-signals.defs : Ripped the GtkWindow signals into here to goof with. 2001-11-10 Mike Kestner * codegen/defs-parse.pl : Fix String prop generation code. * gtk/Window.custom : Fix ctor param casting error. 2001-11-09 Mike Kestner * codegen/defs-parse.pl : Use the @ctors list to determine if a class is abstract. There is an abstract indicator in the new defs format description, but it doesn't appear in the defs files currently. This method should be reliable though, even in the long term. Use the same check to determine if ctor(IntPtr obj) should be gen'd. 2001-11-09 Mike Kestner * codegen/defs-parse.pl : Now genning Window, AccelGroup, Bin, and GdkPixbuf classes to peel the csc error onion. Explicitly add GObject to the "exists ($objects{...})" branches, since GObject is a hard coded Class. 2001-11-08 Mike Kestner * codegen/defs-parse.pl : Build a structs hash and gen the structs after the first pass of the defs. For structs and functions, mangle the 100s of params/fields named object to objekt. Insert using stmnts for structs too. * codegen/hardcoded.defs : Add GtkAccelEntry struct. 2001-11-07 Mike Kestner * codegen/defs-parse.pl (gen_object): Insert using statements. Insert class members from corresponding .custom file. * gtk/Window.custom : Renamed file from Window.cs. Removed all the automatically generated members. This will be the mechanism used to improve upon the mechanically generated binding. 2001-11-05 Mike Kestner * codegen/defs-parse.pl (gen_object): Generate a ctor (IntPtr obj) for every object. This is a wrapper constructor for use by an Object manager which will be called by GLib.Object.GetObject eventually to wrap raw GObject pointers returned by methods/props. 2001-11-04 Mike Kestner * codegen/defs-parse.pl : struct generation. Added float and double type mapping entries. * codegen/hardcoded.defs : GdkGeometry definition. define-struct doesn't appear to be supported in the current defs files. This file will be used for manual definition of unsupported defs. * codegen/makefile : add hardcoded.defs. 2001-11-02 Mike Kestner * codegen/defs-parse.pl : define-struct detection. Partial ctor support. Still need to deal with ctor signiature collisions. Refactored gen_method to share get_param_strings with ctors. 2001-10-30 Mike Kestner * codegen/defs-parse.pl : streamline mkdir stuff. Prune the object list back to just Window for now. Suppress generation of the Prop get/set accessor methods. * codegen/gdk-types.defs : Updated the 2button/3button event types since I don't feel like automangling them now. * gdk/Event.cs : Killed the now redundant EventType declaration. * glib/Object.cs : Override the Equals and GetHashCode methods. 2001-10-25 Mike Kestner * glib/Object.cs : Added Get|SetProperty methods for Object properties. 2001-10-25 Mike Kestner * codegen/get-props-from-source.pl : Temporary (possibly) defs generator for props. Will probably kill this when the official defs support props. * codegen/defs-parse.pl : Added object-based aggregation of defs. Generate the class shells, methods, and props. * codegen/gdk-types.defs : ripped from pygtk. * codegen/gtk.defs : ripped from pygtk. * codegen/gtk-props.defs : some props defs. * codegen/makefile : add the new defs files. 2001-10-11 Mike Kestner * makefile : Add the codegen directory * codegen/defs-parse.pl : Moved here from topdir and updated to parse the new defs format for enums and flags. * codegen/gtk-types.defs : Borrowed from pygtk. * codegen/makefile : new * gtk/makefile : remove generation step. * gtk/gtk.defs : removed, now in codegen dir. 2001-10-07 Mike Kestner * gtk/Button.cs : Some nomenclature changes. s/EmitClicked/Click, etc. We need a consistent way to deal with naming clashes in gtk's method and signal namespaces. When clashes exist, events will be made past tense and methods to programatically emit events will be the present tense (e.g. Clicked event and Click method). 2001-10-07 Mike Kestner * glib/Object.cs : Added public Handle property. It would be nice if I could make the RawObject public for get and protected for set, but that doesn't appear to be possible with C# properties. * gtk/Container.cs : New class with 2 of the 3 props and the Add/Remove methods only implemented. * gtk/Widget.cs : Added SizeRequest prop which is a combination of HeightRequest and SizeRequest. Embrace and extend gtk... * gtk/Window.cs : Derive from newly added Container subclass. * sample/ButtonApp.cs : Simple tire-kicking app. 2001-10-06 Mike Kestner * gtk/Button.cs : Implemented 3 constructors, 5 methods, 4 properties, and 6 signals. Button API is 100% implemented. Need to implement some Container methods to be able to complete testing. 2001-10-05 Mike Kestner * defs-parse.pl : A little automation for the binding. The enums and flags can be painlessly generated from defs files. * gtk/makefile : use defs-parse.pl to produce generated.cs. * gtk/.cvsignore : hush generated.cs * gtk/gtk.defs : unceremoniously ripped from gtk+ HEAD. * gtk/Window.cs : Killed the WindowType enum which is now generated. 2001-10-04 Mike Kestner * glib/SimpleSignal.cs : Reworked to parallel SimpleEvent. 2001-10-04 Mike Kestner * gtk/Widget.cs : Implemented all the bool, string, and int props. 2001-10-04 Mike Kestner * gdk/SimpleEvent.cs : Temporarily uncomment the GCHandle code until a layout is ready and exceptions can be avoided. * gtk/Widget.cs : Killed all the signal and event attaching methods. They never belonged here, and now they exist in the SimpleEvent. Add a Signals hash to hold refs of the Signal handlers. Killed default ctor and the dtor. The event Add/Remove methods now create a SimpleEvent, stuff it in the hash, and remove it when the last handler disappears. 2001-10-04 Mike Kestner * HACKING : Little bit of cleanup. * gdk/SimpleEvent.cs : Redesigned a bit. Docs. Replaced refcounting mechanism with an instance hash and added ctor/dtor. This class now completely encapsulates the signal attachment and forwarding mechanism for GdkEvent based signals. It attaches to the raw signal, maintains a ref to the associated event handler, and uses the static callback to activate the event handler on signal receipt. * sample/makefile : killed one last CSC explicit reference. 2001-10-02 Mike Kestner * glib/Value.cs : Tried adding CallingConvention.Cdecl to all the DllImports, but still couldn't get reliable Propery setting without periodic NullReference exceptions. When all else fails, drop back and punt. * glib/Object.cs : Rewrote Set|GetProperty methods. Now they use g_object_get|set and don't rely on GValues. The int, bool, and string prop types are now working reliably. * gtk/Window.cs : Update all Properties to use new GLib.Object signatures. * sample/HelloWorld.cs : added some more property usage for testing purposes. 2001-09-29 Mike Kestner * glib/Value.cs (int ctor): New constructor for int-based values. (int exp cast): New explicit cast operator for Val to int conversion. * gtk/Window.cs (DefaultHeight): New prop. (DefaultWidth): New prop. 2001-09-28 Mike Kestner * glib/Object.cs (GetProperty): New, gets props from the raw obj. (SetProperty): New, for setting props on the raw obj. * glib/Value.cs (type ctor): New needed for get accessors. *gtk/Window.cs (AllowGrow): Uncommented and filled out. (AllowShrink): Uncommented and filled out. (DestroyWithParent): Uncommented and filled out. (Modal): Uncommented and filled out. (Resizable): Added. All the bool Props work now. 2001-09-28 Mike Kestner * glib/Value.cs (~Value): New destructor to release g_malloc'd space. (default ctor): New default ctor just mallocs without init. (String ctor): call default (bool ctor): call default (Init): New post construct initializer. (String exp cast): Replaces ToString method. (bool exp cast): New for bool extraction. (MarshalAs): Renamed prop was RawValue. 2001-09-27 Mike Kestner * glib/Object.cs : Docs for everything. Made Objects hash private. Some coding style cleanup. Pruned some of the TODO methods from the commented header listing to make a more relistic picture of the remaining effort. Some GSignal stuff probly belongs here too. ([Get|Set]Data): Killed some DllImports and set up methods to store arbitrary data in a managed hash table. 2001-09-27 Mike Kestner *.cs : Added .dll extension to a load of DllImports. * makefile : now can make the project with one make windows and on both NT and Win98. * gdk/Event.cs : Fixed some invalid symbol names and commented out a load of stuff. * gdk/SimpleEvent.cs : Relocated file from unnecessary subdir and fixed several event keyword clashing bugs. Need to relocate the EventArgs class out of here into its own file. Fixed loads of typos. * glib/Object.cs : Killed the Constructor, this should be a purely abstract class. made Events property public until I can fix the Signal proxying system's broken reliance on it. * glib/SimpleSignal.cs : Relocated, namespaces, and named this Class. Loads of bugfixes. Still doesn't work worth a damn, but it builds. * glib/TypeFundamentals.cs : New enum for use in the Value code. * glib/Value.cs : Implemented a more opaque approach with heap allocated memory and g_value_init and friends. Still doesn't work. Will probably switch to a more C# like approach and avoid GValues altogether. * gtk/Button.cs : Commented out some brokeness until I can get around to fixing it later. * gtk/Widget.cs : Commented out a bunch of the new signal stuff until I get around to it. * gtk/Window.cs (Title): using g_object_set until I work out the details of the new Value/SetProperty system. It looks like g_object_set will end up being easier to use via PInvoke. 2001-09-25 Bob Smith * Added refcounts to delegates to make sure they can be unpined when not needed. 2001-09-21 Bob Smith * Signal system totally reworked. It should be stable now. * glib/Object.cs: Rewrote the way the wrapper is kept track of. 2001-09-20 Bob Smith * glib/ObjectManager.cs: Nuked. * glib/Object.cs: Keep track of wrapper. * gtk/Object: First stab at better signal system. Should reduce number of pins nessisary. 2001-09-19 Mike Kestner * HACKING : New rulez. * NOTES: Killed. We have a mailing list now for this kind of stuff. * glib/makefile : New, to build the new glib-sharp.dll target. * glib/Object.cs : (GetObject): Commented out. Design problems here. IntPtr's can't be used in the manner this code attempts to use them. (Data prop): Commented out. Apparently keyed properties are not supported. (Object prop): Renamed RawObject, and made it protected. (Events): Fixed to cause list to be initialized if null and then return the list. * glib/ObjectManager.cs : commented out entirely. Not sure what this code is trying to accomplish and it doesn't compile. * glib/Value.cs : New attempt at implementing GValues. Doesn't work yet. * gtk/Button.cs : Updated to use RawObject. (Clicked event): s/EmitDeleteEvent/EmitClickedEvent. (Button(String)): s/gtk_label_new_with_lable/gtk_button_new_with_label. * gtk/Label.cs : Fixed some yank and paste errors where 2 value params were getting passed to all the set_* property methods. * gtk/Window.cs : Fixed hanging GTK namespace ref. * sample/HelloWorld.cs : Fixed hanging GTK namespace ref. 2001-09-18 Bob Smith * glib/Object.cs : Moved parts of gtk/Object.cs here, and added static GetObject method and a Data property. * glib/ObjectManager.cs : New. * gtk/Object.cs : removed some GObject wrapping code. * gtk/*.cs : Updated namespace from GTK to Gtk. 2001-09-18 Bob Smith * gtk/Object.cs : Added EventList and Object properties. * gtk/Widget.cs : Updated event emission logic. * gtk/Window.cs : added Window(IntPtr) constructor. * gtk/Button.cs : New. Partial implementation of Button class. * gtk/Label.cs : New. Partial implementation of Label class. 2001-09-17 Mike Kestner Initial Import. Partial implementation of Object, Widget, Window, and Application classes and HelloWorld.cs sample app.