* generator/InterfaceGen.cs (Generate): gen the EventHandlers for sigs
* generator/Signal.cs (GetHandlerName): kill this and split it into
EventHandlerName and EventHandlerArgsName props instead of the ugly
out param hack.
(GenEventHandler): make public void and add gen_info param. open
stream with gen_info. use new *Name props.
(Generate): only gen the EventHandler if we're genning the container,
not for implementors.
svn path=/trunk/gtk-sharp/; revision=18684
* generator/CodeGenerator.cs (Main): use new ObjectGen.GenerateMappers.
* generator/GenerationInfo.cs (Ctor): new (dir, assembly) ctor
* generator/ObjectGen.cs : move hash management to Generate from Ctor,
index it on dir, and make it hold new DirectoryInfo refs. Refactor
GenerateMapper. The object mappers are now assembly based instead of
namespace based.
svn path=/trunk/gtk-sharp/; revision=18681
* generator/Signal.cs (Generate): pass gen_info to sighdnlr.Generate.
use gen_info.AssemblyName in Args instantiation.
* generator/SignalHandler.cs (Generate): use gen_info to open stream.
refactor out some local vars.
svn path=/trunk/gtk-sharp/; revision=18678
* api/gtk-symbols.xml : make GtkType a uint like GType.
* generator/CodeGenerator.cs : adopt new parser semantics
* generator/Parser.cs : move to single parser/multiple Parse. Remove
DoGenerate hack and let the CodeGenerator control this. Return
generatables instead of loading symboltable.
* generator/SymbolTable : add AddTypes method. Revamp dealiasing code.
svn path=/trunk/gtk-sharp/; revision=18570
* api/gnome-api.xml : regenerated
* parser/gapi2xml.pl : handle enum <name> {...}; Thanks to
Martin for identifying the bug and providing a candidate patch.
svn path=/trunk/gtk-sharp/; revision=18524
en/Gtk/CellEditable.xml: Full doc.
en/Gtk/Drag.xml: Full doc.
en/Gtk/Widget.xml: Fixes and some updates.
en/Gtk/WidgetFlags.xml: Full doc.
svn path=/trunk/gtk-sharp/; revision=18289
* 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.
svn path=/trunk/gtk-sharp/; revision=18196
* 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
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.
svn path=/trunk/gtk-sharp/; revision=18131
* 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.
svn path=/trunk/gtk-sharp/; revision=18099
* 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.
svn path=/trunk/gtk-sharp/; revision=18050
* 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.
svn path=/trunk/gtk-sharp/; revision=18030
* generator/Parameters.cs (IsLength): use a switch to make the
growing list of valid len types more readable.
svn path=/trunk/gtk-sharp/; revision=18029
* generator/Parameters.cs: Handle string length parameters specified
not just as int but also signed/unsigned int, long or short
svn path=/trunk/gtk-sharp/; revision=18027
* 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
svn path=/trunk/gtk-sharp/; revision=17967
* 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 <tberman@gentoo.org>
* glue/makefile.win32: Update list of sources
* glue/Makefile.am: Remind people to keep makefile.win32 up to date
svn path=/trunk/gtk-sharp/; revision=17945
* en/GLib/*.xml: update, transfer info from inline comments
* en/GtkSharp/SignalArgs.xml: transfer info from inline comments
* en/GtkSharp/ObjectManager.xml: transfer info from inline comments
* en/GtkSharp/SignalCallback.xml: transfer info from inline comments
svn path=/trunk/gtk-sharp/; revision=17735