* 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
* 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.
svn path=/trunk/gtk-sharp/; revision=14922
* glib/ManagedValue.cs, glib/Value.cs: A few old-style
DllImports snuck in during my last commit; update them
to use Win32 dll names.
svn path=/trunk/gtk-sharp/; revision=14819
* 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
* 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.
svn path=/trunk/gtk-sharp/; revision=14687
* 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.
svn path=/trunk/gtk-sharp/; revision=14564
* 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.
svn path=/trunk/gtk-sharp/; revision=14385
* rsvg/Makefile.in:
* sample/rsvg/Makefile.in: hopefully fixes building from scratch.
* rsvg/Tool.cs: the class should be public.
svn path=/trunk/gtk-sharp/; revision=14303
* 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.
svn path=/trunk/gtk-sharp/; revision=14022
* 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.
svn path=/trunk/gtk-sharp/; revision=14005
* 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.
svn path=/trunk/gtk-sharp/; revision=13846
* 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
* parser/gen_keysyms: Generates a C# Keys enum from the Gdk headers
(gdkkeysyms.h)
* gdk/Keys.cs: The generated Keys
svn path=/trunk/gtk-sharp/; revision=13542
* 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.
svn path=/trunk/gtk-sharp/; revision=13450
* generator/SignalHandler.cs : Added Patch submitted by
Mark Crichton <crichton@gimp.org>, to get GtkMozEmbed
bindings working.
svn path=/trunk/gtk-sharp/; revision=13043
* 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.
svn path=/trunk/gtk-sharp/; revision=12799
* sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla.
* sample/DbClient/client.cs: updated to make it compile again.
svn path=/trunk/gtk-sharp/; revision=12752
* 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#.
svn path=/trunk/gtk-sharp/; revision=12583
* 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.
svn path=/trunk/gtk-sharp/; revision=12554
* 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.
svn path=/trunk/gtk-sharp/; revision=12551
* 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.)
svn path=/trunk/gtk-sharp/; revision=12546
* 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.
svn path=/trunk/gtk-sharp/; revision=12545
* 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.svg : 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.
svn path=/trunk/gtk-sharp/; revision=12504