* gtk/ITreeNode.cs : make Parent readonly
* gtk/TreeNode.cs : use an internal method to set parent on the
child, and set child.Parent to null in RemoveChild.
svn path=/trunk/gtk-sharp/; revision=19651
* glue/button.c: initial creating of glue file for GdkButton
* glue/Makefile.am: added button.c to glue make
* glue/makefile.win32: added button.c to win32 glue make
* gtk/Button.custom: expose in_button GdkButton member
svn path=/trunk/gtk-sharp/; revision=19486
and sorted the metadata.
* gtk/gtk-api.xml: Regenerated, to reflect the above changes.
Tags are swapped around. PaintBox, PaintBoxGap, PaintShadow and
PaintShadowGap are moved arround as well.
* sources/Gtk.metadata: Removed
svn path=/trunk/gtk-sharp/; revision=19407
* gtk/gtk-api.xml: Reflects changes of the metadata move,
tags are swapped around.
* sources/Gtk.metadata: Removed metadata, which are moved to
gtk/Gtk.metadata
svn path=/trunk/gtk-sharp/; revision=19349
* gtk/gtk-api.xml: Reflects changes of the metadata move,
tags are swapped around.
* gtkhtml/Gtk.metadata: Added metadata from sources/Gtk.metadata
* gtkhtml/gtkhtml-api.xml: Reflects changes of the metadata move,
tags are swapped around.
* sources/Gtk.metadata: Removed metadata, which are moved to
gtk/Gtk.metadata and gtkhtml/Gtk.metadata
svn path=/trunk/gtk-sharp/; revision=19310
* gtk/Window.cs : override Raw prop and take a ref, since gtk+
owns the ref to new Windows, and we need a ref. [Fixes#47721]
svn path=/trunk/gtk-sharp/; revision=19151
* gtk/Gtk.metadata : rule for ClipboardGetFunc
* gtk/Clipboard.custom : comment out for now don't think any
of this is needed.
* gtk/ClipboardClearFunc.cs : gen'd now
* gtk/ClipboardGetFunc.cs : gen'd now
* gtk/GtkSharp.GtkClipboardClearFuncNative.cs : gen'd now
* gtk/GtkSharp.GtkClipboardGetFuncNative.cs : gen'd now
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : remove a couple clipboard hides
svn path=/trunk/gtk-sharp/; revision=19048
* gtk/gtk-api.xml : regenerated
* gtk/Gtk.metadata : begin the port of the Gtk rules
* gtk/Makefile.in : apply metadata in gen target
* gtkhtml/gtkhtml-api.xml : regenerated
* gtkhtml/Gtk.metadata : a couple rules ported
* gtkhtml/Makefile.in : apply metadata in gen target
* sources/Gtk.metadata : port first 350 lines of rules.
svn path=/trunk/gtk-sharp/; revision=19047
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : applied patch from jluke for hides
requested in bug #38660. Also cleaned up the sprawling "hidden"
rules to reduce the overall footprint.
svn path=/trunk/gtk-sharp/; revision=18894
* generator/Parameters.cs : Properly handle out params for
Object and Opaque types.
* gtk/ListStore.custom: remove out on GetValue overload
* gtk/TreeStore.custom: remove out on GetValue overload
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : remove some incorrect out tags
svn path=/trunk/gtk-sharp/; revision=18891
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : mark pos and path pass_as="out" for
TreeView.GetDragDestRow and GetDestRowAtPos [Fixes#49517]
svn path=/trunk/gtk-sharp/; revision=18869
* Makefile.in : add gtkhtml dir.
* configure.in : expand gtkhtml/Makefile
* api/Makefile.in : remove gtkhtml-api.xml
* generator/CodeGenerator.cs : parse new --outdir, --customdir,
and --assembly-name args.
* generator/GenerationInfo.cs (Ctor): new (dir, dir,assembly) ctor
* gtkhtml/HTMLStream.custom : moved here from gtk dir
* gtkhtml/gtkhtml-api.xml : moved here from api dir
* gtkhtml/Makefile.in : gen source and build dll
* sources/gtk-sharp-sources.xml : write gtkhtml api to new dir
svn path=/trunk/gtk-sharp/; revision=18696
* 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.
svn path=/trunk/gtk-sharp/; revision=18163
* 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 <remark> comment.
svn path=/trunk/gtk-sharp/; revision=17731
[Equal credit to Ettore Perazzoli <ettore@ximian.com> 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
svn path=/trunk/gtk-sharp/; revision=16581
file update and added documentation.
* gtk/FileSelection.custom (FSButton): Mark the constructor as
'internal', instead of 'public'.
svn path=/trunk/gtk-sharp/; revision=16513
checking out all files in one go.
* gtk/IconSet.custom (Sizes): added proper binding to
gtk_icon_set_get_sizes (), this fixes bug #45835.
svn path=/trunk/gtk-sharp/; revision=16284
* 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 <ns>_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
svn path=/trunk/gtk-sharp/; revision=16254
* 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.
svn path=/trunk/gtk-sharp/; revision=16130
* 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.
svn path=/trunk/gtk-sharp/; revision=15286
* 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.
svn path=/trunk/gtk-sharp/; revision=14691
* 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.
svn path=/trunk/gtk-sharp/; revision=13677